Finishing The Game - Tower Defense Tutorial #22

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 1,2 тыс.

  • @GnomeCode
    @GnomeCode  2 года назад +128

    Play the game here: www.roblox.com/games/9647396248/Tower-Defense

    • @thesharky
      @thesharky 2 года назад +1

      e

    • @h3aven412
      @h3aven412 2 года назад +4

      Can you make a Pokemon game please or are you Ghicken thats gnome language for Chicken to do it?

    • @savilije2022
      @savilije2022 2 года назад +1

      Nice job as always GnomeCode

    • @RayDanielReal
      @RayDanielReal 2 года назад +1

      @@h3aven412 Yes pls

    • @GodlyPerson.
      @GodlyPerson. 2 года назад +3

      hey, you set the VALUE of the stars, not ADD the value of the stars, you did "=" instead of "+=" so when i got 12 stars, i went from 50, to 12.

  • @probability991
    @probability991 2 года назад +95

    Its been a fun series, a wild ride. Thank you gnomecode for making these series, you’ve been a help to beginners.

  • @Alexmow
    @Alexmow 2 года назад +87

    For those who've finished the video, you've probably noticed that when earning currency (stars in this case) after finishing/losing the game, it sets the currency value in the lobby to what you earned, instead of adding onto it. At 40:05, you need to add a + sign before the = sign so the script adds the currency and not replace it. Example: data[player.UserId].Stars += stars

    • @minipumking
      @minipumking 2 года назад +4

      i dont need to do this because when GnomeCode made the datastores and the shop i watched both of them before he combined them so my script are different but they work >:)

    • @superyanyan8373
      @superyanyan8373 2 года назад

      could you help me it says Players.sup3rmariogamer.PlayerGui.GameGui.GameController:342: attempt to index nil with 'SelectedTowers' if you know the problem respond if you want please heres the script this will maybe find the problem: local playerData = getDataFunction:InvokeServer()
      for i, tower in pairs(playerData.SelectedTowers) do
      local tower = towers:FindFirstChild(tower)
      if tower then
      local button = gui.Towers.Template:Clone()
      local config = tower:WaitForChild("Config")
      button.Name = tower.Name
      button.Image = config.Image.Texture
      button.Visible = true
      button.LayoutOrder = config.Price.Value
      button.Price.Text = config.Price.Value
      button.Parent = gui.Towers
      button.Activated:Connect(function()
      local allowedToSpawn = requestTowerFunction:InvokeServer(tower.Name)
      if allowedToSpawn then
      AddPlaceholderTower(tower.Name)
      end
      end)
      end
      end

    • @_Gamin_
      @_Gamin_ 2 года назад +8

      @@minipumking Damn, watching a tutorial and changing the script to the way you want and still got it to work. Giga chad

    • @TheUnknownery
      @TheUnknownery Год назад

      i was wondering about this lol, i was so sure at the end there he was gonna be like, wait why do i only have 12 stars? but then ig he fixed it first lol

    • @CreatorProductionsOriginal
      @CreatorProductionsOriginal Год назад

      @@minipumkinggiga Chad energy

  • @simplyfar336z3
    @simplyfar336z3 2 года назад +74

    Well, I have to admit a few things, I'm Brazilian, so I didn't understand many things, but even so, you helped thousands of people, I'm sure a lot of people met you and started watching you with this series, even though they reached " end", I will always remember how much it helped me, especially to understand programming logic!, with what I learned, I created several games and... Well, that's it, thank you very much for helping us!

  • @DXG__
    @DXG__ 2 года назад +13

    I haven't finished my tower defense game yet (I just stopped at ep.14 because of my laziness but I'll continue some days I hope) but you rly helped me with scripting, this is not only a series where you copy/paste the script, it's well explained and simple, so it's not that hard to learn
    Great job and thank you for this serie !

    • @xdem1r
      @xdem1r 2 года назад

      Hello, can i ask something? I have a problem and i can’t find it :/

  • @testedgmo
    @testedgmo 2 года назад +10

    Honestly, the series of making games you make teach me more than actual scripting tutorials because when I follow them I learn new code.

    • @FlaminFish750
      @FlaminFish750 3 дня назад

      yea instead of those ones that tell you to take the kits or paste in the code

  • @aqieefimt
    @aqieefimt 2 года назад +18

    The day has come, the series has ended. Thank you, gnomecode. You thought me things that I can't do it myself. It's a fun series and a wild ride. Can't wait to see what next :)

  • @0bit096
    @0bit096 2 года назад +31

    This is for anyone who wants the health to show when mouse is hovering over the mob.
    First create a boolvalue in all the mobs you have and name it, "CanHover".
    then add a text label in the gui and you don't need to name it anything. Edit as desired
    then add a local script inside and paste this into the script.
    local player = game:GetService("Players").LocalPlayer
    local mouse = player:GetMouse()
    mouse.Move:Connect(function()
    script.Parent.Position = UDim2.new(0, mouse.X + 10, 0, mouse.Y + 5)
    script.Parent.Visible = false
    local target = mouse.Target
    if target and target.Parent then

    if target.Parent:FindFirstChild("CanHover") then
    script.Parent.Text = target.Parent.Name .. " Health: " .. target.Parent:FindFirstChild("Humanoid").Health
    script.Parent.Visible = true
    end
    end
    end)

    • @roblee911
      @roblee911 2 года назад +1

      Thanks but how do you remove the other health bar on zombies so that only the hovering one shows

    • @0bit096
      @0bit096 2 года назад +3

      @@roblee911 Are you talking about the health bar on top of the head on episode 11? If so, delete anything in any of the scripts including that.
      Make sure you delete the right things, if you do it will break the scripts. Contact me back if that works.
      Or you can make the health gui transparent for the mobs.

    • @roblee911
      @roblee911 2 года назад

      @@0bit096 which part of the scripts do i delete

    • @roblee911
      @roblee911 2 года назад

      Nvm I figured it out btw thanks for telling us how to hover over mobs

    • @sirtoxic9802
      @sirtoxic9802 2 года назад

      @@0bit096 which part of the script do i delete?

  • @haloplayss
    @haloplayss 4 месяца назад +6

    40:08 for anyone else having an issue with this here is the solution which idk if he covered: data[player.UserId].Stars += Stars. hope this helped

    • @plushman5087
      @plushman5087 Месяц назад +1

      Thx so much

    • @RannerandFriendsYT
      @RannerandFriendsYT 9 дней назад

      im testing it rn

    • @RannerandFriendsYT
      @RannerandFriendsYT 9 дней назад +1

      @haloplayss THANK YOU SO MUCH I AS ABOUT TO DELETE MY GAME THAT SAVED ME THANK YOUUU

    • @haloplayss
      @haloplayss 9 дней назад

      @@RannerandFriendsYT nws glad your game works now

  • @PullThatFish
    @PullThatFish 6 месяцев назад +4

    If you are having an issue with it not saving or only saving rarely, add a wait time of 2 seconds in the BindToClose function at the top of it. Hope this helped :)

    • @PopppDev
      @PopppDev 6 месяцев назад

      thx brotha!!

    • @d00mprod
      @d00mprod 6 месяцев назад

      I have issue where It wont save

    • @d00mprod
      @d00mprod 6 месяцев назад

      At all

    • @d00mprod
      @d00mprod 6 месяцев назад

      OMG THANK YOU,

  • @Alexmow
    @Alexmow 2 года назад +33

    I highly suggest watching the "What's next?" chapter in the video for those asking in the comments for Gnome to create some new ideas.
    Roblox is about creativity, and you always have helping sources like more of Gnome's videos and the devfourms.

  • @xkiwi3065
    @xkiwi3065 Год назад +134

    You really should make a continuation of the series that show us how to make types of towers like: Explosive towers, farm towers, boss sound, monsters that spawns more npcs, etc. :)

    • @TerpiGames
      @TerpiGames Год назад +9

      maybe you could create a tower and remove all configurations and add a script in it wheres it gives you money each wave, although that would terribley go wrong so maybe add it in the tower module script?

    • @diamondss8094
      @diamondss8094 Год назад +1

      Yes

    • @thespartiate9399
      @thespartiate9399 Год назад +1

      Yes , good idea !!!

    • @xkiwi3065
      @xkiwi3065 Год назад +1

      @@TerpiGames its not that easy lol

    • @DAMIANOO9
      @DAMIANOO9 Год назад +12

      ​@@xkiwi3065 If you want to make a game you should learn to script by yourself, not just rip everything off youtube. A tutorial is just to get you started.

  • @WEMORT
    @WEMORT Год назад +6

    It was a cool trip. It's like I graduated from the tower defense academy. Just THANK YOU!

  • @niekonradnieczarny
    @niekonradnieczarny Месяц назад +1

    You may not see it but thank you GnomeCode for all the support on the game. Without you, I wouldnt be able to make a tower defense game and learn some things about coding in the process. Thank you so much ^^

  • @itsnotloveitslust
    @itsnotloveitslust 2 года назад +14

    An incredible journey. Can't wait for your future series.
    I suggest an RPG.

    • @cobaltzero
      @cobaltzero 2 года назад +1

      that or a shooter sort of game

    • @DailyD5
      @DailyD5 2 года назад +1

      @@cobaltzero a classic roblox style rpg to be exact not the ones like genshin impact its just the old good sword PVE game with bosses that once conquered roblox genres in 2014-2017

    • @AnbuInDark
      @AnbuInDark 2 года назад +1

      @@DailyD5 maan I remember those days

    • @KingBanana898
      @KingBanana898 2 года назад

      YES PLEASE! LOVE GAMES LIKE SWORDBURST

    • @crixxbrixx
      @crixxbrixx 2 года назад +2

      @@KingBanana898 Would prefer an infinity rpg style game

  • @aguast4
    @aguast4 2 года назад +1

    I understand the game is done along with the series, although if you ever come back to this I have some suggestions (really only 1):
    Party System:
    Go into an elevator, select the map/mode you want

    • @user-ir8fn8mm8l
      @user-ir8fn8mm8l Год назад

      If u want to make a party System (that doesnt choose maps) you can use other tutorials it will kinda work

  • @thathistorykaiser
    @thathistorykaiser Год назад +5

    Such an absolute legend. Thank you for this series and everything you've done for the beginners.

    • @GnomeCode
      @GnomeCode  Год назад +1

      Wonderful to hear it's been helpful, cheers!

    • @FatradGaming
      @FatradGaming Год назад

      @@@GnomeCode it wont add the stars it will replace the stars with the old soo like i had 12 in shop after a game it rewards me with 16 right in stead of adding 16 it replace the 12 i had to 16 idk how to fix

    • @Lowinmillion
      @Lowinmillion Год назад

      In the datatstore script where data[player.UserId] += stars

    • @Lowinmillion
      @Lowinmillion Год назад

      You need to put a plus next to the equal so like +=

  • @Horret69
    @Horret69 Год назад +1

    I've learnt so much more than just how to make a tower defence game from this
    a few months ago I watched gnome's teddy tutorial, spent hours on lore, models songs maps, just to fail with remote events.
    I've learnt to overcome the 3 times my code was broken for days in this series, and I think I can start to fix the other game as well from this.
    truly I think I thank gnome for helping me mentally I guess, and for the tower defence game too.

    • @Cici_Bici
      @Cici_Bici Год назад

      Hi! I think i deleted something. My workspace.Camera:ClearAllChildren() doesnt work. Can you help me?

  • @winter_ad5869
    @winter_ad5869 2 года назад +8

    It always comes to an end. And that is the end for this series. I really appreciate this series. But what I have to say about people asking for tower/ enemy abilities is that I recommend you to learn it yourself and from your mistakes.

    • @tipeanimates837
      @tipeanimates837 2 года назад +1

      i managed to figure it out myself with the help of my friends so yea i agree with ur point

    • @Zombiesrule21
      @Zombiesrule21 2 года назад

      @@tipeanimates837 nice

    • @pow8966
      @pow8966 2 года назад +1

      youre right, but I tried figuring it myself and still cant get it to work after hours lol, i asked the discord community but all they did is trolling and call me stupid lol

    • @proknight6739
      @proknight6739 2 года назад

      Or you can pay someone :cringe:

  • @RIFEkun
    @RIFEkun Месяц назад

    You are an amazing game creator. Instead of copying and pasting the script, they let me explain it directly to them as I typed it. I'm still stuck at tutorial 3 (lol), but I think you'll be able to create a tower defense if you read this tutorial.
    The first part of the sentence may be wrong.
    I'm Japanese :D

  • @xgamer7677
    @xgamer7677 2 года назад +3

    superb series, the only problem is that when a player's tower kills the mobs, only the player wins the money, not everyone

    • @crashedmartiki1248
      @crashedmartiki1248 2 года назад

      Sorry for the late response, but try using for i,v in pairs for that one?

    • @xgamer7677
      @xgamer7677 2 года назад

      @@crashedmartiki1248 I did not understand sorry

    • @crashedmartiki1248
      @crashedmartiki1248 2 года назад

      It's okay.

  • @seth8270
    @seth8270 2 года назад

    This tutorial wuz really popular, no wonder new tower defense games have been popping up like crazy in 2021 and 2022

  • @Fun_stickman
    @Fun_stickman 2 года назад +9

    These series sure have tought me alot. They really mean ALOT to me GnomeCode. Thanks to you, thousands of people can get better at coding and making games! 42:50 - you sure did. I made status effects for enemies myself already, thanks to you! (slowness, armor, flying, camo...)
    Just.... thanks Gnomecode. Thank you.
    Edit: Please stop asking GnomeCode for more mechanics to this game. The series are over, and you should be trying things yourself like I do. Belive in yourself

    • @a_person7815
      @a_person7815 2 года назад +1

      Can you please tell me how you made flying and camo
      I’m not good at scripting and I really want to learn how to make Camo and flying enemies

    • @superyanyan8373
      @superyanyan8373 2 года назад +1

      could you help me it says Players.sup3rmariogamer.PlayerGui.GameGui.GameController:342: attempt to index nil with 'SelectedTowers' if you know the problem respond if you want please

    • @Fun_stickman
      @Fun_stickman 2 года назад +1

      @@a_person7815 I just made configuration folders for enemies, with bool values for "Flying" and "camo", then for towers just same but "CanHitCamo" and "CanHitFlying", and then in tower attack script I added function to check if enemy is flying or camo and if tower can attack it amd if it cant it ignores the enemy. Or something like that. I hope you understand, if not then sorry Im not too good at explaining.

    • @Fun_stickman
      @Fun_stickman 2 года назад

      @@superyanyan8373 It really depends on ur code, my game was telling me taht all my towers didnt exist cuz I misspelled the names. Can u please write that line of code here? I dont know what ur line 342 looks like

    • @superyanyan8373
      @superyanyan8373 2 года назад

      @@Fun_stickman heres the script maybe this will help
      local function DisplayEndScreen(status)
      local screen = gui.EndScreen
      if status == "YOU LOST" then

      screen.Defeat:Play()
      screen.Content.Title.TextColor3 = Color3.new(1, 0, 0)
      screen.Content.Subtitle.Text = "atleast u tried"

      elseif status == "VICTORY" then

      screen.Victory:Play()
      screen.Content.Title.TextColor3 = Color3.new(0, 1, 0)
      screen.Content.Subtitle.Text = "nice you won"

      end

      local info = workspace.Info
      local money = math.round(info.Wave.Value / 2)
      if info.Message.Value == "VICTORY" then
      money = 15
      end

      screen.Content.Title.Text = status
      screen.Stats.Wave.Text = "Wave: " .. workspace.Info.Wave.Value
      screen.Stats.Money.Text = "Money: " .. money
      screen.Stats.Kills.Text = "Kills: " .. Players.LocalPlayer.Kills.Value

      screen.Size = UDim2.new(0,0,0,0)
      screen.Visible = true

      local tweenStyle = TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 0, false, 0)
      local zoomTween = TweenService:Create(screen, tweenStyle, {Size = UDim2.new(0, 298, 0, 205)})
      zoomTween:Play()

      local events = ReplicatedStorage:WaitForChild("Events")
      local exitEvent = events:WaitForChild("ExitGame")
      local clicked
      clicked = screen.Leave.Activated:Connect(function()
      screen.Visible = false
      clicked:Disconnect()
      exitEvent:FireServer()
      end)

      end
      local function SetupGui()
      health.Setup(base, gui.Info.Health)
      workspace.Enemys.ChildAdded:Connect(function(enemy)
      health.Setup(enemy)
      end)
      info.Message.Changed:Connect(function(change)
      gui.Info.Message.Text = change

      if change == "VICTORY" or change == "YOU LOST" then
      DisplayEndScreen(change)
      end
      end)
      info.Wave.Changed:Connect(function(change)
      gui.Info.Stats.Wave.Text = "Wave:" .. change
      end)
      cash.Changed:Connect(function(change)
      gui.Info.Stats.Cash.Text = "$" .. cash.Value
      end)
      gui.Info.Stats.Cash.Text = "$" .. cash.Value
      end
      gui.Towers.Title.Text = "Towers: " .. placedTowers .. "/" .. maxTowers
      local playerData = getDataFunction:InvokeServer()
      for i, tower in pairs(playerData.SelectedTowers) do
      local tower = towers:FindFirstChild(tower)
      if tower then
      local button = gui.Towers.Template:Clone()
      local config = tower:WaitForChild("Config")
      button.Name = tower.Name
      button.Image = config.Image.Texture
      button.Visible = true
      button.LayoutOrder = config.Price.Value
      button.Price.Text = config.Price.Value
      button.Parent = gui.Towers
      button.Activated:Connect(function()
      local allowedToSpawn = requestTowerFunction:InvokeServer(tower.Name)
      if allowedToSpawn then
      AddPlaceholderTower(tower.Name)
      end
      end)
      end
      end
      SetupGui()

  • @GoofyShananigans
    @GoofyShananigans 4 месяца назад

    followed you till the last
    many thanks for the tutorials man
    Most dedicated guy out there

  • @BrzozaBandW
    @BrzozaBandW 2 года назад +3

    you are the best, thanks to you, People who cannot program, can also create their own game

  • @BunnyBox54
    @BunnyBox54 3 месяца назад

    Thank you so much GnomeCode for this series and especially adding these last few episodes it means alot!

  • @ThatDemonicGamer1
    @ThatDemonicGamer1 2 года назад +4

    something I wish he did was how to make different difficulties so that its not always the same enemies (an idea I had was to make multiple elevators for each difficulty that send you to a separate game so the enemies are different without having to make it switch between wave formations depending on the difficulty that gets voted for)

    • @bobkerman8930
      @bobkerman8930 2 года назад

      Its eazy to make tell me if u want me to explain it

    • @PolyTheDude
      @PolyTheDude 2 года назад

      @@bobkerman8930 yes pls

    • @bobkerman8930
      @bobkerman8930 2 года назад

      Well find a tutorial on yt on how to make voting system there should be a line in the tutorial when option 1 win it activate something, so make a bool value and parent it to workspace example "Eazy Mode" turn it on then make another bool value for other modes but turn it off, go to waves script then go to the line where it spawns zombie, say at the top of line where spawns zombie. if workspace.EazyMode.Value == true then, like that

  • @mariodenis1111_edits
    @mariodenis1111_edits Год назад +1

    i remember a year ago, i didnt understand one thing but now i feel like im beyond this

  • @harko8942
    @harko8942 2 года назад +2

    Kinda sad that this was the last episode, wish he wouldve gone over stuff like enemy attacks or explosive/spread towers, also especially gamemodes so its not always bland

    • @MiniatureGamingX
      @MiniatureGamingX 2 года назад +1

      Hey atleast we got a finished tds game

    • @haloplayss
      @haloplayss 4 месяца назад

      search up gnome code addons and you can find stuff like that!

  • @Natical_Plays
    @Natical_Plays Год назад +1

    Holy! Thank you so much Gnome Code for this great series, even though it ended a year ago, I just finished and my game is (almost) amazing!

    • @souless-fu8vd
      @souless-fu8vd Год назад +1

      what will the name of the game be?

    • @Natical_Plays
      @Natical_Plays Год назад +1

      @@souless-fu8vd Still don't know yet, I was just finishing the base scripting first before I design or polish anything. If you have any ideas for what theme I should go for, please tell me!

  • @jeux2119
    @jeux2119 2 года назад +2

    thank you you helped me so much on this bumpy dev ride

  • @chippthemax14000
    @chippthemax14000 2 года назад +7

    Gnome has does a good job but idk if he responds but is it okay if you can tell us how to make a farm it be good for us

    • @eeeee4323
      @eeeee4323 2 года назад +5

      CHIPPTHEMAX YOU AGAIN OMG BUT YES I AGGRE WE NEED TO LEARN HOW TO MAKE A FARM

    • @ihateuemily9358
      @ihateuemily9358 2 года назад +4

      uhh what happen BUT yes WE NEED TO LEARN HOW MAKE A FARM and also gamepasses that seem cool

    • @soincloverfan1723
      @soincloverfan1723 2 года назад +2

      yo first poke and now here wow this is crazy And I like them to add farm so we can all my game also bar lv when you win

  • @yourfriendlyneighborhoodcr2645

    this is by far the best roblox Tower Defense tutorial on youtube as of now, GnomeCode's way of explaining how to make the game is easy to understand and I can see a bunch more TD games being made because of this, in fact im working on my own TD game, using this tutorial, not sure if itll turn out how I want it but ill try to

  • @abuibrahim3551
    @abuibrahim3551 2 года назад +2

    Thanks for tutorial can you make skip wave

  • @randomscripteridklmao
    @randomscripteridklmao 2 месяца назад

    EVEN IF ITS 2 YEARS LATER, THIS SERIES IS AWESOMEEEEEEE!!! IM PROBABLY GONNA START MAKING MY OWN THINGS TO ADDON!!

    • @ItsCloudGod
      @ItsCloudGod 2 месяца назад

      It all worked for you? How

    • @randomscripteridklmao
      @randomscripteridklmao 2 месяца назад

      @@ItsCloudGod because i listen & i know a decent bit of lua

    • @One-robloxz
      @One-robloxz Месяц назад

      @@randomscripteridklmaoHow do I get the towers I buy from lobby to show in game? It only shows slinger :c

  • @rolenFart
    @rolenFart Год назад +2

    Can you add gamemodes please

  • @Pyr0Blox1
    @Pyr0Blox1 2 года назад +2

    Let’s Respect this Man

  • @V.e.d_
    @V.e.d_ 2 года назад +3

    Is it possible to make event towers like if you win you get a tower from it

    • @superkevingamingii7801
      @superkevingamingii7801 Год назад

      Yeah, you only need to make an inventory system where it shows your owned towers because on shop the event towers won't show if they're not for sale

  • @gvanhavre
    @gvanhavre 7 месяцев назад

    I followed the whole serie with my son to build a TD game, it was really a fun experience and you've got a great talent to make the scripting accessible! Fixing the errors is really the best part! Thank you so much. I was really happy to enter his Roblox world, and introducing him to programming - not just as a user experience.

  • @Purket.
    @Purket. 2 года назад +5

    Gnome.

  • @nickkingpiggy2651
    @nickkingpiggy2651 2 года назад +2

    and gnome I was there from the start of it all thank you for this fun series its been a blast unfortunately its the last episode I have fun with you along the way 👌👌

  • @allusions5044
    @allusions5044 2 года назад +2

    I love you

  • @chikingowastaken1121
    @chikingowastaken1121 Год назад

    Thank you so much, this was one of my first games, and with the help of my friend, we made it the best one i made too. I really loved the idea of my own tower defense game, and you made that happen. Now we are adding towers with custom abilities, and adding more features to it

  • @Ugly_Skelly
    @Ugly_Skelly 2 года назад +6

    Honestly this episode alone made me want to do the tutorial series as a whole, and I got to admit it was a blast and the final product was also really good! Also this series has helped me understand scripting more! I’m really exited to experiment more with the final product

  • @akiprox7_trollgeandtrollfa640
    @akiprox7_trollgeandtrollfa640 2 года назад +3

    Wait! Please don't stop! I have an idea for the game! Add Difficulty choosing! Like TDS! When you join you can vote the difficulty! Also add an badge for beating every difficulty pls (You can get 5 for free)
    Edit: Am like the 10th person to see the vid
    Edit2: Pls stop being rude in the replies :(

  • @armourplays1149
    @armourplays1149 2 года назад

    I just watched all the episodes of this series and now me and my friends are going to try and make a tower defense game

  • @HughJasss69420
    @HughJasss69420 9 месяцев назад +1

    For everyone who wants to fix the mob cutting through waypoints if it is too slow just use a repeat until loop like this function mob.Move(mob, map)
    local humanoid = mob:WaitForChild("Humanoid")
    local waypoints = map.Waypoints
    for waypoint=1, #waypoints:GetChildren() do
    repeat
    humanoid:MoveTo(waypoints[waypoint].Position)
    until humanoid.MoveToFinished:Wait()
    end
    mob:Destroy()
    map.Base.Humanoid:TakeDamage(humanoid.Health)
    end

  • @minipumking
    @minipumking 2 года назад +1

    You could make enemies that stun towers making them unable to attack for like 3 seconds and make an explosive tower!
    Thank you for everyting GnomeCode!

    • @pitshotgun510
      @pitshotgun510 2 года назад

      He said we have to do it by our own.

    • @minipumking
      @minipumking 2 года назад

      @@pitshotgun510 yes i asked on discord after i know

    • @Averageidiot1014
      @Averageidiot1014 2 года назад

      @@minipumking oh its you!

  • @Catchity
    @Catchity 2 года назад +1

    This has bees one hell of a journey. I learned a lot Gnome Code. Wish you would make more series like this.

  • @guzz263
    @guzz263 2 дня назад

    Ty for everything gnome

  • @kylio0732
    @kylio0732 2 года назад +2

    you need 3 more videos! dev products, gamepasses and also difficulty voting

  • @evantimes
    @evantimes Год назад

    FINALLY! AFTER 10-12 DAYS IM DONE! I can finally make more towers like cliff freezing towers, more maps, more waves, and etc. this is truely a good tower defence totourial

    • @diegoherdez7802
      @diegoherdez7802 Год назад

      I did it in like 5 months because I started when episode 1 was 2 days old

  • @MrLazagna
    @MrLazagna 2 года назад +1

    This really was a show of work. I'm definitely looking forward to the game.

  • @gravydogboy5700
    @gravydogboy5700 2 года назад +1

    I’m subscribing right now you are literally the best video coding tutorial maker bro no bugs ever for me your my favorite coding youtuber

  • @tijgerman1312
    @tijgerman1312 5 месяцев назад

    i leanred alot about coding in this series, thank you!

    • @immpoorhelpgaming
      @immpoorhelpgaming 5 месяцев назад

      I thought this was broken pls tell me how u did it

  • @loopylou_1805
    @loopylou_1805 4 месяца назад

    This has been a great month for me, definitely will check out the other series too! My tower defense is ready so thank you! Your coding will help so may more beginners than just me. I AM sure

    • @TheGalIade
      @TheGalIade 3 месяца назад

      Tell me when you publish it!!!

    • @ScarlexRoblox
      @ScarlexRoblox 2 месяца назад

      tell me when u publish it

  • @pumpkin142
    @pumpkin142 2 года назад +1

    I know that this is "The Final Episode" and I have been loving this series, but I was wondering if you could make a video on how to make events and different kinds of money

  • @OguzhanArda-i4w
    @OguzhanArda-i4w 9 месяцев назад

    it makes me so much Fun to see and learn and to make u series,s your the best youtuber who showing how to code and stuff like that thank god that i found u in 2021

  • @artery9407
    @artery9407 2 года назад +1

    Great series! Can't wait for more of these kind of series, the ones I'd look most forward to are RPGs/MMORPG

    • @DailyD5
      @DailyD5 2 года назад

      nah they easy except your talking about ones like genshin impact
      roblox classic rpg are easy to make and once was popular years ago (2011-2018)
      what i mean by classic is you kill enemies to get weapons drops (no inventory looting thingy that will ruin the classic) and level up and unlock new areas and fight bosses till the game ends you cant do no more
      one of classic roblox rpg games are:
      1. Infinity RPG (still alive and updating)
      2. The legend of the bone sword RPG (alive and still updating)
      3. legendary sword RPG (dead but its fun except for the massive amount of bugs due to it being outdated)

    • @artery9407
      @artery9407 2 года назад

      @@DailyD5 No I meant actual MMORPG games like Vesteria, World Zero, Fantastic Frontier, etc.

  • @GamerJosh_sans
    @GamerJosh_sans 2 года назад

    Sadly I didn’t get to see how he you would use game modes or game modes voting system/a final boss, But a las a great series! Thank you I learned so much from this! I even watched every episode!

  • @jhay-aris_borres119
    @jhay-aris_borres119 Год назад +1

    My brain overheated trying to watch all of these

  • @Boeing747AviationArabia
    @Boeing747AviationArabia 3 месяца назад

    Thanks for the hardwork of yours tutorials! I am very gratefully for these

  • @herooftime64
    @herooftime64 2 года назад +1

    Sheesh, and to think I followed this series from day one, it makes me happy, and I wonder if he will make the game public cuz it looks fun ngl.
    Edit: well he gave the link so my wish came true

  • @Alex-nm7qq
    @Alex-nm7qq Год назад

    This series were awesome! I hope you do more series like this. I still have a hope that someone releases an uncopylocked file for the people who have troubles with coding this.

  • @markgamez1
    @markgamez1 Год назад

    Awesome tutorial! Took me months to complete but im really happy with it and taught me how to code!

  • @IvExists
    @IvExists 2 года назад +1

    I was playing this and I found a couple glitches. One is that you can reset and your tower limit resets, and also it is very easy to place towers inside of each other. This can be very game-breaking if players abuse it.

    • @superkevingamingii7801
      @superkevingamingii7801 Год назад

      You can also just add a part to each of your towers and make it transparent, since towers can only be placed on ground when you try to place one next to another tower it should be on top of the invisible part which is not the ground and you won't be able to place

    • @Rexiler
      @Rexiler Год назад

      u can just disable StarterGUI's ResetOnSpawn

    • @IvExists
      @IvExists Год назад

      @@Rexiler yes very good point

    • @ISuckAtNamingThingsLol
      @ISuckAtNamingThingsLol Год назад

      @@IvExists make sure to put walls around the map too to prevent people from walking off the map

    • @IvExists
      @IvExists Год назад

      @@ISuckAtNamingThingsLol that too ty

  • @pracsiHD
    @pracsiHD 2 года назад +2

    omg we've been waiting for so long!!! Also I saw you in Wimble World :D

  • @zesuma
    @zesuma Год назад

    Gnomecode is absolutely the greatest Roblox developer on RUclips. Unbelievable content here.

  • @pchead2897
    @pchead2897 2 года назад

    i thought the series was over, boy was i wrong
    thanks gnome code this was my first time actually trying to code seriously, its really taught my a lot about more advanced scripting in roblox

    • @crixxbrixx
      @crixxbrixx 2 года назад

      it is tho

    • @pchead2897
      @pchead2897 2 года назад

      @@crixxbrixx yeah i know i meant that i thought it ended on episode20

  • @DookPot
    @DookPot 2 года назад +2

    Awesome tutorials! Is it possible you can make a series on making a combat system with cool abilities and stuff?

  • @finfirr
    @finfirr Год назад

    W gnomecode for making a awesome series and helping devs start their projects and teach alot.

  • @alexanderwalschaers6852
    @alexanderwalschaers6852 2 года назад

    Finished the game it looks SICK
    THANK YOU SO MUCH

  • @nikolasgamesandvideos5775
    @nikolasgamesandvideos5775 2 года назад +1

    I play your game today and it was so good!!!

  • @PopppDev
    @PopppDev 6 месяцев назад

    i spent so much time trying to fix the first error!AND U WERE GONNA FIX IT I AM SO DUMB! haha it was a great journey

  • @1FPS_Studio
    @1FPS_Studio 10 месяцев назад

    Thanks dude you help me and many other players you deserve 10M subs

  • @Boltplayer3123
    @Boltplayer3123 11 месяцев назад

    Thank you so much for the series, as i jave enjoyed, and used, these tutorials. Pls keep making new tutorials as it would nale me, and several others, very happy. Have a great day :)

  • @DVDDVDDVD
    @DVDDVDDVD 2 года назад +1

    you helped me alot and helped others too!

  • @JC-ro9wo
    @JC-ro9wo Год назад

    Impressive . I was Amazed !

  • @landyn6707
    @landyn6707 2 года назад +1

    Gnome your tower defense tutorial has helped me alot, i was abtle to make a game with over 135k+ visits and still thriving using your tutorial.

  • @ТатьянаАлександровна-о1б

    You are the best programmer I have ever seen! Thank you GnomeCode!

  • @miku_anima114
    @miku_anima114 2 года назад

    Congrats on finishing this series! )

  • @fumouhoustuff2702
    @fumouhoustuff2702 Год назад

    i went to not knowing how to code to a mediocre developer with this tutorial.
    the td game i made wasnt that good, but with this i learned lua. Thanks!

  • @paulstrobeck8947
    @paulstrobeck8947 2 года назад

    I really like the fact that if I don't want to fully do a tutorial, I don't have to.

  • @mrmut3
    @mrmut3 2 года назад +2

    Amazing series man! Do you think you can do a tutorial on advanced movement using lerp and camera CFrame bob? I'm really interested in how games do really cool movement systems in where the character sorta leans into movements and such. For example, Apeirophobia has a really awesome player camera system.

  • @GOOEY-lu9ed
    @GOOEY-lu9ed 3 месяца назад +1

    THANK YOU VERY MUCH

  • @demonicguests3721
    @demonicguests3721 Год назад

    I am now up to the final episode yayyy

  • @upgames3436
    @upgames3436 2 года назад +1

    I THINK EHAT EOUKD BE A GREAT IDE! is to put a leaderboard in the lobby to tell u how many victory’s a player has like your victorys and the top 50 let’s say (not leaderatats an actual board)

  • @phritcee
    @phritcee 2 года назад +1

    Could you do a simple tutorial on how to make a round-based zombie survival game such as "Project Lazarus"? I'm having difficulty getting the round and zombie system to work and haven't found any videos on similar subjects. Great videos by the way.

  • @Ban33t
    @Ban33t Год назад +2

    20:01 saving sppt

  • @Tettzz
    @Tettzz 2 года назад

    Thank you for your tutorials. It helped me alot and I learned lots of new things.

  • @RichRBLX
    @RichRBLX 2 года назад +1

    ayy you reuploaded it! this was a great series, good job gnome!

  • @demonicguests3721
    @demonicguests3721 Год назад

    10:33 just marking my place for tomorrow, hopefully I can finish soon

  • @speedyman303
    @speedyman303 2 года назад +1

    Most underrated code youtuber

  • @bibstyr
    @bibstyr Год назад

    that "hELLLLLOOOOOOO fellow gnomes!" always gets me excited

    • @Spy-Cat
      @Spy-Cat 4 месяца назад +1

      same

  • @Dafk1820
    @Dafk1820 Год назад

    thanks gnome! this helped me alot with my td game :)

  • @EdionYT
    @EdionYT 2 года назад +1

    Aw I wish I would figure out how to fix the bug with spamming functions when having fast firing towers

  • @R1S1SKA
    @R1S1SKA Год назад

    Thank you very much! It was really incredible tutorial!)

  • @JabobaHoba
    @JabobaHoba 2 года назад +1

    Thanks Gnome for this amazing series

    • @GnomeCode
      @GnomeCode  2 года назад +1

      I'm glad to hear you enjoyed it :)

    • @EdionYT
      @EdionYT 2 года назад +1

      @@GnomeCode Sad its over, I’m not quite smart at all and I still can’t fix the towers I want to shoot fast without getting a stack overload whilst spamming functions.

    • @LocalFloorPisser
      @LocalFloorPisser 2 года назад

      @@EdionYT add task.wait() before calling the Attack function

    • @EdionYT
      @EdionYT 2 года назад +1

      @@LocalFloorPisser The task.wait() is how long the cooldown is, but if i set it to the task.wait for the cooldown, it still fires too fast therefore spamming a bunch of fast firing towers wont work

    • @LocalFloorPisser
      @LocalFloorPisser 2 года назад +2

      @@EdionYT No, im not talking about the cooldown, put task.wait() right before CALLING the function

  • @akiprox7_trollgeandtrollfa640
    @akiprox7_trollgeandtrollfa640 2 года назад +1

    Hi! I love ur game I got to wave 10 solo also I started with duo but he placed an Brute and left but the brute was out of range so I did all work and managed to get to wave 10! Am also like the 10th view but can you please make part 23 like when you win you get an badge and then you need an badge so you can buy an tower? Or get it just by having an badge? Like an event tower! Ty for your time!

  • @alexthelowskill1007
    @alexthelowskill1007 4 месяца назад

    Fun fact: there is a game called goofy tower defense and it’s made by this tutorial, and it’s popular