Green slime platformer v1.8

Instructions: Controls:\n·W,A,S,D, space or keyboard keys to move \n·P to go practice zone\n=========================================\nThis is my first platformer, please love, fave and follow\n=========================================\nHacked:\nhttps://scratch.mit.edu/projects/536744738/\n=========================================\nHere you have my new platformers: \nhttps://scratch.mit.edu/projects/536928048/\nhttps://scratch.mit.edu/projects/636334536/

@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nchange [color v] effect by (25)\n\nwhen [c v] key pressed\n\n@Ball\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\nwhen flag clicked\nset [xvelocity v] to [0]\nset [yvelocity v] to [0]\nReset\nforever\n    Movement\n    if <(x position) > [255]> then\n        broadcast (Next level v)\n        Reset\n    end\nend\n\ndefine Reset\ngo to x: (-180) y: (-100)\n\ndefine Movement\nchange [yvelocity v] by (-1)\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [xvelocity v] by (-1)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [xvelocity v] by (1)\nend\nset [xvelocity v] to ((XVelocity) * (0.9))\nchange x by (XVelocity)\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (-4)\n    change x by ((XVelocity) * (-1))\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n        set [yvelocity v] to [13]\n        if <(XVelocity) > [0]> then\n            set [xvelocity v] to [-10]\n        else\n            set [xvelocity v] to [10]\n        end\n    else\n        set [xvelocity v] to [0]\n    end\nend\nchange y by (YVelocity)\nif <touching (ground v)?> then\n    change y by ((YVelocity) * (-1))\n    set [yvelocity v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> and <touching (ground v)?>> then\n    set [yvelocity v] to [15]\nend\nchange y by (1)\n\nwhen flag clicked\nshow\nforever\n    if <touching (spikes v)?> then\n        Reset\n        repeat (10)\n            set [color v] effect to (10)\n        end\n    end\nend\n\nhide\n\nwhen [r v] key pressed\nReset\n\nwhen [p v] key pressed\n\nReset\n\nwhen [c v] key pressed\n\nwhen flag clicked\n\n\nhide\n\n@GROUND\n\nwhen flag clicked\nshow\nswitch costume to (disfraz1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen [p v] key pressed\nswitch costume to (disfraz14 v)\n\nwhen [c v] key pressed\n\nchange [color v] effect by (25)\n\nwhen flag clicked\n\n\nswitch costume to (disfraz16 v)\n\n@Objeto2\n\nwhen I receive [next level v]\nforever\n    hide\nend\n\nwhen flag clicked\nswitch costume to (disfraz1 v)\nshow\n\nwhen [p v] key pressed\nforever\n    switch costume to (disfraz2 v)\n    show\nend\n\nwhen I receive [next level v]\nforever\n    hide\nend\n\n@Spikes\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch costume to (disfraz1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen [p v] key pressed\nswitch costume to (disfraz14 v)\n\n@Objeto1\n\nwhen flag clicked\nforever\n    hide\nend\n\nshow\n\n@Music\n\n