local d=script.Parent.Up local M=script.Parent.Down local b=d.CFrame local f=M.CFrame local t=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local v=false local w=Instance.new("\067\108\105\099\107\068\101\116\101\099\116\111\114",d)w.MaxActivationDistance=4 local h=Instance.new("\067\108\105\099\107\068\101\116\101\099\116\111\114",M)h.MaxActivationDistance=4 w.MouseClick:Connect(function()if not v then v=true local M=t:Create(d,TweenInfo.new(.1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,true,0),{CFrame=b*CFrame.new(-0.04,0,0)})M.Completed:Connect(function()v=false end)M:Play()end end)h.MouseClick:Connect(function()if not v then v=true local d=t:Create(M,TweenInfo.new(.1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,true,0),{CFrame=f*CFrame.new(-0.04,0,0)})d.Completed:Connect(function()v=false end)d:Play()end end)


local up = script.Parent.Up
local down = script.Parent.Down
local cf1 = up.CFrame
local cf2 = down.CFrame

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

local CD1 = Instance.new("ClickDetector",up)
CD1.MaxActivationDistance = 4
local CD2 = Instance.new("ClickDetector",down)
CD2.MaxActivationDistance = 4

CD1.MouseClick:Connect(function()
	if not deb then
		deb = true
		local s = TS:Create(up,TweenInfo.new(.1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,true,0),{CFrame = cf1*CFrame.new(-.04,0,0)})
		s.Completed:Connect(function()
			deb = false
		end)
		s:Play()
	end
end)

CD2.MouseClick:Connect(function()
	if not deb then
		deb = true
		local s = TS:Create(down,TweenInfo.new(.1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,true,0),{CFrame = cf2*CFrame.new(-.04,0,0)})
		s.Completed:Connect(function()
			deb = false
		end)
		s:Play()
	end
end)
