glaring
|
  |
| Joined: 18 May 2013 |
| Total Posts: 16053 |
|
|
| 27 Jul 2017 02:42 AM |
So I created a game pass.
I made it purchaseable in game and on the website's store.
In game, I made it award the item right after they buy it through promptpurchase.
For the other stuff, I need some help.
Can I make it so that if they are in the game, but buy it from the website store, it will detect that in the game and give something to them? Can I do this through an event or what do I use?
And for buying it on the store then joining the game, I just use player.Added and check if they own the asset right? |
|
|
| Report Abuse |
|
|
glaring
|
  |
| Joined: 18 May 2013 |
| Total Posts: 16053 |
|
| |
|
|
| 27 Jul 2017 04:22 AM |
| MarketPlaceService > PlayerOwnsAsset |
|
|
| Report Abuse |
|
|
glaring
|
  |
| Joined: 18 May 2013 |
| Total Posts: 16053 |
|
|
| 27 Jul 2017 04:44 PM |
Yeah, I know about this check. I'm not sure what the best way is to implement it though. Like do I need a while loop that continously checks if the players own the asset?
Or is there an easier/more efficient way to do it? |
|
|
| Report Abuse |
|
|
Acting2
|
  |
| Joined: 21 Jul 2015 |
| Total Posts: 21 |
|
|
| 27 Jul 2017 04:52 PM |
| Try going to roblox sets in models. There is a script there that is a script that gives the player the item. You will need to set it up by typing in the I'd and things like that. Then you will have to choose the catalog item that it will give the player. I think this helps if that is what you were asking about. |
|
|
| Report Abuse |
|
|
Merely
|
  |
| Joined: 07 Dec 2010 |
| Total Posts: 17266 |
|
|
| 27 Jul 2017 04:54 PM |
| Use GamePassService. MarketplaceService:UserOwnsAsset will stop working for user badges soon. |
|
|
| Report Abuse |
|
|
glaring
|
  |
| Joined: 18 May 2013 |
| Total Posts: 16053 |
|
| |
|
|
| 28 Jul 2017 01:16 AM |
| I need a dev to make a game with me because I am new At development and I made a gamepass and it doesn't even work! And I also want to know how to make a admin gamepass I know how to put admin in the game but the gamepass I don't know how to do that PLEASE HELP! MASTERDISTRUCTION1 |
|
|
| Report Abuse |
|
|
|
| 28 Jul 2017 02:35 AM |
@Merely
The GamePassService:PlayerHadPass wiki page actually recommends using MarketplaceService:UserOwnsAsset..? |
|
|
| Report Abuse |
|
|
|
| 28 Jul 2017 11:45 AM |
Merely, if you want to check if a user owns a gamepass instantly, you use MarketplaceService. If you want them to wait or rejoin, you use GamePassService.
My opinion. |
|
|
| Report Abuse |
|
|