right now i have 2 teams, Admins, and Players. However i must add a player to admins manually everytime they join a server, is there a way i can get that to happen without me or them using the command themselfs?
function haspass(player) return game:GetService("MarketplaceService"):PlayerOwnsAsset(player, 12964789) -- or whatever the pass ID is, it gets end game.Players.PlayerAdded:connect(function(plr) if haspass(plr) then -- checks if the player owns the gamepasss plr.TeamColor = BrickColor.new("admin color here") -- put the admin color here end end)
also, how do you want them to be added, WHO do you want ot be added?