archie229
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 140 |
|
|
| 05 Apr 2014 03:29 PM |
Hi,
I want to make a team changer GUI, and i don't know how to make the script, so how do i? For a example, dark stone grey is one of the team colours. So could someone give me the script to put in the button?
~archie229 |
|
|
| Report Abuse |
|
|
archie229
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 140 |
|
| |
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 05 Apr 2014 03:40 PM |
There are countless free models that you can look at and examine so you can improve your own scripts, but since that's too hard for you, here you go.
script.Parent.MouseButton1Click:connect(function() -- Put change color code here. |
|
|
| Report Abuse |
|
|
acecateer
|
  |
| Joined: 05 Nov 2011 |
| Total Posts: 128 |
|
|
| 05 Apr 2014 03:49 PM |
--LocalScript inside button plr = Game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() plr.TeamColor = BrickColor.new("Dark stone grey") end) |
|
|
| Report Abuse |
|
|