Like, once you touch a brick
Only for about 10 - 15 seconds it slows down your walkspeed. ????
Also should it be a LocalScript or a Script
- Where to place it?
Like, once you touch a brick
Only for about 10 - 15 seconds it slows down your walkspeed. ????
Also should it be a LocalScript or a Script
Hmm. Put this script in the desired brick.
script.Parent.Touched:connect(function (hit)
if not hit.Parent:findFirstChild("Humanoid") then return end -- Makes sure code is only run if it's a player.
hit.Parent.Humanoid.WalkSpeed = 10 --Reduces walkspeed
wait(10)
hit.Parent.Humanoid.WalkSpeed = 16 -- Puts it back up
end)
I'm Aurum, and you're welcome. Notes added, admin. Merry Christmas. EDITED: Fixed it up. You're welcome... Again.
Didn't work
Okay, let me check what I did wrong.
Edited. It should work now.
TRhanks man, it worked.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Please attempt before posting.
I did xdd + i'm the worst scripter in ROBLOX
Can you try posting the code you tried?