It has been a while since I've coded in this platform but here is the improved version of the platformer. I am aware that they may be still bugs but less of them, however. If this project is lagging, then use TurpoWarp. Here is the link: https://turbowarp.org/1104413220 Use [W] [A] [S] [D] to move or use arrow keys. Press [F] to see debug menu. Press [W] twice to double jump. Press [T] to open chat. Type "/fly on" to activate fly or "/fly off" to deactivate fly. You can only use this when you collect the flag at the end of the level.
Thanks to @griffpatch for the sprites and sounds. Scratch Escape Platformer (Test 1): https://scratch.mit.edu/projects/1022270758/