Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to set a gamepass to a team so only those who own the gamepass may join it?

Asked by
ViViDSin -18
6 years ago
Edited 6 years ago

I have a team in the roblox game I am creating and I want to make it so when someone is on the team change GUI they may only join that team if they have the gamepass otherwise it will pop up with a prompt to buy the gamepass

1 answer

Log in to vote
0
Answered by 6 years ago

There’s a service called GamePassService that lets you check whether a player has a game pass or not. Here’s the link :

http://wiki.roblox.com/index.php?title=API:Class/GamePassService

I can’t give you an example script though as I’m on mobile at the moment. Sorry.

Ad

Answer this question