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

Gui doesn't tween when leaving mouse ?

Asked by
Bulvyte 388 Moderation Voter
7 years ago
local gui = script.Parent
local function leaving()
script.Parent.Parent.Frame.Visible = false
gui:TweenPosition(UDim2.new(0,0,0.1,0),"In")
end
local function entering()
script.Parent.Parent.Frame.Visible = true
gui:TweenPosition(UDim2.new(0.04,0,0.1,0),"Out")
end
gui.MouseLeave:connect(leaving)
gui.MouseEnter:connect(entering)

As the title says

0
Anyone?.. Bulvyte 388 — 7y
0
MouseLeave doesn't always trigger. GoldenPhysics 474 — 7y

Answer this question