generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: When the mouse is over a button.

Previous Thread :: Next Thread 
Boopbot is not online. 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
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
06 Jul 2011 07:07 PM
.MouseEnter
.MouseLeave
Report Abuse
Boopbot is not online. 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
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
06 Jul 2011 07:09 PM
script.Parent.MouseEnter:connect(function()
end)
Report Abuse
Shobobo99 is not online. 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
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
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
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
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
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
06 Jul 2011 07:20 PM
He's legendary?
Report Abuse
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
06 Jul 2011 07:21 PM
He has 2.6 million place visits, I would think thats very legendary.
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
06 Jul 2011 07:22 PM
Oh, never knew that. I helped him first! :P
Get outta here ThisIsSPORE :P
Report Abuse
Shobobo99 is not online. 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
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
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
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
06 Jul 2011 07:23 PM
@Shobo

You also have to know he created Kingdom life and kingdom life 2.
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
06 Jul 2011 07:23 PM
What's your main?
Report Abuse
ThisIsSPORE is not online. ThisIsSPORE
Joined: 24 Jun 2011
Total Posts: 2402
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image