Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Walkspeed script doesn't work?

I'm making a script thats inside a part, so whenever someone with a humanoid touches it, the script changes their walkspeed to 65. But it doesn't work!

Script:

script.Parent.Touched:connect(function(hit)
local hum = hit.Parent.Humanoid
if hum then
	hum.Walkspeed = 30
else
print("No hum")
end
end)

Please help?

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.