generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Gravity increase/reduction with Game Pass?

Previous Thread :: Next Thread 
88Tom88 is not online. 88Tom88
Joined: 02 Jul 2010
Total Posts: 868
24 Sep 2012 04:10 PM
Is there a script that allows players to have an increased/decreased amount of gravity when they own a game pass?
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
24 Sep 2012 04:26 PM
I don't know what a game pass is, but increasing and decreasing gravity can be acheived through a bodyForce object.

I'm going to imagine there is a method to check if the player has a game pass, so someone might be able to help you there, but this the sort of script that will do it.

gravityMod = ±number

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function()
---- if player:HasGamePass() ????? ---
local f = Instance.new("BodyForce", player.Character.Torso)
f.force = gravityMod
end)
end)
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
24 Sep 2012 04:34 PM
f.force = Vector3.new(0,gravityMod,0)
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
24 Sep 2012 05:09 PM
It's not letting me post the entire script with the gamepass authentication because the post contained a harsh word. kay.

This will help, though: http://wiki.roblox.com/index.php/Game_Pass
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image