I don't know much about Lua. So can you help me, please?
What admin script are you running for your game? I know HD Admin supports gamepass ranks. As for changing teams, you would want to do something like this in a separate script:
local gamepassid = 0000000 -- substitute for GamePass ID local ms = game:GetService("MarketplaceService") local team = game.Teams.team -- substitute for the team in the Teams folder game.Players.PlayerAdded:Connect(function(plr) if ms:UserOwnsGamePassAsync(plr.UserId, gamepassid) then plr.Team = team end end)
That script is pretty rushed, so I'm not sure if it would work
Closed as Not Constructive by LennyPlayzYT, IAmNotTheReal_MePipe, JesseSong, and Fifkee
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?