How to make a tower hitbox placement system - GnomeCode Addons #3

  Рет қаралды 369

VoidPlays

VoidPlays

18 күн бұрын

In this tutorial I will teach you how to make cool tower hitbox placement thing! Feel free to like and subscribe if you wanna see more content like this
Tags (ignore): #towerdefense #easy #roblox #robloxstudio #scripting #simple

Пікірлер: 25
@voidplays9613
@voidplays9613 16 күн бұрын
I recommend putting 0.75 transparency on the addplaceholdertower and 0.99 in the removeplaceholdertower so your unit shouldnt show the hitbox and it will prevent you from sliding your camera under the hitbox to outsmart the hitbox system it will only show it when you try to put other tower or else what will happen is the hitbox will disappear if you upgrade your units and thats because we clone the hitbox when he do the addplaceholdertower function and not in the upgrade function however you can do it but idk
@user-ui5cm1jd4o
@user-ui5cm1jd4o 11 күн бұрын
idk if this is a bug but when i upgrade the tower tehe border dont appear no more it just appears back when i press a tower xd
@voidplays9613
@voidplays9613 11 күн бұрын
Idk man I recommend u make ur border only visible while the player is placing a tower
@user-ui5cm1jd4o
@user-ui5cm1jd4o 12 күн бұрын
attempt to index nil with 'Position' what the it says this is the error problem line 1101 Camera.CFrame = CFrame.new(towerObject.PrimaryPart.Position + towerObject.PrimaryPart.CFrame.LookVector * 4, towerObject.PrimaryPart.Position)
@voidplays9613
@voidplays9613 12 күн бұрын
Try to change primary part to HumanoidRootPart I will make a rework of this video too so if that doesnt work wait until the rework
@user-ui5cm1jd4o
@user-ui5cm1jd4o 12 күн бұрын
@@voidplays9613 i cant change it to humanoidrootpart sadly
@voidplays9613
@voidplays9613 11 күн бұрын
@@user-ui5cm1jd4o try this local height = (newTower.HumanoidRootPart.Size.Y / 2) + newTower["Left Leg"].Size.Y local offset = CFrame.new(0, -height, 0) local p = Instance.new("Part") p.Name = "Border" p.Color = Color3.new(1,0,0) p.Transparency = 1 p.Material = Enum.Material.Neon p.TopSurface = Enum.SurfaceType.Smooth p.BottomSurface = Enum.SurfaceType.Smooth p.CanCollide = true p.CanTouch = false p.Anchored = true p.CastShadow = false p.Parent = newTower p.CFrame = newTower.HumanoidRootPart.CFrame * offset * CFrame.Angles(0, 0, math.rad(90)) p.Orientation = Vector3.new(0, 0, 0) p.Size = Vector3.new(5, 0.5, 5)
@user-ui5cm1jd4o
@user-ui5cm1jd4o 11 күн бұрын
@@voidplays9613 ill try it later thank you!
@user-ui5cm1jd4o
@user-ui5cm1jd4o 11 күн бұрын
@@voidplays9613 OMG TYSM FOR FIXING IT W!
@reydangameryt6815
@reydangameryt6815 16 күн бұрын
Can you make gamemode tutorial like easy normal and hard
@voidplays9613
@voidplays9613 16 күн бұрын
yes maybe tomorrow or after tomorrow i'll release it
@BoxingSnail
@BoxingSnail 16 күн бұрын
@@voidplays9613 Really looking forward to it!
@voidplays9613
@voidplays9613 16 күн бұрын
@@BoxingSnail ive already done the video I just need to edit it but its 2am so probably coming out tomorrow stay tuned!
@BoxingSnail
@BoxingSnail 15 күн бұрын
@@voidplays9613 Will do!
@BoxingSnail
@BoxingSnail 16 күн бұрын
Is there a way to remove the hitbox after you place it?
@voidplays9613
@voidplays9613 16 күн бұрын
yes in the removeplaceholder function just put the transparency to 1 or 0.99
@iamb0
@iamb0 5 күн бұрын
This is exploitable on the client-end, as you can just delete the border and place in the red border on the client side.
@voidplays9613
@voidplays9613 5 күн бұрын
@@iamb0 who exploits in 2024? I think roblox banned exploiting
@iamb0
@iamb0 5 күн бұрын
@@voidplays9613 exploiters can always find a new way to exploit
@bigplay_brawlstars6718
@bigplay_brawlstars6718 15 күн бұрын
dont work
@voidplays9613
@voidplays9613 15 күн бұрын
make sure u didnt do any spelling mistakes
@lolol4611
@lolol4611 14 күн бұрын
Doesn't work
@voidplays9613
@voidplays9613 14 күн бұрын
make sure you type everything right i will revamp these addons soon when im done with most of my to do addons and they will be easier to follow
All Enemies Sound Effects | Tower Blitz
11:49
Rian
Рет қаралды 123 М.
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,8 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 12 МЛН
How to Make a Shop GUI in Roblox Studio 2024 - Earn Robux!
7:45
How to make farmer unit - GnomeCode Addons #7
4:34
VoidPlays
Рет қаралды 265
How to make rejoin system | Gnomecode TD Addons #7
5:00
illusional
Рет қаралды 1 М.
How to make GUI in Obby Creator!
2:12
blud
Рет қаралды 19 М.
How Hard is it To LEARN How To SCRIPT in ROBLOX
3:42
Ludius
Рет қаралды 9 М.
Programming Language Tier List
0:55
Conner Ardman
Рет қаралды 2,7 МЛН
Roblox Tutorial - Adding exe V4 into your roblox game
21:10
Cookie Tech
Рет қаралды 116 М.
Making an RPG on Roblox | Devlog 1
6:46
Fudge King
Рет қаралды 80 М.
So I just met the OWNER of SLAP BATTLES......
10:11
Willyandgaming
Рет қаралды 74 М.
skibidi toilet zombie universe 34 ( New Virus)
3:35
MonsterUP
Рет қаралды 3,4 МЛН
ВСЕ КОНЦОВКИ И СЕКРЕТЫ ПОУ! Bou's Revenge
35:51
Family Play TV
Рет қаралды 309 М.
НУБ ИЩЕТ ЖЕНУ В GTA SAMP
22:34
STRAYF
Рет қаралды 557 М.
Sniper Duel | Standoff 2
0:54
Standoff 2 Live
Рет қаралды 677 М.