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

3 comments

1

You're going to have to provide more code than that. Provide the entire scope of the event and exclude any unnecessary code

0

can u help?

0

The thing is, its plr.Userid and not just plr so ... I think that's why, try it.