I'm creating game wheree I want to add to team someone when they joined the game. But how? Wwhen I'm adding myself in Developer team, when I pressed start, my team changed to "Survivor"(this is basic team). Help, please. Script or something else. Also, can I know where I need put script, local or no.
local Player = game.Players:GetPlayerFromCharacter(hit.Parent) if Player.Name == "Fefefefe234" or "YOLOchickenBRO" then Player.Team = game.Teams.Developers end
I think you can just make it
local Player = game.Players:GetPlayerFromCharacter(hit.Parent) If Player.Name == "YourName" then Player.Team = "Developers" / Player.TeamColor = BrickColor.new("COLOR OF TEAM") end
Hope this helped :)