local lplayer = game.Players.LocalPlayer
repeat wait() until lplayer.Character
local Players = game:GetService("Players")
local target = lplayer.Character.Torso
local cam = workspace.CurrentCamera
cam.CameraSubject = target
cam.CameraType = "Scriptable"
cam.CoordinateFrame = CFrame.new(30,30,30)
local angle = 0
for i,v in pairs(lplayer.Character.Torso:GetChildren()) do
if v:IsA("Part") and v.Name == "Blocky" then
local newtarget = lplayer.Character.Torso.Blocky
while wait() do
cam.CoordinateFrame = CFrame.new(newtarget.Position) * CFrame.Angles(0, angle, 0) * CFrame.new(0, 0, 5)
angle = angle + math.rad(1)
end
end
end
It doens't focus on "Blocky" which is a 2x2x2 cube that's child of Torso.
** Edit **Blocky is not a valid member of Part ** It's a local script **

1 comment
Have you tried CFrame.new(0, 0, -5)?