of     2   
chevron_rightchevron_rightchevron_right

Cheeso135
#138987088Wednesday, July 02, 2014 4:03 PM GMT

Any way would work. I have looked everywhere online. A step on brick to go to this team, or a choose spawn/team GUI…Anything!
Cheeso135
#138987570Wednesday, July 02, 2014 4:08 PM GMT

b1
Cheeso135
#138987860Wednesday, July 02, 2014 4:11 PM GMT

b2
Cheeso135
#138988033Wednesday, July 02, 2014 4:14 PM GMT

b3
Cheeso135
#138988468Wednesday, July 02, 2014 4:19 PM GMT

b4
Cheeso135
#138988792Wednesday, July 02, 2014 4:23 PM GMT

b5
Cheeso135
#138994381Wednesday, July 02, 2014 5:19 PM GMT

b7
Cheeso135
#138994797Wednesday, July 02, 2014 5:23 PM GMT

b6 should be b7
Cheeso135
#139110412Thursday, July 03, 2014 4:43 PM GMT

b8
Cheeso135
#139117174Thursday, July 03, 2014 5:48 PM GMT

b9
Cheeso135
#139120773Thursday, July 03, 2014 6:22 PM GMT

b10
LegitimateBuisness
#139121228Thursday, July 03, 2014 6:26 PM GMT

local newteam = BrickColor.new("Color here"); script.Parent.Touched:connect(function(h) if h.Parent and h.Parent.Humanoid then local p = game.Players:getPlayerFromCharacter(h.Parent); if p then p.TeamColor = newteam; end; end; end);
Cheeso135
#139126400Thursday, July 03, 2014 7:03 PM GMT

Paste that into the brick that I use for team choosing? Or do I just put that script into workspace?
LegitimateBuisness
#139126523Thursday, July 03, 2014 7:04 PM GMT

Put that into a script that's in a brick. Workspace --> Brick --> Script
Cheeso135
#139202702Friday, July 04, 2014 10:42 AM GMT

Does not work. For the "Color Here" I put Navy Blue (team color) but when I step on that brick, I do not go to that team.
AnonyAnonymous
#139202844Friday, July 04, 2014 10:48 AM GMT

Since you want "Anything", I'll give you something so here you go, Teams = game.Teams:GetChildren() TeamSelector = math.random[1, #Teams] TeamChosen = Teams[TeamSelector] game.Players.PlayerAdded:connect(function(Player) Player.TeamColor = BrickColor.new(TeamChosen.TeamColor) end)
Cheeso135
#139203389Friday, July 04, 2014 11:09 AM GMT

Im a noob so what do I do with that script lol?
AnonyAnonymous
#139203556Friday, July 04, 2014 11:15 AM GMT

Once a player joins, it would basically just randomly select a team for them based on the available teams.
Cheeso135
#139203603Friday, July 04, 2014 11:17 AM GMT

I don't want it to be random. I want a Team Choosing GUI or I want a script that you put into a brick where when you touch that brick, you go to a specific team.
AnonyAnonymous
#139203891Friday, July 04, 2014 11:27 AM GMT

Place this in something such as a TextButton, script.Parent.MouseButton1Click:connect(function(Clicker) Player = game.Players:FindFirstChild(Clicker.Name) Clicker.TeamColor = BrickColor.new("TeamColorHere) end)
Cheeso135
#139203916Friday, July 04, 2014 11:28 AM GMT

So create a GUI, add a text button, and insert into the text button?
AnonyAnonymous
#139203970Friday, July 04, 2014 11:29 AM GMT

Insert a script into the TextButton and add that inside the script.
Quasiduck
#139207360Friday, July 04, 2014 1:05 PM GMT

Why not just use a spawnlocation and set AllowTeamChangeOnTouch to true?
Cheeso135
#139211212Friday, July 04, 2014 2:21 PM GMT

GUI does not work. Just tell me step by step (please) how to make it so that when a brick is touched, you go to a specific team.
AnonyAnonymous
#139212581Friday, July 04, 2014 2:43 PM GMT

Alright Part = game.Workspace.Part --We create a variable which now contains the value of a path leading directly to the brick named "Part" in Workspace. Part.Touched:connect(function(Toucher) if Toucher.Parent and Toucher.Parent:FindFirstChild("Humanoid") then Player = game.Players:FindFirstChild(Toucher.Parent.Name) Player.TeamColor = BrickColor.new(TeamColorHere) end end) --We used the .Touched:connect() event to create a brand new function, we then use if statements to check whether the part touching the brick has a parent and if the parent has a humanoid if it does then we use the FindFirstChild() method to see if a player matches the parent's name in players, if it does then we set that player's TeamColor to the BrickColor matching that specific team.

    of     2   
chevron_rightchevron_rightchevron_right