Alright, so i tried to make when i hover my mouse over a part a gui show then when i hover out of the part the gui hide i tried the following script i inserted the script inside the part and the gui inside the script which is inside the part, here is the script:
function boop(Player)
if not Player.PlayerGui:FindFirstChild("Gui") then
local gui = script.Gui:clone()
gui.Parent = Player.PlayerGui
gui.LocalScript.Disabled = false
end
end
script.Parent.ClickDetector.MouseHoverEnter:connect(boop)
I also inserted a localscript inside the gui here is it:
wait(3)
script.Parent:Destroy()
It works on studio when i hover at the part the gui shows after 3 seconds it hides and when i hover again it shows again but when im in-game it shows only once and never shows again.

2 comments
http://wiki.roblox.com/index.php?title=API:Class/ClickDetector/MouseHoverEnter
http://wiki.roblox.com/index.php?title=API:Class/ClickDetector/MouseHoverLeave