New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

Can someone help me on a script for checking if a player isnt in a group and teaming them thus?

Asked by 3 months ago

I just need a quick script that is something like this is player in group (groupid) if yes place on (team) if no place on (team)

If possible for the groupid's that it looks for on the players group list to be multiple groupid's?

1 answer

Log in to vote
Answered by
sO_Ov 150
3 months ago
    if plr:IsInGroup(000000) then --Change "000000" to your group id
        plr.TeamColor = game.Teams["Team"].TeamColor --Change "Team" to your team name

Answer this question