NarutoBl
|
  |
| Joined: 25 Jan 2009 |
| Total Posts: 182 |
|
|
| 17 Aug 2013 04:22 AM |
GamePassID = 126790666 CreditType = ExpBonus MaxSpecial = 3000 NoSpecial = 0
game.Players.PlayerAdded:connect(function(player) if game:GetService("GamePassService"):PlayerHasPass(player.userId, GamePassID) then player:findFirstChild("Data").CreditType.Value = MaxSpecial else player:findFirstChild("Data").CreditType.Value = NoSpecial end end)
PlayersService.PlayerAdded:connect(OnPlayerAdded) |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 17 Aug 2013 04:27 AM |
CreditType = "ExpBonus"
Should work |
|
|
| Report Abuse |
|
|
NarutoBl
|
  |
| Joined: 25 Jan 2009 |
| Total Posts: 182 |
|
|
| 17 Aug 2013 04:33 AM |
^ Didn't work :c I think there is a problem somewhere. |
|
|
| Report Abuse |
|
|
Voidion
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 2668 |
|
|
| 17 Aug 2013 04:34 AM |
"PlayersService.PlayerAdded:connect(OnPlayerAdded)"
^ What is this? |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 17 Aug 2013 04:36 AM |
If your game has a Data persistence, that'd mean this could be exploited for free Exp. And i'm pretty sure Getkoed is right. |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 17 Aug 2013 05:21 AM |
| @what above and two above said |
|
|
| Report Abuse |
|
|
NarutoBl
|
  |
| Joined: 25 Jan 2009 |
| Total Posts: 182 |
|
|
| 17 Aug 2013 05:28 AM |
So it functions when the player is added but i'm not sure if this is working.
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function() if game:GetService("GamePassService"):PlayerHasPass(player, 126790666) then wait(3) player.Data.WeaponSpecial.Value = 5000 else player.Data.WeaponSpecial.Value = 0 end end) end)
This is the new one that I wrote up and changed, I'm not familiar with game passes but it's not owrking for some reason. |
|
|
| Report Abuse |
|
|
NarutoBl
|
  |
| Joined: 25 Jan 2009 |
| Total Posts: 182 |
|
| |
|