PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Gravity

Workspace

float

Determines the acceleration due to gravity applied to falling BaseParts.

This value is measured in studs per second squared and by default is set to 196.2 studs/second2. By changing this value, developers can simulate the effects of lower or higher gravity in game.

For more information on how gravity works on Roblox, please see this article.

Notes

  • Developers can also change the height Humanoid|Humanoid's jump using the Humanoid/JumpPower property

Code Samples


Low Gravity Button

This script creates a button in the Workspace that when touched will reduce the game’s gravity. Touching the button again will switch back to normal gravity.