I been trying to script for the past 7 years and i really just lose motivation but your series has motivated me enough to atleast get decent at scripting and now I have created 3 projects which have had over 100k visits!
These tutorials just keep getting better and better. I still think back to the teddy series and see that you've improved alot over that time, not just in scripting but also in the editing of the videos. Keep up the great work.
GnomeCode was one of my first roblox RU-vidr and i love him because he have a nice and clear voice. and he explain all very clear ! I learned so much from all of his videos ! Thank you GnomeCode for you hard work ! Give him all your support !
Please make more of these they are so fun as little projects to do, I also am using them to learn scripting because I find it easier to learn while making a game and not while learning specific functions
you are so talented! I've been watching you since the 2d series and always come to you when I need help with something. Great work, keep it up! Ps: Road to 100k!!
Probably in the 8th episode, you could make 'dark rooms' and maybe 'spiders in drawers'. Basically rooms have a BoolValue in them called DarkRoom, and every room there is a chance for it to be true or false. If its true, all lights are off. If its false, all lights are on. Spider explanation: Drawers have a bool value too called SpiderInside, for every drawer spawned, there is a chance for it to be true or false. If its true, there is a spider model inside that jumps to your head because you may make an attachment on the face that you made (instance . new) If its false, no spiders of course.
I'm very excited to see you script the monster next episode. Will you also add a time limit before you die while you're in one of the closets from doors?
Please do more of these tutorials, not only is this improving my scripting skills, but it also helps me create a dream fan game. Keep up the awesome work!
i cannot thank you enough for these tutorials. I actually now feel like I will make a good game for once. None of the other tutorials i tried worked, but yours is the only one that did!(im actually being honest here ;-;) but theres just one tiny problem. entering the closet works, everything works, its fine. but the problem is when im entering and leaving, only the left door does the tweening animation, the right door is just frozen. did i make a typo or smth? also heres my closet script for anyone that wants it: local TweenService = game:GetService("TweenService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local events = ReplicatedStorage:WaitForChild("Events") local moveCamEvent = events:WaitForChild("MoveCam") local closet = {} function closet.MoveHinge(hinge, direction) local openAngle = -110 local goalCFrame = hinge.CFrame *CFrame.Angles(0, math.rad(openAngle*direction), 0) local doorTween = TweenService:Create(hinge, TweenInfo.new(0.5),{CFrame=goalCFrame}) doorTween:Play() end function closet.MoveDoors(model, direction) model.Primary.Open:Play() closet.MoveHinge(model.LeftHinge, 1 *direction) closet.MoveHinge(model.RightHinge, -1 *direction) task.wait(0.5) end function closet.PlayerLeave(player, model) local character = player.Character if not character then return end closet.MoveDoors(model, 1) character:PivotTo(model.Outside.CFrame * CFrame.Angles(0, math.rad(180), 0)) character.Humanoid.WalkSpeed = 16 character.Humanoid.JumpPower = 0 closet.MoveDoors(model, -1) model.hasPlayer.Value = nil end function closet.PlayerEnter(player, model) local character = player.Character if not character then return end model.hasPlayer.Value = player character.Humanoid.WalkSpeed = 0 character.Humanoid.JumpPower = 0 character:PivotTo(model.Outside.CFrame) moveCamEvent:FireClient(player, model.Outside.CFrame) closet.MoveDoors(model, 1) character:PivotTo(model.Inside.CFrame) moveCamEvent:FireClient(player, model.Inside.CFrame) closet.MoveDoors(model, -1) end function closet.New(template) local model = workspace.Furniture.Closet:Clone() model:PivotTo(template.CFrame) model.Parent = template.Parent local hasPlayer = Instance.new("ObjectValue") hasPlayer.Name = "hasPlayer" hasPlayer.Parent = model local outsidePrompt = Instance.new("ProximityPrompt") outsidePrompt.ActionText = "Enter Closet" outsidePrompt.MaxActivationDistance = 5 outsidePrompt.Parent = model.Outside local insidePrompt = outsidePrompt:Clone() insidePrompt.ActionText = "Leave Closet" insidePrompt.MaxActivationDistance = 2 insidePrompt.Parent = model.InsidePrompt outsidePrompt.Triggered:Connect(function(player) if hasPlayer.Value == nil then outsidePrompt.Enabled = false closet.PlayerEnter(player, model) end end) insidePrompt.Triggered:Connect(function(player) if hasPlayer.Value == player then insidePrompt.Enabled = false closet.PlayerLeave(player, model) insidePrompt.Enabled = true outsidePrompt.Enabled = true end end) template:Destroy() end return closet
Hi! Can you publish the game like you did with the others? I really want to play it and add things. You make great tutorials and you are the only one that makes understandable tutorials!
I love your tutorials! I've been using this tutorial so far to create a similar to doors game but without enemies and more exploration/badge based. I would love it if you could have certain rooms spawn at certain numbers? (like room 50 and 100 in doors)
Also for the room generation it only spawns in rooms you are close to and the other rooms 7 doors back get destroyed this will help prevent lag when the you start adding more functionality to the game
what i would love next would be a game teleporter system like doors has, that would be very useful for my game! also will there be a cutscene tutorial later?
If you wanna add a exit and enter sound do this: Under the PlayerEnter, do model.Primary.(Your Enter Sound):Play() And then under the PlayerLeave, do model.Primary.(Your Exit Sound):Play()
Thank you so much GnomeCode :D. I don't play doors but, I always watch your new series videos because they are interesting to see how you've improved since your first series, like a lot you've gotten better at coding, editing videos, and interesting. I hope you continue to make series :D
Gnome code! Thanks for being there to teach me how to script! I have also been following the tower defense series as ive been following this one! You make these tutorials simple and easy! You even show common mistakes most people would make! Thanks for your help Gnome code! (edit) HURRY UP WITH THE NEXT EPISODE PLZ! (EDIT 2.0) GNOME CODE PLEASE HURRY ITS OVER A WEEK SINCE THIS EPISODEEEEE...
You have something miss to make in tower defense game 1: make skins for towers and crates in shop and equit skin or unequit skin 2:adding seasons, events 3: the slots of towers if you equit a tower to show the towers on the slot to know what tower you equit 4: vote modes 5: show random maps to vote it and the start button to start istant 6: change button to change the maps to vote 7: the finnaly boss hp bar 8: in menu on shop to show the first lvl tower stats 9: music at menu and the finnal boss music 10: died enemys sounds 11: tower shot effect 12: the shot hit zombie effect 13: show on the tower total damage and total money spend on it 14: making enemy than stun towers for seconds 15: the died finnaly boss animation
These tutorials are awesome! I wasn't even expecting a tutorial today! and also your my favourite Roblox scripting youtuber! I'm glad your doing a tutorial on doors and I can't wait until next episode for the entities!
I have an idea for the next part!, itll be basically just the crouching and vents since i really want to do rooms where you need to find the vent to go to the other section in the room then leading u to de exit
Hey Gnome Code, I am having some issues and need your help. So uh, I have done exactly like the video, but for some reason, the closet doesn't have the Promoxity Prompt,also I don't want to have the furniture in part 4. Is that the reason the scripts don't work?
i still didn't watched the full tutorial, but if he didn't talk about the glitch where if you leave the closed right after entering the door glitches, to fix it just make the outside prompt hold duration 0.6, since the inside prompt is a copy of the outside prompt you don't need to change it
Is there a way I can Just make the Hiding in closets without needing the past Modules and templates you made with all the other furniture :) It would help alot but love your videos !
@@Mikeygaming0041 ok well, you're late, I am making a rooms fangame, i'm skilled at scripting, so there's no need for a tutorial heh, by the way, I only wrote this for my friend, at the time I wrote the comment I didn't have a computer, my friend did, but now I do.
I have a little problem, so basically when the closet animation plays, it shows 2 more doors inside the closet while the other 2 are moving, also my camera instantly jerks me to face the inside of the closet instead of the doors. if anyone could help it would be nice.
Can someone please help me? I can’t get in the closet I’m at 14:08 there is no errors what do I do? Edit: nvm I was just being stupid and forgot to anchor the inside and outside parts 😅
hey im watching the tower defence game tutorial and my animations aren't working im thinking that is the animationFolder part because i dont have one and if i had where do i put it in? also do i put the walk inside it? edit: there is a bunch of people with the same problem on the episode 3 idk if they already solved it
this is helpful, but how about you put a link for a model in the desc for the people that are just too lazy to write the script nad just want the model?
Hey GnomeCode, I was wondering if the next tutorial could be how to make custom rooms like door 50, door 100, are not in the rooms folder basicly like how to make door 100 as a stage thats not in the rooms folder can you?
Gnome Code do u know how i could i make like when u enter the closet ur camera rotates like doors, could u give me an example script please. Edit: i hope he answers :(
Hey gnome if you see this, at the complex room generation video, theres an error for me that says "Attempt to index nil with 'Direction'" and it just randomly generates the amount of rooms instead of the amount of rooms that i put on the server script (example: 15 rooms to generate but generated 2) and im not the only person who has this problem, look at the recent comments on the complex generation video. So if you have time, then could you please help?
I haven't watched all of the videos yet, but do you remove the rooms behind you at a certain point? For example, there will always been 2 rooms behind you and 1 room infront of you at each given time, and the room you're currently in.
Your tutorials are the best I've seen on youtube! you helped me a lot with the tutorials on "how to make a game like DOORS" GnomeCode. PS: good luck with the next videos
gnome, my door opens the opposite way but the code is exactly the same, even the orientation of the hinge, can you help? edit: nvm i figured it out i put (0,5) instead of (0.5)