i am making a round based game in roblox studio where at the end of the intermission it loads in a random map and it's supposed to change the Camera so its facing the map... except it doesn't face the map. there's no errors in the output here's the camera script
workspace.Camera.CameraType = Enum.CameraType.Scriptable workspace.Camera.CFrame = randomMap.MapCamera.CFrame
the script isn't a local script how do i make it so that everyone's camera faces the map?
It needs to be a local script for the code to work because Cameras are unique to each player. This can be solved with :FireAllClients() and a remote event.