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
 

Mouse Over Gui.

Previous Thread :: Next Thread 
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
19 Dec 2012 06:55 PM
I need this script that to make it so the GUI Frame called 1stat gets visible.
and when it leaves it is invisible.

I got something that might help. They are both in the same parent.



local function entering()
print("Mouse has entered 3D GUI")
end
obj.MouseEnter:connect(entering

function leaving()
print("Mouse has left GUI")
end
GUI.MouseLeave:connect(leaving)
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
19 Dec 2012 06:58 PM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=84692119

?

¤ † KMXD† ¤
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
19 Dec 2012 09:05 PM
Just make a script that when your mouse hovers over the GUI it make the Frame called 1stat visible, and when its not on it it makes it invisible.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
19 Dec 2012 09:07 PM
I did. You posted it on the forums more than once because there was a parenthesis missing. I, and others fixed it. . .

¤ † KMXD† ¤
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
19 Dec 2012 09:07 PM
This script is the scirpt i have. IT doesent work.


local F = script.Parent.Parent.0
script.Parent.MouseEnter:connect(function()
F.Visible = true
end)

script.Parent.MouseLeave:connect(function()
F.Visible = false
end)
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
19 Dec 2012 09:08 PM
When dealing with numbers (and names with spaces), you'd have to do:

local F = script.Parent.Parent["0"]


¤ † KMXD† ¤
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
19 Dec 2012 09:09 PM
YAH IT WORKED!!!
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