I have this in a localscript in replicated storage:
local cam = game.Workspace.CurrentCamera
cam.CameraType = "Scriptable"
local Pos = game.Workspace.Spawn.Flower.Union.Position + Vector3.new(0,3,0)
local Target = game.Workspace.PCoin.Position
cam.CoordinateFrame=CFrame.new(Pos,Target)
I can't find any errors in the output, however the camera doesn't change like I want it to. Anything wrong here?

2 comments
I thought they could run in workspace in some cases too?
They run in the player's Character, which is in the workspace -- but that's the only place they'll run in the Workspace. Regular Script objects will run in the Workspace, but you should be placing them in ServerScriptService instead.