generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Gamepass help please.

Previous Thread :: Next Thread 
TobiasVerandus is not online. TobiasVerandus
Joined: 24 Jun 2017
Total Posts: 81
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
TobiasVerandus is not online. TobiasVerandus
Joined: 24 Jun 2017
Total Posts: 81
22 Aug 2017 03:51 PM
Bump
Report Abuse
LilPrincesses123 is not online. LilPrincesses123
Joined: 26 Sep 2015
Total Posts: 393
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
TobiasVerandus is not online. TobiasVerandus
Joined: 24 Jun 2017
Total Posts: 81
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
TobiasVerandus is not online. TobiasVerandus
Joined: 24 Jun 2017
Total Posts: 81
22 Aug 2017 03:58 PM
Bump, don't let me sink.
Report Abuse
TobiasVerandus is not online. TobiasVerandus
Joined: 24 Jun 2017
Total Posts: 81
22 Aug 2017 04:12 PM
BUMP PLEASE HELP
Report Abuse
TobiasVerandus is not online. TobiasVerandus
Joined: 24 Jun 2017
Total Posts: 81
23 Aug 2017 11:15 AM
Bump again
Report Abuse
TobiasVerandus is not online. TobiasVerandus
Joined: 24 Jun 2017
Total Posts: 81
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image