Hi, I made script with customization. I have special camera to see player but when they making character they can move. How can I stun player until he clicks the button?
If it is a Local script you can do this
local player = game.Players.LocalPlayer repeat wait() until player.character -- makes sure player.character is there before assigning it as a value local character = player.character local humanoid = character.Humanoid OnFunction:Connect() -- whatever function you want to enable this humanoid.WalkSpeed = 0 humanoid.JumpPower = 0 -- you probably don't want him/her to jump either end
Just incorporate this into your code. It should work.