Fortnite: Pixel Platformer Red Knight

Instructions: What has Been Added\n-New Costumes\n-Ice Knight\n-Purchase Bundle (when you buy something, Default Dance comes with it)\n-Mellow Mode

@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\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]\nif <(Mellow) = [1]> then\n    switch costume to (costume3 v)\nend\nset [xv v] to [0]\nset [level v] to [1]\nshow\ngo to x: (-183) y: (180)\nforever\n    if <touching (goal v)?> then\n        go to x: (-183) y: (-85)\n        change [level v] by (1)\n        broadcast (next backdrop v)\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                                    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                                    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            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        start sound [8-bit-explosion v]\n        start sound [Eliminated - SOUND EFFECT \(Fortnite Battle Royale\) v]\n    end\nend\n\nif <([abs v] of (yv) ) > [8]> then\n    set [yv v] to (((yv) / ([abs v] of (yv) )) * (8))\nend\n\nchange x by ((-1) * (xv))\nset [xv v] to ((-1) * (xv))\n\nchange [x v] by ((-1) * (x position))\nset x to (0)\n\n\n\nset [yv v] to ((yv) * (0.7))\n\nset [xv v] to ((xv) * (0.7))\n\nif <([abs v] of (xv) ) > [8]> then\n\nset [startx v] to [-180]\nset [level v] to [1]\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 flag clicked\nset [mellow v] to [0]\nswitch costume to (costume1 v)\nhide\nif <(Mellow) = [1]> then\n    switch costume to (costume3 v)\nend\n\nwhen I start as a clone\nswitch costume to (eliminated v)\npoint in direction (90)\ngo to x: (0) y: (0)\nset size to (0) %\nrepeat (10)\n    change size by (10)\n    point in direction (90)\nend\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\n    point in direction (90)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    wait until <touching (llama v)?>\n    change [y vel v] by (25)\n    broadcast (candy v)\n    repeat until <not <touching (llama v)?>>\n        change y by (1)\n    end\n    wait until <not <touching (llama v)?>>\nend\n\nwhen I start as a clone\nforever\n    point in direction (90)\nend\n\nwhen flag clicked\nforever\n    wait until <touching (llama2 v)?>\n    change [y vel v] by (25)\n    broadcast (candy2 v)\n    repeat until <not <touching (llama2 v)?>>\n        change y by (1)\n    end\n    wait until <not <touching (llama2 v)?>>\nend\n\nwhen I receive [ice knight v]\nswitch costume to (costume2 v)\n\nwhen [space v] key pressed\nif <(Mellow) = [1]> then\n    repeat (10)\n        change y by (10)\n    end\n    repeat until <key (down arrow v) pressed?>\n        switch costume to (costume4 v)\n        set y to (60)\n    end\n    switch costume to (costume3 v)\nend\n\nforever\n\nset [imthemap v] to [0]\n\nchange [y vel v] by (1)\n\nchange [y vel v] by (1)\n\nset [mellow v] to [1]\n\nswitch costume to (skin3 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 [next backdrop v]\nnext costume\n\nwhen I receive [fadedbubububu v]\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nbroadcast (okbub v)\n\n@Victory\n\nwhen flag clicked\nhide\nswitch costume to (mxehx9r20t911-costume1 v)\nwait until <(Level) = [18]>\nset size to (0) %\nshow\nrepeat (20)\n    change size by (11)\nend\nrepeat (7)\n    next costume\n    wait (0) seconds\nend\n\nset [level v] to [17]\n\n@Goal\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\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\nshow\ngo to [front v] layer\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\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\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\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\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)\nwait until <(Level) = [15]>\nclear graphic effects\ngo to x: (-128) y: (81)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nwait until <touching (player v)?>\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\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\nwait until <touching (player v)?>\nclear graphic effects\nset [shield v] to [1]\nrepeat (10)\n    change [brightness v] effect by (20)\n    change [ghost v] effect by (10)\nend\nhide\nwait until <(Level) = [7]>\nclear graphic effects\nset [shield v] to [0]\ngo to x: (190) y: (10)\nshow\nwait until <touching (player v)?>\nset [shield v] to [1]\nrepeat (10)\n    change [brightness v] effect by (20)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [8]>\nclear graphic effects\nset [shield v] to [0]\ngo to x: (190) y: (10)\nhide\nwait until <(Level) = [13]>\nclear graphic effects\nset [shield v] to [0]\ngo to x: (-24) y: (139)\nshow\nwait until <touching (player v)?>\nset [shield v] to [1]\nrepeat (10)\n    change [brightness v] effect by (20)\n    change [ghost v] effect by (10)\nend\nwait until <(Level) = [14]>\nclear graphic effects\nset [shield v] to [0]\ngo to x: (190) y: (10)\nhide\n\nwhen flag clicked\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\n@V-buck count\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    if <not <(V-Bucls) = [0]>> then\n        switch costume to (((V-Bucls) / (100)) + (1))\n    else\n        switch costume to (costume22 v)\n    end\nend\n\nwhen I receive [babysfirstvbuck v]\nshow\n\nwhen I receive [babysfirstvbuck v]\nset [v-bucls v] to [2100]\n\n@Text\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(Level) = [1]>\nset [ghost v] effect to (100)\nswitch costume to (txt1 v)\ngo to x: (-11) y: (22)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(Level) = [2]>\nset [ghost v] effect to (100)\nwait until <(Level) = [4]>\nset [ghost v] effect to (100)\nswitch costume to (txt2 v)\ngo to x: (-11) y: (22)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(Level) = [5]>\nset [ghost v] effect to (100)\nwait until <(Level) = [6]>\nset [ghost v] effect to (100)\nswitch costume to (txt3 v)\ngo to x: (-11) y: (22)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(Level) = [7]>\nset [ghost v] effect to (100)\nwait until <(Level) = [8]>\nset [ghost v] effect to (100)\nswitch costume to (txt4 v)\ngo to x: (-11) y: (22)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <(Level) = [9]>\nset [ghost v] effect to (100)\n\n@Shop\n\nwhen I receive [babysfirstvbuck v]\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\n\nwhen flag clicked\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\nbroadcast (shop open v)\nif <(songchoice) = [0]> then\n    switch costume to (download \(13\) v)\nelse\n    switch costume to (download \(13\)2 v)\nend\nrepeat until <(shop) = [0]>\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(V-Bucls) > [399]> then\n            switch costume to (download \(13\)2 v)\n            change [v-bucls v] by (-400)\n            set [songchoice v] to [1]\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\nend\nbroadcast (shop close v)\ndelete this clone\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\nbroadcast (babysfirstvbuck v) and wait\n\n@Llama\n\nset [level v] to [14]\n\ncreate clone of (_myself_ v)\nchange y by (200)\n\nwhen I receive [candy v]\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\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\nhide\nwait until <(Level) = [11]>\ngo to x: (30) y: (-122)\nclear graphic effects\npoint in direction (90)\nshow\nwait until <(Level) = [12]>\ngo to x: (-12) y: (-122)\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 y to (-113)\n\n@Dynamite\n\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (8 v)\nhide\nDynamite Level [8]\nDynamite Level [9]\nDynamite Level [10]\nDynamite Level [12]\nDynamite Level [14]\nDynamite Level [15]\nDynamite Level [16]\nDynamite Level [17]\n\ndefine Dynamite Level ()\nwait until <(Level) = ()>\nswitch costume to ()\nshow\nwait until <(Level) = (() + (1))>\nhide\n\nset size to (100) %\n\n@Llama2\n\nwhen I receive [candy2 v]\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\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\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 y to (-113)\n\ncreate clone of (_myself_ v)\nchange y by (200)\n\n@Sprite1\n\n\n\nwhen this sprite clicked\nif <<mouse down?> and <touching (mouse-pointer v)?>> then\n    if <<(V-Bucls) = [700]> or <[700] < (V-Bucls)>> then\n        change [v-bucls v] by (-700)\n        broadcast (ice knight v)\n        forever\n            switch costume to (knightwinteringame2 v)\n        end\n    end\nend\n\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nswitch costume to (knightwinteringame v)\n\nwhen I receive [shop close v]\nhide\n\nwhen I receive [shop open v]\nif <(Mellow) = [0]> then\n    wait (0.00001) seconds\n    show\n    forever\n        go to [front v] layer\n    end\nend\n\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [reallycermon v]\nhide\n\nwhen this sprite clicked\nnext costume\nif <(costume [number v]) = [2]> then\n    set [mellow v] to [1]\nelse\n    set [mellow v] to [0]\nend\n\nnext backdrop\n\n\n\n