Published On Sep 22, 2024
Script: local startSize = script.Parent.Size
local hoverSize = UDim2.new(startSize.X.Scale * 1.25, startSize.X.Offset * 1.25, startSize.Y.Scale * 1.25, startSize.Y.Offset * 1.25)
script.Parent.MouseEnter:Connect(function()
script.Parent:TweenSize(hoverSize, Enum.EasingDirection.Out, Enum.EasingStyle.Sine, 0.25, true)
end)
script.Parent.MouseLeave:Connect(function()
script.Parent:TweenSize(startSize, Enum.EasingDirection.Out, Enum.EasingStyle.Sine, 0.25, true)
end)
show more