SO! Im trying to make a gui go downwards when you hover-over it.. But if you move your mouse to fast the MouseLeave event can sometimes be skipped so.. I was wondering if there is something that I am doing wrong or if there is a different function I should be using. Thanks! c:

for i,x in pairs(script.Parent:GetChildren()) do
	if x:IsA("ImageButton") then
		local debounce = false
		x.MouseEnter:connect(function()
			if debounce == false then
				x:TweenPosition(UDim2.new(x.Position.X.Scale,0,0.2,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,0.05)
			end
		end)
		x.MouseLeave:connect(function()
			if debounce == false then
				x:TweenPosition(UDim2.new(x.Position.X.Scale,0,0.075,0),Enum.EasingDirection.In,Enum.EasingStyle.Linear,0.05)
			end
		end)
	end
end