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?
COMMUNITY QUESTION
How do i make teams for admins and vips?
1 answer
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)
#THIS HAS NOT BEEN TESTED
also, how do you want them to be added, WHO do you want ot be added?
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Good for my vip gamepass but not what im looking for
how do you want them to be added?