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

How would i make players unable to move?

I need to make players temporarily unable to move for a cutscene im making. i dont know where to start. any thoughts would help

2 answers

✓ Accepted answer

make jumpheight and walkspeed 0, or you could simply anchor the humanoidrootpart

1 comment

0

oh wow that was a no brainer. thanks

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.