Nasadaws
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 4443 |
|
|
| 26 Sep 2009 03:04 PM |
bin = script.Parent an = script.Parent.Parent.Parent.GuiMain.Frame.TestGui
bin.Selected:connect(function (m) m.Button1Down:connect(function () if m.Target.className == "Part" then if m.Target.Anchored == true then an.Anchored.Text = "True" elseif an.Anchored.Text = "False" end end end) end)
|
|
|
| Report Abuse |
|
|
|
| 26 Sep 2009 03:07 PM |
| well, the Paths may be wrong, and you forgot to check if m.Target~=nil then |
|
|
| Report Abuse |
|
|
Nasadaws
|
  |
| Joined: 13 Feb 2008 |
| Total Posts: 4443 |
|
| |
|