function MouseEntered()
local T = game.Players:GetPlayerFromCharacter(MouseEntered.Parent).PlayerGui.ScreenGui.Cursor.Text
T.Text = T.text.new("a")
T.Visible = true
end
function MouseLeft()
local T = game.Players:GetPlayerFromCharacter(MouseLeft.Parent).PlayerGui.ScreenGui.Cursor.Text
T.Text = T.text.new("Lable")
T.Visible = false
end
script.Parent.ClickDetector.MouseHoverEnter:connect(MouseEntered)
script.Parent.ClickDetector.MouseHoverLeave:connect(MouseLeft)
It says
20:41:25.192 - Workspace.object.food.Script:24: attempt to index global 'MouseLeft' (a function value)
20:41:25.192 - Workspace.object.food.Script:24: attempt to index global 'MouseEntered' (a function value)

2 comments
I was typing this before Goulstems answer showed up, so didn't realize. His is pretty much the same :P
Your answer is good too! :D