local L=false local c=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")for U,M in pairs(script.Parent:GetChildren())do if M.Name=="\066\117\116\116\111\110"then local U=Instance.new("\067\108\105\099\107\068\101\116\101\099\116\111\114",M)U.MaxActivationDistance=5 U.MouseClick:Connect(function()if not L then L=true local U=c:Create(M,TweenInfo.new(.08,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,true,0),{CFrame=M.CFrame*CFrame.new(-0.05,0,0)})U.Completed:Connect(function()L=false end)U:Play()end end)end end


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
