Bouncy // a platformer
@Stage\n\nwhen flag clicked\nclear graphic effects\nswitch backdrop to (backgroundlv v)\nwait until <(Level) = [7]>\nswitch backdrop to (backgroundlv2 v)\nwait until <(Level) = [8]>\nswitch backdrop to (backgroundlv v)\n\nwait until <(Level) = [9]>\nswitch backdrop to (backgroundlv2 v)\n\nwhen I receive [imthemap v]\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (fadedbubububu v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nwait (0.05) seconds\nrepeat until <(songchoice) = [1]>\n    play sound [Disco Fever \(FORTNITE Dance Challenge Music\) \[8 Bit Tribute to Fortnite\] - 8 Bit Universe v] until done\nend\nwait (2) seconds\nforever\n    play sound [Da Fault \(Inspired by FORTNITE\) - 8 Bit Universe v] until done\nend\n\nwhen flag clicked\nwait until <(songchoice) = [1]>\nwait (0.02) seconds\nstop all sounds\n\n@Player\n\nset [shield v] to [0]\n\nwhen I receive [okbub v]\nset [level v] to [1]\nshow\nswitch costume to (skin1 v)\nset size to (100) %\ngo to x: (-183) y: (180)\nrepeat until <(Level) = [30]>\n    if <<touching (goal v)?> and <(coinsleft) = [0]>> then\n        set [storm v] to [0]\n        go to x: (-183) y: (-85)\n        change [level v] by (1)\n        broadcast (next backdrop v)\n        set [shield v] to [0]\n    end\n    change [y vel v] by (-0.9)\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (2.5)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by (-2.5)\n    end\n    change x by (X vel)\n    set [x vel v] to ((X vel) * (0.6))\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change x by (3)\n                                if <touching color (#ff0000)?> then\n                                    go to x: (-183) y: (-75)\n                                    broadcast (dead v)\n                                    create clone of (_myself_ v)\n                                    start sound [8-bit-explosion v]\n                                    start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n                                end\n                                change x by (-6)\n                                if <touching color (#ff0000)?> then\n                                    go to x: (-183) y: (-75)\n                                    broadcast (dead v)\n                                    create clone of (_myself_ v)\n                                    start sound [8-bit-explosion v]\n                                    start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n                                end\n                                change x by (3)\n                                change x by ((X vel) * (-2))\n                                change x by (-1)\n                                change y by (-5)\n                                change x by (1)\n                                if <<key (up arrow v) pressed?> or <(jump) = [1]>> then\n                                    if <(X vel) > [0]> then\n                                        set [x vel v] to [-6]\n                                    else\n                                        set [x vel v] to [6]\n                                    end\n                                    set [y vel v] to [10]\n                                else\n                                    set [x vel v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Y vel)\n    if <touching (level v)?> then\n        change y by ((Y vel) * (-1))\n        set [y vel v] to [0]\n        change y by (-3)\n        if <touching color (#ff0000)?> then\n            go to x: (-183) y: (-75)\n            broadcast (dead v)\n            create clone of (_myself_ v)\n            start sound [8-bit-explosion v]\n            start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n        end\n        change y by (3)\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <(jump) = [1]>> then\n            if <(shield) = [1]> then\n                set [y vel v] to [19]\n            else\n                set [y vel v] to [13]\n            end\n        end\n    end\n    if <touching color (#ff0000)?> then\n        create clone of (_myself_ v)\n        go to x: (-183) y: (-85)\n        broadcast (dead v)\n        start sound [8-bit-explosion v]\n        start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n        repeat (50)\n            set [y vel v] to [0]\n        end\n    end\nend\n\nwhen I receive [levelup v]\nwait until <(levup) > [1]>\nhide\ngo to x: (startX) y: (-40)\nset [xv v] to [0]\nset [yv v] to [0]\nshow\nchange [levup v] by (1)\nstop [this script v]\n\nwhen [left arrow v] key pressed\npoint in direction (-90)\n\nwhen [right arrow v] key pressed\npoint in direction (90)\n\nwhen I start as a clone\nbroadcast (dead v)\nswitch costume to (b68a7a2e0af92e1f9df6ba7a81451fc8 v)\npoint in direction (90)\nif <not <(Level) = [28]>> then\n    go to x: (0) y: (65)\n    go to [front v] layer\n    set size to (0) %\n    repeat (10)\n        go to x: (0) y: (65)\n        change size by (10)\n        point in direction (90)\n    end\n    wait (0.5) seconds\n    repeat (10)\n        go to x: (0) y: (65)\n        change [ghost v] effect by (10)\n        point in direction (90)\n    end\n    delete this clone\nelse\n    go to x: (0) y: (95)\n    go to [front v] layer\n    set size to (0) %\n    repeat (10)\n        go to x: (0) y: (95)\n        change size by (10)\n        point in direction (90)\n    end\n    wait (0.5) seconds\n    repeat (10)\n        go to x: (0) y: (95)\n        change [ghost v] effect by (10)\n        point in direction (90)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    wait until <touching (llamas v)?>\n    set [y vel v] to [20]\nend\n\nbroadcast (candy v)\n\nrepeat until <not <touching (llamas v)?>>\n    change [y vel v] by (1)\nend\n\nchange y by (5)\n\nwhen I start as a clone\n\nwhen flag clicked\nhide\nset [skin v] to [1]\nset size to (100) %\nwait until <(skipused?) = [1]>\ngo to x: (-183) y: (-85)\nchange [level v] by (1)\nbroadcast (next backdrop v)\n\nset drag mode [not draggable v]\n\nwait until \n\nwait until <not <touching (llama2 v)?>>\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <touching (llamas v)?> then\n        change y by (5)\n    end\nend\n\nforever\n    wait until <touching (dynamite v)?>\n    hide\nend\n\nwhen I receive [dead v]\nreset timer\nrepeat until <(timer) > [1.6]>\n    set rotation style [don't rotate v]\n    if <not <(costume [number v]) = [4]>> then\n        point in direction (90)\n        go to x: (-214) y: (-139)\n        set [y vel v] to [0]\n        set [x vel v] to [0]\n    end\nend\nif <not <(costume [number v]) = [4]>> then\n    set rotation style [left-right v]\nend\n\nhide\n\ngo to x: (-214) y: (-139)\n\nwhen I receive [dead v]\nif <not <(costume [number v]) = [4]>> then\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (100)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    repeat (20)\n        change [brightness v] effect by (-5)\n    end\nend\n\nwait (1) seconds\n\nwhen flag clicked\nforever\n    set [x v] to (x position)\n    set [y v] to (y position)\nend\n\nwhen flag clicked\nwait until <(Level) > [20]>\nforever\n    wait until <<<touching (storm v)?> and <(storm) = [1]>> and <(dead?) = [0]>>\n    go to x: (-183) y: (-75)\n    broadcast (dead v)\n    create clone of (_myself_ v)\n    start sound [8-bit-explosion v]\n    start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n    wait until <not <touching (storm v)?>>\nend\n\nwhen flag clicked\nwait until <(Level) = [31]>\nstop [other scripts in sprite v]\nrepeat (20)\n    change [brightness v] effect by (5)\nend\nrepeat (20)\n    change size by (2)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nwait until <(Level) = [30]>\nset size to (55) %\nforever\n    if <<touching (goal v)?> and <(coinsleft) = [0]>> then\n        set [storm v] to [0]\n        go to x: (-183) y: (-85)\n        change [level v] by (1)\n        broadcast (next backdrop v)\n        set [shield v] to [0]\n    end\n    change [y vel v] by (-0.9)\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (2.5)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by (-2.5)\n    end\n    change x by ((X vel) / (2))\n    set [x vel v] to ((X vel) * (0.6))\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change x by (3)\n                                if <<touching color (#ff0000)?> and <not <touching (enemy v)?>>> then\n                                    go to x: (-183) y: (-75)\n                                    broadcast (dead v)\n                                    create clone of (_myself_ v)\n                                    start sound [8-bit-explosion v]\n                                    start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n                                end\n                                change x by (-6)\n                                if <<touching color (#ff0000)?> and <not <touching (enemy v)?>>> then\n                                    go to x: (-183) y: (-75)\n                                    broadcast (dead v)\n                                    create clone of (_myself_ v)\n                                    start sound [8-bit-explosion v]\n                                    start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n                                end\n                                change x by (3)\n                                change x by (((X vel) * (-2)) / (2))\n                                change x by (-1)\n                                change y by (-5)\n                                change x by (1)\n                                if <<key (up arrow v) pressed?> or <(jump) = [1]>> then\n                                    if <(X vel) > [0]> then\n                                        set [x vel v] to [-6]\n                                    else\n                                        set [x vel v] to [6]\n                                    end\n                                    set [y vel v] to [10]\n                                else\n                                    set [x vel v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <not <(Level) = [30]>> then\n        change y by (Y vel)\n    else\n        change y by ((Y vel) / (2))\n    end\n    if <touching (level v)?> then\n        change y by (((Y vel) * (-1)) / (2))\n        set [y vel v] to [0]\n        change y by (-3)\n        if <<touching color (#ff0000)?> and <not <touching (enemy v)?>>> then\n            go to x: (-183) y: (-75)\n            broadcast (dead v)\n            create clone of (_myself_ v)\n            start sound [8-bit-explosion v]\n            start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n        end\n        change y by (3)\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <(jump) = [1]>> then\n            if <(shield) = [1]> then\n                set [y vel v] to [19]\n            else\n                set [y vel v] to [13]\n            end\n        end\n    end\n    if <<touching color (#ff0000)?> and <not <touching (enemy v)?>>> then\n        create clone of (_myself_ v)\n        go to x: (-183) y: (-85)\n        broadcast (dead v)\n        start sound [8-bit-explosion v]\n        start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n        repeat (50)\n            set [y vel v] to [0]\n        end\n    end\nend\n\nset [level v] to [30]\n\nwhen flag clicked\nforever\n    switch costume to (join [Skin] (skin))\n    wait (1) seconds\nend\n\nwhen flag clicked\nwait until <(skipused?) = [1]>\ngo to x: (-183) y: (-85)\nchange [level v] by (1)\nbroadcast (next backdrop v)\n\n@Level\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to [front v] layer\nset [ghost v] effect to (100)\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [fadedbubububu v]\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nbroadcast (okbub v)\nreset timer\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nset drag mode [not draggable v]\n\nwhen flag clicked\nwait until <(Level) > [17]>\nforever\n    wait until <key (r v) pressed?>\n    create clone of (_myself_ v)\n    set [level v] to (Level)\n    wait until <<not <(Level) = (level)>> or <(dead?) = [1]>>\nend\n\nwhen I start as a clone\nset rotation style [left-right v]\ngo to (player v)\npoint towards (player v)\nswitch costume to (costume2 v)\ngo to x: (x) y: ((y) - (4))\nset [level v] to (Level)\nwait until <<not <(Level) = (level)>> or <(dead?) = [1]>>\ndelete this clone\n\nwhen I start as a clone\nstart sound [Building Sound Effect _ Fortnite _ Free To Download! _ My First Most Viewed Video !!! v]\nset [ghost v] effect to (100)\nset [color v] effect to (90)\nset [brightness v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nset [color v] effect to (0)\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\n\nset [level v] to [30]\n\n@Goal\n\nset drag mode [not draggable v]\n\n@Logo\n\nwhen flag clicked\ngo to x: (0) y: (30)\npoint in direction (90)\nshow\nclear graphic effects\nset size to (80) %\nforever\n    glide (1) secs to x: (-7) y: (30)\n    glide (1) secs to x: (7) y: (30)\nend\n\nturn right (0.1) degrees\nchange size by (0.05)\n\nchange size by (-0.05)\nturn right (-0.1) degrees\n\nrepeat (50)\n    change size by (0.05)\n    turn right (-0.1) degrees\nend\nrepeat (50)\n    change size by (-0.05)\n    turn right (0.1) degrees\nend\n\nchange [pixelate v] effect by (1)\n\nchange [pixelate v] effect by (-1)\n\nwait (1) seconds\n\nwhen I receive [imthemap v]\nrepeat (5)\n    change size by (2)\nend\nrepeat (25)\n    change size by (-4)\nend\nhide\n\nset drag mode [not draggable v]\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nset [level v] to [17]\n\n@Fortnite lobbynb2\n\nwhen this sprite clicked\nbroadcast (REALLYCERMON v)\nswitch costume to (fortnite lobbynb2 v)\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch costume to (fortnite lobbynb v)\ngo to x: (-209) y: (49)\nset size to (130) %\n\nwhen I receive [cermonfortnite v]\n\nwhen I receive [imthemap v]\nhide\n\nset drag mode [not draggable v]\n\n@Fortnite lobbynb\n\nwhen I receive [cermonfortnite v]\n\nwhen I receive [reallycermon v]\nset [imthemap v] to [0]\nrepeat (6)\n    next costume\n    wait (pick random (0.3) to (1)) seconds\nend\nwait (0.5) seconds\nset [imthemap v] to [1]\nbroadcast (imthemap v)\nhide\n\nwhen flag clicked\nshow\nswitch costume to (fortnite lobbynb v)\ngo to x: (-211) y: (50)\nset size to (130) %\n\nset drag mode [not draggable v]\n\n@Loaded\n\nwhen flag clicked\nhide\n\nwhen I receive [reallycermon v]\nset [imthemap v] to [0]\nshow\nreset timer\nrepeat until <(imthemap) = [1]>\n    turn right (15) degrees\nend\n\nwhen I receive [imthemap v]\nhide\n\nset drag mode [not draggable v]\n\n@V-bucks\n\nwhen flag clicked\nset [v-bucls v] to [0]\nhide\nforever\n    next costume\n    wait (0) seconds\nend\n\nwhen flag clicked\nset size to (60) %\nwait (1) seconds\nwait until <(Level) = [4]>\ngo to x: (0) y: (-125)\nclear graphic effects\nshow\nwait until <touching (player v)?>\nchange [v-bucls v] by (100)\nbroadcast (babysfirstvbuck v)\nrepeat (10)\n    change y by (3)\n    change [ghost v] effect by (10)\nend\nhide\nclear graphic effects\nwait until <(Level) = [5]>\nclear graphic effects\nshow\ngo to x: (-67) y: (-58)\ncreate clone of (_myself_ v)\ngo to x: (-6) y: (5)\ncreate clone of (_myself_ v)\ngo to x: (47) y: (66)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [7]>\nclear graphic effects\nshow\ngo to x: (-208) y: (35)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [9]>\nclear graphic effects\nshow\ngo to x: (-40) y: (-79)\ncreate clone of (_myself_ v)\ngo to x: (125) y: (-35)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [12]>\nclear graphic effects\nshow\ngo to x: (-20) y: (145)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [15]>\nclear graphic effects\nshow\ngo to x: (-128) y: (81)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [17]>\nclear graphic effects\nshow\ngo to x: (27) y: (-122)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [20]>\nclear graphic effects\nshow\ngo to x: (-11) y: (-66)\ncreate clone of (_myself_ v)\nhide\nshow\ngo to x: (94) y: (-66)\ncreate clone of (_myself_ v)\nhide\nshow\ngo to x: (136) y: (-66)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [23]>\nclear graphic effects\nshow\ngo to x: (-182) y: (64)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [25]>\nclear graphic effects\nshow\ngo to x: (-35) y: (-125)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [26]>\nclear graphic effects\nshow\ngo to x: (143) y: (-161)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [28]>\nclear graphic effects\nshow\ngo to x: (103) y: (-124)\ncreate clone of (_myself_ v)\ngo to x: (17) y: (16)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [29]>\nclear graphic effects\nshow\ngo to x: (-5) y: (-17)\ncreate clone of (_myself_ v)\ngo to x: (-98) y: (57)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (135)\ncreate clone of (_myself_ v)\ngo to x: (184) y: (-97)\ncreate clone of (_myself_ v)\nhide\nwait until <(Level) = [30]>\nclear graphic effects\nset size to (35) %\nshow\ngo to x: (-5) y: (-17)\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nshow\nwait until <touching (player v)?>\nstart sound (pick random (1) to (3))\nchange [v-bucls v] by (100)\nrepeat (10)\n    change y by (3)\n    change [ghost v] effect by (10)\nend\nhide\nclear graphic effects\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0) seconds\nend\n\nset size to (60) %\n\nwhen flag clicked\nwait until <(Level) = [5]>\nhide\n\nset drag mode [not draggable v]\n\nwhen I start as a clone\nset [level v] to ((Level) + (1))\nwait until <(Level) = (level)>\ndelete this clone\n\nwait until <(Level) = [7]>\nclear graphic effects\nshow\ngo to x: (-208) y: (35)\ncreate clone of (_myself_ v)\nhide\n\nset [level v] to [30]\n\nset [v-bucls v] to [5000]\n\n@Shield\n\nwhen flag clicked\nset [level v] to [0]\ngo to x: (174) y: (-108)\nset [shield v] to [0]\nhide\nwait (1) seconds\nwait until <(Level) = [6]>\ngo to x: (174) y: (-98)\nshow\n\nwhen flag clicked\nset size to (25) %\nforever\n    repeat (15)\n        change y by (1)\n    end\n    repeat (15)\n        change y by (-1)\n    end\nend\n\nset [level v] to [13]\n\nset drag mode [not draggable v]\n\nwhen flag clicked\nforever\n    wait until <touching (player v)?>\n    start sound [Shield \(Fortnite\) - QuickSounds v]\n    clear graphic effects\n    set [shield v] to [1]\n    repeat (10)\n        change [brightness v] effect by (20)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\ndefine Shield (x) (y) (lvl)\nwait until <(Level) = (lvl)>\nclear graphic effects\nset [shield v] to [0]\ngo to x: (x) y: (y)\nshow\nwait until <(Level) = ((lvl) + (1))>\nhide\n\nwhen flag clicked\nShield [174] [-98] [6]\n\nwhen flag clicked\nShield [-24] [139] [13]\n\nwhen flag clicked\nShield [76] [150] [22]\n\nwhen flag clicked\nShield [189] [5] [7]\n\nwhen flag clicked\nShield [163] [-11] [25]\n\nwhen flag clicked\nwait until <(enemydead) = [1]>\nset size to (18) %\nwait (1) seconds\ncreate clone of (_myself_ v)\nwait (2) seconds\nShield [-205] [20] [30]\n\nwhen I start as a clone\ngo to x: (-205) y: (20)\nshow\nset [brightness v] effect to (100)\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [ghost v] effect by (-5)\nend\nwait (1.4) seconds\ndelete this clone\n\n@V-buck count\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    go to [front v] layer\n    if <<not <(V-Bucls) = [0]>> and <not <(V-Bucls) > [2000]>>> then\n        switch costume to (((V-Bucls) / (100)) + (1))\n    else\n        if <(V-Bucls) = [0]> then\n            switch costume to (costume22 v)\n        else\n            switch costume to (costume21 v)\n        end\n    end\nend\n\nwhen I receive [babysfirstvbuck v]\nshow\nwait until <(Level) = [30]>\nhide\n\nset drag mode [not draggable v]\n\n@Text\n\nwhen flag clicked\nshow\ngo to x: (0) y: (70)\nset size to (75) %\nset [ghost v] effect to (100)\nwait until <(Level) = [1]>\ngo to [front v] layer\nswitch costume to (arrow v)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <<key (up arrow v) pressed?> or <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [4]>\nswitch costume to (vbuck v)\nset size to (66) %\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <<(V-Bucls) > [0]> or <(Level) = [5]>>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [6]>\ngo to x: (-70) y: (70)\nswitch costume to (shield v)\nset size to (66) %\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(shield) = [1]>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [8]>\ngo to x: (0) y: (115)\nswitch costume to (dynamite v)\nset size to (75) %\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(x) > [83]>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [10]>\nwait until <(x) > [136]>\nwait until <(dead?) = [1]>\ngo to x: (0) y: (10)\nswitch costume to (coins v)\nset size to (75) %\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(coinsleft) = [0]>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [11]>\ngo to x: (-70) y: (82)\nswitch costume to (llamas v)\nset size to (85) %\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(y) > [-50]>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [18]>\ngo to x: (0) y: (82)\nswitch costume to (ramp v)\nset size to (75) %\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <key (r v) pressed?>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [21]>\ngo to [front v] layer\ngo to x: (0) y: (110)\nswitch costume to (storm v)\nset size to (75) %\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(y) > [80]>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Shop\n\nwhen I receive [babysfirstvbuck v]\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nwait until <(Level) = [30]>\nhide\n\nwhen flag clicked\nset [skipused? v] to [0]\nswitch costume to (backgroundlv v)\nhide\nset [songchoice v] to [0]\nset [shop v] to [0]\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(shop) = [0]> then\n            create clone of (_myself_ v)\n            set [shop v] to [1]\n        else\n            set [shop v] to [0]\n        end\n    end\n    wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\nend\n\nwhen I start as a clone\nif <not <(costume [number v]) > [3]>> then\n    switch costume to (download \(13\) v)\n    repeat until <(shop) = [0]>\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            if <<(mouse x) > [-195]> and <<(mouse x) < [-87]> and <<(mouse y) > [-95]> and <(mouse y) < [60]>>>> then\n                if <<(V-Bucls) > [399]> and <(songchoice) = [0]>> then\n                    switch costume to (download \(13\)2 v)\n                    create clone of (_myself_ v)\n                    switch costume to (download \(13\) v)\n                    change [v-bucls v] by (-400)\n                    set [songchoice v] to [1]\n                    wait (0.1) seconds\n                    start sound [purchase v]\n                else\n                    repeat (2)\n                        play note (30) for (0.1) beats\n                    end\n                end\n                wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n            else\n                if <<(mouse x) > [-79]> and <<(mouse x) < [28]> and <<(mouse y) > [-95]> and <(mouse y) < [60]>>>> then\n                    if <<(skipused?) = [0]> and <(V-Bucls) > [499]>> then\n                        switch costume to (download \(13\)3 v)\n                        start sound [purchase v]\n                        create clone of (_myself_ v)\n                        switch costume to (download \(13\) v)\n                        set [skipused? v] to [1]\n                        change [v-bucls v] by (-500)\n                    else\n                        repeat (2)\n                            play note (30) for (0.1) beats\n                        end\n                    end\n                    wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n                else\n                    if <<(mouse x) > [21]> and <<(mouse x) < [128]> and <<(mouse y) > [-95]> and <(mouse y) < [60]>>>> then\n                        if <<(skin) = [1]> and <(V-Bucls) > [699]>> then\n                            switch costume to (download \(13\)4 v)\n                            start sound [purchase v]\n                            create clone of (_myself_ v)\n                            switch costume to (download \(13\) v)\n                            set [skin v] to [2]\n                            change [v-bucls v] by (-700)\n                        else\n                            repeat (2)\n                                play note (30) for (0.1) beats\n                            end\n                        end\n                        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n                    end\n                end\n            end\n        end\n    end\n    delete this clone\nelse\n    forever\n        wait until <(shop) = [0]>\n        hide\n        go to [front v] layer\n        wait until <(shop) = [1]>\n        show\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\n\nset [v-bucls v] to [5000]\n\nwhen I start as a clone\nif <(costume [number v]) > [3]> then\n    forever\n        go to [front v] layer\n    end\nend\n\nset drag mode [not draggable v]\n\nset drag mode [not draggable v]\n\nstart sound [purchase v]\n\nset [v-bucls v] to [5000]\n\n@Llamas\n\nset [level v] to [14]\n\nset drag mode [not draggable v]\n\n\n\nwait until <(Level) = [13]>\nhide\nwait until <(Level) = [14]>\ngo to x: (-82) y: (-113)\nclear graphic effects\npoint in direction (90)\nshow\nwait until <(Level) = [15]>\nhide\n\nset [level v] to [12]\n\nwhen flag clicked\nhide\nwait until <(Level) = [14]>\ngo to x: (82) y: (-113)\nclear graphic effects\npoint in direction (90)\nshow\nwait until <(Level) = [15]>\nhide\n\ncreate clone of (_myself_ v)\nchange y by (200)\n\nwhen I receive [candy v]\nset [jumpx v] to (x)\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (jumpx) y: (-500)\npoint in direction (pick random (0) to (360))\nswitch costume to (download \(34\)-costume2 v)\nrepeat (20)\n    move (2) steps\n    change y by (-2)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    wait until <touching (level v)?>\n    turn left (180) degrees\n    wait until <not <touching (level v)?>>\nend\n\nwhen flag clicked\n\nset y to (-113)\n\nhide\nforever\n    if <(Level) = [11]> then\n        go to x: (30) y: (-122)\n        show\n    else\n        if <(Level) = [12]> then\n            go to x: (30) y: (-122)\n            show\n        end\n    end\nend\n\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    switch costume to (join [l] (Level))\n    go to x: (0) y: (0)\n    if <(join [l] (Level)) = (costume [name v])> then\n        show\n    else\n        hide\n    end\nend\n\n@Dynamite\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (l8 v)\nforever\n    switch costume to (join [l] (Level))\n    if <(join [l] (Level)) = (costume [name v])> then\n        show\n    else\n        hide\n    end\nend\n\n@Respawn\n\nwhen I receive [dead v]\nset [dead? v] to [1]\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    set [ghost v] effect to (100)\n    set [brightness v] effect to (0)\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    repeat (1)\n        repeat (10)\n            change [brightness v] effect by (0.5)\n        end\n        repeat (10)\n            change [brightness v] effect by (-0.5)\n        end\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n        change [brightness v] effect by (5)\n    end\n    delete this clone\nelse\n    if <(costume [number v]) = [1]> then\n        clear graphic effects\n        go to [front v] layer\n        show\n        go to x: (0) y: (0)\n        glide (0.7) secs to x: (0) y: (25)\n        glide (0.7) secs to x: (0) y: (0)\n        delete this clone\n    else\n        if <(costume [number v]) = [3]> then\n            go to x: (pick random (-217) to (-197)) y: ((y position) - (134))\n            go to [front v] layer\n            set [ghost v] effect to (67)\n            point in direction (pick random (-180) to (180))\n            for each [i v] in (10)\n                move (0.8) steps\n                change y by ((join [-] (i)) / (8))\n            end\n            for each [i v] in (10)\n                move (0.8) steps\n                change y by ((join [-] ((i) + (10))) / (8))\n                change [ghost v] effect by (3)\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nhide\nset [dead? v] to [0]\ngo to x: (0) y: (0)\nclear graphic effects\nforever\n    wait until <(dead?) = [1]>\n    switch costume to (costume2 v)\n    create clone of (_myself_ v)\n    switch costume to (costume1 v)\n    create clone of (_myself_ v)\n    wait (0.25) seconds\n    switch costume to (costume1 v)\n    create clone of (_myself_ v)\n    set [dead? v] to [0]\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    repeat (13)\n        switch costume to (costume3 v)\n        create clone of (_myself_ v)\n        switch costume to (costume1 v)\n        wait (0.05) seconds\n    end\n    delete this clone\nend\n\n@Gold_Coin_icon\n\nwhen I start as a clone\nshow\nif <(Level) = [30]> then\n    set size to (50) %\nend\nforever\n    switch costume to (asset 2 v)\n    set rotation style [left-right v]\n    forever\n        repeat (9)\n            wait (0) seconds\n            next costume\n        end\n        turn right (180) degrees\n        repeat (9)\n            wait (0) seconds\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\ndefine Coin (x) (y) (lvl)\nwait until <(Level) = (lvl)>\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nchange [coinsleft v] by (1)\nwait until <<touching (player v)?> and <(dead?) = [0]>>\nchange [coinsleft v] by (-1)\nfor each [i v] in (10)\n    change y by (i)\n    change [brightness v] effect by (20)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nset [coinsleft v] to [0]\nset size to (100) %\nwait until <(Level) = [10]>\nchange [coinsleft v] by (1)\nwait until <(x) > [205]>\nwait until <(dead?) = [1]>\nCoin [76] [-113] [10]\nwait (1) seconds\nchange [coinsleft v] by (-1)\n\nset [level v] to [30]\n\nwhen flag clicked\nCoin [180] [-117] [13]\n\nwhen flag clicked\nCoin [100] [86] [15]\n\nwhen flag clicked\nCoin [-108] [-121] [20]\n\nwhen flag clicked\nCoin [13] [-121] [20]\n\nwhen flag clicked\nCoin [116] [-121] [20]\n\nwhen flag clicked\nCoin [203] [-122] [22]\n\nwhen flag clicked\nCoin [0] [0] [23]\n\nwhen flag clicked\nCoin [53] [-68] [24]\n\nwhen flag clicked\nCoin [106] [148] [24]\n\nwhen flag clicked\nCoin [-156] [124] [25]\n\nwhen flag clicked\nCoin [203] [54] [26]\n\nwhen flag clicked\nCoin [-227] [94] [27]\n\nwhen flag clicked\nCoin [227] [94] [27]\n\nwhen flag clicked\nCoin [-19] [48] [28]\n\nwhen flag clicked\nCoin [218] [155] [28]\n\nwhen flag clicked\nCoin [-3] [54] [29]\n\nwhen flag clicked\nCoin [184] [55] [29]\n\nwhen flag clicked\nCoin [91] [-23] [29]\n\nwhen flag clicked\nCoin [-97] [-103] [29]\n\nwhen flag clicked\nCoin [136] [-55] [30]\n\nwhen flag clicked\nCoin [23] [-149] [30]\n\nwhen flag clicked\nCoin [226] [-149] [30]\n\nset [level v] to [30]\n\nwhen flag clicked\nCoin [-226] [166] [30]\n\nwhen I start as a clone\nif <(skipused?) = [0]> then\n    wait until <(skipused?) = [1]>\n    set [coinsleft v] to [0]\n    delete this clone\nend\n\n@Storm\n\nwhen flag clicked\nhide\nStorm [21]\n\ndefine Storm (lvl)\nwait until <(Level) = (lvl)>\nstart sound [Fortnite Storm Incoming Sound Effect \(HD\) v]\nwait (2) seconds\ngo to [front v] layer\nset [storm v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-465) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (40)\n    go to x: (-465) y: (0)\n    change [ghost v] effect by (-2.5)\nend\nrepeat (3)\n    repeat (10)\n        change [ghost v] effect by (5)\n        change [brightness v] effect by (5)\n        go to x: (-465) y: (0)\n    end\n    repeat (10)\n        change [ghost v] effect by (-5)\n        change [brightness v] effect by (-5)\n        go to x: (-465) y: (0)\n    end\nend\nset [storm v] to [1]\nbroadcast (storm mode v)\nrepeat until <<<(storm) = [0]> or <(dead?) = [1]>> or <not <(Level) = (lvl)>>>\n    change x by (2)\nend\nhide\nrepeat until <<(storm) = [0]> or <not <(Level) = (lvl)>>>\n    set [storm v] to [0]\n    switch costume to (costume1 v)\n    go to x: (-465) y: (0)\n    set [ghost v] effect to (100)\n    wait (2) seconds\n    go to [front v] layer\n    show\n    repeat (40)\n        go to x: (-465) y: (0)\n        change [ghost v] effect by (-2.5)\n    end\n    repeat (3)\n        repeat (10)\n            change [ghost v] effect by (5)\n            change [brightness v] effect by (5)\n            go to x: (-465) y: (0)\n        end\n        repeat (10)\n            change [ghost v] effect by (-5)\n            change [brightness v] effect by (-5)\n            go to x: (-465) y: (0)\n        end\n    end\n    set [storm v] to [1]\n    broadcast (storm mode v)\n    repeat until <<<(storm) = [0]> or <(dead?) = [1]>> or <not <(Level) = (lvl)>>>\n        change x by (2)\n    end\n    hide\nend\n\nwhen I receive [storm mode v]\nrepeat until <<(storm) = [0]> or <(dead?) = [1]>>\n    go to x: (x position) y: (y position)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume2 v)\ngo to x: ((x position) + (240)) y: (pick random (-180) to (180))\ngo to [front v] layer\nset [ghost v] effect to (67)\npoint in direction (pick random (-180) to (180))\nfor each [i v] in (10)\n    move (0.8) steps\n    change y by ((join [-] (i)) / (8))\nend\nfor each [i v] in (10)\n    move (0.8) steps\n    change y by ((join [-] ((i) + (10))) / (8))\n    change [ghost v] effect by (3)\nend\ndelete this clone\n\nwhen I start as a clone\nif <(x position) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next backdrop v]\ngo to x: (-465) y: (0)\nset [storm v] to [0]\nhide\n\nwhen flag clicked\nStorm [25]\n\nwhen flag clicked\nStorm [23]\n\nwhen flag clicked\nStorm [24]\n\nwhen flag clicked\nwait until <(Level) = [30]>\nwait (20) seconds\nrepeat until <(Level) = [31]>\n    wait until <(y) > [94]>\n    while <(y) > [94]>\n        start sound [Fortnite Storm Incoming Sound Effect \(HD\) v]\n        wait (2) seconds\n        go to [front v] layer\n        set [storm v] to [0]\n        switch costume to (costume1 v)\n        go to x: (-465) y: (0)\n        set [ghost v] effect to (100)\n        show\n        repeat (40)\n            go to x: (-465) y: (0)\n            change [ghost v] effect by (-2.5)\n        end\n        repeat (3)\n            repeat (10)\n                change [ghost v] effect by (5)\n                change [brightness v] effect by (5)\n                go to x: (-465) y: (0)\n            end\n            repeat (10)\n                change [ghost v] effect by (-5)\n                change [brightness v] effect by (-5)\n                go to x: (-465) y: (0)\n            end\n        end\n        set [storm v] to [1]\n        broadcast (storm mode v)\n        repeat until <<<(storm) = [0]> or <(dead?) = [1]>> or <not <(Level) = [30]>>>\n            change x by (2)\n        end\n        hide\n    end\nend\n\n@Victory\n\nwhen flag clicked\nhide\nswitch costume to (mxehx9r20t911-costume13 v)\nwait until <(Level) = [31]>\npoint in direction (90)\nset size to (0) %\nshow\nrepeat (20)\n    change size by (11)\nend\nrepeat (14)\n    next costume\n    wait (0) seconds\nend\nforever\n    repeat (30)\n        change size by (0.2)\n    end\n    repeat (30)\n        change size by (-0.2)\n    end\nend\n\nset [level v] to [17]\n\n@Sprite1\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nset [deathcount v] to [0]\nforever\n    wait until <(dead?) = [1]>\n    wait (1) seconds\n    wait until <(dead?) = [0]>\n    change [deathcount v] by (1)\nend\n\nwhen flag clicked\nwait until <(Level) = [31]>\nset [time v] to ((time) / (60))\nshow\ncreate clone of (_myself_ v)\ngo to [front v] layer\n\nwhen I start as a clone\nset size to (80) %\nswitch costume to (costume3 v)\ngo to x: (-109) y: (-77)\nforever\n    turn right (3) degrees\nend\n\nwhen I receive [okbub v]\nset [time v] to [0]\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\n@End Text\n\nwhen flag clicked\nwait until <(Level) = [31]>\ngo to x: (136) y: (-15)\nset [counter v] to [1]\nrepeat (length of (deathcount))\n    switch costume to (letter (counter) of (deathcount))\n    create clone of (_myself_ v)\n    change x by (23)\n    change [counter v] by (1)\nend\nset [counter v] to [1]\ngo to x: (107) y: (-107)\nif <(length of (time)) < [5]> then\n    repeat (length of (time))\n        switch costume to (letter (counter) of (time))\n        create clone of (_myself_ v)\n        if <not <<(letter ((counter) + (1)) of (time)) = [.]> or <(letter (counter) of (time)) = [.]>>> then\n            change x by (23)\n        else\n            change x by (17)\n        end\n        change [counter v] by (1)\n    end\n    hide\nelse\n    repeat (5)\n        switch costume to (letter (counter) of (time))\n        create clone of (_myself_ v)\n        if <not <<(letter ((counter) + (1)) of (time)) = [.]> or <(letter (counter) of (time)) = [.]>>> then\n            change x by (23)\n        else\n            change x by (17)\n        end\n        change [counter v] by (1)\n    end\n    hide\nend\n\nwhen I start as a clone\nshow\n\nwait until <(shield) = [1]>\ndelete this clone\n\nset [shield v] to [1]\n\nset [shield v] to [0]\n\n@Enemy\n\nwhen flag clicked\nset [enemydead v] to [0]\nhide\nclear graphic effects\nset size to (100) %\nwait until <(Level) = [30]>\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nshow\nwait until <(y) > [-20]>\nrepeat until <touching (player v)?>\n    if <(y) > [-20]> then\n        start sound [Fortnite tactical shotgun sound effect \(Rare\) v]\n        wait (0.7) seconds\n        repeat (8)\n            create clone of (_myself_ v)\n            wait (0.7) seconds\n        end\n    end\nend\n\nwhen I start as a clone\npoint in direction (pick random (50) to (120))\nswitch costume to (costume2 v)\ngo to x: (-165) y: (0)\nrepeat until <<(x position) > [240]> or <touching (level v)?>>\n    move (3) steps\nend\nrepeat (3)\n    move (3) steps\n    change [ghost v] effect by (33)\nend\ndelete this clone\n\nglide (4) secs to x: (243) y: (0)\n\nwhen flag clicked\nwait until <touching (player v)?>\nset [enemydead v] to [1]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [brightness v] effect by (-20)\nend\nrepeat (5)\n    change [ghost v] effect by (5)\n    change size by (10)\nend\nhide\n\nset [level v] to [30]\n\n
╔∘ ★ ∘════════════════════════════╗ \n\nInstructions\n❖ Use Arrow keys or WASD\n❖ Don't touch spikes or lava\n❖ Its mobile friendly\n––\nPart 2 - https://scratch.mit.edu/projects/652892480\n––\nStory\nYou are a young cube and want to be the youngest cube to climb Mt. Everest, you will face many problems in your way. Can you reach the top of the worlds highest mountain?\n––\nIts my first platformer ( in this account ) so pls ❤️ & ⭐ :D\n––\nCredits\n@Alphabetica for mobile icon\n@Ziyu3 for some art\nAnd all beta testers\nAll codes by me\n\nHope you enjoy :D \n\n250 ❤️ for 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\n\n\n\n\n\n\n\n––\n#Tags\n#all #games #art #stories #music #-morni- #adventure #scratch #mobilefriendly #platformer #fun #trending\n#all #games #art #stories #music #-morni- #adventure #scratch #mobilefriendly #platformer #fun #trending\n#all #games #art #stories #music #-morni- #adventure #scratch #mobilefriendly #platformer #fun #trending\n#all #games #art #stories #music #-morni- #adventure #scratch #mobilefriendly #platformer #fun #trending\nIt got unshared by mistake\n\n╚════════════════════════════∘ ★ ∘╝