Blue Bouncy Ball || Platformer

Instructions: Click That Green Flag 2 Times For Better Gameplay!!!!\n\nStory - \nYou are with your Earth Friends An Endless Huge Earthquake Is Here You Got Pushed By This Earthquake And you are here to collect the lost treasure to stop That Endless Huge Earthquake\n\n\n\nIf you want it to be more famous then add it to 5-10 studios

@Stage\n\n@SCRIPTS!!!!!\n\nwhen flag clicked\nset [speed y v] to [0]\nset [speed x v] to [0]\ngo to x: (0) y: (0)\nset rotation style [left-right v]\nforever\n    Run Game\nend\n\ndefine Run Game\nchange [speed y v] by (-1)\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [speed x v] by (-2)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [speed x v] by (2)\nend\nset [speed x v] to ((Speed X) * (0.7))\nchange x by (Speed X)\nif <touching (ground v)?> then\n    change y by (1)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (1)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (ground v)?> then\n    change y by (-8)\n    repeat until <not <touching (ground v)?>>\n        change x by ((Speed X) * (-1))\n    end\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        set [speed y v] to [10]\n        if <(Speed X) < [0]> then\n            set [speed x v] to [16]\n        else\n            set [speed x v] to [-16]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\nchange y by (Speed Y)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by ((Speed Y) * (-1))\n    end\n    set [speed y v] to [0]\nend\nchange y by (-1)\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (ground v)?>> then\n    set [speed y v] to [14]\nend\nchange y by (1)\n\n@Slides\n\nwhen flag clicked\n\nset [speed y v] to [0]\nset [speed x v] to [0]\ngo to x: (0) y: (0)\nset rotation style [left-right v]\nforever\n    Run Game\nend\n\ndefine Run Game\nchange [speed y v] by (-1)\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [speed x v] by (-2)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [speed x v] by (2)\nend\nset [speed x v] to ((Speed X) * (0.7))\nchange x by (Speed X)\nif <touching (ground v)?> then\n    change y by (1)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (1)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (ground v)?> then\n    change y by (-8)\n    repeat until <not <touching (ground v)?>>\n        change x by ((Speed X) * (-1))\n    end\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        set [speed y v] to [10]\n        if <(Speed X) < [0]> then\n            set [speed x v] to [16]\n        else\n            set [speed x v] to [-16]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\nchange y by (Speed Y)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by ((Speed Y) * (-1))\n    end\n    set [speed y v] to [0]\nend\nchange y by (-1)\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (ground v)?>> then\n    set [speed y v] to [14]\nend\nchange y by (1)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [slide v] to [1]\ngo to x: (0) y: (0)\nforever\n    switch costume to (SLIDE)\n    if <<key (space v) pressed?> or <<key (right arrow v) pressed?> or <mouse down?>>> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        set [slide v] to ((SLIDE) + (1))\n        switch costume to (SLIDE)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        set [slide v] to ((costume [number v]) - (1))\n        switch costume to (SLIDE)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n    end\nend\n\n@NailThumb\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n