READ: This topic should be in scripting support btw.
I will not tell you how gamepasses work, it would simply make this into a very long reply. However, if you are looking for how to create one yourself (It’s a lot of code but it is easy to learn). Look no further. I have provided a resource made by the TheDevKing on what is gamepasses and how to create one, especially in your situation.