Question 1: How do i make a certain team open something Question 2: How to make a vehicle only driveable by people with a certain gamepass?
I am making a border game and i want a certain team to open the border not like anyone could open the border. So i need help on that.
Second question is how do i make a car only driveable by the people who owns the gamepass. Also need help on this.

6 comments
The following links will help u: https://developer.roblox.com/en-us/api-reference/property/Player/Team , https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/UserOwnsGamePassAsync
For the question 1, you could check their team. For the question 2, you could check whatever a user sits on the vehicleSeat and then check if they own the gamepass with the UserOwnsGamePassAsync function of MarketplaceService
I could help u more if u give information of how are you opening the border, that's all...
Okay here is the link for the border game just check it out also don't worry that i have done nothing its at another island so all i need help is with only a certain team can open the border and for the cars a certain gamepass player can drive. Link is below https://www.roblox.com/games/5424028211/United-states-Border-Patrol-Roleplay?refPageId=416bab84-4a28-4116-be32-ecb010
would be highly obliged if i get help.
It does not help me