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

Can somebody help me with this mousenter, and mouseleave question?

Asked by 10 years ago

Can somebody help me with this mousenter, and leave question? So here it is, how do you make a script where if you put your cursor onto a GUI Button, it will make a frame visible?? Like Mousenter, and visible = true.

0
And when you move your mouse off of it the frame becomes disabled again. Wrongmistake 0 — 10y

1 answer

Log in to vote
1
Answered by
ImageLabel 1541 Moderation Voter
10 years ago
function hai()
--make me visible
end

function bai()
--make me invisible
end

script.Parent.MouseEnter:connect(hai)
script.Parent.MouseLeave:connect(bai)

Additional information MouseEnter MouseLeave

Ad

Answer this question