Hey everyone, here is an updated script for those of you who want to use any gun/weapon, this script doesn't require the "bullet" part to touch it. follow the tutorial and paste this into where the script goes. Updated script: A = true Wall = script.Parent.Wall Humanoid = script.Parent.Humanoid HitPart = Instance.new("Part") function health() if Humanoid.Health
You should make a loop that loop through each part in the wall model, make sure each of them is a "Part" and turn off Anchored and make Transparency to 0.
@@robloxingout2093 Sorry I've pretty much quit TH-cam but I've made an updated script I'll put it as the pinned comment, I'll explain how to use it there.
At the top of the script type: local Respawn = script.Parent:Clone() At the end of the script under Wall:Destroy type: wait(5) Below that type: Respawn.Parent = game.Workspace Below that type: Respawn.Position = script.Parent.Position Below that type: script.Parent:Destroy() sorry it took me so long to respond
@@michaelcaboose.4839 I'm so sorry I've basically quit TH-cam, if you're still working this project checked the pinned comment for script that works with acs
local Wall = script. Parent . Wall local Health = script . Parent . Humanoid Local Di = script . Parent . Deb1 local D2 = script . Parent . Deb2 local D3 = script . Parent . Deb3 local D3 = script . Parent . Deb4 A=true true Wall. Touched: Connect (function (hit) if hit . Name == "Bullet" and A = true and Health.Health
bruh the code is rely wrong code : local Wall = script. Parent . Wall local Health = script . Parent . Humanoid Local Di = script . Parent . Deb1 local D2 = script . Parent . Deb2 local D3 = script . Parent . Deb3 local D3 = script . Parent . Deb4 A=true true Wall. Touched: Connect (function (hit) if hit . Name == "Bullet" and A = true and Health.Health
Hey everyone, here is an updated script for those of you who want to use any gun/weapon, this script doesn't require the "bullet" part to touch it.
follow the tutorial and paste this into where the script goes.
Updated script:
A = true
Wall = script.Parent.Wall
Humanoid = script.Parent.Humanoid
HitPart = Instance.new("Part")
function health()
if Humanoid.Health
You should make a loop that loop through each part in the wall model, make sure each of them is a "Part" and turn off Anchored and make Transparency to 0.
@@VeryProPlayerYesSir1122 I made a new tutorial that basically does that
Great tutorial! Thanks
plsss can you say how can i add another gun and work so i can shot the wall and the wall destroy plssssssssssssssss
can you make it so when you touch the wall it breaks
Dude you call this cringe? This is amazing ,Thanks for the tutorial
I’m about to come back to TH-cam and that just gave me so much motivation, you have no idea. Thank you so much bro.
@@TheTDStudios its true this ispretty good
@@Riplatki true
@@TheTDStudios No problem. I this tutorial is so simple to follow
hey , how to change the gun with punch?
check pinned comment
how do you make it so the part will unachor on death, not with a bullet, but just on the humanoid death
go watch my new video about this
it will answer that question and there is zero scripting involved
how do i make the gun
I put the model link in the description.
would FE gun kit work?
As long there is a physical bullet and not raycast.
@@TheTDStudios yes it is physical I think
@@robloxingout2093 try it out I guess
@@TheTDStudios I never got back to you but it was raycast, but there is physical models of the bullets so maybe it was named the wrong thing?
@@robloxingout2093 Sorry I've pretty much quit TH-cam but I've made an updated script I'll put it as the pinned comment, I'll explain how to use it there.
how can you make it so it does not need a part to do damage
Remove the humanoid and in the script replace “and Health.Health
Does this work agains rockets and bombs?
No but if you just weld some parts together then they will explode
Ok thank you!
The wall is an NPC💀💀💀💀
dont make fun of him hes trying his best 🤣
Dosent work for me wat did i do wrong 😭
how do you make it respawnable? like 5 seconds then it go back to what it used to be
At the top of the script type: local Respawn = script.Parent:Clone()
At the end of the script under Wall:Destroy type: wait(5)
Below that type: Respawn.Parent = game.Workspace
Below that type: Respawn.Position = script.Parent.Position
Below that type: script.Parent:Destroy()
sorry it took me so long to respond
@@TheTDStudios Thank you so much!
@some random gamer no because they would only respawn the wall and not the debris.
some random gamer that would probably break the script and wall
I had 15 parts and it was a nightmare
PLEASE make a tutorial on how to do this with ACS, or raycast
check pinned comment
yo i just uploaded a new tutorial that shows you how to do that check that out
@@TheTDStudios Can you link it to me?
Saving this this might be great. For my rpg i made
This will work with the ACS gun system right? I'll just try it out.
Sorry for taking long to respond I’ve been quite inactive, but this should work with any gun with a physical projectile and not hitscan.
@@TheTDStudios Oh okay. Thanks.
Hey, I may upload a second tutorial about this but it uses hit-scan so you can use ACS guns with it.
@@TheTDStudios Cool, thanks.
@@michaelcaboose.4839 I'm so sorry I've basically quit TH-cam, if you're still working this project checked the pinned comment for script that works with acs
nice i thinking to make a scary zombie game i subbed
glad to help!
yo i just made a way better tutorial and i put the wall in the description go check that out!
@@TheTDStudios ok
@@TheTDStudios wanna be friends in roblox
nice idea!
You gained a new sub
can you make one where it broke how it looked in the thumbnail
Yeah sure just give me a few days
Could you make the wall break if a vehicle hits it?
Yeah just rename “bullet” in the script to whatever you want the hitbox to be called
Very good tutorial but idk why nothing happen :/
Is it a scripting error? Look through your output and tell me what it says if anything.
@@TheTDStudios i'm not sure but I noticed that when I shoot the object, there is no bullet that activates. only when i shoot in the air
good tutorial
Thanks you!
do
Ok
local Wall = script. Parent . Wall
local Health = script . Parent . Humanoid
Local Di = script . Parent . Deb1
local D2 = script . Parent . Deb2
local D3 = script . Parent . Deb3
local D3 = script . Parent . Deb4
A=true
true
Wall. Touched: Connect (function (hit)
if hit . Name == "Bullet" and A = true and Health.Health
Thank you 🙏
Btw you put Di instead of D1 in the third line
bruh the code is rely wrong code :
local Wall = script. Parent . Wall
local Health = script . Parent . Humanoid
Local Di = script . Parent . Deb1
local D2 = script . Parent . Deb2
local D3 = script . Parent . Deb3
local D3 = script . Parent . Deb4
A=true
true
Wall. Touched: Connect (function (hit)
if hit . Name == "Bullet" and A = true and Health.Health
Booo this is a scam
ikr whoever made this video is such a loser