Complex sentence: The tram is about to leave as the conductor is finally able to keep them off, but he notices someone climbing on top, attempting to warn them only to realize it's not a human.
Split into simpler sentences: The tram is about to leave as the conductor is finally able to keep them off, but he notices someone climbing on top. He attempts to warn them to get off, only to realize it's not a human.