I am having trouble as i want a door for people who have brought my gamepass
How? Well, you'd obviously use the Touched Event.
You'd also have to use PlayerOwnsAsset.
And If you want it to be very secure, you'd have to use CFrame to teleport them to the other side, so that other people won't get through, even without having the gamepass.
Or
You can use Local Parts.
This is what I use. And its easier if you have FE enabled.