Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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!

0
anyone? MR_Quacky7 -30 — 4y
0
In SH, there is no such thing as "Free script" Nguyenlegiahung 1091 — 4y

Closed as Not Constructive by Nguyenlegiahung, AntiWorldliness, Brandon1881, and matiss112233

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

3 answers

Log in to vote
0
Answered by 4 years ago

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

0
thank you, MR_Quacky7 -30 — 4y
0
but i havent got those two scripts so can you give it to me? MR_Quacky7 -30 — 4y
0
This is scriptinghelpers. You don't request scripts here. peter21340 41 — 4y
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. bostaffmanbulgaria1 89 — 4y
Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

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)

Log in to vote
0
Answered by 4 years ago
local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()

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