Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I change the CameraSubject?

Asked by 3 years ago

Hi! I'm trying to make a script that changes the focus of a player's Camera, but can't get it to work. Here is the script:

workspace.CurrentCamera.CameraSubject = workspace.NPC.Torso

Can't get it to work. Any help would be appreciated!

0
is this in a local script or server (regular) script. it has to be in a local script FirewolfYT_751 223 — 3y
0
really?? wow its in a script lemme test it mine_theblocks 23 — 3y
0
ok, its in a local script now, but it won't run! How do I run it? mine_theblocks 23 — 3y
0
LocalScripts cannot run in wherever a server Script can. Check here: https://developer.roblox.com/en-us/api-reference/class/LocalScript Y_VRN 246 — 3y

Answer this question