so I recently expirinced an bug in my game.. Aparently the script down below does work in singleplayer but not in a server, but why?

(Local Script, inside StarterChacterScripts)

local target = script.Parent.Parent.VisualLook.Camera
local camera = workspace.CurrentCamera
camera.CameraSubject = target
local angle = 0

1 comment

0

Maybe you should put it in StarterPlayer, that's where I put my localscripts.