Pichu7245
|
  |
| Joined: 17 May 2009 |
| Total Posts: 16489 |
|
|
| 30 Apr 2011 10:12 PM |
local bool = true if bool then function onClicked() print("Hi") bool = false end script.Parent.ClickDetector.MouseClick:connect(onClicked) else if not bool then function offClicked() print("Bye") bool = true end script.Parent.ClickDetector.MouseClick:connect(onClicked) end end |
|
|
| Report Abuse |
|
|
Rawk666
|
  |
| Joined: 10 Feb 2010 |
| Total Posts: 9638 |
|
| |
|
| |
|
| |
|
duke789
|
  |
| Joined: 15 Jul 2009 |
| Total Posts: 6704 |
|
| |
|
Pichu7245
|
  |
| Joined: 17 May 2009 |
| Total Posts: 16489 |
|
| |
|
C0MET
|
  |
| Joined: 07 Mar 2011 |
| Total Posts: 5124 |
|
|
| 30 Apr 2011 10:25 PM |
| I wouldn't be on OT if I were a scripter. |
|
|
| Report Abuse |
|
|