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
4 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 — 4y

1 answer

Log in to vote
3
Answered by 4 years ago
Edited 4 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 — 4y
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 — 4y
Ad

Answer this question