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?
LocalScripts won't run in ReplicatedStorage (it's storage -- things aren't supposed to be running in there)
LocalScripts will run in three places:
That makes it the easiest to drop it into the StarterGui if you want it to affect everyone every spawn.
I think they will also run in ReplicatedFirst once.