How to make a Part fall when Touched in Roblox Studio | Tutorial
HTML-код
- Опубликовано: 22 авг 2024
- In todays Video, I will be showing How to make a Part fall when Touched in Roblox Studio!
hope yall liked it Subscribe for more and comment down what yall want next!
Scripts~
script.Parent.Touched:Connect(function(touched)
local humanoid = touched.Parent:WaitForChild("Humanoid")
if humanoid then
wait(1) -- This adds a 1 second delay,
script.Parent.Anchored = false
end
end)
My Roblox user, 0winto100win
don't forget to check it out!
Roblox Studio
Roblox Studio Tutorial
~Scripts~
script.Parent.Touched:Connect(function(touched)
local humanoid = touched.Parent:WaitForChild("Humanoid")
if humanoid then
wait(1) -- This adds a 1 second delay,
script.Parent.Anchored = false
end
end)
how did you learn to script
@@demowolf-o5b good question, I’m a newbie to scripting and building I Js joined Roblox studio at 1st I was confused but building was easy for me but not scripting so i watched some vids bout scripting which gave me the idea to make this type of videos!
how do you make it get back up (To get it back in its original position after a few seconds)?
like make it respawn?
@@exoxrs yes please
@@exoxrsyes pls
@@exoxrsyes please