-- so long, ___ bowser!


local deb = false
local TS = game:GetService("TweenService")

for i,v in pairs(script.Parent:GetChildren()) do
	if v.Name == "Button" then
		local CD = Instance.new("ClickDetector",v)
		CD.MaxActivationDistance = 5
		CD.MouseClick:Connect(function()
			if not deb then
				deb = true
				local anim = TS:Create(v,TweenInfo.new(.08,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,true,0),{CFrame = v.CFrame * CFrame.new(-.05,0,0)})
				anim.Completed:Connect(function()
					deb = false
				end)
				anim:Play()
			end
		end)
	end
end
