local passId = 0000000 -- change this to your game pass ID.
function authenticate(player)
return game:GetService("GamePassService"):PlayerHasPass(player, passId)
end
game.Players.PlayerAdded:connect(function(plr)
if authenticate(plr) then
print(plr.Name .. " has bought the game pass with id " .. passId)
table.insert(admin,ply.Name)--I added this line
end
end)
Put this in the admin script, after where it says admin = { }
|MassiveGman| Scripter & part time Professional Whistler |