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
|
  |
| 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
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 24 Sep 2012 04:34 PM |
| f.force = Vector3.new(0,gravityMod,0) |
|
|
| Report Abuse |
|
|
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 |
|
|