Here the SCRIPT:

local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local entered = false

script.Parent.MouseEnter:connect(function()
	entered = true
	script.Parent.TextLabel.Visible = true
end)

script.Parent.MouseLeave:connect(function()
	entered = false
	script.Parent.TextLabel.Visible = false
end)

mouse.Move:connect(function()
	if entered then
		script.Parent.TextLabel.Position = UDim2.new(0,mouse.X,0,mouse.Y)
	end
end)

Why the Text Label not appear when i enter(or hover the Gui), help!

P/s : I'm not an ENGLISH expert so sorry if you don't understand ^_^

1 comment

0

Is this in a LocalScript inside of a gui that also has a label called TextLabel inside? Also, does the text label happen to be invisible? If not, are there any errors? (Also, the gui that the script is inside of has to be Visible for MouseEnter or MouseLeave to work)