Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I put player on a team?

local Players = game:GetService("Players")
local Teams = game:GetService("Teams")
if local Player rank is ("Fan")or("epic dudes/women") in ("The bencharles429 fan group") then
	team.Groupmember = Teams.Groupmember
end

Im a beginner and I know this code aint right

3 comments

1

First, put your code in a code block by clicking the small lua icon above your text place. That will show 2 lines of ~'s. Then put your code between those lines because no one can read your code like that.

0

Bencharles the most helpful script is longer than this site will allow. DM me on Discord ill give it to you. Disqrete#9559

0

Thx

1 answer

✓ Accepted answer

Change the player's TeamColor property to the same color of the team you want to assign the player to.

This discussion is preserved as it was. New answers, comments, and votes are closed.