So I have made a script that makes the player not be able to move but don't know where to put it and what type of script to use I am relatively new to coding on roblox. Here's the script that I made.
Player.Humanoid.Walkspeed = 0
Player.Humanoid.Jumpspeed = 0
Tell me if the script is incorrect

4 comments
It's WalkSpeed and JumpSpeed
Make a Body Velocity inside the player
Excuse me it's JumpPower, not JumpSpeed
Thanks