local brick = script.Parent local cd = script.Parent.ClickDetector local RD = script.Parent.Parent.Door1.RD local LD = script.Parent.Parent.Door1.LD local RDS = script.Parent.Parent.Door1.RDS local LDS = script.Parent.Parent.Door1.LDS Debounce = false function onMouseClick(cd) if Debounce == false then LD.Position = Vector3.new(-27.251,5.37,-4.394) -- I want -4.394 run all the way to 0.476-- end end cd.MouseClick:connect(onMouseClick)
Fixed the 12th Line.
LD.CFrame = CFrame.new(-27.251,5.37,-4.394)