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 |
|
|
|
| 19 Dec 2012 06:58 PM |
http://www.roblox.com/Forum/ShowPost.aspx?PostID=84692119
?
¤ † KMXD† ¤ |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
| |
|