heres the script:
function onTouch(part)
local humanoid = part.Parent:FindFirstChild("Humanoid") -- Find humanoid
if (humanoid ~= nil) then -- Check for humanoid
humanoid.WalkSpeed = 8
end
end
script.Parent.Touched:connect(onTouch)
there is no errors but i want it so only when the person is touching the part their walk speed is lowered and when they leave the part their walk speed is back to normal

7 comments
It has to be WalkSpeed
This isn't a request site; make an attempt
He is a noob, he probs doesn't now about touchended dude.
slow on the claims dude
im a beginner jeez
The OP can look up how to detect when a part stops touching a part
look, like 50% of mod claims in the past few days are made by you. just slow down