Not work caerma move like glitch

wait(0) c = http://workspace.Camera c.CameraType = “Scriptable” c:Interpolate(http://CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + script.Configurations.CamInfo.Value),game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame,0.2) wait(0) while true do wait(0) if script.Configurations.CamType.Value == 1 then c.CameraType = “Scriptable” c:Interpolate(http://CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + script.Configurations.CamInfo.Value),game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame,0.2) elseif script.Configurations.CamType.Value == 1 then c.CameraType = “Scriptable” c:Interpolate(http://CFrame.new(script.Configurations.CamInfo.Value.X,script.Configurations.CamInfo.Value.Y,script.Configurations.CamInfo.Value.Z),game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame,0.2) end end

making new camera and set it to old cframe might work

i don’t know how it’s work :confused:

This was formated very weird but after some time and error-fixing I managed to beautify it:

wait(0)
c = workspace.Camera
c.CameraType = "Scriptable"
c:Interpolate(CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + script.Configurations.CamInfo.Value), game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame, 0.2)

wait(0)
while true do
    wait(0)
    if script.Configurations.CamType.Value == 1 then
        c.CameraType = "Scriptable"
        c:Interpolate(
        CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + script.Configurations.CamInfo.Value), game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame, 0.2)
    elseif script.Configurations.CamType.Value == 1 then
        c.CameraType = "Scriptable"
        c:Interpolate(
        CFrame.new(script.Configurations.CamInfo.Value.X, script.Configurations.CamInfo.Value.Y, script.Configurations.CamInfo.Value.Z), game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame, 0.2)
    end
end

Tell me if this worked :smile:

2 Likes