-- 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(.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(.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)
