So i want it to bounce sideways when you hover over the gui. but the tween is slow and doesnt bounce
for i,gui in pairs(script.Parent:GetChildren()) do
if gui:IsA("Frame") then
gui.MouseEnter:connect(function()
gui:TweenPosition(UDim2.new(-.02,0,gui.Position.Y.Scale,0,"Out"
,"Elastic",.5,true))
end)
gui.MouseLeave:connect(function()
gui:TweenPosition(UDim2.new(-0.039,0,gui.Position.Y.Scale,0,"Out"
,"Elastic",.5,true))
end)
end
end
EDIT: Changing the speed seems to do nothing

1 comment
THANKS! Never would have guessed!