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)

3 comments

0

The code looks valid. Does the output say anything?

0

Basically, that is it.

0

Make sure this is a local script and all your paths are correct and the script is not disabled.