How To Make a Tower Defense Unit (Roblox Studio Scripting Tutorial)
Ойындар
I will be going over how to make a Tower Defense Unit from going over the client and server side of things. Hope you enjoy.
DISCLAIMER
I've only been scripting for 2 months, so feel free to leave any suggestions down below. Thank You.
Game Link: www.roblox.com/games/16525124...
Пікірлер: 68
For someone thats been scripting for 2 months this is amazing work! keep it up man im hoping to see you on the front page one day
@splaht
3 ай бұрын
I Appreciate the support and kind words. Means a lot 🙏
@Technolocsyan
Ай бұрын
@@splahthey man can you make the rig attack NPCs I really need it in mh tower defense
keep posting videos and ur gonna be on top for sure
Thanks, this will help me with my TD project.
@splaht
3 ай бұрын
No Problem. Let me know if you need help 👍
my tower defense game will actually work now all thanks to you.
thx man this thing will help my Tower defense game too
@splaht
Ай бұрын
👍 Welcome bro
This was great but I don't know how to add damage. if you could, could you please make a tutorial on it?
Can you make a tutorial on how to make a tds game pls everything is outdated and youre our only hope
yoo bro make a series brooo you are the new gnome code broo
1+ subscribe i love your video pls keep posting videos
@splaht
2 ай бұрын
Thank you so much. I will don't worry.
@marinhogamer6548
2 ай бұрын
@@splaht uh i cant place the unit you can help me?
great video!, but how did you know how to script in two MONTHS?, ive been on roblox studio for 4 months and yet i dont know how to script!
i have done this but it wont let me press the actual ui so i cant bring gojo out
hey im new too and im trying to make a tower defense game called anime beyond this video helped me alot
@splaht
3 ай бұрын
Glad I Could Help.
@91kysHeheh
Ай бұрын
Can you help me make one I beg of you
@NvMari1
Ай бұрын
@@91kysHeheh I was making one but everyone is making one so I changed my game to a more unique type game I’m making 2 games
@91kysHeheh
Ай бұрын
@@NvMari1 wow
@NvMari1
Ай бұрын
@@91kysHeheh what are you thinking bout making?
Double checked my code and it still keeps spawning the unit in 1 spot (not even the spot i picked)
I had a problems with the "local Results = MouseRayCast ({UnitPlacementHolder})" I check it like 10 times but the script look right but it keep erroring at the same line
@splaht
Ай бұрын
My Result variable says “Result” not “Results” Just double check to see if it’s spelled or capitalized correctly 👍
@coyatecifer3580
Ай бұрын
@@splaht if there's a spelling mistake the other 'Result' will have a red line underneath them so ......⚰️ I Doubled check it but I feel like the spelling mistake is not a problems
is it possible for a non humanoid unit tutorial?
whenever i put the model in the view port frame it just dissapears
@splaht
3 ай бұрын
Make sure the Viewport CurrentCamera is set to the Workspace camera. Hope that helped.
Can you please help with this error🙏🙏 attempt to index nil with 'Position'
@soldatik3884
2 ай бұрын
nil means null/nothing in Position. You might did not type something somewhere, check your script again
will you be making any other td tutorials?
@splaht
Ай бұрын
Sure, i've just been really busy with other things.
yo, where did you learn to script? I am a modeller, but i would like to script aswell!
@splaht
Ай бұрын
From youtube tbh, just watch a lot of tutorials for better understanding
Bro can you make attack with animation and damage
it doesnt work on mesh parts
Please make it Attacking hollow purple
I wonder how to make a game like The Battle Bricks.
@uatd_owner
Ай бұрын
I suck at local scripting lol
Can you please put all the scripts in the description or in the comment section 🙏 🙏 🙏 🙏 🙏 🙏 🙏
well mind if u work for us in animating our game?
@splaht
Ай бұрын
I'll pass up on that for now, maybe in the future.
how do i add more units to place?
@jamboy856
28 күн бұрын
Same thing but make more character models
Sadly I did it but didn’t work
bro just got It from toll box
im suffering from coding
Doesn't work but I do how in video
please write a script in the chat
pls system download ?
@splaht
3 ай бұрын
Next Video, stay tuned.
@YTPATRULHA_
3 ай бұрын
@@splaht Date of the next video please? I need this system!
@splaht
3 ай бұрын
@@YTPATRULHA_ Tommorow.
@YTPATRULHA_
3 ай бұрын
lest goooo video bro@@splaht
@splaht
3 ай бұрын
Check the description. Don't forget to leave a like and subscribe... Means a lot. (Click the three dots on the right corner if you want to save it)
cool but gnomecode still the goat
@adam_always1945
25 күн бұрын
Most of his videos don’t work tho…
@solarance
25 күн бұрын
@@adam_always1945 How 💀
@Xealy
4 күн бұрын
bro yes but atleast this guy made a video with new system
do you want to make a tower defense with me and some others?
it says this ? Players.MyUserName.PlayerGui.ScreenGui.LocalScript:83: attempt to index nil with 'Size' - Client - LocalScript:83 And this is the code on 83: local y = Result.Position.Y + UnitPlacementHolder.Humanoid.HipHeight + (UnitPlacementHolder.PrimaryPart.Size.Y / 0.7)
@GAMEMONKEY_SQUAD
Ай бұрын
Same here