LV1Z
|
  |
| Joined: 23 Jul 2011 |
| Total Posts: 652 |
|
|
| 27 Sep 2013 02:03 PM |
| Mouse hover over a textbutton, I want a function to run if that happens :) |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 27 Sep 2013 02:04 PM |
textbutton.MouseEnter:connect(function() print("LOL") end)
textbutton.MouseLeave:connect(function() print("WAT") end) |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2013 02:05 PM |
^ Put that in a local script for improved performance.
-Believe and you will achieve- |
|
|
| Report Abuse |
|
|
LV1Z
|
  |
| Joined: 23 Jul 2011 |
| Total Posts: 652 |
|
|
| 27 Sep 2013 02:06 PM |
| would you guys suggest that I make everything GUI related in a local script? |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2013 02:58 PM |
That wouldn't harm anything. I consider that as a good idea.
-Believe and you will achieve- |
|
|
| Report Abuse |
|
|