local l=.1 btn.MouseButton1Click:Connect(function()local Q=script.Click local x=TweenInfo.new(l,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)local V=(game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")):Create(btn,x,{Size=UDim2.new(btn.Size.X.Scale*jumpScale,btn.Size.X.Offset,btn.Size.Y.Scale*jumpScale,btn.Size.Y.Offset),Position=UDim2.new(btn.Position.X.Scale-(jumpScale-1)/2,btn.Position.X.Offset,btn.Position.Y.Scale-(jumpScale-1)/2,btn.Position.Y.Offset)})V:Play()Q:Play()V.Completed:Connect(function()btn.Size=UDim2.new(btn.Size.X.Scale/jumpScale,btn.Size.X.Offset,btn.Size.Y.Scale/jumpScale,btn.Size.Y.Offset)btn.Position=UDim2.new(btn.Position.X.Scale+(jumpScale-1)/2,btn.Position.X.Offset,btn.Position.Y.Scale+(jumpScale-1)/2,btn.Position.Y.Offset)end)end)

local jumpDuration = 0.1

btn.MouseButton1Click:Connect(function()
			-- Create the jump tween
			local Click = script.Click
			local jumpTweenInfo = TweenInfo.new(jumpDuration, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
	local jumpTween = game:GetService("TweenService"):Create(btn, jumpTweenInfo, {
		Size = UDim2.new(btn.Size.X.Scale * jumpScale, btn.Size.X.Offset,
			btn.Size.Y.Scale * jumpScale, btn.Size.Y.Offset),
		Position = UDim2.new(btn.Position.X.Scale - ((jumpScale - 1) / 2),
			btn.Position.X.Offset, btn.Position.Y.Scale - ((jumpScale - 1) / 2),
			btn.Position.Y.Offset)
			})

			-- Play the jump tween
			jumpTween:Play()
			Click:Play()

			-- Reset the button's size and position after the jump is complete
			jumpTween.Completed:Connect(function()
		btn.Size = UDim2.new(btn.Size.X.Scale / jumpScale, btn.Size.X.Offset,
			btn.Size.Y.Scale / jumpScale, btn.Size.Y.Offset)
		btn.Position = UDim2.new(btn.Position.X.Scale + ((jumpScale - 1) / 2),
			btn.Position.X.Offset, btn.Position.Y.Scale + ((jumpScale - 1) / 2),
			btn.Position.Y.Offset)
			end)
end)
