Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Simple camera manipulation script isn't working?

Asked by 3 years ago

I double checked everything in this script, I'm not sure why it's not working. I get a warning in the output that says "ActivateCameraController did not select a module."

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Camera = workspace.CurrentCamera

repeat wait()
    Camera.CameraType = Enum.CameraType.Scriptable
until Camera.CameraType == Enum.CameraType.Scriptable
Camera.CFrame = workspace.CameraPart.CFrame
0
why not just type "Camera.CameraType = blah blah blah" instead of using that repeat loop? spunargar -6 — 3y
0
You want to set the camera type to scriptable? xXLegendGamerz16Xx 231 — 3y
0
Perhaps also set the camera's camera subject xXLegendGamerz16Xx 231 — 3y

Answer this question