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

How can i fix the TextLabel not closing down after moving my mouse off the text button?

Asked by 5 years ago

So, right now im having issues with text not closing down with the code i have right now.

local mouse = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.TextLabel script.parent.MouseEnter:Connect(function() mouse.Visible = true end) script.parent.MouseLeave:Connect(function() mouse.visible = false end)

the issue is when i take the mouse off the button the text label just doesn't close down? how could i fix this?

0
figured it out GucciusGangius 2 — 4y

1 answer

Log in to vote
0
Answered by 5 years ago

Thats becouse you can only change the players Gui Though a local script in side of the gui that you are trying to change for a exsample

-- Make Sure To Place this in a local script Under The gui
local Gui = Find the Button
Gui.MouseEnter:Connect(function()
end
Gui.MouseLeave:Connect(function()
end

I Have Fixed the Script For You PS: You Can Only change a Gui though a local script Unless you use a Remote Function

0
sadly, this didnt work, what i am trying to do though is to make text pop up when ever i hover over a button GucciusGangius 2 — 5y
0
It Dose Work You Just don't understand it EffilnuC 7 — 5y
Ad

Answer this question