Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I make a script where when the mouse Hovers into a GUI the GUIs-?

  • Rest of title; Transparency will equal to 0 and when the mouse leaves the GUI its Transparency equals to 0.5?

I know this question has been answered multiple times, but I am not too sure how to make a script where when the mouse Hovers to a GUI the GUIs transparency will equal to 0, and when the mouse leaves the GUIs transparency will then equal to 0.5. I am sorry if this question isn't acceptable, doesn't explain allot, is off-topic, or is not constructive.

1 answer

TextButton = script.Parent
TextButton.MouseEnter:connect(function()
TextButton.Transparency = 0

end)

TextButton.MouseLeave:connect(function()
TextButton.Transparency = 0.5 
end)

Also here are some links to understand this from wiki.

MouseEnter

MouseLeave

1 comment

0

Wow, thanks man! This helps allot! +1

This discussion is preserved as it was. New answers, comments, and votes are closed.