-- oi bruv do iou haw a cop o tee bai ani chance? (something british, unintelligible.)


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)
