Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a GUI appear when my mouse hovers over another GUI?

Asked by 9 years ago

Apologies for my lack of scripting skills, but I would like it so that when my mouse enters a GUI, that two more GUIs appear next to it. I've got the GUI part down, I just need a script that makes the two appear when I hover my mouse over the first one.

This is what I have so far.

A = script.Parent
B = script.Parent.Parent.Regen
C = script.Parent.Parent.Teleport
A.MouseEnter:connect(function()
B.Visible = true
C.Visible = true

end)

A.MouseLeave:connect(function()
B.Visible = false
C.Visible = false
end)
0
The code looks valid. Does the output say anything? noliCAIKS 210 — 9y
0
Basically, that is it. Tesouro 407 — 9y
0
Make sure this is a local script and all your paths are correct and the script is not disabled. Perci1 4988 — 9y

Answer this question