Humanoid.Anchored = true
Im not sure if this is the right code to freeze the player.
To freeze a player, it would be
1 | game.Players.PlayerName.Character.Torso.Anchored = true |
Or, you could try changing their WalkSpeed.
1 | game.Players.PlayerName.Character.Humanoid.WalkSpeed = 0 |