|
| 10 Apr 2013 10:16 AM |
I just Cant Make One Can Someone Make One If the Have BC+ They Will get 1,300 Tix And If Not Chief Of Army In My Group T.S.A.O.R
Note:This Team Changer GUI If For T.S.A.O.R |
|
|
| Report Abuse |
|
|
Regress
|
  |
| Joined: 23 Jul 2011 |
| Total Posts: 119 |
|
|
| 10 Apr 2013 10:20 AM |
script.Parent.MouseButton1Click:connect(function() script.Parent.Parent.Parent.Character.Humanoid.Health = 0 script.Parent.Parent.Parent.TeamColor = Color.new("ColorHere") end)
This would work for a button directly in the ScreenGui object, change the ("ColorHere") for new team colors.
http://wiki.roblox.com/index.php/BrickColor_Codes |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2013 10:20 AM |
(Make 2 gui's that says change team)
gui = script.Parent
function clk() local player = game.Players.LocalPlayer local character = player.Character character:MoveTo(Vector3.new()) --Put the position of the other team location in the () end
script.Parent.MouseButton1Click:connect(clk)
That's it
(P.S: Put it in a LocalScript) |
|
|
| Report Abuse |
|
|
Regress
|
  |
| Joined: 23 Jul 2011 |
| Total Posts: 119 |
|
|
| 10 Apr 2013 10:25 AM |
| Only trouble with that, Striker.. is that people use it to retreat near death. |
|
|
| Report Abuse |
|
|
| |
|