Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make double cash gamepass?

Asked by
patabr 0
5 years ago

So basically, in the game that I am working on, from killing your opponent you will get 5 Cash. My idea is if you have double cash gamepass, you will get 5 Cash more, so 10. Any idea how to do this?

0
Post your scripts to get an answer. Your problem is easy, but you should not ask for the whole game pass script. sleazel 1287 — 5y

1 answer

Log in to vote
3
Answered by 5 years ago
Edited 5 years ago

Check if the player has the double cash gamepass, and if he does then give 10 cash instead of 5. By personally spending 5 seconds to utilize http://google.com, I found you what you need: https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/UserOwnsGamePassAsync

2
i liked the part where u utilized google.com Fad99 286 — 5y
1
Yeah, instead of heading straight to here make sure that you check Google first as the answer can be right in front of you. RyanTheLion911 195 — 5y
Ad

Answer this question