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

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

0
Make a MouseButton1Click function. Check if they have the GamePass by using the GamePassService's, "PlayerHasPass", and if they do have the pass, then change their teamcolor from localplayer. Jxemes 75 — 6y

Answer this question