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

[Question] How would I remove the slipperiness from the character if they have a high walkspeed?

I want to know how I would remove the player's slipperiness when they have a high walkspeed. I know it is possible because I've seen more than 2 games do it. I don't understand how they did it though. This is what my character looks like when they are at high speeds :

https://gyazo.com/2f7ba851a752af41508bbe8b1d9d3ddb

1 comment

0

what is the walk speed?

1 answer

✓ Accepted answer

you can change the HumanoidRootPart's density using CustomPhysicalProperties to do this

path.to.HumanoidRootPart.CustomPhysicalProperties = PhysicalProperties.new(
	40, -- density
	0, -- friction, which you'd probably think affects the movement more, but it doesn't at all
	0 -- elasticity, pretty much just how "bouncy" the character is
	100, -- friction "weight", no idea how it actually works but it makes the effect of the custom friction more """pronounced"""
	100 -- elasticity "weight"
)

for the last four values, you can kind of just put whatever, but i like to use those settings becauuuuuse yes

before CustomPhysicalProperties, after CustomPhysicalProperties

also, make sure you're careful if you're doing anything with :GetMass(), because changing the density also affects the mass

1 comment

0

Thank you!

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