I need to make players temporarily unable to move for a cutscene im making. i dont know where to start. any thoughts would help
✓ ANSWER ACCEPTED
How would i make players unable to move?
2 answers
✓ Accepted answer
make jumpheight and walkspeed 0, or you could simply anchor the humanoidrootpart
I suggest you start making an attempt before you ask for help, this isn't a request site.
Players = game:GetService('Players')
for _,Player in pairs(Players:GetPlayers()) do
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild('Humanoid')
Humanoid.WalkSpeed = 0
Humanoid.JumpPower = 0
wait(15) -- change accordingly
Humanoid.WalkSpeed = 16
Humanoid.JumpPower = 50
end
2 comments
0
well of course i have tried. im not lazy but what i tried didnt work.
0
For future reference, please show your attempt with the post so we know you've tried.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
oh wow that was a no brainer. thanks