generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: I need help changing a player's team through a GUI.

Previous Thread :: Next Thread 
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
15 Dec 2014 04:42 PM
What am I doing wrong? I know that its around the player.TeamColor part because "Joined" never prints. Would you mind helping me out some?

script.Parent.MouseButton1Down:connect(function()
script.Parent.Text = ("Joined!")
print ("Joining")
player.TeamColor = ("Bright blue")
print ("Joined")
player = game.Players.LocalPlayer
wait (1)
script.Parent.Parent.Visible = false
end)
Report Abuse
Frigidem is not online. Frigidem
Joined: 16 Oct 2013
Total Posts: 1301
15 Dec 2014 04:51 PM
player = game.Players.LocalPlayer

script.Parent.MouseButton1Down:connect(function()
script.Parent.Text = ("Joined!")
print ("Joining")
player.TeamColor = ("Bright blue")
print ("Joined")
wait (1)
script.Parent.Parent.Visible = false
end)


TSV Developer || http://www.roblox.com/Forum/ShowPost.aspx?PostID=151366302
Report Abuse
Frigidem is not online. Frigidem
Joined: 16 Oct 2013
Total Posts: 1301
15 Dec 2014 04:53 PM
player = game.Players.LocalPlayer

script.Parent.MouseButton1Down:connect(function()
script.Parent.Text = ("Joined!")
print ("Joining")
player.TeamColor.BrickColor = BrickColor.new("Bright blue")
print ("Joined")
wait (1)
script.Parent.Parent.Visible = false
end)


TSV Developer || http://www.roblox.com/Forum/ShowPost.aspx?PostID=151366302
Report Abuse
Frigidem is not online. Frigidem
Joined: 16 Oct 2013
Total Posts: 1301
15 Dec 2014 04:55 PM
player = game.Players.LocalPlayer

script.Parent.MouseButton1Down:connect(function()
script.Parent.Text = ("Joined!")
print ("Joining")
player.TeamColor = BrickColor.new("Bright blue")
print ("Joined")
wait (1)
script.Parent.Parent.Visible = false
end)


TSV Developer || http://www.roblox.com/Forum/ShowPost.aspx?PostID=151366302
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
15 Dec 2014 04:58 PM
I fixed it myself. Thanks anyway.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image