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

how do i make a no player movment script/so you cant move and it anchors your body?

basically its a system where you cant move your player is that okay if you give me a script or something to do it.i know there was a similar question but i forgot it!

2 comments

0

anyone?

0

In SH, there is no such thing as "Free script"

3 answers

The simplest way to stop players from moving is to set their WalkSpeed and JumpPower to 0.

4 comments

0

thank you,

0

but i havent got those two scripts so can you give it to me?

0

This is scriptinghelpers. You don't request scripts here.

0

Just get the player's humanoid and find WalkSpeed and JumpPower, set them to 0 and you are good. For more information about how to do this, just go to Youtube or the Roblox DevHub.

if you want to anchor the character, i think u have to do a local script

while true do
      game.Players.LocalPlayer.Character.BODYPART
      game.Players.LocalPlayer.Character.BODYPART
      game.Players.LocalPlayer.Character.BODYPART
      game.Players.LocalPlayer.Character.BODYPART
      game.Players.LocalPlayer.Character.BODYPART
      game.Players.LocalPlayer.Character.BODYPART
      game.Players.LocalPlayer.Character.BODYPART
end

put it the anchor code and the character will be anchored (i think)

local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()

character.Humanoid.WalkSpeed = 0
character.Humanoid.JumpPower = 0
character.HumanoidRootPart.Anchored = true

This discussion is preserved as it was. New answers, comments, and votes are closed.