Can you just have a few lines here please, first to check if they have it, then use two if functions, it doesn't need to be a full script, just if don't they have it then .... If they have it then....
✓ ANSWER ACCEPTED
How do you check if a player has a gamepass?
1 answer
✓ Accepted answer
local ID = --ID Here
Game.Players.PlayerAdded:connect(function(Player)
if Game:GetService("GamePassService"):PlayerHasPass(Player, ID) then
--What happens if they have the game pass.
else
--What happens if they don't have the game pass.
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
By ID do you mean just the number, the id=the number or the whole URL of the gamepass
By ID, he means the numbers after the ?id= part.
That end on line 8 should have a tab before it.
Alright, thanks!