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

  • @AngeloZzZZ
    @AngeloZzZZ3 ай бұрын

    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

    @splaht

    3 ай бұрын

    I Appreciate the support and kind words. Means a lot 🙏

  • @Technolocsyan

    @Technolocsyan

    Ай бұрын

    ​@@splahthey man can you make the rig attack NPCs I really need it in mh tower defense

  • @vieHxti
    @vieHxti3 ай бұрын

    keep posting videos and ur gonna be on top for sure

  • @IceJBT.
    @IceJBT.3 ай бұрын

    Thanks, this will help me with my TD project.

  • @splaht

    @splaht

    3 ай бұрын

    No Problem. Let me know if you need help 👍

  • @dak_playsg17
    @dak_playsg17Ай бұрын

    my tower defense game will actually work now all thanks to you.

  • @bloxfruits7564
    @bloxfruits7564Ай бұрын

    thx man this thing will help my Tower defense game too

  • @splaht

    @splaht

    Ай бұрын

    👍 Welcome bro

  • @zaaraali2164
    @zaaraali21642 күн бұрын

    This was great but I don't know how to add damage. if you could, could you please make a tutorial on it?

  • @91kysHeheh
    @91kysHehehАй бұрын

    Can you make a tutorial on how to make a tds game pls everything is outdated and youre our only hope

  • @Xealy
    @Xealy2 күн бұрын

    yoo bro make a series brooo you are the new gnome code broo

  • @marinhogamer6548
    @marinhogamer65482 ай бұрын

    1+ subscribe i love your video pls keep posting videos

  • @splaht

    @splaht

    2 ай бұрын

    Thank you so much. I will don't worry.

  • @marinhogamer6548

    @marinhogamer6548

    2 ай бұрын

    @@splaht uh i cant place the unit you can help me?

  • @Horn_gaming1
    @Horn_gaming127 күн бұрын

    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!

  • @PortalRoomOffical
    @PortalRoomOffical2 ай бұрын

    i have done this but it wont let me press the actual ui so i cant bring gojo out

  • @NvMari1
    @NvMari13 ай бұрын

    hey im new too and im trying to make a tower defense game called anime beyond this video helped me alot

  • @splaht

    @splaht

    3 ай бұрын

    Glad I Could Help.

  • @91kysHeheh

    @91kysHeheh

    Ай бұрын

    Can you help me make one I beg of you

  • @NvMari1

    @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

    @91kysHeheh

    Ай бұрын

    @@NvMari1 wow

  • @NvMari1

    @NvMari1

    Ай бұрын

    @@91kysHeheh what are you thinking bout making?

  • @FXGHQ
    @FXGHQ3 күн бұрын

    Double checked my code and it still keeps spawning the unit in 1 spot (not even the spot i picked)

  • @coyatecifer3580
    @coyatecifer3580Ай бұрын

    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

    @splaht

    Ай бұрын

    My Result variable says “Result” not “Results” Just double check to see if it’s spelled or capitalized correctly 👍

  • @coyatecifer3580

    @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

  • @Gast4307
    @Gast430714 күн бұрын

    is it possible for a non humanoid unit tutorial?

  • @Crockzy
    @Crockzy3 ай бұрын

    whenever i put the model in the view port frame it just dissapears

  • @splaht

    @splaht

    3 ай бұрын

    Make sure the Viewport CurrentCamera is set to the Workspace camera. Hope that helped.

  • @jaco_vx
    @jaco_vx2 ай бұрын

    Can you please help with this error🙏🙏 attempt to index nil with 'Position'

  • @soldatik3884

    @soldatik3884

    2 ай бұрын

    nil means null/nothing in Position. You might did not type something somewhere, check your script again

  • @Icy2018
    @Icy20182 ай бұрын

    will you be making any other td tutorials?

  • @splaht

    @splaht

    Ай бұрын

    Sure, i've just been really busy with other things.

  • @ytunshavencap1394
    @ytunshavencap1394Ай бұрын

    yo, where did you learn to script? I am a modeller, but i would like to script aswell!

  • @splaht

    @splaht

    Ай бұрын

    From youtube tbh, just watch a lot of tutorials for better understanding

  • @salabet023
    @salabet02326 күн бұрын

    Bro can you make attack with animation and damage

  • @felipevazquez9481
    @felipevazquez9481Ай бұрын

    it doesnt work on mesh parts

  • @its_me_loki04
    @its_me_loki0418 күн бұрын

    Please make it Attacking hollow purple

  • @uatd_owner
    @uatd_ownerАй бұрын

    I wonder how to make a game like The Battle Bricks.

  • @uatd_owner

    @uatd_owner

    Ай бұрын

    I suck at local scripting lol

  • @rogmigaming
    @rogmigamingАй бұрын

    Can you please put all the scripts in the description or in the comment section 🙏 🙏 🙏 🙏 🙏 🙏 🙏

  • @user-vn3sw2jk4q
    @user-vn3sw2jk4qАй бұрын

    well mind if u work for us in animating our game?

  • @splaht

    @splaht

    Ай бұрын

    I'll pass up on that for now, maybe in the future.

  • @warp_wendigo1
    @warp_wendigo1Ай бұрын

    how do i add more units to place?

  • @jamboy856

    @jamboy856

    28 күн бұрын

    Same thing but make more character models

  • @matthew-lg6xs
    @matthew-lg6xs20 күн бұрын

    Sadly I did it but didn’t work

  • @JandJgaming-cb3lt
    @JandJgaming-cb3lt3 күн бұрын

    bro just got It from toll box

  • @BerchyBirch
    @BerchyBirchАй бұрын

    im suffering from coding

  • @BESTFILMS-uo2en
    @BESTFILMS-uo2enАй бұрын

    Doesn't work but I do how in video

  • @nazikua7532
    @nazikua753218 күн бұрын

    please write a script in the chat

  • @YTPATRULHA_
    @YTPATRULHA_3 ай бұрын

    pls system download ?

  • @splaht

    @splaht

    3 ай бұрын

    Next Video, stay tuned.

  • @YTPATRULHA_

    @YTPATRULHA_

    3 ай бұрын

    @@splaht Date of the next video please? I need this system!

  • @splaht

    @splaht

    3 ай бұрын

    @@YTPATRULHA_ Tommorow.

  • @YTPATRULHA_

    @YTPATRULHA_

    3 ай бұрын

    lest goooo video bro@@splaht

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

  • @solarance
    @solaranceАй бұрын

    cool but gnomecode still the goat

  • @adam_always1945

    @adam_always1945

    25 күн бұрын

    Most of his videos don’t work tho…

  • @solarance

    @solarance

    25 күн бұрын

    @@adam_always1945 How 💀

  • @Xealy

    @Xealy

    4 күн бұрын

    bro yes but atleast this guy made a video with new system

  • @Kumo445
    @Kumo4452 ай бұрын

    do you want to make a tower defense with me and some others?

  • @user-ic2pe7rc1x
    @user-ic2pe7rc1xАй бұрын

    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

    @GAMEMONKEY_SQUAD

    Ай бұрын

    Same here

Келесі