chevron_leftchevron_leftchevron_left
    of     2   

KOTwarrior
#141854096Monday, July 28, 2014 6:13 PM GMT

local passId = 168833134; function isAuthenticated(player) return game:GetService("GamePassService"):PlayerHasPass(player, passId); end game.Players.PlayerAdded:connect(function(plr) Leaderstats = plr:WaitForChild("leaderstats"); if isAuthenticated(plr) then Spawn(function() while wait(60) do Leaderstats.Gold.Value=Leaderstats.Gold.Value+3; end end) end end)
Cheeso135
#141855897Monday, July 28, 2014 6:33 PM GMT

I will try both of those. And like I said before, if I am the creator, the game passes should work with me right?
Cheeso135
#141856068Monday, July 28, 2014 6:35 PM GMT

WORKS! Thanks for the help everyone! :)
Cheeso135
#141864176Monday, July 28, 2014 8:02 PM GMT

ugh. Does not work. It gives everyone +3 gold….no matter if they have bought the pass or not. This is what I am using. This is the script I used: local passId = 168833134; function isAuthenticated(player) return game:GetService("GamePassService"):PlayerHasPass(player, passId); end game.Players.PlayerAdded:connect(function(plr) Leaderstats = plr:WaitForChild("leaderstats"); if isAuthenticated(plr) then Spawn(function() while wait(60) do Leaderstats.Gold.Value=Leaderstats.Gold.Value+3; end end) end end)
Cheeso135
#141865053Monday, July 28, 2014 8:11 PM GMT

bump
Cheeso135
#141867088Monday, July 28, 2014 8:24 PM GMT

bump
Cheeso135
#141868147Monday, July 28, 2014 8:30 PM GMT

bubump
cntkillme
#141868388Monday, July 28, 2014 8:32 PM GMT

local passId = 168833134; function isAuthenticated(player) return game:GetService("GamePassService"):PlayerHasPass(player, passId); end game.Players.PlayerAdded:connect(function(plr) local Leaderstats = plr:WaitForChild("leaderstats"); if isAuthenticated(plr) then Spawn(function() while wait(60) and plr do Leaderstats.Gold.Value=Leaderstats.Gold.Value+3; end end) end end)
Cheeso135
#141869337Monday, July 28, 2014 8:38 PM GMT

Well. I won't know if it works until someone joins :) Thanks though

chevron_leftchevron_leftchevron_left
    of     2