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 make an auto join script?

How do I make an auto join script so when you join the game you're already on the exact team connected with the group on the roblox website?

1 answer

✓ Accepted answer
game.Players.PlayerAdded:connect(function(np)--gets the new player, firing when they join.
	if np:IsInGroup(782820)then--finds if the player is in the group.
		np.TeamColor=BrickColor.new("Cyan")--sets the players team color.
	end
end)

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