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

How can i make a player fall slower?

Asked by 5 years ago

ok ive been stuggling with this one for weeks and i know its possible since its being used in mad city but ive tried to add some body force and other body instances to make the player fall down slower but nothing seems to work, do anyone know what i need to add to the player

1
Change the gravity in "Workspace" namespace25 594 — 5y
0
You can use Y velocity to counteract gravity. Or you can just change the gravity. DeceptiveCaster 3761 — 5y
0
i want the change to be local (only on the player who touches the part) i got the touched script but not the gravity Gameplayer365247v2 1055 — 5y
0
Then use local Y velocity. DeceptiveCaster 3761 — 5y

1 answer

Log in to vote
0
Answered by
ben0h555 417 Moderation Voter
5 years ago
Edited 5 years ago

Several ways, if you want to effect all of gravity you use the workspace.Gravity property for it, like so:

workspace.Gravity = 98.1

That code will give the equivalent of half the default gravity, which is 196.2.

But if you want it to effect only players then you should use BodyForce which applies force relative to global coordinates, thats just a fancy way of saying no matter what direction the object is facing it will apply force the same way. You could use it like so:

BF = Instance.new("BodyForce",Character.HumanoidRootPart)
BF.Force = Vector3.new(0,196.2,0)
Ad

Answer this question