so i'm making an animation, from a dummy POV (camera is set to dummy head). I'm not so experienced in scripting so i thought i would ask here.
how would i do that? i tried using cframe but it doesnt work.
local camera = game.Workspace.CurrentCamera
local dum = workspace.Dummy.Head
game.ReplicatedStorage.SetHeadToDummy.OnClientEvent:Connect(function()
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = dum
end)

3 comments
tried firing the remote event via the developer bar, doesnt seem to work. do i need to put the local script in a certain location?
I put it in starter character scripts and tested it. Worked fine for me.
oh. thank you. i had it in the wrong location.