3rdblox
|
  |
| Joined: 09 Dec 2012 |
| Total Posts: 4741 |
|
|
| 24 Aug 2014 07:38 AM |
I want to do everything in two scripts, one for the server and one for the client. As I send in and remove GUIs, I need to make the client stop listening for events. How could I do that without error?
Prevent account hijacking: http://www.roblox.com/Forum/ShowPost.aspx?PostID=140591710 |
|
|
| Report Abuse |
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 24 Aug 2014 07:57 AM |
| Have a boolean for whether or not each event is active? |
|
|
| Report Abuse |
|
breuning
|
  |
| Joined: 30 Oct 2008 |
| Total Posts: 4268 |
|
|
| 24 Aug 2014 08:01 AM |
event = guibutton.MouseButton1Click:connect(function() --stuff here end)
event:disconnect() |
|
|
| Report Abuse |
|