of     1   

LifelessCreator
#208299222Friday, January 27, 2017 12:17 AM GMT

Sorry, I'm new to scripting and i was wondering what i did wrong, I've tried everything! Its a money giver command, also affected by a game pass if you have it. amount = 10 -- This variable is the amount of cash we will give each time. timedelay = 30 -- This variable is the amount of seconds inbetween each time the cash is rewarded currencyname = "Cash" -- This is the name of our Currency id = 626428513 while true do wait(timedelay) for i,v in pairs(game.Players:GetPlayers()) do if v:FindFirstChild("leaderstats") and v if game:GetService("MarketplaceService"):PlayerOwnsAsset(v,id) then v.leaderstats[currencyname].Value = v.leaderstats[currencyname].Value + amount * 2 else v.leaderstats[currencyname].Value = v.leaderstats[currencyname].Value + amount end end end
OAuth2
#208299301Friday, January 27, 2017 12:19 AM GMT

if v:FindFirstChild("leaderstats") and v if game:GetService("MarketplaceService"):PlayerOwnsAsset(v,id) then to if v:FindFirstChild("leaderstats") and game:GetService("MarketplaceService"):PlayerOwnsAsset(v,id) then
LifelessCreator
#208299595Friday, January 27, 2017 12:23 AM GMT

Thanks, thanks so much! it works now

    of     1