Diamonds || a platformer #games #all

Instructions: ✨SPAM THE GREEN FLAG INORDER TO PLAY✨ \nPART TWO \nhttps://scratch.mit.edu/projects/487922679/\n        \n-----------------------------------STORY----------------------------\nyou are trying to get the diamonds at the end but you need to make it past obstacles first. when you finally get to where the diamond is you have to face the BOSS jump on the bosses head and you will find the diamond but if the % meter gets to 100 then you die\n\n  THANKS YOU SOOOO MUCH FOR GETTING THIS TO 5.1k VIEWS IT MEANS A LOT THANKS\n#12ontrending\nsorry not mobile friendly (don't know how)\n\npart 2 comes out on 23rd\n\ncheck out @hurstjacobs projects because he is my friend a he is really jealous that I'm on trending and he's not\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nif this gets 15 loves or fav i will make part 2\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ncomment a joke (like a knock knock joke)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#games #games #games #games #games #games #games#games #games #all #all #all #all #all #all #all #all #all @hurstjacob12

@Stage\n\n@P1\n\nwhen flag clicked\nset size to (130) %\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (left v)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        switch costume to (up v)\n    end\n    if <<<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> or <<key (w v) pressed?> and <key (d v) pressed?>>> then\n        switch costume to (up and right v)\n    end\n    if <<<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> or <<key (w v) pressed?> and <key (a v) pressed?>>> then\n        switch costume to (up and left v)\n    end\n    if <not <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <<<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> or <<<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> or <<<key (w v) pressed?> and <key (a v) pressed?>> or <<<key (w v) pressed?> and <key (d v) pressed?>> or <<key (d v) pressed?> or <<key (a v) pressed?> or <key (w v) pressed?>>>>>>>>>> then\n        switch costume to (middle v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [235]> then\n        broadcast (next level v)\n        wait (1) seconds\n    end\n    if <touching color (#e2ff00)?> then\n        change [y v] by (30)\n    end\n    if <(level 2.0) = [11]> then\n        if <touching (sprite4 v)?> then\n            broadcast (c v)\n            hide variable [percent v]\n            if <touching color (#7cbfef)?> then\n                broadcast (YOU WIN!!! v)\n            end\n        end\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-209) y: (-75)\n\nwhen flag clicked\nwait (3) seconds\nswitch costume to (download \(2\) v)\nswitch backdrop to (backdrop1 v)\nset [level v] to [1]\nhide variable [x v]\nhide variable [y v]\nset [y v] to [0]\nset [x v] to [0]\ngo to x: (-209) y: (-75)\nshow\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (.9))\n    change x by (X)\n    if <<<touching color (#00ff1b)?> or <touching color (#00640a)?>> or <<touching color (#9c9c9c)?> or <touching color (#252525)?>>> then\n        change y by (1)\n        if <<<touching color (#00ff1b)?> or <touching color (#00640a)?>> or <<touching color (#9c9c9c)?> or <touching color (#252525)?>>> then\n            change y by (1)\n            if <<<touching color (#00ff1b)?> or <touching color (#00640a)?>> or <<touching color (#9c9c9c)?> or <touching color (#252525)?>>> then\n                change y by (1)\n                if <<<touching color (#00ff1b)?> or <touching color (#00640a)?>> or <<touching color (#9c9c9c)?> or <touching color (#252525)?>>> then\n                    change y by (1)\n                    if <<<touching color (#00ff1b)?> or <touching color (#00640a)?>> or <<touching color (#9c9c9c)?> or <touching color (#252525)?>>> then\n                        change x by ((X) * (-1))\n                        change y by (-4)\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            if <(X) > [0]> then\n                                set [x v] to [-5]\n                            else\n                                set [x v] to [5]\n                            end\n                            set [y v] to [10]\n                        else\n                            set [y v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <<<touching color (#00ff1b)?> or <touching color (#00640a)?>> or <<touching color (#9c9c9c)?> or <touching color (#252525)?>>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<touching color (#00ff1b)?> or <touching color (#00640a)?>> or <<touching color (#9c9c9c)?> or <touching color (#252525)?>>> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <(y position) < [-178]> then\n        go to x: (-215) y: (-70)\n        change [level v] by (1)\n    end\n    if <<touching color (#ff0505)?> or <touching (sprite2 v)?>> then\n        go to x: (-197) y: (-72)\n    end\n    if <touching color (#00ff1b)?> then\n        go to x: (-215) y: (-70)\n    end\nend\n\nwhen I receive [you win!!! v]\nforever\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (costume2 v)\nend\n\nwhen flag clicked\nshow list [names v]\nadd (☁ names) to [names v]\n\nwhen flag clicked\nset [☁ names v] to (username)\n\nwhen flag clicked\nforever\n    if <(percent) = [100]> then\n        block name\n    end\nend\n\ndefine block name\ngo to x: (-209) y: (-75)\n\nwhen I receive [resey  v]\nblock name\n\n@level\n\nwhen I receive [next level v]\nchange [level 2.0 v] by (1)\nnext costume\n\nwhen flag clicked\nshow\nset [level 2.0 v] to [0]\nswitch costume to (costume1 v)\n\n@Sprite2\n\ndefine go to x (x) and y (y) at speed (sp)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (sp))\n    change y by (((round (y)) - (round (y position))) / (sp))\nend\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (-72) y: (-89)\nforever\n    if <(level 2.0) = [2]> then\n        show\n        repeat until <(level 2.0) = [3]>\n            turn right (5) degrees\n        end\n    end\n    if <(level 2.0) = [6]> then\n        create clone of (_myself_ v)\n        go to x: (-51) y: (7)\n        go to [back v] layer\n        show\n        repeat until <(level 2.0) = [7]>\n            turn right (5) degrees\n        end\n    else\n        hide\n    end\n    if <(level 2.0) = [10]> then\n        go to x: (-106) y: (-95)\n        go to [back v] layer\n        show\n        repeat until <(level 2.0) = [11]>\n            turn right (5) degrees\n        end\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(level 2.0) = [6]> then\n        go to x: (90) y: (7)\n        go to [back v] layer\n        show\n        repeat until <(level 2.0) = [7]>\n            turn right (5) degrees\n        end\n    else\n        delete this clone\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to x: (199) y: (149)\nswitch costume to (costume2 v)\nset volume to (70) %\nforever\n    point in direction ((([cos v] of ((timer) * (130)) ) * (12)) + (90))\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (70) %\n    else\n        set volume to (-100) %\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Swif7 - Don't Wanna Sleep v] until done\nend\n\nwhen I receive [you win!!! v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nforever\n    point in direction ((([cos v] of ((timer) * (130)) ) * (12)) + (90))\nend\n\nwhen this sprite clicked\nbroadcast (next level v)\nchange [clicked v] by (1)\n\nwhen flag clicked\nset [clicked v] to [0]\nshow\nforever\n    if <(level 2.0) = [11]> then\n        hide\n    end\n    if <(clicked) = [2]> then\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    set [percent v] to [0]\n    set [percent 2 v] to [0]\n    if <(level 2.0) = [11]> then\n        repeat until <touching (p1 v)?>\n            show variable [percent v]\n            go to x: (89) y: (-65)\n            show\n            repeat (100)\n                go to x: (pick random (80) to (85)) y: (pick random (-67) to (-62))\n                change [percent 2 v] by (1)\n                set [percent v] to (join ((percent) + (percent 2)) [%])\n            end\n            if <(percent) = (join [100] [%])> then\n                broadcast (RESEY  v)\n                set [percent 2 v] to [0]\n            end\n        end\n    else\n        hide\n        hide variable [percent v]\n        hide variable [percent 2 v]\n    end\nend\n\nwhen I receive [c v]\nswitch costume to (crystal-a v)\nforever\n    set [percent 2 v] to [0]\n    set [percent v] to [0]\nend\n\nwhen I receive [you win!!! v]\nhide\nforever\n    hide variable [percent v]\n    hide variable [percent 2 v]\n    hide variable [percent v]\n    hide\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\n\n@Sprite6\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo [forward v] (10000000) layers\nwait (3) seconds\nhide\n\n