Gravity platformer 100%PEN

Instructions: I unshared this a while ago, I'm not sure why.\n

@Stage\n\n@Cat\n\nwhen flag clicked\nset size to (20) %\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x movement v] by (-1)\n        switch costume to (left cat  v)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x movement v] by (1)\n        switch costume to (right cat v)\n    end\n    set [x movement v] to ((X movement) * (0.9))\n    change x by (X movement)\n    if <touching (platfrom v)?> then\n        change y by (1)\n    end\n    if <touching (platfrom v)?> then\n        change y by (1)\n    end\n    if <touching (platfrom v)?> then\n        change y by (1)\n    end\n    if <touching (platfrom v)?> then\n        change y by (1)\n    end\n    if <touching (platfrom v)?> then\n        change y by (-4)\n        change x by (([x position v] of [platfrom v]) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X movement) > [0]> then\n                set [x movement v] to [-10]\n            else\n                set [x movement v] to [10]\n            end\n            set [y movement v] to [15]\n        else\n            set [x movement v] to [0]\n        end\n    end\n    change [y movement v] by (-1)\n    change y by (Y movement)\n    if <touching (platfrom v)?> then\n        change y by ((Y movement) - ((Y movement) * (2)))\n        set [y movement v] to [0]\n    end\n    change y by (-1)\n    if <<touching (platfrom v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y movement v] to [15]\n    end\n    change y by (1)\n    create clone of (_myself_ v)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (traps v)?> then\n        broadcast (Reset v)\n        switch costume to (reset v)\n        wait (1) seconds\n    end\n    if <touching color (#be8a00)?> then\n        broadcast (You Win! v)\n    end\nend\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [x movement v] to [0]\nset [y movement v] to [0]\ngo to x: (-216) y: (40)\n\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>>> then\n    set [y movement v] to [10]\nend\nchange y by (1)\nif <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>> then\n    change y by (1)\n    if <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>> then\n        change y by (1)\n        if <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>> then\n            change y by (1)\n            if <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>> then\n                change y by (1)\n                if <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>> then\n                    change y by (1)\n                    if <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>> then\n                        change y by (10)\n                        if <<touching color (#ffffff)?> or <<touching color (#00ff08)?> or <touching color (#ff0000)?>>> then\n                            change y by ((X movement) * (-1))\n                            change y by (-5)\n                            if <<key (space v) pressed?> or <key (w v) pressed?>> then\n                                if <(X movement) > [0]> then\n                                    set [x movement v] to [-5]\n                                else\n                                    set [x movement v] to [5]\n                                end\n                            else\n                                set [x movement v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen this sprite clicked\nsay [Uhh this is a platformer not a  clicker lol] for (3) seconds\n\n@Platfrom\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Traps\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    change [ghost v] effect by (100)\nend\n\n@Blank :D\n\n@You Win Sign\n\nwhen flag clicked\nhide variable [timer v]\nset [timerlength v] to [0]\nhide\nset [timerlength v] to [500]\nreset timer\nforever\n    set [timer v] to (timer)\n    if <(Timerlength) < (Timer)> then\n        start sound [pop v]\n    end\nend\n\nask [what is your timer length] and wait\n\nwhen I receive [you win! v]\nshow\nshow variable [timer v]\n\n