Howdy DevForum! I been trying to find a solution to this problem for awhile and cant figure out one. The problem is that when the player is running and then stop, they start sliding. I’m not sure how to stop this. Does anyone know?
What do you mean by stop? How do you stop them from running?
oops, I meant stop them from sliding.
You can use the CustomPhysicalProperties property for that.
Server Script in ServerScriptService:
game:GetService("Players").PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Char)
Char:WaitForChild("HumanoidRootPart").CustomPhysicalProperties = PhysicalProperties.new(1000, 0, 0)
end)
end)
5 Likes
Can you explain what does that do?
I don’t understand. Can you use your own words to explain it and why does your code example works?
My code changes the HumanoidRootParts density to a high value, The higher the density is the more force a part takes to accelerate, so basically when the density is a high value the HumanoidRootPart cant accelerate on its own.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.