how come this script works:
wait() local Player = game.Players.LocalPlayer local Camera = game.workspace.CurrentCamera Camera.CameraType = Enum.CameraType.Scriptable Camera.CFrame = game.Workspace.CameraPart.CFrame
but this one wont unless you respawn?
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() local Camera = game.workspace.CurrentCamera repeat wait() Camera.CameraType = Enum.CameraType.Scriptable until Camera.CameraType == Enum.CameraType.Scriptable Camera.CFrame = game.Workspace.CameraPart.CFrame
Try this
local Camera = game.Workspace.CurrentCamera local player = game.Players.LocalPlayer repeat wait() until player.Character Camera.CameraType = Enum.CameraType.Scriptable Camera.CFrame = game.Workspace.Camero.CFrame script.Parent.Parent.Parent.Stuff.Visible = true