Yes both solutions are script based.
Well, the purpose of having floating platform is to prevent respawning player from falling to hole, if there's any.
I suggest playing Langit Lands and see how respawning works there.
For tall level like in the image, I'm going to assume that the level...