Advertisement
EconomicSerg

Disable player movement | Roblox

Dec 15th, 2020
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(p)
  2.     p.CharacterAdded:Connect(function(c)
  3.         c:WaitForChild("Humanoid").WalkSpeed = 0
  4.         wait(2) -- Change this to how long you want the player to not move
  5.         c.Humanoid.WalkSpeed = 32
  6.     end)
  7. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement