while wait() do
local pos = Vector3.new(0, 10, 0)
local RandomizerX = math.random(-1,1)
local RandomizerY = math.random(-1,1)
local RandomizerZ = math.random(-1,1)
local lookAt = Vector3.new((workspace.CurrentCamera.CFrame + RandomizerX), 0, (workspace.CurrentCamera.CFrame + RandomizerZ))
local cameraCFrame = CFrame.new(pos, lookAt)
workspace.CurrentCamera.CFrame = cameraCFrame
end
Error:
18:45:12.756 - Players.Thesquid13.PlayerGui.LocalScript:8: bad argument #2 to '?' (Vector3 expected, got number)
18:45:12.756 - Stack Begin
18:45:12.757 - Script 'Players.Thesquid13.PlayerGui.LocalScript', Line 8
18:45:12.757 - Stack End
