How to make a Tower Defense Game - #1 Path Navigation

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 7K

  • @ExperiencersInternational
    @ExperiencersInternational 3 ปีที่แล้ว +269

    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_guyyy
      @shark_guyyy 3 ปีที่แล้ว +5

      Exactly

    • @Timeskip410
      @Timeskip410 6 หลายเดือนก่อน +1

      @SuperJSM True very very TRUE🎉

    • @girikpatel
      @girikpatel 4 หลายเดือนก่อน +1

      YES

  • @goofyahhcat6673
    @goofyahhcat6673 3 ปีที่แล้ว +170

    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

    • @alicorn3924
      @alicorn3924 3 ปีที่แล้ว +5

      is there a link for your game?
      I wanna try it for some reason

    • @Cactus-Cactaceae
      @Cactus-Cactaceae 3 ปีที่แล้ว +4

      @@alicorn3924 Yeah if the game is out i would too want to play it

    • @Oppteekap
      @Oppteekap 3 ปีที่แล้ว +3

      Unless I’m wrong but I think the commenter don’t have a game

    • @Cactus-Cactaceae
      @Cactus-Cactaceae 3 ปีที่แล้ว +6

      @@Oppteekap Yes ik but just saying for the Future maybe

    • @gamingzeraora443
      @gamingzeraora443 3 ปีที่แล้ว +3

      coding will be hard..........Goodluck! reply to me if you complete it I will happily play it :D

  • @Photonic883
    @Photonic883 14 วันที่ผ่านมา +5

    despite this being 3 years old, it is helping me make a chase level for something im developing, really helpful tutorial

    • @silent4198
      @silent4198 9 วันที่ผ่านมา +2

      yo this is actually recommended 3 years later

  • @Razze-hm2tg
    @Razze-hm2tg 8 หลายเดือนก่อน +4

    I have been following this series and I’m on tut #15 and everything have been working so far

    • @lucasparakhoodi9239
      @lucasparakhoodi9239 8 หลายเดือนก่อน +1

      How did u make the zombie move

    • @Razze-hm2tg
      @Razze-hm2tg 8 หลายเดือนก่อน

      I just followed what he did

    • @thefunnidungen
      @thefunnidungen 7 หลายเดือนก่อน

      @@lucasparakhoodi9239 code

    • @troydivich
      @troydivich 5 หลายเดือนก่อน

      @@lucasparakhoodi9239 idk
      (pls help)

  • @PineBloxx
    @PineBloxx 3 ปีที่แล้ว +639

    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!

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว +103

      Thanks for the good vibes as always PineBlox!

    • @propel3536
      @propel3536 3 ปีที่แล้ว +12

      @@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

    • @moktarkhalifa7101
      @moktarkhalifa7101 3 ปีที่แล้ว +8

      Are you still like Roblox

    • @pixelatedluisyt
      @pixelatedluisyt 3 ปีที่แล้ว +3

      @@GnomeCode i watch your teddy devlogs just to see how you are doing
      and sometimes i follow them to test things

    • @MGMac_
      @MGMac_ 3 ปีที่แล้ว +3

      @@propel3536 tbz system is far superior

  • @aaronknapp8897
    @aaronknapp8897 3 ปีที่แล้ว +44

    Thanks man, this is the first tutorial on the game I've ever seen! Its like Inventing a entirely new thing, ya genius!

    • @liam1493
      @liam1493 7 หลายเดือนก่อน

      I don't think it works in 2024 tho :/

    • @thefunnidungen
      @thefunnidungen 7 หลายเดือนก่อน +1

      @Kyu3488 its working for me tho

    • @ShriyansRepala
      @ShriyansRepala 7 หลายเดือนก่อน

      Bruh this works 100%

    • @Mamychn1
      @Mamychn1 7 หลายเดือนก่อน

      @@ShriyansRepala mine only moves through 2 waypoints

    • @SmartzElis
      @SmartzElis 6 หลายเดือนก่อน

      mine only moves to the first

  • @idkwhattoput-we9ju
    @idkwhattoput-we9ju 3 ปีที่แล้ว +146

    Me: Looks away for 1 second
    GnomeCode: …And that is how you fully make the universe inside of Roblox Studio!

    • @BlendaCat
      @BlendaCat 3 หลายเดือนก่อน +1

    • @hafikhaild
      @hafikhaild 3 หลายเดือนก่อน +1

      @@BlendaCat

    • @kwincy_Halloween
      @kwincy_Halloween 3 หลายเดือนก่อน

      ​@@hafikhaildwtf

    • @Iciclecold
      @Iciclecold 2 หลายเดือนก่อน +2

      Literally

    • @Lino_Gamer459
      @Lino_Gamer459 2 หลายเดือนก่อน +1

      FR

  • @addisonwong-sripatana
    @addisonwong-sripatana หลายเดือนก่อน +1

    beautiful! finished step 1, moving on! very simple and easy to learn thanks to this channel!

  • @misterclubs
    @misterclubs 3 ปีที่แล้ว +205

    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.

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว +31

      Awesome, hope you enjoy the series!

    • @ireseleven
      @ireseleven 3 ปีที่แล้ว +7

      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

    • @jordyissappig
      @jordyissappig 3 ปีที่แล้ว +4

      @@GnomeCode pls episode 2

    • @aok737
      @aok737 3 ปีที่แล้ว +5

      @@jordyissappig he just made the vid day ago, this takes times, wait in ur chair 3 - 9 days for the 2nd part

    • @jordyissappig
      @jordyissappig 3 ปีที่แล้ว +2

      @@aok737 no

  • @otaldoSnowf
    @otaldoSnowf 3 ปีที่แล้ว +40

    You are underrated, deserve more than a million congratulations, thanks for one more tutorial :)

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว +9

      Thank you for the good vibes!

    • @guyfrommars1110
      @guyfrommars1110 3 ปีที่แล้ว +3

      @@GnomeCode r u working on part 4? i relly need it

    • @sandwichdoge
      @sandwichdoge 2 ปีที่แล้ว +1

      That is so true

    • @MrBCB
      @MrBCB 2 ปีที่แล้ว +2

      @@GnomeCode how do you turn can collide off for the zombie?

  • @officialbaconprodigy
    @officialbaconprodigy 11 หลายเดือนก่อน +36

    OMG THIS IS THE PART I WAS LOOKING FOR TO IMPROVE MY DEVELOPING, TYSSM I LEARNED SCRIPTING

    • @Mapperdud
      @Mapperdud 6 หลายเดือนก่อน +2

      Nice:D

    • @steak9586
      @steak9586 5 หลายเดือนก่อน

      Why does the script not work for me

    • @timeafelner8016
      @timeafelner8016 5 หลายเดือนก่อน

      ​@@steak9586Yeah why?

    • @Wazxcvgh222
      @Wazxcvgh222 5 หลายเดือนก่อน

      @@steak9586 its outdated

    • @Wazxcvgh222
      @Wazxcvgh222 5 หลายเดือนก่อน

      @@timeafelner8016 its outdated

  • @saucytacosYT
    @saucytacosYT 10 หลายเดือนก่อน +21

    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

  • @Ven_om310
    @Ven_om310 2 ปีที่แล้ว +34

    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.

    • @Hancemayapu
      @Hancemayapu 2 ปีที่แล้ว +1

      theres a error can u help ?

    • @placeholerwav
      @placeholerwav 2 ปีที่แล้ว

      @@Hancemayapu why would he help

    • @hdr2128
      @hdr2128 2 ปีที่แล้ว

      lol

    • @CheekyMauricio
      @CheekyMauricio ปีที่แล้ว

      @@placeholerwav I legit tried everything to fix error and didnt work

    • @placeholerwav
      @placeholerwav ปีที่แล้ว

      @@CheekyMauricio well then you made a mistake, its not "fake" or "bad" tutorial its good.

  • @KUREWA_69
    @KUREWA_69 11 หลายเดือนก่อน +5

    It's all thanks to you that i have been able to make a tower defence game! Thank You so much mr.GnomeCode!

    • @Busssybees
      @Busssybees 5 หลายเดือนก่อน

      what's it called? (I'm also making one just not going to well I just want to support creators

  • @GrumpyGamerCat
    @GrumpyGamerCat 5 หลายเดือนก่อน +6

    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!

  • @Slicer4217
    @Slicer4217 3 ปีที่แล้ว +13

    You and Alvin got me into scripting I wanna say thank you 🙏🏼

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว +6

      That's great to hear, best of luck with your future devving

    • @Ocantfindname
      @Ocantfindname 7 หลายเดือนก่อน +1

      ​@@GnomeCodeuhh gnome i have a problem
      My zombie desent even move

    • @TDS_Tank
      @TDS_Tank 6 หลายเดือนก่อน +1

      @@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

  • @thatdudemxtxlz6600
    @thatdudemxtxlz6600 3 ปีที่แล้ว +5

    FINALLY A GOOD DEVELOPER WHO GO STRAIGHT TO THE POINT

  • @Kindel157
    @Kindel157 10 หลายเดือนก่อน +10

    Pls help me I don’t know how to do the part where the zombie follows each path block 6:35

    • @KXNZO-Me
      @KXNZO-Me 20 วันที่ผ่านมา +2

      im a little late but do this instead of that script
      local zombie = script.Parent
      local waypoints = workspace.Waypoints:GetChildren() -- Get all waypoints as a table
      for i = 1, #waypoints do
      local waypoint = waypoints[i] -- Get each waypoint
      zombie.Humanoid:MoveTo(waypoint.Position) -- Move to the waypoint's position
      zombie.Humanoid.MoveToFinished:Wait() -- Wait until the move is finished
      end

    • @GirlyourCrazy
      @GirlyourCrazy 6 วันที่ผ่านมา

      @@KXNZO-Mewhat does the [i] mean?

  • @ooollhkgo
    @ooollhkgo ปีที่แล้ว +6

    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

    • @Mistachompa
      @Mistachompa 9 หลายเดือนก่อน

      What’s the game name?

  • @r4absor
    @r4absor 3 ปีที่แล้ว +30

    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)

    • @orkogamer5102
      @orkogamer5102 3 ปีที่แล้ว +2

      3 paths may will be hard for you, try 2 paths and sorry but I don't know what script to use

    • @megamanups6784
      @megamanups6784 2 ปีที่แล้ว +2

      @@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.

    • @RipniumArchive
      @RipniumArchive 2 ปีที่แล้ว

      defense*

    • @CrazyLinnnn
      @CrazyLinnnn 10 หลายเดือนก่อน +1

      @@RipniumArchivepeople write defense as defence

  • @gavinmcgowan1854
    @gavinmcgowan1854 3 ปีที่แล้ว +86

    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

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว +9

      Glad it helped!

    • @noobade
      @noobade 3 ปีที่แล้ว

      I will leave a game now..... I mean later

    • @Brroo
      @Brroo 3 ปีที่แล้ว

      Its tb tutorial

    • @Zane-Satoru
      @Zane-Satoru 3 ปีที่แล้ว

      Anyone see the tutorials that are kits there mainly viruses and i just wanna script

    • @TripleLLe
      @TripleLLe 3 ปีที่แล้ว +3

      @@Brroo you mean tower defense tutorial?

  • @Valentinos_tounge
    @Valentinos_tounge 2 หลายเดือนก่อน +1

    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
      @jojamesbs8327 2 หลายเดือนก่อน

      pls tell me wath was the problem and how to fix taht

    • @Valentinos_tounge
      @Valentinos_tounge 2 หลายเดือนก่อน

      @@jojamesbs8327 At the end of the code Zombie.Humanoid:MoveTo(waypoints[waypoint]) You need to add .position after the closing square bracket

    • @Cha_Mat
      @Cha_Mat 2 หลายเดือนก่อน

      Hey! I hopefully you answer me.. My zombie is only moving to the first waypoint, how can i fix that?

    • @Valentinos_tounge
      @Valentinos_tounge 2 หลายเดือนก่อน

      @@Cha_Mat Have you added A hashtag before the word (Its after you put the number 1) waypoints?

    • @Cha_Mat
      @Cha_Mat 2 หลายเดือนก่อน

      @@Valentinos_tounge Yes..

  • @NotZDH
    @NotZDH 3 ปีที่แล้ว +38

    This looks like it’s gonna be a cool series. I think I’ll try it out

  • @Cloudy_PandaPC
    @Cloudy_PandaPC 3 ปีที่แล้ว +8

    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.

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว +4

      Glad to hear you found it helpful!

    • @nikxle
      @nikxle 2 ปีที่แล้ว +1

      @@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
      @daviribasnobrega3322 ปีที่แล้ว

      fake@@GnomeCode

    • @ProtiumFries
      @ProtiumFries ปีที่แล้ว

      @@GnomeCodePLS MAKE A NEW SERIES

    • @Kolby13
      @Kolby13 8 หลายเดือนก่อน

      Not working for me either.... The zombie is going to the next waypoint a few studs before the first one

  • @Minequacker
    @Minequacker ปีที่แล้ว +5

    wow! I love this series! you are incredible gnomecode

    • @OnePunchEnjoyer
      @OnePunchEnjoyer ปีที่แล้ว +2

      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
      @Minequacker ปีที่แล้ว +1

      @@OnePunchEnjoyer the code of the zombie?

    • @Minequacker
      @Minequacker ปีที่แล้ว +1

      make sure everything is named right, and make sure your code has been copied correctly

    • @OnePunchEnjoyer
      @OnePunchEnjoyer ปีที่แล้ว

      @@Minequacker i got it! im on the 3rd episode by now

    • @Minequacker
      @Minequacker ปีที่แล้ว +1

      @@OnePunchEnjoyer yay! :D keep going, and dont give up!

  • @zomzilla420
    @zomzilla420 หลายเดือนก่อน

    Thank you for this, I am making my 2nd tower defense game rn bc my first one didn't work out to well. So thanks for this series.

  • @sihwan2693
    @sihwan2693 ปีที่แล้ว +6

    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.

    • @springer124
      @springer124 11 หลายเดือนก่อน

      It is a long series so good luck

    • @ImOsu--FF2
      @ImOsu--FF2 8 หลายเดือนก่อน

      for anyone in 2024 or 2025 this vid is useless it expired😢

    • @lavnsma
      @lavnsma 8 หลายเดือนก่อน

      @@ImOsu--FF2 The scripts are not outdated, i finished scripting few weeks ago

    • @Dinosaur_Dv2349
      @Dinosaur_Dv2349 8 หลายเดือนก่อน

      It still isnt working

    • @JaeyoungShin-ry1ke
      @JaeyoungShin-ry1ke 7 หลายเดือนก่อน

      안녕하세요 저도 한국인입니다.

  • @wabiboy
    @wabiboy 2 ปีที่แล้ว +48

    A quick shortcut for putting all the parts into a folder is Shift + F

    • @polska8928
      @polska8928 2 ปีที่แล้ว +4

      or just hold right click and like grab them all and hold to the folder

    • @zxfeared
      @zxfeared 2 ปีที่แล้ว

      @ufyaabflame2270 but its pretty satisfying

    • @Skillverfish
      @Skillverfish ปีที่แล้ว

      @UFYAAB flame It's called a key-bind.

  • @hyperion9684
    @hyperion9684 2 ปีที่แล้ว +7

    This tutorial is so good explained! In 15 minutes with no knowledge I made a path and a zombie moving on the paths!

  • @Groizer4
    @Groizer4 5 หลายเดือนก่อน +2

    Honestly mate, your the best roblox studio tutorial maker ever bro. You have inspired me to make my own games and thanks so much :)

    • @spun5827
      @spun5827 4 หลายเดือนก่อน

      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

  • @rdva
    @rdva 3 ปีที่แล้ว +44

    Your tutorials are always the best! Keep up your amazing work, and your future projects!

  • @alextavares9153
    @alextavares9153 2 ปีที่แล้ว +19

    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!

    • @GnomeCode
      @GnomeCode  2 ปีที่แล้ว +6

      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.

    • @filltobe
      @filltobe 2 ปีที่แล้ว +2

      @@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?

    • @Bread8468
      @Bread8468 2 ปีที่แล้ว

      @@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

    • @DV1OUS
      @DV1OUS 2 ปีที่แล้ว

      @@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

    • @DV1OUS
      @DV1OUS 2 ปีที่แล้ว +1

      @@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

  • @5-Volts
    @5-Volts 2 หลายเดือนก่อน +2

    --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)

    • @AceyBlox
      @AceyBlox หลายเดือนก่อน

      thanks

    • @wolfpack7971
      @wolfpack7971 15 วันที่ผ่านมา

      Thank you!!

    • @5-Volts
      @5-Volts 15 วันที่ผ่านมา

      @@wolfpack7971 wait, you copied the code?

  • @proatplanes
    @proatplanes 3 ปีที่แล้ว +11

    By far the best scripting tutorial TH-camr 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.

  • @dunzdoesstuff
    @dunzdoesstuff 3 ปีที่แล้ว +4

    Glad you started a how-to series! I found you from the morphing video and I'm so glad I subscribed

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว +1

      Glad to have you here

    • @thatonekittykat
      @thatonekittykat ปีที่แล้ว +1

      @@GnomeCodehey man, please please answer me. My zombie will not move and idk why i did everything kike u saud

    • @Lydia-_
      @Lydia-_ 10 หลายเดือนก่อน

      same, but it might be because I'm not using a zombie. @@thatonekittykat

    • @mattyrob3898
      @mattyrob3898 8 หลายเดือนก่อน +1

      You mean like and said

    • @kingstrong6139
      @kingstrong6139 6 หลายเดือนก่อน +1

      @@thatonekittykat same

  • @Generic_Game_Makers
    @Generic_Game_Makers 3 ปีที่แล้ว +7

    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.

  • @connor-p6t
    @connor-p6t 4 หลายเดือนก่อน

    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

  • @MyNamesAveren
    @MyNamesAveren 3 ปีที่แล้ว +10

    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

    • @reaps4208
      @reaps4208 3 ปีที่แล้ว

      Name?

    • @MyNamesAveren
      @MyNamesAveren 3 ปีที่แล้ว

      Gabriel's tower defense, its a test game and not the official one, the official one uses humanoids instead of cubes

    • @reaps4208
      @reaps4208 3 ปีที่แล้ว

      Ok thanks

    • @vexi94_
      @vexi94_ 3 ปีที่แล้ว

      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_
      @vexi94_ 3 ปีที่แล้ว

      hope it works.

  • @gestly2880
    @gestly2880 3 ปีที่แล้ว +78

    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
      @benjamin6523 ปีที่แล้ว +1

      It didn't work his script is not working is there something I'm missing

    • @TordBot69
      @TordBot69 ปีที่แล้ว +1

      i eat gnomes

    • @Stephy873
      @Stephy873 ปีที่แล้ว +1

      Same @benjamain6523

    • @said7503
      @said7503 ปีที่แล้ว

      @@benjamin6523it works fine what happened?

    • @LegendPlayz3D
      @LegendPlayz3D ปีที่แล้ว

      ​​@@benjamin6523Ik why it's because this vid was made a year or 2 ago and Roblox studio has eveloved

  • @6th6th6thsuspension9
    @6th6th6thsuspension9 2 ปีที่แล้ว +5

    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.

    • @LordLenny
      @LordLenny 2 ปีที่แล้ว +1

      then what? i saw that it its a primary part

    • @hoozie3
      @hoozie3 5 หลายเดือนก่อน

      it doesn't workstill

    • @Jayday6509
      @Jayday6509 2 หลายเดือนก่อน

      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

  • @magentive3968
    @magentive3968 2 ปีที่แล้ว +12

    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.

    • @LlamaCrazyYT
      @LlamaCrazyYT 2 ปีที่แล้ว +1

      My doesn’t even move

    • @fire.maniac.
      @fire.maniac. 2 ปีที่แล้ว

      same bro this is exactly whats happening to me

    • @supcracc
      @supcracc 2 ปีที่แล้ว

      maybe for the classic baseplate it works? idk im new

    • @Alexandraurda0
      @Alexandraurda0 2 ปีที่แล้ว

      same mine dosent even move

    • @itznoobplayz4381
      @itznoobplayz4381 2 ปีที่แล้ว

      i have that problom

  • @Yotiiii
    @Yotiiii 3 ปีที่แล้ว +9

    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.

    • @GnomeCode
      @GnomeCode  3 ปีที่แล้ว

      Awesome! Thank you!

    • @noobz7551
      @noobz7551 3 ปีที่แล้ว

      I need help . My zombie is not walking and i make script correct and the zombie not walk for the waypoints

    • @nikxle
      @nikxle 2 ปีที่แล้ว

      @@noobz7551 Same issue here i really need help

    • @Fletch12345
      @Fletch12345 2 ปีที่แล้ว

      @@noobz7551 hey, maybe because you are using a different zombie and it doesn’t have a humanoid? Or idk

    • @sanduof737
      @sanduof737 2 ปีที่แล้ว

      @@Fletch12345 I have the same thing even tho I am using original drooling zombie

  • @mr.pepeco1652
    @mr.pepeco1652 2 ปีที่แล้ว +13

    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
      @judeStinnett ปีที่แล้ว

      my slime rancher brother hello

  • @thejackalope6093
    @thejackalope6093 6 หลายเดือนก่อน +1

    6:30 So why not just use a for i,v in pairs loop? Wouldn’t that have been simpler? Or is there a pro to using a regular for loop?

  • @zuluku
    @zuluku 2 ปีที่แล้ว +17

    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
      @Skillverfish ปีที่แล้ว

      Yes, agreed
      I'm using it for the path finding script.... Very helpful.

    • @Tank_66
      @Tank_66 ปีที่แล้ว

      Not really did evrything right still won't work

    • @REIMERSYT
      @REIMERSYT ปีที่แล้ว

      @@Tank_66 same

    • @TrainspottingwithAJ
      @TrainspottingwithAJ 7 หลายเดือนก่อน

      Mine never does work I did everything but no

    • @denislebleu1786
      @denislebleu1786 7 หลายเดือนก่อน

      same my zombie stops at the second part

  • @SantikornTonkla
    @SantikornTonkla 3 หลายเดือนก่อน +10

    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

  • @watkj7
    @watkj7 ปีที่แล้ว +50

    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.

    • @user-UNKNOWN1.0
      @user-UNKNOWN1.0 ปีที่แล้ว

      You my friend are a G . thanks for being helpful

    • @calebinfinityworld2664
      @calebinfinityworld2664 ปีที่แล้ว +6

      My zombie wasn’t moving while it was not anchored :(

    • @blingus_CoS
      @blingus_CoS ปีที่แล้ว

      same dude :(@@calebinfinityworld2664

    • @mtn-legacy
      @mtn-legacy ปีที่แล้ว

      @Hackerreports-pe2ll ur genius ty it finally worked

    • @Richie-nt1cf
      @Richie-nt1cf ปีที่แล้ว

      it only went to waypoint 1 and after it arrives at waypoint 1 my zombie doesnt move anymore???
      @Hackerreports-pe2ll

  • @bjorna.147
    @bjorna.147 หลายเดือนก่อน +1

    2:30 why does it stop after my zombie has walked like exactly a amount of studs? Like 20 studs?.

  • @flamberbruh
    @flamberbruh 3 ปีที่แล้ว +7

    2:32 the npc finally used logic

  • @JosephEader
    @JosephEader 3 ปีที่แล้ว +4

    I remember watching your first coding video for teddy and only having around 3000 subs. You've came a long way.

  • @hankgamer0-x7u
    @hankgamer0-x7u 3 ปีที่แล้ว +5

    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.

    • @scrizxABANDONED
      @scrizxABANDONED 6 หลายเดือนก่อน

      Wonder how it’s doing.

  • @lebronhisdad
    @lebronhisdad หลายเดือนก่อน

    I appreciate it a lot my older brother made a lot of money thanks to you😂

  • @BloxWatch-uo2cx
    @BloxWatch-uo2cx ปีที่แล้ว +6

    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!!!!!

    • @TinyGeezer
      @TinyGeezer 5 หลายเดือนก่อน

      your the goat

    • @laufy955
      @laufy955 2 หลายเดือนก่อน +1

      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

    • @bubanto
      @bubanto 11 วันที่ผ่านมา

      @@laufy955 does not work, i am pretty sure .MoveToFinished:wait() only works on 16 walkspeed, and that is what is causing the issue: the walkspeed not being 16, i am currently working on a fix or maybe a different pathfinding

  • @DinarTowerDefence
    @DinarTowerDefence 8 หลายเดือนก่อน +2

    Man, you are helping my team really much! Thanks man! Love your videos!

    • @DinarTowerDefence
      @DinarTowerDefence 8 หลายเดือนก่อน

      to be clear, i am the programmer
      my friend (a part of my team) is THE GOAT at making the towers

    • @Robserobtor
      @Robserobtor 8 หลายเดือนก่อน

      uhm? the scripts don't even work anymore

    • @DinarTowerDefence
      @DinarTowerDefence 8 หลายเดือนก่อน

      @@Robserobtor i know.. sadly

    • @Poe-d1y
      @Poe-d1y 6 หลายเดือนก่อน

      @@Robserobtor all it needs is some adjustments to keep it up to date

  • @JohnMark-ek9re
    @JohnMark-ek9re 27 วันที่ผ่านมา +2

    Might need this video to make a pre-release version of "DD | IC:TD" :d (imma save this playlist video)

  • @ClassicZombeeOSC
    @ClassicZombeeOSC 3 ปีที่แล้ว +6

    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?

    • @NEON69420
      @NEON69420 3 ปีที่แล้ว

      Same

    • @elmo7183
      @elmo7183 2 ปีที่แล้ว

      Same

    • @TheMaxGuy
      @TheMaxGuy 2 ปีที่แล้ว

      make sure that your character has a humanoid. if u cant find the problem still, check the output

    • @ZetaZetaBRBR
      @ZetaZetaBRBR 2 ปีที่แล้ว

      same

    • @CrazyLinnnn
      @CrazyLinnnn 10 หลายเดือนก่อน

      @@TheMaxGuyfor me my output doesnt say anything

  • @walkersurvivalguide1087
    @walkersurvivalguide1087 3 ปีที่แล้ว +7

    Thanks for the help man, I've been wanting to learn this for a while!

  • @DirtScientist_1
    @DirtScientist_1 4 หลายเดือนก่อน

    Respect to gnome code for making the best tutorial for tower defence

  • @callmecozmic
    @callmecozmic 5 หลายเดือนก่อน +44

    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!

    • @theyfwapril
      @theyfwapril 5 หลายเดือนก่อน +1

      OMG TYSM!!

    • @LicenciadoDLasChivas
      @LicenciadoDLasChivas 5 หลายเดือนก่อน

      i copied the script it didnt work for me but i fixed it only writing Waypoints instead of waypoints lol

    • @Terraria6096
      @Terraria6096 5 หลายเดือนก่อน

      Thanks❤❤❤

    • @rainbowryan
      @rainbowryan 4 หลายเดือนก่อน +1

      ty, this worked out for me and made the pathfinding system work.

    • @PhantomBlackDragonKnight
      @PhantomBlackDragonKnight 4 หลายเดือนก่อน

      dude saved my life

  • @EternalDeveloper
    @EternalDeveloper 3 ปีที่แล้ว +6

    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

    • @oscoolerreborn
      @oscoolerreborn 2 ปีที่แล้ว

      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

    • @EternalDeveloper
      @EternalDeveloper 2 ปีที่แล้ว +2

      @@oscoolerreborn holy thank u so much! :D

    • @1kairee
      @1kairee 2 ปีที่แล้ว

      @DoseOfDucks What do you do with the code then?

    • @1kairee
      @1kairee 2 ปีที่แล้ว

      @DoseOfDucks But in later episodes, he changes up the script, would that still work here?

    • @1kairee
      @1kairee 2 ปีที่แล้ว

      @DoseOfDucks Yeah, I don't think it works for the newer script

  • @Socksblox
    @Socksblox 3 หลายเดือนก่อน +3

    i know im late to this but what do you mean at 6:20

  • @DarkShadowYT823
    @DarkShadowYT823 9 หลายเดือนก่อน +2

    it says: 2 is not a valid member of Folder "Workspace.Waypoints"
    even tho i have 2 in the Waypoints Folder. Pls help

    • @sxc-2158
      @sxc-2158 9 หลายเดือนก่อน

      Yeaaa same

    • @sxc-2158
      @sxc-2158 9 หลายเดือนก่อน

      @Ps.ClipTrip pls tell me if u have found a solution

    • @lolkayapme5522
      @lolkayapme5522 8 หลายเดือนก่อน

      Bro just make 1 folder waypoints

    • @DarkShadowYT823
      @DarkShadowYT823 7 หลายเดือนก่อน

      I found a solution use this script
      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

    • @Ryumario0
      @Ryumario0 3 หลายเดือนก่อน

      @@DarkShadowYT823what’s the difference between

  • @oreoplays7887
    @oreoplays7887 3 ปีที่แล้ว +7

    THANKS SO MUCH THAT HELPED

  • @Idlin1
    @Idlin1 2 ปีที่แล้ว +5

    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?

    • @subbydubdub2247
      @subbydubdub2247 2 ปีที่แล้ว

      yea all you got to do is zombie.Humanoid.MoveToFinished:Wait()

    • @immuno9015
      @immuno9015 ปีที่แล้ว +1

      @@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.

  • @FabianBlski
    @FabianBlski 4 หลายเดือนก่อน

    This is what i need. I love this tutorial❤❤❤

  • @turtleshenanigans3954
    @turtleshenanigans3954 ปีที่แล้ว +6

    7:16 u can see he added smthing in replicated storage off camera

  • @3wokoweb
    @3wokoweb ปีที่แล้ว +137

    Does anyone notice that the path looks like a dinosaur??

  • @Potato_roblox3
    @Potato_roblox3 5 หลายเดือนก่อน

    The moment he said “hello my little nomes i fell in love and immediately subscribed

  • @superstar666.13
    @superstar666.13 ปีที่แล้ว +8

    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
      @not-duckyhead7800 ปีที่แล้ว

      thx mate

    • @thatonekittykat
      @thatonekittykat ปีที่แล้ว

      thanks

    • @Tritanicle
      @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
      @Tritanicle ปีที่แล้ว

      workspace.Waypoints*

    • @maxx.1337
      @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

  • @ilovepokemon789
    @ilovepokemon789 2 หลายเดือนก่อน +1

    Guys it says"waypoints is not a member of workspace "workspace"? Pls help😢😢😢😢 In the output.

  • @BBTProductionsArchive
    @BBTProductionsArchive 3 ปีที่แล้ว +9

    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. :)

  • @G1nger_Cr1b
    @G1nger_Cr1b 3 ปีที่แล้ว +7

    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?

    • @shifter231
      @shifter231 3 ปีที่แล้ว +1

      Same situation here.

    • @TrashyTonic
      @TrashyTonic 3 ปีที่แล้ว +1

      I had the same problem. Rewrite it and then check your spelling.

    • @G1nger_Cr1b
      @G1nger_Cr1b 3 ปีที่แล้ว +2

      @@TrashyTonic I just did that and it didn’t work :(

    • @G1nger_Cr1b
      @G1nger_Cr1b 3 ปีที่แล้ว

      @@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.

    • @EgyptianKingEditz22
      @EgyptianKingEditz22 3 ปีที่แล้ว

      same

  • @dylan5576
    @dylan5576 3 ปีที่แล้ว +18

    good tutorial. can you make the next one on how the "towers" can be target the enemies walking inside the path?

    • @Ihatemyselfthankyou
      @Ihatemyselfthankyou 3 ปีที่แล้ว +1

      Eth-cam.com/video/xvFZjo5PgG0/w-d-xo.html

    • @bengamestv5753
      @bengamestv5753 3 ปีที่แล้ว +3

      @@Ihatemyselfthankyou you Tried to RIckrolled him

    • @1eg0bloxuzutsuki82
      @1eg0bloxuzutsuki82 3 ปีที่แล้ว +1

      make sure to watch the rest of his videos about this subject it might be in the next video

  • @BobJames_Playz
    @BobJames_Playz 2 หลายเดือนก่อน +1

    Guys I would recommend this you just have to listen to it closely (it works)

  • @plstnxz
    @plstnxz 8 หลายเดือนก่อน +3

    Guys! if zombie don't go to the end (i maked upgrade to this code):
    local zombie = script.Parent
    local waypoints = workspace.Waypoints:GetChildren()
    -- A function to move zombies to a specific route point
    local function moveToWaypoint(waypoint)
    zombie.Humanoid:MoveTo(waypoint.Position)
    zombie.Humanoid.MoveToFinished:Wait()
    end
    -- Iterate through all points of the route
    for _, waypoint in ipairs(waypoints) do
    moveToWaypoint(waypoint)
    end
    I tested this code his work

    • @squashgamer-fq3yy
      @squashgamer-fq3yy 3 วันที่ผ่านมา

      TYSM BRO IM NOOB AT CODING U SAVED MY PROJECT

  • @HoppersFN
    @HoppersFN 4 หลายเดือนก่อน +9

    I KNOW HOW TO FIX IT
    GO TO YOUR CHARACTER THEN GO TO HUMANOID ROOT PART THE UN ANCHOR IT. HOPE THIS HELPED!

    • @HoppersFN
      @HoppersFN 4 หลายเดือนก่อน

      @Sharkking3409 in the character?
      its in the humanoid root part at the bottom

    • @CougarVR1
      @CougarVR1 4 หลายเดือนก่อน +1

      @@HoppersFN It’s already unanchored do you have any idea why it might not work still?

    • @matthewbryan7951
      @matthewbryan7951 4 หลายเดือนก่อน

      @Sharkking3409 in the zombie bro

  • @Slimeededits
    @Slimeededits 5 หลายเดือนก่อน +1

    I'm just making a game from your tutorial! thanks for letting all us know how to make an tower defense

    • @hoozie3
      @hoozie3 5 หลายเดือนก่อน

      how did you make it work It didn't work for me

  • @Cdognano
    @Cdognano หลายเดือนก่อน +5

    this does not work I have the exact code I’ve been checking for errors for an hour what

    • @fire9303
      @fire9303 หลายเดือนก่อน +1

      It fully works a single mistake will ruin all of the code

  • @Ksjsj120
    @Ksjsj120 7 หลายเดือนก่อน +3

    why isnt it working for me? :( am I doing something wrong?

    • @Iforgotmyname103
      @Iforgotmyname103 7 หลายเดือนก่อน

      Is it not working for u at the end

  • @2_krl
    @2_krl 8 หลายเดือนก่อน +3

    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.

    • @jindai7990
      @jindai7990 7 หลายเดือนก่อน

      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

    • @Fortnitestrocker999
      @Fortnitestrocker999 7 หลายเดือนก่อน

      @@jindai7990 i think its because u have nothing inside of the waypoints folder or the first object in ur folder waypoint isnt a cube

    • @Fortnitestrocker999
      @Fortnitestrocker999 7 หลายเดือนก่อน

      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

    • @Fortnitestrocker999
      @Fortnitestrocker999 7 หลายเดือนก่อน

      @@jindai7990 or u have em wrongfully named the folder or the parts in the folder

    • @Fortnitestrocker999
      @Fortnitestrocker999 7 หลายเดือนก่อน

      @@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

  • @MetaBellaOfficial
    @MetaBellaOfficial ปีที่แล้ว +17

    code if anyone needs help

    • @spiffy6451
      @spiffy6451 ปีที่แล้ว +1

      thxx!

    • @MetaBellaOfficial
      @MetaBellaOfficial ปีที่แล้ว

      anytime

    • @seraybilici8279
      @seraybilici8279 8 หลายเดือนก่อน +1

      u can actually put more than 1 waypoint and the zombie wont skip

    • @FREE_golem
      @FREE_golem 3 หลายเดือนก่อน

      ty

    • @HeavyScientistTheGamer
      @HeavyScientistTheGamer 2 หลายเดือนก่อน

      hey my enemy is only going to one waypoint anu help possibly?

  • @elendermanjuegosymas935
    @elendermanjuegosymas935 ปีที่แล้ว +7

    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

    • @Engulf257
      @Engulf257 ปีที่แล้ว +3

      what is the actual script then? I'm having trouble too.

    • @ragequitplays
      @ragequitplays 9 หลายเดือนก่อน +1

      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. :(

    • @faboii56
      @faboii56 5 หลายเดือนก่อน

      ​@@ragequitplayssame

    • @themothfamily
      @themothfamily 2 หลายเดือนก่อน

      ​@@ragequitplays dude I know

  • @FlamePlaysOFF
    @FlamePlaysOFF 7 หลายเดือนก่อน +2

    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

    • @BigHeadDev
      @BigHeadDev 6 หลายเดือนก่อน

      how?

  • @n3thermost
    @n3thermost ปีที่แล้ว +5

    2:29 pov:
    the zombies first time do a smart thing at td games

  • @jonandmercedes
    @jonandmercedes 2 ปีที่แล้ว +4

    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?

  • @ArtistictreasuresYT
    @ArtistictreasuresYT 2 หลายเดือนก่อน +4

    Mine wasn’t moving😭😭😭😭 2:29

    • @Jkjlox
      @Jkjlox 2 หลายเดือนก่อน +2

      It has to be End not end

    • @ilovepokemon789
      @ilovepokemon789 2 หลายเดือนก่อน +1

      @@Jkjlox Really?😅 Bc my was not moving either

    • @BradyyGamerr75
      @BradyyGamerr75 2 หลายเดือนก่อน

      Same

    • @ArtistictreasuresYT
      @ArtistictreasuresYT 2 หลายเดือนก่อน

      @@Jkjlox WDYM it has to be End

    • @FNTD_PROS_CLAN
      @FNTD_PROS_CLAN 2 หลายเดือนก่อน

      I’m a bit late but I just fixed mine you need to call the part End for it to work

  • @mayronmontoya
    @mayronmontoya 6 หลายเดือนก่อน

    guys gnomecode stoped uploading! OUR LEGEND FOR THIS SERIES

    • @ElziraSitioPlayz
      @ElziraSitioPlayz 6 หลายเดือนก่อน

      really?

    • @mayronmontoya
      @mayronmontoya หลายเดือนก่อน

      @@ElziraSitioPlayz nvm he's uploading now

  • @Benawazdzakwaan
    @Benawazdzakwaan 7 หลายเดือนก่อน +5

    why mine not working?

  • @rocandplay9298
    @rocandplay9298 3 ปีที่แล้ว +4

    5:37
    *G E T C H I L D R E N*

  • @realoreo
    @realoreo 6 หลายเดือนก่อน

    thank you so much man i have always wanted to make a tower defense game and you got the best tutorial on it keep it up man hope you have a great life!

    • @ITZFONZII
      @ITZFONZII 6 หลายเดือนก่อน

      hey uh if you watched this do we need to use the zombie?

    • @realoreo
      @realoreo 6 หลายเดือนก่อน

      @@ITZFONZII i think so atleast

  • @DGU435
    @DGU435 9 หลายเดือนก่อน +1

    Why does it say for me 15 is not a valid member of folder workspace.waypoints when my zombie reaches the end

  • @rangerguy5
    @rangerguy5 3 ปีที่แล้ว +6

    7:37 my zombie doesent do anything wth

    • @adam_always1945
      @adam_always1945 8 หลายเดือนก่อน +1

      Bro same :(

    • @jorty_boy20
      @jorty_boy20 5 หลายเดือนก่อน

      Same hoe do you fix that

    • @jorty_boy20
      @jorty_boy20 5 หลายเดือนก่อน +1

      How*

    • @rangerguy5
      @rangerguy5 5 หลายเดือนก่อน +1

      @@jorty_boy20 there is nothing here to be corrected

    • @jorty_boy20
      @jorty_boy20 5 หลายเดือนก่อน

      @@rangerguy5 what do you mean

  • @TankHendi
    @TankHendi 7 หลายเดือนก่อน +2

    Guys, i need help, I write all scripts correct, but theres mistake and output write "WayPoints is not a valid member of Workspace " Workspace"" Help me 😢

    • @craftedd_
      @craftedd_ 6 หลายเดือนก่อน

      well just follow the tutorial lol

  • @MrTsaeb.
    @MrTsaeb. 5 หลายเดือนก่อน

    He has made so much fun games come true

  • @Sticky_Fingar
    @Sticky_Fingar 2 ปีที่แล้ว +5

    0:46 what if i want the zombie be the dummeis

  • @Theelementsofmanface
    @Theelementsofmanface 9 หลายเดือนก่อน +388

    People in 2024

    • @illusionizedgrape7733
      @illusionizedgrape7733 9 หลายเดือนก่อน +14

      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?

    • @faithofJ
      @faithofJ 9 หลายเดือนก่อน +10

      Like beggar

    • @Dandy_Calviano
      @Dandy_Calviano 9 หลายเดือนก่อน +3

      Me? No IM 2025 no 2024 kk

    • @Loganthedev
      @Loganthedev 9 หลายเดือนก่อน +4

      Me

    • @RGofficialchannel-y7d
      @RGofficialchannel-y7d 8 หลายเดือนก่อน +5

      @@faithofJisnt even asking

  • @nikayobuenvenida4566
    @nikayobuenvenida4566 6 วันที่ผ่านมา +1

    I'm following the guide granted a little bit late but I was having some trouble moving my model

  • @laytonlewin29
    @laytonlewin29 ปีที่แล้ว +5

    my zombie aint movin he lazy

    • @Bacon_god
      @Bacon_god ปีที่แล้ว

      Zamn that's bad, check that zombie can walk or smth, that happened to me sometime

    • @laytonlewin29
      @laytonlewin29 ปีที่แล้ว

      @@Bacon_godhe can defo walk but it just not working 😂😂😂

    • @Bacon_god
      @Bacon_god ปีที่แล้ว

      ​@@laytonlewin29hmmm, check if u named everything right in the code

    • @laytonlewin29
      @laytonlewin29 ปีที่แล้ว

      @@Bacon_god I did

    • @bananafoxYT4616
      @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

  • @d.e.a.dgamer5975
    @d.e.a.dgamer5975 ปีที่แล้ว +4

    why is it not working in 2024?

    • @nukeulardown
      @nukeulardown 10 หลายเดือนก่อน

      cnomecode should make a new one

    • @Cryklyn
      @Cryklyn 10 หลายเดือนก่อน

      i created my place in 2023 and it is working

    • @nukeulardown
      @nukeulardown 10 หลายเดือนก่อน

      @JakeTheSnake810 make a videos explaining it work

    • @Mistachompa
      @Mistachompa 9 หลายเดือนก่อน

      Mine worked perfectly fine Mabey your problem is in the code you still put zombie instead of the name of your model

    • @Shhhhh348
      @Shhhhh348 9 หลายเดือนก่อน

      Same

  • @English0Mapper
    @English0Mapper ปีที่แล้ว +5

    It don’t work😢

    • @Baconmanpro323
      @Baconmanpro323 9 หลายเดือนก่อน

      Same it dont work to me😢

    • @English0Mapper
      @English0Mapper 9 หลายเดือนก่อน +1

      @@Baconmanpro323 shame were the shame buddies😭

    • @A_Countryball
      @A_Countryball 9 หลายเดือนก่อน

      could be an error in your code cuz it works

    • @Baconmanpro323
      @Baconmanpro323 9 หลายเดือนก่อน

      @@A_Countryball but i try it 2 times

    • @A_Countryball
      @A_Countryball 9 หลายเดือนก่อน

      show me ur code