I have a working Team Selection UI, but I'm not sure how I would make it not allow you select a team if you don't have the gamepass for it. Any help? Thanks!
COMMUNITY QUESTION
How to make user own gamepass to select a team?
1 answer
you can use UserOwnsGamePassAsync in your script. it would look something like this
local MPS = game:GetService("MarketplaceService")
if MPS:UserOwnsGamePassAsync(userID,gamepassID) then
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Use If then statements. If the player owns the gamepass then change their team.