FINALLY A TUTORIAL, I am a tower defense veteran and I have played nearly all TD games I really wanted to make one myself because I've seen all the bad things about most TD games, unfortunately I do not have a pc. oh also here are the things I want tutorials about: 1. tower cost, placing, and upgrades 2. money each wave and each enemy killed 3. shop to unlock towers and be able to use them 4. when losing/winning, gives coins to purchase towers in the shop
@alicorn39242 жыл бұрын
is there a link for your game? I wanna try it for some reason
@Cactus-Cactaceae2 жыл бұрын
@@alicorn3924 Yeah if the game is out i would too want to play it
@Oppteekap2 жыл бұрын
Unless I’m wrong but I think the commenter don’t have a game
@Cactus-Cactaceae2 жыл бұрын
@@Oppteekap Yes ik but just saying for the Future maybe
@gamingzeraora4432 жыл бұрын
coding will be hard..........Goodluck! reply to me if you complete it I will happily play it :D
@idkwhattoput-we9ju2 жыл бұрын
Me: Looks away for 1 second GnomeCode: …And that is how you fully make the universe inside of Roblox Studio!
@BlendaCat2 ай бұрын
@hafikhaildАй бұрын
@@BlendaCat
@kwincy_HalloweenАй бұрын
@@hafikhaildwtf
@IciclecoldАй бұрын
Literally
@Lino_Gamer45911 күн бұрын
FR
@ExperiencersInternational2 жыл бұрын
Even though I'm not interested in making a tower defense game, this has got some stuff that is going to be helpful to me as a developer
@shark_guyyy2 жыл бұрын
Exactly
@SuperJSM7 ай бұрын
the power of learning from similarities!
@Timeskip4104 ай бұрын
@@SuperJSM True very very TRUE🎉
@girikpatel2 ай бұрын
YES
@TechMarcus149 ай бұрын
OMG THIS IS THE PART I WAS LOOKING FOR TO IMPROVE MY DEVELOPING, TYSSM I LEARNED SCRIPTING
@Kurdwithmetalpipe4 ай бұрын
Nice:D
@steak95863 ай бұрын
Why does the script not work for me
@timeafelner80163 ай бұрын
@@steak9586Yeah why?
@mechazillark3 ай бұрын
@@steak9586 its outdated
@mechazillark3 ай бұрын
@@timeafelner8016 its outdated
@PineBloxx2 жыл бұрын
I’m probably not gonna make a game like this but I just love seeing and learning how you code. It really helps me get a better knowledge of certain things! Thanks!
@GnomeCode2 жыл бұрын
Thanks for the good vibes as always PineBlox!
@propel35362 жыл бұрын
@@GnomeCode so with this, your making it so we can make a tower defense game with working stuff like elevators we can make a retro TDS?? :D
@moktarkhalifa71012 жыл бұрын
Are you still like Roblox
@pixelatedluisyt2 жыл бұрын
@@GnomeCode i watch your teddy devlogs just to see how you are doing and sometimes i follow them to test things
@MGMac_2 жыл бұрын
@@propel3536 tbz system is far superior
@addisonwong-sripatana5 күн бұрын
beautiful! finished step 1, moving on! very simple and easy to learn thanks to this channel!
@misterclubs2 жыл бұрын
The second I saw this I was so happy as I've been struggling to make a TD game. Tysm Gnome! I've learnt so much about path finding and coding just because of this! Once again, thank you.
@GnomeCode2 жыл бұрын
Awesome, hope you enjoy the series!
@mcmwastaken2 жыл бұрын
Same for me dude, I haven’t scripted in a while so my scripting is rusty and I forgot some stuff so I looked on yt for tutorials and all of them are free models with viruses
@jordyissappig2 жыл бұрын
@@GnomeCode pls episode 2
@aok7372 жыл бұрын
@@jordyissappig he just made the vid day ago, this takes times, wait in ur chair 3 - 9 days for the 2nd part
@jordyissappig2 жыл бұрын
@@aok737 no
@SnowfFazbear2 жыл бұрын
You are underrated, deserve more than a million congratulations, thanks for one more tutorial :)
@GnomeCode2 жыл бұрын
Thank you for the good vibes!
@guyfrommars11102 жыл бұрын
@@GnomeCode r u working on part 4? i relly need it
@sandwichdoge2 жыл бұрын
That is so true
@MrBCB Жыл бұрын
@@GnomeCode how do you turn can collide off for the zombie?
@aaronknapp88972 жыл бұрын
Thanks man, this is the first tutorial on the game I've ever seen! Its like Inventing a entirely new thing, ya genius!
@liam14935 ай бұрын
I don't think it works in 2024 tho :/
@thefunnidungen5 ай бұрын
@Kyu3488 its working for me tho
@ShriyansRepala5 ай бұрын
Bruh this works 100%
@Mamychn15 ай бұрын
@@ShriyansRepala mine only moves through 2 waypoints
@SmartzElis5 ай бұрын
mine only moves to the first
@5-Volts16 күн бұрын
--The code: local zombie = script.Parent local waypoints = workspace.WayPoints for waypoint = 1, #waypoints:GetChildren() do zombie.Humanoid:MoveTo(waypoints[waypoint].position) zombie.Humanoid.MoveToFinished:Wait() end --Thank you. because of you i was able to make this first epesode myself(i have like 5 days expereince)
@Razze-hm2tg7 ай бұрын
I have been following this series and I’m on tut #15 and everything have been working so far
@lucasparakhoodi92396 ай бұрын
How did u make the zombie move
@Razze-hm2tg6 ай бұрын
I just followed what he did
@thefunnidungen5 ай бұрын
@@lucasparakhoodi9239 code
@troydivich4 ай бұрын
@@lucasparakhoodi9239 idk (pls help)
@Slicer42172 жыл бұрын
You and Alvin got me into scripting I wanna say thank you 🙏🏼
@GnomeCode2 жыл бұрын
That's great to hear, best of luck with your future devving
@Justa_robloxdev5 ай бұрын
@@GnomeCodeuhh gnome i have a problem My zombie desent even move
@TDS_Tank4 ай бұрын
@@GnomeCode when I was trying to make him move to all the waypoints it wasn’t working really you were just standing in one place doing nothing btw it was my avatar
@saucytacosYT8 ай бұрын
DUDE YOU DONT KNOW HOW MUCH THIS IS GANNA HELP ME. I have been wanting to make a tower defense game and I'm pretty new to studio. And this Playlist will help me so much
@Thevoid-tz8dx8 ай бұрын
Good
@Thevoid-tz8dx8 ай бұрын
Me too
@Mr.k-ks3zw7 ай бұрын
Same
@Whatblock-Whatblock-Whatblock2 ай бұрын
how is your progress so far?
@TheRobloxGambingAddict2 ай бұрын
we should make on tg
@GrumpyGamerCat3 ай бұрын
Hello everyone reading this, this is an awesome tutorial having a lot of features and was a very fun tutorial might of taken a while to get the game done but was definitely worth it! This is one of the only tutorials that actually worked for me or maybe that just because my spelling sucks 😅 but all of the tutorials work and they are awesome. Good luck to you all making a tower defense game!
@NotZDH2 жыл бұрын
This looks like it’s gonna be a cool series. I think I’ll try it out
@Minequacker Жыл бұрын
wow! I love this series! you are incredible gnomecode
@OnePunchEnjoyer Жыл бұрын
if you found out how this works, i need to know! i messed up somewhere and i dont know how to make him move! ive even tried making him just move in a straight line, but i can't figure it out! i know it does have something to do with my variables though, can you help me?
@Minequacker Жыл бұрын
@@OnePunchEnjoyer the code of the zombie?
@Minequacker Жыл бұрын
make sure everything is named right, and make sure your code has been copied correctly
@OnePunchEnjoyer Жыл бұрын
@@Minequacker i got it! im on the 3rd episode by now
@Minequacker Жыл бұрын
@@OnePunchEnjoyer yay! :D keep going, and dont give up!
@KUREWA_699 ай бұрын
It's all thanks to you that i have been able to make a tower defence game! Thank You so much mr.GnomeCode!
@Busssybees4 ай бұрын
what's it called? (I'm also making one just not going to well I just want to support creators
@pnyxx_9 ай бұрын
congrats on 100k!!!
@SHOIOTERB9 ай бұрын
He is verified now 😀
@pnyxx_9 ай бұрын
@@SHOIOTERB yaaa
@gavinmcgowan18542 жыл бұрын
Wow, you actually made the first TD tutorial that does 1 thing at a time that I've seen. This tutorial really helped a lot with learning to make an NPC to follow a path for a tds game! Can't wait for part 4! edit: thanks for the likes guys, even tho some are just corrections. its a letter difference, ok? this is useless now
@GnomeCode2 жыл бұрын
Glad it helped!
@noobade2 жыл бұрын
I will leave a game now..... I mean later
@Brroo2 жыл бұрын
Its tb tutorial
@Zane-Satoru2 жыл бұрын
Anyone see the tutorials that are kits there mainly viruses and i just wanna script
@TripleLLe2 жыл бұрын
@@Brroo you mean tower defense tutorial?
@Ven_om3102 жыл бұрын
An actual good tutorial that doesnt just tell u what to write but things you want out like the output to see your mistakes. Gnome also create games I want to make, and their so clear. Your a legend Gnome. Best tutorials.
@Hancemayapu2 жыл бұрын
theres a error can u help ?
@placeholerwav2 жыл бұрын
@@Hancemayapu why would he help
@hdr21282 жыл бұрын
lol
@CheekyMauricio Жыл бұрын
@@placeholerwav I legit tried everything to fix error and didnt work
@placeholerwav Жыл бұрын
@@CheekyMauricio well then you made a mistake, its not "fake" or "bad" tutorial its good.
@callmecozmic3 ай бұрын
I encountered a weird issue with the code, but I found a solution. In my case, I followed the exact code but the zombie just walked in a straight line endlessly until they fell off the map. I fixed this by making the waypoint a string like so: local zombie = script.Parent local humanoid = zombie.Humanoid local waypoints = workspace.Waypoints for waypoint = 1, #waypoints:GetChildren() do local goTo = tostring(waypoint) humanoid:MoveTo(waypoints[goTo].Position) humanoid.MoveToFinished:Wait() end It was a very weird problem and I doubt anybody else had this problem, but I hope I helped!
@theyfwapril3 ай бұрын
OMG TYSM!!
@LicenciadoDLasChivas3 ай бұрын
i copied the script it didnt work for me but i fixed it only writing Waypoints instead of waypoints lol
@Terraria60963 ай бұрын
Thanks❤❤❤
@rainbowryan2 ай бұрын
ty, this worked out for me and made the pathfinding system work.
@PhantomBlackDragonKnight2 ай бұрын
dude saved my life
@thatdudemxtxlz66002 жыл бұрын
FINALLY A GOOD DEVELOPER WHO GO STRAIGHT TO THE POINT
@BobJames_Playz22 күн бұрын
Guys I would recommend this you just have to listen to it closely (it works)
@watkj7 Жыл бұрын
I've been doing this tutorial for the past week, here's what i've learned. If your zombie isn't moving, maybe it's anchored. Make the paths short, it will work. If the paths are long then the zombie will try to skip the long paths, we don't want this to happen so place another waypoint where the zombie skipped it.
@FantasyTowerDefense Жыл бұрын
for the second tip, its very easy to avoid, in the mobscript, the line humanoid:MoveTo(waypoints[waypoint].Position) humanoid.MoveToFinished:wait() just change it with repeat humanoid:MoveTo(waypoints[waypoint].Position) until humanoid.MoveToFinished:wait()
@user-UNKNOWN1.0 Жыл бұрын
You my friend are a G . thanks for being helpful
@calebinfinityworld2664 Жыл бұрын
My zombie wasn’t moving while it was not anchored :(
@RadiantKit Жыл бұрын
same dude :(@@calebinfinityworld2664
@mtn-legacy Жыл бұрын
@@FantasyTowerDefense ur genius ty it finally worked
@Cloudy_PandaPC2 жыл бұрын
you are very specific with details in the video too which makes it very clear as to which parts of the script are related and how they work, helps alot, same with the parts that you zoom on to show which things to press or insert.
@GnomeCode2 жыл бұрын
Glad to hear you found it helpful!
@nikxle2 жыл бұрын
@@GnomeCode Hi I really like how you explained it but it is not working for me. Can you send me the script? It would help a lot as I really want to make a tower defense game and you are the only person who does it well.
@daviribasnobrega3322 Жыл бұрын
fake@@GnomeCode
@8CylinderRat11 ай бұрын
@@GnomeCodePLS MAKE A NEW SERIES
@Kolby136 ай бұрын
Not working for me either.... The zombie is going to the next waypoint a few studs before the first one
@dunzdoesstuff2 жыл бұрын
Glad you started a how-to series! I found you from the morphing video and I'm so glad I subscribed
@GnomeCode2 жыл бұрын
Glad to have you here
@thatonekittykat Жыл бұрын
@@GnomeCodehey man, please please answer me. My zombie will not move and idk why i did everything kike u saud
@Lydia-_8 ай бұрын
same, but it might be because I'm not using a zombie. @@thatonekittykat
@mattyrob38986 ай бұрын
You mean like and said
@kingstrong61394 ай бұрын
@@thatonekittykat same
@Memel_cat23 күн бұрын
super helpful didn't work at first but rewatching helped and now it works fine👍👍👍👍👍👍
@Doms-u5h22 күн бұрын
Yo can you help me bro im trying to get it to work but it wont
@hyperion96842 жыл бұрын
This tutorial is so good explained! In 15 minutes with no knowledge I made a path and a zombie moving on the paths!
@ardentlorax00722 жыл бұрын
My zombie won’t move:(
@gaming_freak_games Жыл бұрын
@@ardentlorax0072 same
@rdva2 жыл бұрын
Your tutorials are always the best! Keep up your amazing work, and your future projects!
@SpringAppl Жыл бұрын
first reply :>
@Sonsuz-Oyun Жыл бұрын
and final :d@@SpringAppl
@Jay-qd7ib Жыл бұрын
@@Sonsuz-Oyun BOI did you really think
@IsaacAt_Youtube Жыл бұрын
@@Jay-qd7ib im the final
@daviribasnobrega3322 Жыл бұрын
worst**
@alextavares91532 жыл бұрын
You know... when you see something that`s high quality and of high value you should always try and support it in any way you can. I followed and completed all the steps of this tutorial and I can say with 100% certainty that it gave me a solid foundation to create any kind of game in Roblox I can think of and wish to create. People take for granted things that are given away so freely and in such a non-self important way, but I wish more people would support such content since it can even change lives I say this because I worked through this series and moved on to teach my 9 year old son and he is not completly into roblox development. I know in the future he will thank me since I am his dad and supported him... but if it wasnt for this course there is no way I would be able to teach him. The tutorial is thorough and plainly taught. The BEST Roblox development tutorial I have come across by far! All this is to say, thank you and you have a supporter for life!
@GnomeCode2 жыл бұрын
Thank you, this means a lot. It's really great to hear people are getting the most out of these videos. I wish you and your son all the best for the future.
@filltobe2 жыл бұрын
@@GnomeCode I love what your doing but im stuck on making the zombie move i have the script right with the waypoints but the zombie wont move do know if u can help me fix it?
@Bread84682 жыл бұрын
@@GnomeCode gnome code, my zombie isnt moving when I entered the exact same code. Do we anchor the zombie though and all the other parts? Because im confused
@DV1OUS2 жыл бұрын
@@filltobe Try this (paste it in the script the zombie s inside local zombie = script.Parent local Waypoints = script.Parent.Parent.Waypoints for Waypoint=1, #Waypoints:GetChildren() do zombie.Humanoid:MoveTo(Waypoints[Waypoint].Position) zombie.Humanoid.MoveToFinished:Wait() end
@DV1OUS2 жыл бұрын
@@Bread8468 local zombie = script.Parent local Waypoints = script.Parent.Parent.Waypoints for Waypoint=1, #Waypoints:GetChildren() do zombie.Humanoid:MoveTo(Waypoints[Waypoint].Position) zombie.Humanoid.MoveToFinished:Wait() end
@Groizer43 ай бұрын
Honestly mate, your the best roblox studio tutorial maker ever bro. You have inspired me to make my own games and thanks so much :)
@spun58273 ай бұрын
yo my zombie is not walking and i dont know why i did everything like in the video do you know why it doesnt work T-T
@gestly28802 жыл бұрын
this popped in my recommended I haven't watched the video yet but ik it's gonna be a good tutorial bc it's from gnome
@benjamin6523 Жыл бұрын
It didn't work his script is not working is there something I'm missing
@TordBot69 Жыл бұрын
i eat gnomes
@Stephy873 Жыл бұрын
Same @benjamain6523
@said7503 Жыл бұрын
@@benjamin6523it works fine what happened?
@LegendPlayz3D Жыл бұрын
@@benjamin6523Ik why it's because this vid was made a year or 2 ago and Roblox studio has eveloved
@Generic_Game_Makers2 жыл бұрын
I used to never believe in the gnomes thought they where dumb but now I know there power. I myself am now apart of the gnomes.
@coolestHurensohn1952 жыл бұрын
THEIR power actualy* **** ** * * 🤓🤓🤓
@wabiboy2 жыл бұрын
A quick shortcut for putting all the parts into a folder is Shift + F
@polska89282 жыл бұрын
or just hold right click and like grab them all and hold to the folder
@zxfeared Жыл бұрын
@ufyaabflame2270 but its pretty satisfying
@Skillverfish Жыл бұрын
@UFYAAB flame It's called a key-bind.
@sihwan2693 Жыл бұрын
I'm a Korean. I wanted to make a tower defense game, so I looked for a video, but it wasn't the game I wanted to make, and there were errors so I couldn't make the game, but I made the game after watching this video, and it was perfect with no errors! thank you.
@springer1249 ай бұрын
It is a long series so good luck
@ImOsu--FF26 ай бұрын
for anyone in 2024 or 2025 this vid is useless it expired😢
@lavnsma6 ай бұрын
@@ImOsu--FF2 The scripts are not outdated, i finished scripting few weeks ago
@Dinosaur_Dv23496 ай бұрын
It still isnt working
@JaeyoungShin-ry1ke5 ай бұрын
안녕하세요 저도 한국인입니다.
@proatplanes2 жыл бұрын
By far the best scripting tutorial KZbinr ever, I actully can learn instead of being told what to do and if I do it wrong I would know how to fix it.
@oreoplays78872 жыл бұрын
THANKS SO MUCH THAT HELPED
@bjorna.1473 күн бұрын
Thanks!
@Yotiiii2 жыл бұрын
Hey I'm glad you're doing this :)), I've watched a bunch of your other videos and you've been a major influence in me wanting to start making games now! I'm so excited to learn more.
@GnomeCode2 жыл бұрын
Awesome! Thank you!
@noobz75512 жыл бұрын
I need help . My zombie is not walking and i make script correct and the zombie not walk for the waypoints
@nikxle2 жыл бұрын
@@noobz7551 Same issue here i really need help
@Fletch123452 жыл бұрын
@@noobz7551 hey, maybe because you are using a different zombie and it doesn’t have a humanoid? Or idk
@sanduof7372 жыл бұрын
@@Fletch12345 I have the same thing even tho I am using original drooling zombie
@zuluku2 жыл бұрын
This is an awesome video! Great for beginners and it is helping to introduce me into creating a game of my own. Thank you!
@Skillverfish Жыл бұрын
Yes, agreed I'm using it for the path finding script.... Very helpful.
@Tank_66 Жыл бұрын
Not really did evrything right still won't work
@REIMERSYT Жыл бұрын
@@Tank_66 same
@TrainspottingwithAJ5 ай бұрын
Mine never does work I did everything but no
@denislebleu17865 ай бұрын
same my zombie stops at the second part
@Kindel1578 ай бұрын
Pls help me I don’t know how to do the part where the zombie follows each path block 6:35
@DirtZ_12 ай бұрын
Respect to gnome code for making the best tutorial for tower defence
@MyNamesAveren2 жыл бұрын
hello gnome code! I'm making a td game myself, and have done the most important stuff, ex. char movement, tower placing and etc, but i have been strugglin to make towers attack the first enemy in the path! ive tried arranging them on when they'd spawn that'll not work since different zombies have different speeds, so i will like to follow this tutorial and learn stuff to make my td game more effecient
@reaps42082 жыл бұрын
Name?
@MyNamesAveren2 жыл бұрын
Gabriel's tower defense, its a test game and not the official one, the official one uses humanoids instead of cubes
@reaps42082 жыл бұрын
Ok thanks
@vexi94_2 жыл бұрын
I'm no giga expert scripter but you can probably make a value in the zombie that adds 1 to itself every .5/zombie speed (for the speed zombie for example 2) seconds or so and attack the zombie that has the highest value and is in range of the towers
@vexi94_2 жыл бұрын
hope it works.
@walkersurvivalguide10872 жыл бұрын
Thanks for the help man, I've been wanting to learn this for a while!
@DinarTowerDefence6 ай бұрын
Man, you are helping my team really much! Thanks man! Love your videos!
@DinarTowerDefence6 ай бұрын
to be clear, i am the programmer my friend (a part of my team) is THE GOAT at making the towers
@Robserobtor6 ай бұрын
uhm? the scripts don't even work anymore
@DinarTowerDefence6 ай бұрын
@@Robserobtor i know.. sadly
@Poe-d1y4 ай бұрын
@@Robserobtor all it needs is some adjustments to keep it up to date
@negativespace84242 жыл бұрын
For those of you saying this doesn't work make sure everything is exactly the same because it worked for me here is the script that worked for me : local zombie = script.Parent local waypoints = workspace.Waypoints for waypoint=1, #waypoints:GetChildren() do zombie.Humanoid:MoveTo(waypoints[waypoint].Position) zombie.Humanoid.MoveToFinished:Wait() end
@laylaslight60622 жыл бұрын
THANK YOU you saved me hours of google search and testing
@nika1506n02 жыл бұрын
yeah but didnt worked
@peterebi12 жыл бұрын
@@nika1506n0 too
@zoxthekiller_gamin Жыл бұрын
tysm it woorked
@Gagabell Жыл бұрын
how do i change the speed?
@connor-p6t2 ай бұрын
At first i was like (why isint it working?) So i checked the video and my script and i realised i just accidentally capatilezed a few words! also this guy is awesome! keep up the good work! :D
@randomzman98182 жыл бұрын
Question, I building a tower deffence game with 3 different paths (Left Middle and Right) and I name them all something different. For Orginazation I had started every waypoint and folder with "Right", so how much of the script should I change? If its a bit confusing here is everything: "RightWaypoints" is the first folder "RightPath" is the second folder "Right1", "Right2", "Right3", "Right4", and "Right5" were my waypoints (If Important Right5 was before called RightEnd)
@orkogamer51022 жыл бұрын
3 paths may will be hard for you, try 2 paths and sorry but I don't know what script to use
@megamanups67842 жыл бұрын
@@orkogamer5102 I don't think it's that much harder, the only hard part is pretty much adjusting it to be capable of multiple paths, and it isn't that hard to do.
@RipniumArchive2 жыл бұрын
defense*
@TheRodrigoGurl8 ай бұрын
@@RipniumArchivepeople write defense as defence
@Fragilisticnew5 ай бұрын
use a .random script
@mr.pepeco16522 жыл бұрын
Thank you so much. I've been planing a TD project on Roblox, and I didn't know where to start with scripting. I owe you one, man!
@judeStinnett Жыл бұрын
my slime rancher brother hello
@ooollhkgo11 ай бұрын
Omg thank you so much. This helped me a lot with my tower defense game i'm making with my friends! This deserves a subscribe
@Mistachompa7 ай бұрын
What’s the game name?
@Valentinos_toungeАй бұрын
Everytime I follow A tutorial, the code is outdated, but even two years later and this man has helped me more in the past 4 minutes than anyone else has in 30. Truly A legend. I also now understand The coding (slightly more) of Parents, Moving positions and what meshes actually are. Edit: I actually love you bro. I had a heart attack because it wouldnt go to the positions but then you had the same problem and fixed it lol
@jojamesbs8327Ай бұрын
pls tell me wath was the problem and how to fix taht
@Valentinos_toungeАй бұрын
@@jojamesbs8327 At the end of the code Zombie.Humanoid:MoveTo(waypoints[waypoint]) You need to add .position after the closing square bracket
@Cha_Mat28 күн бұрын
Hey! I hopefully you answer me.. My zombie is only moving to the first waypoint, how can i fix that?
@Valentinos_tounge27 күн бұрын
@@Cha_Mat Have you added A hashtag before the word (Its after you put the number 1) waypoints?
@Cha_Mat27 күн бұрын
@@Valentinos_tounge Yes..
@JosephEader2 жыл бұрын
I remember watching your first coding video for teddy and only having around 3000 subs. You've came a long way.
@flamberbruh2 жыл бұрын
2:32 the npc finally used logic
@henrythehyperrips2 жыл бұрын
thank you! i just started working on this td game, and im hoping this will be my start to it. keep up the good work! easily my favorite scripting youtuber.
@skriczx4 ай бұрын
Wonder how it’s doing.
@Slimeededits3 ай бұрын
I'm just making a game from your tutorial! thanks for letting all us know how to make an tower defense
@hooezi3 ай бұрын
how did you make it work It didn't work for me
@6th6th6thsuspension92 жыл бұрын
if your model is not moving, and its custom, check if your humanoidrootpart has been anchored, if you have it unanchored and it still doesnt work, try to see if the humanoidrootpart is the primary part in your model.
@LordLenny2 жыл бұрын
then what? i saw that it its a primary part
@hooezi3 ай бұрын
it doesn't workstill
@Jayday650912 күн бұрын
my code wont work because Waypoints is not a valid member of Workspace "Workspace" (i've never coded so idk what that means at all) and my zombie wont move at all even when its unanchored
@Bix13BixАй бұрын
thanks this tutorial help'd a lot
@3wokoweb Жыл бұрын
Does anyone notice that the path looks like a dinosaur??
@axo8223 Жыл бұрын
What.
@Wfoc_gamer Жыл бұрын
I do
@usvr2858 Жыл бұрын
no
@lightningwaltz9705 Жыл бұрын
No
@USAball961 Жыл бұрын
No
@BloxWatch-uo2cx10 ай бұрын
If yall are coming back to this video now because ur mobs are like skipping the waypoints because they are slow, I have a solution and all you need to do is instead of making ur paths way shorter... Just place more waypoints in the straight long paths! and the other paths if you want to. Thank you :)) love you and a happy new year!!!!!
@TinyGeezer3 ай бұрын
your the goat
@laufy95512 күн бұрын
or you can just code it like this and it wont skip waypoints local pirate = script.Parent local waypoints = workspace.Waypoints for waypoint=1, #waypoints:GetChildren() do repeat pirate.Humanoid:MoveTo(waypoints[waypoint].Position) until pirate.Humanoid.MoveToFinished:wait() end
@mayronmontoya4 ай бұрын
guys gnomecode stoped uploading! OUR LEGEND FOR THIS SERIES
@ElziraSitioPlayz4 ай бұрын
really?
@ClassicZombeeOSC2 жыл бұрын
Hey, I wanted to ask, so I did everything like you and when I started testing, zombie wasn't moving, how to fix that? I checked your script like 5 times and I didn’t find any difference, what did I really do wrong?
@NEON694202 жыл бұрын
Same
@elmo71832 жыл бұрын
Same
@TheMaxGuy2 жыл бұрын
make sure that your character has a humanoid. if u cant find the problem still, check the output
@ZetaZetaBRBR2 жыл бұрын
same
@TheRodrigoGurl8 ай бұрын
@@TheMaxGuyfor me my output doesnt say anything
@dylan55762 жыл бұрын
good tutorial. can you make the next one on how the "towers" can be target the enemies walking inside the path?
@Ihatemyselfthankyou2 жыл бұрын
Ekzbin.info/www/bejne/rqepi52larWafZI
@bengamestv57532 жыл бұрын
@@Ihatemyselfthankyou you Tried to RIckrolled him
@1eg0bloxuzutsuki822 жыл бұрын
make sure to watch the rest of his videos about this subject it might be in the next video
@SantikornTonklaАй бұрын
Ok I know no one would read this but I thought the code was outdated but the reason it wont work because I named each waypoints "Waypoints[number]" instead of just a number
@FabianBlski2 ай бұрын
This is what i need. I love this tutorial❤❤❤
@BBTProductionsArchive2 жыл бұрын
Hello GnomeCode! I'm glad you are doing this series, as Tower Defense games have been a passion far before my Piggy obsession kicked in, lol Speaking of which, I wanted to ask you if you could make a video about your Teddy shopping system, that's been a slight concern with my game and I'd appreciate shop creating knowledge. :)
@Idlin12 жыл бұрын
One thing I noticed is that when the waypoints are too spaced out from eachother the zombies just break off towards the next one, is there anyway to fix this?
@subbydubdub22472 жыл бұрын
yea all you got to do is zombie.Humanoid.MoveToFinished:Wait()
@immuno9015 Жыл бұрын
@@subbydubdub2247 that does not fix the problem, its a bug with maybe roblox? where the game will declare a move to finished if it takes too long.
@TheManHimselfB-ys4pg8 ай бұрын
YO THX MAN THIS ACHUALLY HELPED ALOT
@acousitcbatman7 ай бұрын
how
@2_krl6 ай бұрын
Dawg, I remember doing this tutorial 2 years ago and had no idea of what anything did, but now that I'm somewhat of an advanced scripter, I understand all of it.
@jindai79905 ай бұрын
can you help em out cuz for me it says Postion is not a valid member of Part "Workspace.Waypoints.1" idk what that means
@Fortnitestrocker9995 ай бұрын
@@jindai7990 i think its because u have nothing inside of the waypoints folder or the first object in ur folder waypoint isnt a cube
@Fortnitestrocker9995 ай бұрын
the code basicly looks in the folder waypoints and looks at the first object inside the folder since it cant read its position its likely u havent placed it anywhere or its an object that isnt placed on the map for example a script
@Fortnitestrocker9995 ай бұрын
@@jindai7990 or u have em wrongfully named the folder or the parts in the folder
@Fortnitestrocker9995 ай бұрын
@@jindai7990 je i just found it out u have the parts inside of the volder not named correctly u gotta name them form 1 to 12
@Potato_roblox33 ай бұрын
The moment he said “hello my little nomes i fell in love and immediately subscribed
@superstar666.13 Жыл бұрын
If you have a long straight, then it would be a good idea to put two waypoints on it. My zombie just froze on the way to the final one, and adding an extra waypoint on the way down that straight path fixed it.
@not-duckyhead7800 Жыл бұрын
thx mate
@thatonekittykat Жыл бұрын
thanks
@Tritanicle Жыл бұрын
Yo star. Do you think you can help me with the code because mine is not moving at all. I’m not sure what I’m doing wrong but this is the code I put in local zombie = script.Parent local waypoints = workspace.waypoints for waypoint=1 #waypoints:GetChildren() do zombie.Humanoid:MoveTo(waypoints[waypoint].Position) zombie.Humanoid.MoveToFinished:wait() end I can to you becuase you were the latest comment but if you think you can help pls help. If you can’t then I’ll try to figure it out I’ll let you know if I end up figuring it out myself
@Tritanicle Жыл бұрын
workspace.Waypoints*
@maxx.1337 Жыл бұрын
@@Tritanicle local zombie = script.Parent local waypoints = workspace.Waypoints for waypoint=1, #waypoints:GetChildren() do zombie.Humanoid:MoveTo(waypoints[waypoint].position) zombie.Humanoid.MoveToFinished:Wait() end
@magentive39682 жыл бұрын
i've been having an issue with the pathfinding. when the NPC moves to a waypoint, it doesn't move all the way to the center, which offsets the enemy from the path. if anyone could help me, i would VERY much appreciate it, as i have looked for LITERAL HOURS through the devforums and online trying to FIND A STUPID SOLUTION. so yeah, any help is appreciated.
@LlamaCrazyYT2 жыл бұрын
My doesn’t even move
@fire.maniac.2 жыл бұрын
same bro this is exactly whats happening to me
@supcracc2 жыл бұрын
maybe for the classic baseplate it works? idk im new
@Alexandraurda02 жыл бұрын
same mine dosent even move
@itznoobplayz43812 жыл бұрын
i have that problom
@elendermanjuegosymas935 Жыл бұрын
I don't understand why my zombie doesn't go to the end if I followed the steps to the letter Now I realized you made a cut, I'm new to creating games in RE, so showing me the "ending" script would help me a lot. Thank you
@Engulf25711 ай бұрын
what is the actual script then? I'm having trouble too.
@ragequitplays7 ай бұрын
I am also I having some trouble, my guy does not even start walking and my way points I set to collision off but I can stand on them? I don’t know how much I’m doing wrong but I can’t get anything to work. :(
@faboii563 ай бұрын
@@ragequitplayssame
@themothfamily12 күн бұрын
@@ragequitplays dude I know
@RealEliteWatermeloncat7 ай бұрын
This will help me alot
@G1nger_Cr1b2 жыл бұрын
Hey! This video is very cool but I have one error: When I tried to make my own custom zombie, it just stands there. It is also not anchored and the script is correct What do I do in this situation?
@shifter2312 жыл бұрын
Same situation here.
@TrashyTonic2 жыл бұрын
I had the same problem. Rewrite it and then check your spelling.
@G1nger_Cr1b2 жыл бұрын
@@TrashyTonic I just did that and it didn’t work :(
@G1nger_Cr1b2 жыл бұрын
@@shifter231 i also just realized that of you do multiple parts to make something, it won’t work. But if you have like a single part for a arm, a single part for the leg, etc, it would work. So if you make a “detailed” character with extra parts, it wouldn’t work.
@EgyptianKingEditz222 жыл бұрын
same
@n3thermost Жыл бұрын
2:29 pov: the zombies first time do a smart thing at td games
@JohnGaming75611 ай бұрын
Yo dude i have a question what do i do when the enemy just goes in waypoint 1 and stay there? how do i fix also the enemy i made always look behind and walk on the first waypoint (nvm i managed to fix it by making 12 waypoints instead of 9)
@CreatorNightmare4 ай бұрын
i have the same problem. my zombie just gets stuck
@MrTsaeb.3 ай бұрын
He has made so much fun games come true
@NotGroovyDominoes522 ай бұрын
code if you guys want to do it: local zombie = script.Parent local waypoints = workspace.Waypoints for waypoint=1, #waypoints:GetChildren() do zombie.Humanoid:MoveTo(waypoints[waypoint].Position) zombie.Humanoid.MoveToFinished:Wait() end this helped me too much (if your not using a zombie then put the original name for the NPC who you want to script)
@NOTVERYSMART-ns9gq2 ай бұрын
W MANN
@sreykeo93402 ай бұрын
I love you
@sreykeo93402 ай бұрын
Nah it’s that I mean
@duckedc2 ай бұрын
what a goat better see y’all’s tds game soon 😍
@justanormalkuwaiti2 ай бұрын
omg tysm youre a goatt
@turtleshenanigans3954 Жыл бұрын
7:16 u can see he added smthing in replicated storage off camera
@Theelementsofmanface7 ай бұрын
People in 2024
@illusionizedgrape77337 ай бұрын
I'm confused as to how "waypoints" is understood by the script as each individual spot. Is it targeting the folder and specifying the children?
@faithofJ7 ай бұрын
Like beggar
@PebbleTheRock_Dandy7 ай бұрын
Me? No IM 2025 no 2024 kk
@Secret-m6n7 ай бұрын
Me
@RGofficialchannel-y7d7 ай бұрын
@@faithofJisnt even asking
@EternalDeveloper2 жыл бұрын
i got another problem :/ so i made the enemys smaller and slower (changed it to 5) at a certain point they just skip the end of the track and try to go to the next point, but when i change the speed to 10, it works perfectly fine
@oscoolerreborn2 жыл бұрын
alright I spent ages trying to figure this out by myself. so basically, movetofinished can return false or true, true if it successfully makes it to the point and false if it does not. So what I did was ``` local function MoveToFinished(humanoid,position) local Timeout = true local event = humanoid.MoveToFinished:Connect(function(successful) if not successful then humanoid:MoveTo(position) return end if successful then Timeout=false end end) repeat task.wait(.25) until Timeout==false event:Disconnect() task.wait(.1) return end ``` we are not done yet. now that code above gooes outside any code, so just put it on the first line basically. and then you know wher eyou put humanoid.movetofinished:Wait() replace it with ``` MoveToFinished(*humanoid*,*waypoints*[tostring(index)].Position) ``` you see the humanoid after the first bracket? you need to say local humanoid = mob.Humanoid -- or wherever your humanoid is see the waypoints?. yeah you need to copy the code from the loop as shown in the video :D np i went into detail because i don't know if you know scripting much
@EternalDeveloper2 жыл бұрын
@@oscoolerreborn holy thank u so much! :D
@1kairee2 жыл бұрын
@DoseOfDucks What do you do with the code then?
@1kairee2 жыл бұрын
@DoseOfDucks But in later episodes, he changes up the script, would that still work here?
@1kairee2 жыл бұрын
@DoseOfDucks Yeah, I don't think it works for the newer script
@FlamePlaysOFF5 ай бұрын
The zombie script aint worked for me some months ago. But i retryed making the tower defense and your script actually works! I think it's because i typed something wrong and i had the outpot thing closed
@BigHeadDev4 ай бұрын
how?
@HoppersFN2 ай бұрын
I KNOW HOW TO FIX IT GO TO YOUR CHARACTER THEN GO TO HUMANOID ROOT PART THE UN ANCHOR IT. HOPE THIS HELPED!
@Sharkking34092 ай бұрын
It doesn’t help, I looked for it
@HoppersFN2 ай бұрын
@@Sharkking3409 in the character? its in the humanoid root part at the bottom
@CougarVR12 ай бұрын
@@HoppersFN It’s already unanchored do you have any idea why it might not work still?
@matthewbryan79512 ай бұрын
@@Sharkking3409 in the zombie bro
@SocksbloxАй бұрын
i know im late to this but what do you mean at 6:20
@SCR_game5 ай бұрын
Amazing just finished moving on to next part!
@hooezi3 ай бұрын
how did you make it work it didn't work for me
@SCR_game3 ай бұрын
@@hooeziJust make sure that you follow it exactly, this happened to me on the later episode, just try it again and make sure to follow every step and then it will work
@rocandplay92982 жыл бұрын
5:37 *G E T C H I L D R E N*
@ldgame582 Жыл бұрын
Sus
@noobking. Жыл бұрын
Lol
@GoldBaconHair11 ай бұрын
Get children
@26271sii8 ай бұрын
why wont it work for me
@Benawazdzakwaan5 ай бұрын
why mine not working?
@Obby-CreatorLover5 ай бұрын
Yeah mine is jot working too
@Obby-CreatorLover5 ай бұрын
Not*
@sigmadraggonroblox777here2 ай бұрын
i love your videos!❤
@jonandmercedes2 жыл бұрын
Nice video Gnome! However, I’m struggling to loop the script on making the enemy go from one point to another. Do I copy and paste the process or what?
@W1nngeАй бұрын
thx for that I will continue my tower defense game while your tutorial help me. Thx.
@Zydiaaa Жыл бұрын
To fix the Movement Error you need to replace this code: "local zombie = script.Parent local waypoints = game.Workspace.Waypoints if not waypoints then print("Waypoints not found!") return end for i, waypoint in ipairs(waypoints:GetChildren()) do zombie.Humanoid:MoveTo(waypoint.Position) zombie.Humanoid.MoveToFinished:Wait() end "
@vanessagrosser6002 Жыл бұрын
Thanks.
@RidwanAlam-uu8ec11 ай бұрын
OMG TYSM YOU DONT KNOW HOW MUCH THIS HELPED MEE THANKSSSSSSSSSSSSSSSSSS
@enzopanaflex8 ай бұрын
IT NOT WORKING@@RidwanAlam-uu8ec
@MRMCBANBAN4 ай бұрын
OMG THANK YOU THIS HELP SO MUCH YIPPEEEEEEE
@MRMCBANBAN4 ай бұрын
@@enzopanaflex IT DOES JUST DELETE THE "
@laytonlewin29 Жыл бұрын
my zombie aint movin he lazy
@Bacon_god Жыл бұрын
Zamn that's bad, check that zombie can walk or smth, that happened to me sometime
@laytonlewin29 Жыл бұрын
@@Bacon_godhe can defo walk but it just not working 😂😂😂
@Bacon_god Жыл бұрын
@@laytonlewin29hmmm, check if u named everything right in the code
@laytonlewin29 Жыл бұрын
@@Bacon_god I did
@bananafoxYT4616 Жыл бұрын
YO I DONT BLAME YOU MY ZOMBIE DIDNT MOVE FOR THE 5 TIMES I TRIED THIS😢 I’m still trying but it’s getting super annoying now
@ArtistictreasuresYT29 күн бұрын
Mine wasn’t moving😭😭😭😭 2:29
@Jkjlox28 күн бұрын
It has to be End not end
@ilovepokemon78927 күн бұрын
@@Jkjlox Really?😅 Bc my was not moving either
@BradyyGamerr7525 күн бұрын
Same
@ArtistictreasuresYT25 күн бұрын
@@Jkjlox WDYM it has to be End
@FNTD_PROS_CLAN7 күн бұрын
I’m a bit late but I just fixed mine you need to call the part End for it to work
@dylans570910 күн бұрын
Thank you so much. I was originally going to make a showcase game but I’m switching to a tower defense game. I think I may call it retro tower defense or something like that. I don’t really know.
@gmodroleplays2bro6 ай бұрын
Spolier Alert: outdated
@elenoragmaliw17786 ай бұрын
Blud fr chatted outdated when its alr 2 years dawg
@blaz_r2 жыл бұрын
7:37 my zombie doesent do anything wth
@adam_always19456 ай бұрын
Bro same :(
@jorty_boy203 ай бұрын
Same hoe do you fix that
@jorty_boy203 ай бұрын
How*
@blaz_r3 ай бұрын
@@jorty_boy20 there is nothing here to be corrected
@jorty_boy203 ай бұрын
@@blaz_r what do you mean
@SYTheGuy1213 ай бұрын
i love watching these
@ВоваНестеров-ъ6щ3 ай бұрын
bro fr watching this in 2024
@ВоваНестеров-ъ6щ3 ай бұрын
oh nvm im watching this in 2024 too
@frankgaming8426 Жыл бұрын
It dont work :(
@BoYo531011 ай бұрын
i didnt work for me either
@Pyr0Blox110 ай бұрын
@@BoYo5310works for me lol
@Lino_Gamer45610 ай бұрын
Why
@BoYo531010 ай бұрын
@@Lino_Gamer456 what does he know? If he would know what doesn't work then he could fix it. (Same happened here though)
@OLD-ACCOUNT123410 ай бұрын
It’s cause it’s an outdated tutorial due to updates
@d.e.a.dgamer597510 ай бұрын
why is it not working in 2024?
@nukeulardown8 ай бұрын
cnomecode should make a new one
@Cryklyn8 ай бұрын
i created my place in 2023 and it is working
@nukeulardown8 ай бұрын
@JakeTheSnake810 make a videos explaining it work
@Mistachompa7 ай бұрын
Mine worked perfectly fine Mabey your problem is in the code you still put zombie instead of the name of your model