|
| 10 Nov 2012 12:48 PM |
local team = game.Teams:findFirstChild("Allies")
local button = script.Parent local player = script.Parent.Parent.Parent.Parent.Parent
function onClicked() player.TeamColor = team.TeamColor player.Character:BreakJoints() end button.MouseButton1Down:connect(onClicked)
Is there a problem with this script? |
|
|
| Report Abuse |
|
|
crouton04
|
  |
| Joined: 07 Jul 2010 |
| Total Posts: 4459 |
|
|
| 10 Nov 2012 12:57 PM |
Is it a switch team? Or join team? and where in the gui or whatever it's in is it? You might be off with the parents. And I need an output to help you.. |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2012 01:01 PM |
That seems to me that it would work, how about trying it out?
~ thedeathmaster01 ~ |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2012 11:42 AM |
It is a switch team script but when I tried it, it wouldn't work. I tried it in a screen GUI for a switch team button I gut them in the starter GUI catagorie. Am I doing something wrong?
|
|
|
| Report Abuse |
|
|
BOZZSYLUX
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 3567 |
|
|
| 17 Nov 2012 11:45 AM |
| Post what output says else im kinda clueless aswel. |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2012 05:26 PM |
Here is the output
Teams is not a valid member of DataModel 16:25:52 - Script "Workspace.Script", Line 1 16:25:52 - stack end
This is when it is just in the workspace if you want I can put it in a screen GUI |
|
|
| Report Abuse |
|
|