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
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 >:)
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
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
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.
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 !
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 :)
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!
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 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.
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 :)
@@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
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
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. :)
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?
@@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.
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
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
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.
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
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
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
@@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.
@@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
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()
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 👌👌
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
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 ^^
@@@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
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
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 :)
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)
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
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)
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
@@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!
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 :(
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
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
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
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.
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.
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
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.
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.
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!
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.
gnome code, i was just wondering, if i could make some tutorial videos on showing how to add more features to this tower defense game? Such as freezing, splash, poison attacks etc
wow, this was amazing, I loved learning to script thru this series, though I can't figure out 1 thing, how would I make the shop for towers separate to where you equip then and make the towers able to play 2 different attack animations
Hey GnomeCode I Really Like Your Tutorial, but can you add like a "bonus" video (by bonus video i mean by like if players want to add it or not in their game) the first bonus video will become a tower that gives money per shot on the enemy is it okay if you do that? (heart if accepted)
@@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 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
Did you ever discuss on how to add melee towers? That is something you implemented but didn’t have a tutorial for, could you make a tutorial on that for us?
Play the game here: www.roblox.com/games/9647396248/Tower-Defense
e
Can you make a Pokemon game please or are you Ghicken thats gnome language for Chicken to do it?
Nice job as always GnomeCode
@@h3aven412 Yes pls
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.
Its been a fun series, a wild ride. Thank you gnomecode for making these series, you’ve been a help to beginners.
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
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 >:)
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
@@minipumking Damn, watching a tutorial and changing the script to the way you want and still got it to work. Giga chad
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
@@minipumkinggiga Chad energy
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.
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 !
Hello, can i ask something? I have a problem and i can’t find it :/
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 :)
Honestly, the series of making games you make teach me more than actual scripting tutorials because when I follow them I learn new code.
yea instead of those ones that tell you to take the kits or paste in the code
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!
Oi
aoba comunidade br aqui assistindo gnomecode :D
Também
O gnomu dos codigo é brabo
agr sei q n sou o unico br assistindo gnomecode
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)
Thanks but how do you remove the other health bar on zombies so that only the hovering one shows
@@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.
@@0bit096 which part of the scripts do i delete
Nvm I figured it out btw thanks for telling us how to hover over mobs
@@0bit096 which part of the script do i delete?
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 :)
thx brotha!!
I have issue where It wont save
At all
OMG THANK YOU,
It was a cool trip. It's like I graduated from the tower defense academy. Just THANK YOU!
yes lol
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
Thx so much
im testing it rn
@haloplayss THANK YOU SO MUCH I AS ABOUT TO DELETE MY GAME THAT SAVED ME THANK YOUUU
@@RannerandFriendsYT nws glad your game works now
omg we've been waiting for so long!!! Also I saw you in Wimble World :D
Great game!
An incredible journey. Can't wait for your future series.
I suggest an RPG.
that or a shooter sort of game
@@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
@@DailyD5 maan I remember those days
YES PLEASE! LOVE GAMES LIKE SWORDBURST
@@KingBanana898 Would prefer an infinity rpg style game
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
If u want to make a party System (that doesnt choose maps) you can use other tutorials it will kinda work
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. :)
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?
Yes
Yes , good idea !!!
@@TerpiGames its not that easy lol
@@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.
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
superb series, the only problem is that when a player's tower kills the mobs, only the player wins the money, not everyone
Sorry for the late response, but try using for i,v in pairs for that one?
@@crashedmartiki1248 I did not understand sorry
It's okay.
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
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.
i managed to figure it out myself with the help of my friends so yea i agree with ur point
@@tipeanimates837 nice
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
Or you can pay someone :cringe:
This has bees one hell of a journey. I learned a lot Gnome Code. Wish you would make more series like this.
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
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
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
@@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.
@@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
@@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()
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 👌👌
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
search up gnome code addons and you can find stuff like that!
i remember a year ago, i didnt understand one thing but now i feel like im beyond this
Is it possible to make event towers like if you win you get a tower from it
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
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 ^^
Such an absolute legend. Thank you for this series and everything you've done for the beginners.
Wonderful to hear it's been helpful, cheers!
@@@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
In the datatstore script where data[player.UserId] += stars
You need to put a plus next to the equal so like +=
Thank you so much GnomeCode for this series and especially adding these last few episodes it means alot!
Can you add gamemodes please
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
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
CHIPPTHEMAX YOU AGAIN OMG BUT YES I AGGRE WE NEED TO LEARN HOW TO MAKE A FARM
uhh what happen BUT yes WE NEED TO LEARN HOW MAKE A FARM and also gamepasses that seem cool
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
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 :)
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)
Its eazy to make tell me if u want me to explain it
@@bobkerman8930 yes pls
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
Great series! Can't wait for more of these kind of series, the ones I'd look most forward to are RPGs/MMORPG
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)
@@DailyD5 No I meant actual MMORPG games like Vesteria, World Zero, Fantastic Frontier, etc.
Thanks for tutorial can you make skip wave
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
Gnome.
Code.
@@GnomeCodeGnomeCode.
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!
what will the name of the game be?
@@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!
you are the best, thanks to you, People who cannot program, can also create their own game
My brain overheated trying to watch all of these
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 :(
Haha no.
Haha no.
Haha no.
Haha no.
Haha no.
thank you you helped me so much on this bumpy dev ride
I love you
Same bro
Me too
same
Same
Thanks for watching
This really was a show of work. I'm definitely looking forward to the game.
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
Awesome tutorials! Is it possible you can make a series on making a combat system with cool abilities and stuff?
followed you till the last
many thanks for the tutorials man
Most dedicated guy out there
you need 3 more videos! dev products, gamepasses and also difficulty voting
Ye
yes
also add group bonus
Thats for you to do
@@TrexNeon i don't know how to script :P
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
Tell me when you publish it!!!
tell me when u publish it
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
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
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
Gnomecode is absolutely the greatest Roblox developer on TH-cam. Unbelievable content here.
This tutorial wuz really popular, no wonder new tower defense games have been popping up like crazy in 2021 and 2022
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.
Aw I wish I would figure out how to fix the bug with spamming functions when having fast firing towers
This man's parents must be so proud
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.
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
u can just disable StarterGUI's ResetOnSpawn
@@Rexiler yes very good point
@@IvExists make sure to put walls around the map too to prevent people from walking off the map
@@ISuckAtNamingThingsLol that too ty
Congrats on finishing this series! )
Awesome tutorial! Took me months to complete but im really happy with it and taught me how to code!
EVEN IF ITS 2 YEARS LATER, THIS SERIES IS AWESOMEEEEEEE!!! IM PROBABLY GONNA START MAKING MY OWN THINGS TO ADDON!!
It all worked for you? How
@@ItsCloudGod because i listen & i know a decent bit of lua
@@randomscripteridklmaoHow do I get the towers I buy from lobby to show in game? It only shows slinger :c
Let’s Respect this Man
Can you teach us how to make a duel lane upgrade? Like lane 1 does damage and lane 2 does firerate
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.
Thanks for the hardwork of yours tutorials! I am very gratefully for these
Thanks dude you help me and many other players you deserve 10M subs
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.
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!
He said we have to do it by our own.
@@pitshotgun510 yes i asked on discord after i know
@@minipumking oh its you!
W gnomecode for making a awesome series and helping devs start their projects and teach alot.
I really like the fact that if I don't want to fully do a tutorial, I don't have to.
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.
Hi! I think i deleted something. My workspace.Camera:ClearAllChildren() doesnt work. Can you help me?
How to make it give badge when you finish
Most underrated code youtuber
There is one thing that you might have missed, depends on how you were making the game, but how do we make modes?
that "hELLLLLOOOOOOO fellow gnomes!" always gets me excited
same
You should make a tut on how to make it like rng based tds
BEST TH-camR
You are the best programmer I have ever seen! Thank you GnomeCode!
Hey gnome İ have a question, will you add events or updates to the game??
Wish I knew how to do track tower and farms and stuff for waves
Impressive . I was Amazed !
Fun fact: there is a game called goofy tower defense and it’s made by this tutorial, and it’s popular
gnome code, i was just wondering, if i could make some tutorial videos on showing how to add more features to this tower defense game? Such as freezing, splash, poison attacks etc
But how to make a system for selling units, and a system for knocking units out of boxes?
wow, this was amazing, I loved learning to script thru this series, though I can't figure out 1 thing, how would I make the shop for towers separate to where you equip then and make the towers able to play 2 different attack animations
I play your game today and it was so good!!!
By somehow the getting choosed towers equipped does not worked
3 in a row!!
Are you gonna publish the game? (edit: nvm lol)
Thank you for your tutorials. It helped me alot and I learned lots of new things.
i leanred alot about coding in this series, thank you!
I thought this was broken pls tell me how u did it
Hey GnomeCode I Really Like Your Tutorial, but can you add like a "bonus" video (by bonus video i mean by like if players want to add it or not in their game) the first bonus video will become a tower that gives money per shot on the enemy is it okay if you do that? (heart if accepted)
Thanks Gnome for this amazing series
I'm glad to hear you enjoyed it :)
@@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.
@@elemental_1one add task.wait() before calling the Attack function
@@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
@@elemental_1one No, im not talking about the cooldown, put task.wait() right before CALLING the function
Just wondering, maybe if you can make a final tutorial on how to add enemy stun abilities?
you helped me alot and helped others too!
Good job Gnomecode! Wish you good day/night!
Gnomecode is a one of a kind developer
Hey gnome im curious what happaned to last episode why u delete it?
Hello i just want to ask can you make a gamemode chousing?
Did you ever discuss on how to add melee towers? That is something you implemented but didn’t have a tutorial for, could you make a tutorial on that for us?
Late reply, but he does end up making a melee tower at some point in the series.
The 3 melee towers that he made work just like any other tower but they have a very low range.