I am trying to use divide to make my camera limitation which makes my camera not go really far but it just went really far
game:GetService("RunService").RenderStepped:Connect(function()--Up Barrier
Mouse.Idle:Connect(function()
if Mouse.Y <= -34 then
local MoveVector = Vector3.new(0,(34*2) , 0)/500 -- The part that i said
Camera.CFrame = DefaultCFrame * CFrame.new(DefaultCFrame.p + MoveVector)
DefaultCFrame = CFrame.new(DefaultCFrame.p + MoveVector)
print(DefaultCFrame)
end
end)
end)

1 comment
line 5, you essentially squared the default cframe.