I'm working on a dlc for my game and I don't understand all these services. How would they ever stop someone from clicking a GUI?
COMMUNITY QUESTION
How to make a game pass-only hopperbin GUI?
1 answer
They don't stop people from clicking on GUIs, they stop the GUI from appearing in the first place.
Using a Script, call the PlayerHasPass method of the GamePassService, using your Game Pass's ID, and if it returns true for the given Player, set the GUI element's Visible property to true, otherwise, set it to false.
This discussion is preserved as it was. New answers, comments, and votes are closed.
