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

How to stop player walking physics?

Asked by 6 years ago

So, I am trying to make a Superhero World game, and so far i am doing well, just one problem. How do I stop the player from sliding when running fast. Everytime my player's speed is set high and my player runs, when I try to stop it slows down and travels a bit more before coming to a full stop. I know I am not the best but I am just 13, Please help me if you know da wae.

1 answer

Log in to vote
0
Answered by
GingeyLol 338 Moderation Voter
6 years ago
game.Players.PlayerAdded:Connect(function(plyr)
plyr.CharacterAdded:Connect(function(char)
    char.Humanoid.WalkSpeed = 0
    char.Humanoid.JumpPower = 0
    char.HumanoidRootPart.Anchored = true
    char:WaitForChild("Torso",1).Anchored = true
    char:WaitForChild("UpperTorso",1).Anchored = true
end)
end)
Ad

Answer this question