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

Why can I not Interpolate the camera in a local script?

Asked by
Mystdar 352 Moderation Voter
8 years ago
wait(5)
Player = game.Players.LocalPlayer
Camera = workspace.CurrentCamera
Camera.CameraType = "Scriptable"
while true do
    for i = 1, 3 do
        Camera:Interpolate(
        CFrame.new(game.Workspace.ClassChoose.Center.Position),
        CFrame.new(Classes[i][1].Torso.Position),
        1)
        Choose(i)
        wait(5)
    end
end

No errors, just fixes the camera at a position aimed towards wherever I was looking after the wait(5)

Answer this question