|
| 22 Aug 2017 03:45 PM |
Here is a short scenario of what I am trying to do. Here is what I WANT. Bob is playing my group game. Bob here wants to buy a gamepass. So bob minimizes the game tab, He goes to the game page, he clicks "Store" and purchases the golden boombox (It's a tool in studio, not catalog gear). Bob then rejoins the game and he receives his radio tool. He's happy.
Here's what I have CURRENTLY. Bob is playing my group game. Bob here wants to buy a gamepass. So bob minimizes the game tab, he goes to the game page, he clicks "Store" and purchases the golden boombox. (It's a tool in studio, not catalog gear). Bob then rejoins the game and doesn't recieve his boombox. He then sees a message that says he needs to wait for a new server! Bob is sad now.
Please help bob. I don't want people to have to wait til a new server to recieve their tool. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Aug 2017 03:54 PM |
This should work I guess?
local GpId = IDHERE local Boombox = game.ServerStorage.Boombox -- Make sure the boombox is in ServerStorage
game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function() if game:GetService("GamePassService"):PlayerHasPass(GpId, plr) then Boombox:Clone().Parent = plr.Backpack else end end) end) |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2017 03:54 PM |
It didn't though.
If a person buys it, And rejoins he doesn't recieve it automatcally. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 23 Aug 2017 11:19 AM |
Let's take prison life for example.
If you were to purchase the VIP Gamepass, all you have to do is REJOIN the game, You don't have to wait until a new server or a game shutdown. How can I do this..? Please help. |
|
|
| Report Abuse |
|
|