For some reason, if my mouse leaves the gui before it has finished tweening it does not tween back, and it stays tweened out, some help would be appreciated.
local hover = false
script.Parent.MouseEnter:connect(function()
if not hover then
script.Parent:TweenPosition(UDim2.new(0, 0, 0.74, 0), "Out", "Sine", 0.2)
hover = true
end
end)
script.Parent.MouseLeave:connect(function()
hover = false
script.Parent:TweenPosition(UDim2.new(-0.095, 0, 0.74, 0), "Out", "Sine", 0.2)
end)
