Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I make VIP in a Game Pass?

This should be a pretty easy answer for you that know how to script fairly well.

Before my BC ran out I used the old fashion VIP shirt for VIP, which users then had to buy to access the VIP room.

Now that I have BC again I would like to make a game pass users can buy which then automatically gives them VIP.

I also had another question regarding this; if I make a VIP game pass is there any way I can make a GUI that teleports people to the VIP room if they have the game pass?

Personally I think the VIP doors are old and outdated.

Thank you for your help

1 answer

http://wiki.roblox.com/index.php?title=PlayerHasPass_(Method)

You use game:GetService("GamePassService") to get the game pass service.

In it theres a method called PlayerHasPass.

This method takes two parameters, first is which player ur looking at and second is the id of the game pass.

Returns true or false.

pseudocodeincoming!

gamepassid = "lolnotanumber"

if game:getDATservice("GamePassService"):PlayerHasPass(nobodycaresguy, gamepassid) then

//oh hey look nobodycaresguy does have it yoloswagfitemeirl

everythingExplodes();

end

This discussion is preserved as it was. New answers, comments, and votes are closed.