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
 

Need Help With VIP Door

Previous Thread :: Next Thread 
PixelStory is not online. PixelStory
Joined: 16 Dec 2015
Total Posts: 5
25 Jan 2017 12:48 PM
Hey guys! So I was trying to figure out how to make a prompt come up and ask if they want a game-pass when someone without my VIP game-pass tried to enter it. I looked everywhere, and couldn't find anything! Please help! Thanks ;D
Report Abuse
jordan0810 is not online. jordan0810
Joined: 03 Jun 2012
Total Posts: 846
25 Jan 2017 01:00 PM
http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/PromptPurchase
Report Abuse
PixelStory is not online. PixelStory
Joined: 16 Dec 2015
Total Posts: 5
25 Jan 2017 01:25 PM
Thanks that helped a bit, but I need a way for it to activate when someone touches the door.
Report Abuse
PixelStory is not online. PixelStory
Joined: 16 Dec 2015
Total Posts: 5
26 Jan 2017 09:09 AM
Bump
Report Abuse
leo1457 is not online. leo1457
Joined: 01 May 2014
Total Posts: 6921
26 Jan 2017 09:18 AM
plr = game.Players.LocalPlayer

script.Parent.Touched(function()
game:GetService("MarketplaceService"):PromptPurchase(plr, GamepassId)
end)


r+://553352969r+://553353047 siggies r+://561265896
Report Abuse
leo1457 is not online. leo1457
Joined: 01 May 2014
Total Posts: 6921
26 Jan 2017 09:23 AM
wait did it wrong

plr = game.Players.LocalPlayer

script.Parent.Touched:connect(function()
game:GetService("MarketplaceService"):PromptPurchase(plr, GamepassId)
end)


r+://553352969r+://553353047 siggies r+://561265896
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