Secret ( A Platformer )

Instructions: Use the arrow keys to move\nYou must find the secrets in every level to pass it\nall levels are possible if you find the secret/secrets.\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <<(☁ highsore) > (time)> and <(backdrop [number v]) = [10]>> then\n        set [☁ highsore v] to (time)\n    end\nend\n\nhide variable [☁ highsore v]\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [10]> then\n        show variable [☁ highsore v]\n    end\nend\n\nwhen flag clicked\ngo to x: (-214) y: (115)\nswitch backdrop to (backdrop1  v)\nswitch costume to (costume1 v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume4 v)\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume5 v)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000000)?> or <<touching color (#000000)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching color (#000000)?> or <<touching color (#000000)?> or <touching color (#000000)?>>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <<touching color (#000000)?> or <<touching color (#000000)?> or <touching color (#000000)?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-217) y: (-20)\n    end\n    if <(x position) > [400]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-217) y: (-20)\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\nforever\n    change [time v] by (1)\n    wait (1) seconds\n    if <(backdrop [number v]) = [10]> then\n        stop [this script v]\n    end\nend\n\nset [☁ highsore v] to [50]\n\n@Sprite2\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\n