function PlayerDead.enter(A,L)wait(3)if A.can("\115\116\097\114\116\083\112\101\099\116\097\116\105\110\103")then A:startSpectating()end end

function PlayerDead.enter(stateMachine, playerComponent)
	wait(3)

	if stateMachine.can("startSpectating") then
		stateMachine:startSpectating()
	end
end
