So I made a gamepass where you can get 2x the amount of money for a robbery! heres the script:
if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,6507167) then
plr.CashCollectedJ.Value = plr.CashCollectedJ.Value * 2
end
So I made a gamepass where you can get 2x the amount of money for a robbery! heres the script:
if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,6507167) then
plr.CashCollectedJ.Value = plr.CashCollectedJ.Value * 2
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
You're going to have to provide more code than that. Provide the entire scope of the event and exclude any unnecessary code
can u help?
The thing is, its plr.Userid and not just plr so ... I think that's why, try it.