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

How do I change a player's walkspeed to 0?

How do I change a player's walkspeed to 0?

1 comment

0

game.Workspace.PlayerName.Humanoid.WalkSpeed = 0

2 answers

Player = game.Players.LocalPlayer -- Gets player ~ only works in a local script
Player.Character.Humanoid.WalkSpeed = 0 -- Locates there humanoid and sets there walkspeed to
-- 0

wait(5) -- Waits 5 secounds

Player.Character.Humanoid.WalkSpeed = 16 -- Locates there humanoid and sets there walkspeed to
-- 16

Any Questions comment below, If i helped Upvote me please.

There is an easier way to do it,

game.Players.Name.WalkSpeed = 0

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