This post is already up for 40 minutes /: so i get it for him, but i would not really say it like that out loud
(The thing he said i mean (Firtina001))
That could be some problem in the animation handling i think.
I got an new idea! U could weld it to the torso of an player (HumanoidRootPart)
And just put the position to the head. U could try that
local Run = game:GetService("RunService")
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local HRP = Character:WaitForChild("HumanoidRootPart")
local Camera = workspace.CurrentCamera
local function ManipCamera(Delta)
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = CFrame.new(HRP.Position) * CFrame.Angles(0, math.rad(HRP.Orientation.Y), 0) * CFrame.new(0, 2.5, -1.5)
end
Run.RenderStepped:Connect(ManipCamera)
cam.CameraType = Enum.CameraType.Scriptable
cam.CameraSubject = campart
repeat
task.wait()
cam.CFrame = campart.CFrame
load.Stopped:Connect(function() playing = false end)
until not playing
cam.CameraSubject = script.Parent.Humanoid
cam.CameraType = Enum.CameraType.Custom
cam.CFrame = script.Parent.Head.CFrame
campart is a part created by a serverside script. load is the animation itself. playing is a boolean to see if the animation is playing. I used a repeat loop to set the CFrame of the camera to the camera part until the animation stopped. I think the problem was the CameraSubject. Thanks, everyone, for your help.