Boopbot
|
  |
| Joined: 11 Jul 2008 |
| Total Posts: 2284 |
|
|
| 06 Jul 2011 07:06 PM |
| How can you make a script know when the mouse is hovering over a button? |
|
|
| Report Abuse |
|
|
| |
|
Boopbot
|
  |
| Joined: 11 Jul 2008 |
| Total Posts: 2284 |
|
|
| 06 Jul 2011 07:08 PM |
| Ok, how would I use that in a function? |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2011 07:09 PM |
script.Parent.MouseEnter:connect(function() end) |
|
|
| Report Abuse |
|
|
Shobobo99
|
  |
| Joined: 30 Dec 2008 |
| Total Posts: 5754 |
|
|
| 06 Jul 2011 07:14 PM |
local on = false
button.MouseEnter:connect(function() on = true end) button.MouseLeave:connect(function() on = false end) |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2011 07:15 PM |
x = script.Parent.Parent.Test function onMouseEnter() x.Visible = true end
function onMouseLeave() x.Visible = false end
script.Parent.MouseEnter:connect(onMouseEnter) script.Parent.MouseLeave:connect(onMouseLeave) |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2011 07:17 PM |
| I'm saving this thread so I can spam your games saying I helped the "legendary" boopbot. |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Jul 2011 07:21 PM |
| He has 2.6 million place visits, I would think thats very legendary. |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2011 07:22 PM |
Oh, never knew that. I helped him first! :P Get outta here ThisIsSPORE :P |
|
|
| Report Abuse |
|
|
Shobobo99
|
  |
| Joined: 30 Dec 2008 |
| Total Posts: 5754 |
|
|
| 06 Jul 2011 07:22 PM |
@ThisIsSPORE
jaredvaldez2 has over 8 million place visits but I don't think you would call him legendary. |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2011 07:22 PM |
But you didn't give him the complete function, I just stole that script after on of my tests for my main, that's currently banned. :3
|
|
|
| Report Abuse |
|
|
|
| 06 Jul 2011 07:23 PM |
@Shobo
You also have to know he created Kingdom life and kingdom life 2. |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Jul 2011 07:27 PM |
It's a funny name, but it's:
ThePlaceScripter
I get unbanned at like 6:00:00 East coast american time. |
|
|
| Report Abuse |
|
|