local z=script.Parent.Button1.ClickDetector local h=script.Parent.Button2.ClickDetector local U=script.Parent.Button3.ClickDetector local k=false local V=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")function Press(z)if not k then k=true local h=V:Create(z,TweenInfo.new(.1,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false),{CFrame=z.CFrame*CFrame.new(0,0,.045)})h.Completed:Connect(function()local h=V:Create(z,TweenInfo.new(.1,Enum.EasingStyle.Sine,Enum.EasingDirection.In,0,false),{CFrame=z.CFrame*CFrame.new(0,0,-0.045)})h.Completed:Connect(function()k=false end)h:Play()end)h:Play()end end z.MouseClick:Connect(function()Press(z.Parent)end)h.MouseClick:Connect(function()Press(h.Parent)end)U.MouseClick:Connect(function()Press(U.Parent)end)
-- this script doesn't actually give out anything.

local B1 = script.Parent.Button1.ClickDetector
local B2 = script.Parent.Button2.ClickDetector
local B3 = script.Parent.Button3.ClickDetector
local deb = false
local TS = game:GetService("TweenService")
function Press(button)
	if not deb then
		deb = true
		local start = TS:Create(
			button,
			TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0, false),
			{ CFrame = button.CFrame * CFrame.new(0, 0, 0.045) }
		)
		start.Completed:Connect(function()
			local End = TS:Create(
				button,
				TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0, false),
				{ CFrame = button.CFrame * CFrame.new(0, 0, -0.045) }
			)
			End.Completed:Connect(function()
				deb = false
			end)
			End:Play()
		end)
		start:Play()
	end
end

B1.MouseClick:Connect(function()
	Press(B1.Parent)
end)
B2.MouseClick:Connect(function()
	Press(B2.Parent)
end)
B3.MouseClick:Connect(function()
	Press(B3.Parent)
end)
