So I am making an IntroGUI and that has a camera pointing at the map and when they pick their team they die so I'm trying to make it that when they die the camera still points at the map and not focused on the player. (Sorry if this sounds confusing) This script is in ServerStorage and it is a LocalScript.
Here's my script:
local humanoid = game.Players.LocalPlayer.Character.Humanoid if humanoid.Health <= 100 then cam = game.Workspace.CurrentCamera cam.CameraSubject = game.Workspace.FocusHere cam.CameraType = "Attach" end