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

Anyone know how to manipulate gravity on roblox?

2 answers

Im not sure if this is what you want but just incase. You can do workspace.Gravity. so if you wanted to change the gravity when you hit a block you can do:

local Part = Instance.new("Part")

Part.Touched:Connect(function()
	workspace.Gravity = 15 -- this will make it feel like you are in space!
end)

If you want to change the direction of gravity then i'd recommend setting gravity to 0 and applying a vector force to the players in your wanted direction

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