local A=Button.Size.X.Scale local N=Button.Size.Y.Scale Button.MouseEnter:Connect(function(E,I)Button:TweenSize(UDim2.new(A+.01,0,N+.01,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,.2,true)end)Button.MouseLeave:Connect(function(E,I)Button:TweenSize(UDim2.new(A,0,N,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,.2,true)end)Button.MouseButton1Down:Connect(function(E,I)Button:TweenSize(UDim2.new(A-.01,0,N-.01,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,.15,true)end)Button.MouseButton1Up:Connect(function(E,I)Button:TweenSize(UDim2.new(A+.01,0,N+.01,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,.15,true)end)

local ButtonSX = Button.Size.X.Scale
local ButtonSY = Button.Size.Y.Scale

Button.MouseEnter:Connect(function(x,y)
	--HolaMousee
	Button:TweenSize(
		UDim2.new(ButtonSX + 0.010 , 0,ButtonSY + 0.010 , 0),
		Enum.EasingDirection.Out,
		Enum.EasingStyle.Back,
		0.2,
		true
	)
end)

Button.MouseLeave:Connect(function(x,y)
	--AdiosMousee
	Button:TweenSize(
		UDim2.new(ButtonSX, 0,ButtonSY, 0),
		Enum.EasingDirection.Out,
		Enum.EasingStyle.Back,
		0.2,
		true
	)
end)

Button.MouseButton1Down:Connect(function(x,y)
	--Holding mouse
	Button:TweenSize(
		UDim2.new(ButtonSX - 0.010 , 0,ButtonSY - 0.010, 0),
		Enum.EasingDirection.Out,
		Enum.EasingStyle.Back,
		0.15,
		true
	)
end)

Button.MouseButton1Up:Connect(function(x,y)
	--Holding mouse
	Button:TweenSize(
		UDim2.new(ButtonSX + 0.010 ,0, ButtonSY + 0.010, 0),
		Enum.EasingDirection.Out,
		Enum.EasingStyle.Back,
		0.15,
		true
	)
end)
