SPAWN EVENT DOESN'T WORK FOR PLAYERS WHO JOIN IN PROGRESS

How do you check if a player is in the map? And obv you use the sleep 5.0 in the spawn event function? (Same function of player added and spawn event)