I'm trying to make a button where it would check to see if you have a game pass and if you don't it will check if you have another. Could someone fix this for me?, thanks in advance.
plr = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
if game:GetService("GamePassService"):PlayerHasPass(plr, 12356) then
print("Has pass")
else
if game:GetService("GamePassService"):PlayerHasPass(plr, 124578) then
print("Has Pass2")
else
print("Has no pass")
end
end
end)

1 comment
Ok thank you.