Search-{PLATFORMER} HACKED

Instructions: Hello guys!\nThis is my best project yet!\nCONTROLS:\nMobile: Mouse\nPc: space key\nArrow keys\nVersions:\nV1.0 \nFirst version

@Stage\n\n@Sprite1\n\nwhen flag clicked\nset size to (100) %\nset [gravity v] to [-1.5]\nset [speedx v] to [0]\nset [speedy v] to [0]\nBegin Game At: [-222] [100]\ndelete all of [key v]\nset rotation style [don't rotate v]\nforever\n    change [speedy v] by (-1)\n    set [acceleration v] to [1]\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>>> then\n        change [speedx v] by ((0) - (Acceleration))\n        point in direction (-90)\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>>> then\n        change [speedx v] by (Acceleration)\n        point in direction (90)\n    end\n    set [speedx v] to ((SpeedX) * (0.9))\n    change x by (SpeedX)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((SpeedX) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            set [speedy v] to [17]\n            if <(SpeedX) > [0]> then\n                set [speedx v] to [-10]\n            else\n                set [speedx v] to [10]\n            end\n        else\n            set [speedx v] to [0]\n        end\n    end\n    change y by (SpeedY)\n    if <touching (level v)?> then\n        change y by ((SpeedY) - ((SpeedY) * (2)))\n        set [speedy v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> and <touching (level v)?>> then\n        set [speedy v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [238]> then\n        set x to (() - (x position))\n        change [level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        create clone of (_myself_ v)\n        Begin Game At: [-222] [100]\n    end\nend\n\ndefine Begin Game At: (x) (y)\ngo to x: (x) y: (y)\n\nwhen I start as a clone\nset rotation style [all around v]\nset size to (50) %\nset [ghost v] effect to (40)\nrepeat (40)\n    change [ghost v] effect by (3)\n    change size by (-1)\n    turn right (15) degrees\nend\ndelete this clone\n\nwhen flag clicked\nshow\nwait until <touching (key v)?>\nadd [Key] to [key v]\n\nwhen flag clicked\nwait until <<(Level) = [10]> and << (Key) contains [Key]?> and <[0] < (x position)>>>\nhide\nstop [other scripts in sprite v]\nbroadcast (end v)\nstop [this script v]\n\nwhen flag clicked\nshow\n\nwhen I receive [end v]\nhide\n\n@Level\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    Level (join [Level] (Level))\nend\n\ndefine Level (#)\nswitch costume to (#)\n\nwhen flag clicked\nshow\n\nwhen I receive [end v]\nhide\n\n@Text\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    Level (join [Level] (Level))\nend\n\ndefine Level (#)\nswitch costume to (#)\n\nwhen flag clicked\nshow\n\nwhen I receive [end v]\nhide\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nset [ghost v] effect to (100)\n\nwhen flag clicked\nshow\n\n@Key\n\nwhen flag clicked\nshow\ngo to [back v] layer\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    Level (join [Level] (Level))\nend\n\ndefine Level (#)\nswitch costume to (#)\n\nwhen flag clicked\nwait until <touching (sprite1 v)?>\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [end v]\nhide\n\n@Outro\n\nwhen I receive [end v]\nstart sound [Travel The Galaxy \(HD\) \(128  kbps\) v]\nhide\nswitch costume to (costume1 v)\ngo to x: (-500) y: (0)\nset size to (80) %\nhide\nwait (1) seconds\nshow\nSmooth Glide x: (-100) y: (0) speed: (8)\nswitch costume to (costume1 v)\nset [sine v] to [1]\ngo to [front v] layer\nforever\n    point in direction ((([sin v] of (sine) ) * (7)) + (90))\n    set y to ([sin v] of (sine) )\n    change size by ([sin v] of (sine) )\n    change [sine v] by (10)\nend\n\ndefine Smooth Glide x: (x) y: (y) speed: (speed)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (speed))\n    change y by (((round (y)) - (round (y position))) / (speed))\nend\ngo to x: (x) y: (y)\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (3) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    show\n    go to [back v] layer\n    point in direction (90)\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (costume7 v)\n    forever\n        glide (1) secs to x: (220) y: (0)\n        go to x: (0) y: (0)\n    end\nend\nif <(clone id) = [2]> then\n    point in direction (90)\n    hide\n    switch costume to (costume3 v)\n    go to x: (500) y: (120)\n    show\n    Smooth Glide x: (100) y: (120) speed: (8)\nend\nif <(clone id) = [3]> then\n    point in direction (90)\n    hide\n    switch costume to (costume4 v)\n    go to x: (500) y: (60)\n    show\n    Smooth Glide x: (100) y: (60) speed: (8)\nend\nif <(clone id) = [4]> then\n    point in direction (90)\n    hide\n    switch costume to (costume5 v)\n    go to x: (500) y: (0)\n    show\n    Smooth Glide x: (100) y: (0) speed: (8)\nend\nif <(clone id) = [1]> then\n    point in direction (90)\n    hide\n    switch costume to (costume2 v)\n    go to x: (-500) y: (120)\n    show\n    Smooth Glide x: (-100) y: (120) speed: (8)\n    forever\n        point in direction ((([sin v] of (sine) ) * (7)) + (90))\n        set y to (([sin v] of (sine) ) + (120))\n        change size by ([sin v] of (sine) )\n    end\nend\n\n