I’m trying to make the camera face my npc named A but it won’t work Here is my script
local npc = workspace.A
local camera = workspace.currentcamera
Camera.cameratype = enum.cameratype.scriptable
I’m trying to make the camera face my npc named A but it won’t work Here is my script
local npc = workspace.A
local camera = workspace.currentcamera
Camera.cameratype = enum.cameratype.scriptable
local npc = workspace.A
local camera = workspace.CurrentCamera
Camera.CameraType = enum.cameratype.scriptable
Camera.CameraSubject = npc.Humanoid
you forgot the camera subject. and easier way to format things is to use the "code block" font by pressing the lua icon when making Q's and A's
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Why will it not work any ideas
Could someone help
You are missing the part where the script make the camera face the npc, all you did is setting 2 variables and changing the property of the camera