I made this in about 10 minutes, so it may not be the best. Use the arrow keys to move, 's' to skip, 'r' to restart, and one type of block is dangerous. Can you guess which? (Super easy!) Some levels will be impossible, so don't bother to keep on trying if you can't pass a level. This was super easy to make, but I did for some reason. Also, you may need to spam the flag to get it to work... The color sensing doesn't work the best, so sometimes you can go on a dangerous block for ~1 second before you die.
Thanks to the pen tool for it's help in making this platformer possible! ;) (And Scratch Editor, and all those helpful blocks of code!)