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!

4 comments

0

is this in a local script or server (regular) script. it has to be in a local script

0

really?? wow its in a script lemme test it

0

ok, its in a local script now, but it won't run! How do I run it?

0

LocalScripts cannot run in wherever a server Script can. Check here: https://developer.roblox.com/en-us/api-reference/class/LocalScript