Lightning road Platformer #games#all#trending
@Stage\n\nwhen flag clicked\nset volume to (50) %\nplay sound [recording2 v] until done\n\nwhen I receive [play v]\nswitch backdrop to (bühnenbild2 v)\n\nwhen flag clicked\nswitch backdrop to (bühnenbild3 v)\n\nwhen I receive [lightning v]\nset [blitz v] to [100]\nrepeat until <(Blitz) = [0]>\n    change [blitz v] by ((-1) * ((Blitz) * (0.2)))\nend\n\nwhen flag clicked\nset [blitz v] to [0]\nrepeat (100)\n    set [brightness v] effect to (0)\nend\nforever\n    set [brightness v] effect to (Blitz)\nend\n\nwhen flag clicked\nforever\n    if <<<(Level) = [19]> or <(Level) = [20]>> or <(Level) = [21]>> then\n        switch backdrop to (sun v)\n    else\n        if <not <(vor) = [0]>> then\n            switch backdrop to (bühnenbild2 v)\n        end\n    end\nend\n\nwhen I receive [play v]\nset volume to (20) %\nforever\n    play sound [recording1 v] until done\nend\n\nwhen I receive [play v]\nrepeat (500)\n    change volume by (0.1)\nend\n\n@Hello\n\ndefine Comment : LIGHTNING\n\n@Player\n\nwhen flag clicked\nset size to (100) %\nbroadcast (next v)\nswitch costume to (player v)\nset [air glide v] to [0.95]\nset [tod v] to [ja]\nset [level v] to [1]\nset [jump duration v] to [10]\nset [graviti v] to [-1]\nset [jump v] to [9]\nset [acelevation v] to [2]\nset [resitanse v] to [0.8]\n\ndefine Move in Steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((Speed x) / (steps))\n    Check touching\n    if <(Touching) = [ja]> then\n        Colide X - Slope or wall\n    end\n    set [last value v] to (y position)\n    change y by ((Speed y) / (steps))\n    Check touching\n    if <(Touching) = [ja]> then\n        Colide - Y Ceiling or Floor\n    end\nend\n\nwhen I receive [tick-player v]\nControl up-down\nControl left-right\nMove in Steps (([abs v] of (Speed x) ) + ([abs v] of (Speed y) ))\nif <<(Touching) = [ja]> and <<<mouse down?> and <((mouse y) - (10)) > (y position)>> or <<(Touching) = [ja]> and <<key (w v) pressed?> or <key (up arrow v) pressed?>>>>> then\n    if <not <key (space v) pressed?>> then\n        set [speed y v] to [12]\n    end\nend\n\ndefine Control left-right\nif <(tod) = [nein]> then\n    if <(Long jump) > [0]> then\n        change [long jump v] by (-1)\n        stop [this script v]\n    end\n    if <<mouse down?> and <<([direction v] of [other v]) < [-10]> and <([direction v] of [other v]) > [-170]>>> then\n        set [key x v] to [-1]\n    end\n    if <<mouse down?> and <<([direction v] of [other v]) > [10]> and <([direction v] of [other v]) < [170]>>> then\n        set [key x v] to [1]\n    end\n    if <not <<<mouse down?> and <<([direction v] of [other v]) < [-10]> and <([direction v] of [other v]) > [-170]>>> or <<mouse down?> and <<([direction v] of [other v]) > [10]> and <([direction v] of [other v]) < [170]>>>>> then\n        set [key x v] to (<<key (d v) pressed?> or <key (right arrow v) pressed?>> - <<key (a v) pressed?> or <key (left arrow v) pressed?>>)\n    end\n    if <(Key X) = [0]> then\n        if <<(Falling) > [2]> and <(wall slide) = [nein]>> then\n            set [speed x v] to ((Speed x) * (Air glide))\n            stop [this script v]\n        end\n        if <([abs v] of (Speed x) ) < [1]> then\n            set [frame v] to [0]\n            if <not <(Level) = [5]>> then\n                set [speed x v] to [0]\n            end\n        else\n            change [frame v] by (0.5)\n        end\n    else\n        change [speed x v] by ((Key X) * (Acelevation))\n        point in direction (Key X)\n        change [frame v] by (1)\n    end\n    set [speed x v] to ((Speed x) * (Resitanse))\nend\n\ndefine Restet and begin level\nset [speed y v] to [0]\nset [speed x v] to [0]\nset [falling v] to [99]\ngo to x: (-150) y: (55)\nbroadcast (Game loop v)\nset [speed y v] to [0]\nset [speed y v] to [0]\nset [tod v] to [nein]\ngo to [front v] layer\nset size to (100) %\nset [ghost v] effect to (0)\nset [whirl v] effect to (0)\nshow\nbroadcast (Boost zähle v)\nrepeat (10)\n    Fix colisions in direktion [180]\nend\n\nwhen I receive [game loop v]\nbroadcast (partickel v)\nforever\n    broadcast (Other extras v)\n    broadcast (Death check v)\n    broadcast (Tick-Player v)\n    broadcast (Tick  last v)\nend\n\nwhen I receive [tick  last v]\nif <(x position) > [235]> then\n    Begin scene ((Level) + (1)) go to x: [-235]\nend\nif <not <(Level) = [1]>> then\n    if <(x position) < [-235]> then\n        Begin scene ((Level) + (-1)) go to x: [235]\n    end\nend\n\ndefine Begin scene (scene a) go to x: (x)\nset [level v] to (scene a)\nbroadcast (next v)\nset x to (x)\nstop [other scripts in sprite v]\nwait (0) seconds\nFix colisions in direktion [0]\nbroadcast (Game loop v)\nbroadcast (change level v)\n\ndefine Fix colisions in direktion (dir)\nset [temp v] to (direction)\nset [distance v] to [1]\npoint in direction (dir)\nrepeat (10000000000000)\n    if <not <touching (platform v)?>> then\n        point in direction (temp)\n        stop [this script v]\n    end\n    move (distance) steps\n    turn right (180) degrees\n    change [distance v] by (1)\nend\npoint in direction (90)\n\ndefine Colide X - Slope or wall\nCheck can wallslide\nchange y by (1)\nCheck touching\nif <(Touching) = [ja]> then\n    change y by (1)\n    Check touching\n    if <(Touching) = [ja]> then\n        change y by (-2)\n        set x to (last value)\n        set [speed x v] to [0]\n        stop [this script v]\n    end\n    set [speed x v] to ((Speed x) * (0.8))\nend\nset [speed x v] to ((Speed x) * (0.95))\nSlip\n\ndefine Check touching\nif <<<touching (platform v)?> or <touching (platform2 v)?>> or <touching (fog button v)?>> then\n    set [touching v] to [ja]\nelse\n    set [touching v] to [nein]\nend\n\ndefine Colide - Y Ceiling or Floor\nset y to (last value)\nif <(Speed y) > [0]> then\n    set [speed y v] to [0]\n    stop [this script v]\nend\nif <(Falling) > [0]> then\n    set [falling v] to [0]\n    Slip\nend\nset [speed y v] to ((Speed y) * (0.8))\n\ndefine Slip\nchange y by (-2)\nchange x by (1)\nCheck touching\nif <(Touching) = [nein]> then\n    set [falling v] to [9]\n    change [speed x v] by (1)\n    stop [this script v]\nend\nchange x by (-2)\nCheck touching\nif <(Touching) = [nein]> then\n    set [falling v] to [9]\n    change [speed x v] by (-1)\n    stop [this script v]\nend\nchange y by (2)\nchange x by (1)\n\ndefine Check can wallslide\nif <(Falling) < [2]> then\n    set [wall slide v] to [nein]\n    stop [this script v]\nend\nswitch costume to (hitbox wallslide v)\nset rotation style [left-right v]\nCheck touching\nset [wall slide v] to (Touching)\nswitch costume to (player v)\nset rotation style [don't rotate v]\n\nwhen I receive [death check v]\nif <(tod) = [nein]> then\n    if <<touching (blitz v)?> or <<touching (lava2 v)?> or <<touching (fire l2 v)?> or <<<<<touching (blitz stachel v)?> or <(y position) < [-170]>> or <<touching (elektronic v)?> or <<touching (lightning v)?> or <<touching (partickel l v)?> and <(pick random (1) to (10)) = [1]>>>>> or <touching (lava vulcano v)?>> or <touching (fire l v)?>>>>> then\n        set [tod v] to [ja]\n        broadcast (Player tod v)\n        play sound [Crunch v] until done\n    end\nend\n\nwhen I receive [other extras v]\nif <(tod) = [nein]> then\n    if <<<(Level) = [5]> or <(Level) = [13]>> and <(Falling) < [3]>> then\n        if <not <<key (down arrow v) pressed?> or <key (s v) pressed?>>> then\n            change [speed x v] by (-1)\n        end\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            change [speed x v] by (-0.25)\n        end\n    end\n    if <<<(Level) = [5]> or <(Level) = [13]>> and <(Falling) > [2]>> then\n        if <not <<key (down arrow v) pressed?> or <key (s v) pressed?>>> then\n            change [speed x v] by (-1)\n        end\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            change [speed x v] by (-0.5)\n        end\n    end\nend\n\nwhen I receive [other extras v]\nif <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <((mouse y) + (20)) < (y position)>>> then\n    switch costume to (player2 v)\nelse\n    if <not <<(Level) = [4]> and <<(x position) > [77]> and <(x position) < [176]>>>> then\n        if <not <<(Level) = [8]> and <<(y position) < [-33]> and <<(x position) > [-142]> and <(x position) < [-63]>>>>> then\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen [r v] key pressed\nRestet and begin level\n\nwhen [b v] key pressed\nBug fix normal\n\ndefine Bug fix normal\nrepeat until <not <<touching (platform2 v)?> or <touching (platform v)?>>>\n    change y by (0.1)\nend\n\nwhen [g v] key pressed\nFix colisions in direktion [180]\n\nwhen I receive [player - bounce v]\nset [speed y v] to [15]\n\nwhen I receive [lose life v]\nRestet and begin level\n\nwhen I receive [reapeat v]\nRestet and begin level\n\nwhen I receive [player tod v]\nset [speed x v] to [0]\nset [speed y v] to [0]\nrepeat (20)\n    set [speed x v] to [0]\n    set [speed y v] to [0]\n    change [whirl v] effect by (50)\n    change size by (-6)\n    change [ghost v] effect by (3.5)\nend\nset [speed x v] to [0]\nset [speed y v] to [0]\nRestet and begin level\n\nwhen I receive [change level v]\ngo to [front v] layer\nset size to (100) %\nset [ghost v] effect to (0)\nset [whirl v] effect to (0)\nshow\nset [tod v] to [nein]\n\nwhen I receive [do not glich v]\nFix colisions in direktion [180]\nset [whirl v] effect to (0)\nset [ghost v] effect to (0)\nset size to (100) %\n\nwhen flag clicked\nset [bereit v] to [no]\ndelete all of [ex reload v]\nadd [nein] to [ex reload v]\n\nwhen I receive [game loop v]\nforever\n    if <(tod) = [nein]> then\n        if <<(item (1) of [ex reload v]) = [ja]> and <<<<(boost with mouse) = [yes]> or <key (space v) pressed?>> and <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> and <(Touching) = [ja]>>> then\n            set [bereit v] to [yes]\n            set [time v] to [0]\n            broadcast (extra hight v)\n            broadcast (bombost v)\n            set [speed y v] to [17]\n            replace item (1) of [ex reload v] with [nein]\n            set [time v] to [0]\n            wait (0.09) seconds\n            set [bereit v] to [no]\n            set [boost with mouse v] to [no]\n        end\n    end\nend\n\nwhen I receive [other extras v]\nif <(Time) > [14]> then\n    replace item (1) of [ex reload v] with [ja]\nend\n\nwhen I receive [game loop v]\nforever\n    if <(tod) = [nein]> then\n        if <<(item (1) of [ex reload v]) = [ja]> and <<<key (space v) pressed?> or <(boost with mouse) = [yes]>> and <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n            set [boost with mouse v] to [no]\n            set [time v] to [0]\n            broadcast (ex fast R v)\n            broadcast (bombost v)\n            set [speed x v] to [50]\n            set [time v] to [0]\n            replace item (1) of [ex reload v] with [nein]\n        end\n    end\nend\n\nwhen I receive [game loop v]\nforever\n    if <(tod) = [nein]> then\n        if <<(item (1) of [ex reload v]) = [ja]> and <<<key (space v) pressed?> or <(boost with mouse) = [yes]>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n            set [boost with mouse v] to [no]\n            set [time v] to [0]\n            broadcast (ex fast L v)\n            broadcast (bombost v)\n            set [speed x v] to [-50]\n            replace item (1) of [ex reload v] with [nein]\n            set [time v] to [0]\n        end\n    end\nend\n\nwhen I receive [other extras v]\nif <<touching (water v)?> or <touching (lava v)?>> then\n    set [speed y v] to [-0.5]\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [speed y v] to [6]\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        set [speed y v] to [-5]\n    end\nend\n\nwhen I receive [other extras v]\nFix colisions in direktion [180]\n\nwhen I receive [game loop v]\nforever\n    if <(tod) = [nein]> then\n        if <touching (lava v)?> then\n            wait (0.7) seconds\n            if <touching (lava v)?> then\n                set [tod v] to [ja]\n                broadcast (Player tod v)\n                play sound [Crunch v] until done\n            end\n        end\n    end\nend\n\nwhen I receive [other extras v]\nif <<(Level) = [17]> or <(Level) = [18]>> then\n    set [acelevation v] to [0.7]\n    set [resitanse v] to [0.96]\nelse\n    set [resitanse v] to [0.8]\n    set [acelevation v] to [2]\nend\n\nwhen I receive [other extras v]\nif <(tod) = [nein]> then\n    if <touching (wind boost v)?> then\n        set [speed y v] to [19]\n    end\nend\n\nset [speed y v] to [0]\n\nwhen I receive [other extras v]\nif <(tod) = [nein]> then\n    if <touching (side wind push back v)?> then\n        set [speed x v] to [-19]\n    end\nend\n\nwhen I receive [bombost v]\nplay sound [Drum Bass3 v] until done\n\nplay sound [Medieval1 v] until done\n\ndefine Control up-down\nif <not <(bereit) = [yes]>> then\n    if <(tod) = [nein]> then\n        if <<<mouse down?> and <((mouse y) - (10)) > (y position)>> or <<<mouse down?> and <<([direction v] of [other v]) > [-45]> and <([direction v] of [other v]) < [45]>>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>> then\n            if <<(wall slide) = [ja]> and <(jumping) = [0]>> then\n                if <not <key (space v) pressed?>> then\n                    set [jumping v] to [1]\n                    set [falling v] to [3]\n                    set [wall slide v] to [nein]\n                    turn right (180) degrees\n                    set [speed x v] to (((direction) / (90)) * (7))\n                    set [long jump v] to [1.5]\n                end\n            end\n            if <<(Falling) < [3]> and <(jumping) = [0]>> then\n                if <not <key (space v) pressed?>> then\n                    set [jumping v] to [1]\n                    set [falling v] to [3]\n                end\n            end\n            if <not <key (space v) pressed?>> then\n                if <<(jumping) > [0]> and <(jumping) < (Jump duration)>> then\n                    if <not <key (space v) pressed?>> then\n                        set [speed y v] to (Jump)\n                        change [jumping v] by (1)\n                    end\n                end\n            end\n        else\n            set [jumping v] to [0]\n        end\n        change [speed y v] by (Graviti)\n        if <(wall slide) = [ja]> then\n            Check can wallslide\n            if <(Speed y) < [0]> then\n                set [speed y v] to ((Speed y) * (0.6))\n            end\n        end\n    end\nend\n\nwhen I receive [play v]\nset [tod v] to [nein]\n\nwhen I receive [play v]\nRestet and begin level\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\nwhen I receive [play v]\nwait (1) seconds\nwait until <<mouse down?> or <<<key (up arrow v) pressed?> or <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>> or <<key (w v) pressed?> or <<key (a v) pressed?> or <key (d v) pressed?>>>>>\nbroadcast (First move v)\n\nset [time v] to [0]\n\n@Platform\n\nwhen flag clicked\nhide variable [by: v]\nwait (0.0001) seconds\ngo to [front v] layer\nswitch costume to (level1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next v]\nswitch costume to (join [Level] (Level))\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nhide variable [level v]\nhide variable [time v]\ndelete all of [skip v]\nset [time v] to [0]\n\nwhen I receive [first move v]\nreset timer\n\nwhen I receive [play v]\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [other extras v]\nif <(Level) = [29]> then\n    hide list [hight scores v]\nend\n\n@Figur7\n\nwhen flag clicked\nset [clone2 v] to [0]\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [after light v]\n\nwhen I receive [after light v]\nrepeat (3)\n    create clone of (_myself_ v)\n    wait (0.3) seconds\nend\nwait (0.5) seconds\n\nwhen I start as a clone\nif <(clone2) = [0]> then\n    switch costume to (kostüm1 v)\n    set [ghost v] effect to (0)\n    show\n    go to x: (-1) y: (-214)\n    repeat (25)\n        change y by (17)\n        change [ghost v] effect by (3)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone2) = [1]> then\n    go to x: (188) y: (0)\n    switch costume to (kostüm2 v)\n    set [ghost v] effect to (0)\n    show\n    repeat (25)\n        change [ghost v] effect by (3)\n        change x by (-20)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone2) = [1]> then\n\ngo to x: (-188) y: (0)\nswitch costume to (kostüm2 v)\nset [ghost v] effect to (0)\nshow\nrepeat (25)\n    change [ghost v] effect by (3)\n    change x by (20)\nend\nhide\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\nif <(vor) = [0]> then\n\nwhen I start as a clone\nif <(clone2) = [2]> then\n    switch costume to (kostüm3 v)\n    set [ghost v] effect to (0)\n    show\n    go to x: (-1) y: (-214)\n    repeat (25)\n        stamp\n        change y by (17)\n        change [ghost v] effect by (3)\n    end\n    hide\n    wait until <(vor) = [1]>\n    erase all\n    delete this clone\nend\n\nwait (3) seconds\n\nwhen I receive [after light v]\nwait (1.5) seconds\nset [clone2 v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    wait (0.3) seconds\nend\nwait (1) seconds\nset [clone2 v] to [2]\ncreate clone of (_myself_ v)\n\n@Figur8\n\nwhen flag clicked\nset size to (100) %\nset [ghost v] effect to (0)\nhide\nwait (0.5) seconds\nswitch costume to (kostüm3 v)\ngo to x: (0) y: (0)\nshow\nrepeat (20)\n    change [ghost v] effect by (3)\n    turn right (15) degrees\n    change size by (10)\nend\nhide\n\nwhen I receive [after light v]\nwait (1.5) seconds\nrepeat (3)\n    create clone of (_myself_ v)\n    wait (0.3) seconds\nend\n\nwhen I start as a clone\nset size to (100) %\npoint in direction (90)\ngo to x: (-188) y: (0)\nswitch costume to (kostüm2 v)\nset [ghost v] effect to (0)\nshow\nrepeat (25)\n    change [ghost v] effect by (3)\n    change x by (20)\nend\nhide\ndelete this clone\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\n@play\n\nwhen I receive [end v]\ngo to x: (0) y: (-108)\nwait (1) seconds\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (130) %\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nbroadcast (play v)\nhide\n\nif <(vor) = [0]> then\n\n@Figur5\n\nwhen flag clicked\nset size to (100) %\ngo to x: (0) y: (0)\nhide\nset [ghost v] effect to (100)\n\nwhen I receive [end v]\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change size by (4)\nend\n\nwhen I receive [play v]\nrepeat (17)\n    change y by (-20)\nend\nhide\n\n@Figur6\n\nwhen flag clicked\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nhide\n\ngo to [back v] layer\n\ngo [forward v] (1) layers\n\nwhen I receive [after light v]\nshow\nglide (1) secs to x: (0) y: (-175)\n\nwhen I receive [after light v]\nswitch costume to (kostüm1 v)\nrepeat until <touching (_edge_ v)?>\n    turn right (5) degrees\nend\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (10)\n    turn right (4) degrees\nend\nhide\n\nwhen I receive [end v]\nswitch costume to (kostüm2 v)\nshow\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nrepeat (20)\n    change size by (10)\n    change [ghost v] effect by (5)\n    turn right (4.5) degrees\nend\nhide\n\npoint in direction (90)\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\n@Figur4\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [way v]\nrepeat (15)\n    wait (0.0001) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (kostüm1 v)\ngo to x: (pick random (70) to (-130)) y: (pick random (50) to (-50))\nshow\nset size to (pick random (90) to (120)) %\nset [color v] effect to (pick random (0) to (20))\nset [brightness v] effect to (pick random (0) to (30))\nbroadcast (arrow v)\nrepeat until <touching (_edge_ v)?>\n    change y by (pick random (-10) to (-5))\nend\ndelete this clone\n\nwhen I receive [arrow v]\npoint in direction (0)\nset [brightness v] effect to (0)\nwait (pick random (0) to (0.7)) seconds\nswitch costume to (kostüm2 v)\nwait (1) seconds\nswitch costume to (kostüm2 v)\nset size to (10) %\ngo to x: (0) y: (0)\nshow\nrepeat (30)\n    change size by (30)\n    turn right (5) degrees\nend\nrepeat (30)\n    turn right (4) degrees\n    change [brightness v] effect by (6)\nend\npoint in direction (0)\nbroadcast (end v)\n\nwhen I receive [play v]\nhide\nrepeat (17)\n    change y by (-20)\nend\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\n@Figur3\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nhide\n\nwhen I receive [after light v]\ngo to x: (-210) y: (0)\nshow\nrepeat until <touching (figur2 v)?>\n    Move\n    create clone of (_myself_ v)\nend\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nshow\nset size to (100) %\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\ndelete this clone\n\ndelete this clone\n\nwhen I receive [end v]\nswitch costume to (kostüm2 v)\ngo to x: (0) y: (0)\nset size to (100) %\nset [ghost v] effect to (0)\nshow\nrepeat (10)\n    change size by (15)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\ndefine Move\nrepeat (15)\n    change x by (1)\n    if <touching (figur2 v)?> then\n        hide\n    end\nend\n\n@Figur2\n\nwhen flag clicked\nhide\n\nwhen I receive [after light v]\npoint in direction (0)\nset [clone v] to [0]\nset size to (100) %\nset [color v] effect to (0)\nswitch costume to (kostüm1 v)\ngo to x: (210) y: (0)\nshow\nrepeat until <touching (figur3 v)?>\n    change x by (-15)\n    create clone of (_myself_ v)\nend\nbroadcast (roling v)\nhide\n\nwhen I start as a clone\nif <(clone) = [0]> then\n    set [color v] effect to (0)\n    set [ghost v] effect to (0)\n    show\n    set size to (100) %\n    repeat (10)\n        change [ghost v] effect by (10)\n        change size by (-10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\nif <(vor) = [0]> then\n\n@Figur9\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [color v] effect to (0)\nset [ghost v] effect to (0)\nshow\nset size to (100) %\nrepeat (100)\n    change [color v] effect by (2)\n    change [ghost v] effect by (10)\n    change size by (10)\nend\ndelete this clone\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\nwhen I receive [roling v]\nshow\ngo to x: (0) y: (0)\nrepeat (50)\n    create clone of (_myself_ v)\n    turn left (15) degrees\nend\nhide\n\n@lightning2\n\nwhen flag clicked\nswitch costume to (blitze2 v)\npoint in direction (90)\nhide\ncreate clone of (_myself_ v)\nset [ghost v] effect to (100)\ngo to x: (256) y: (0)\nwait (1.5) seconds\nshow\nrepeat (7)\n    change [ghost v] effect by (-10)\n    move (-7) steps\nend\nswitch costume to (blitze3 v)\nrepeat (20)\n    change y by (-10)\n    change [ghost v] effect by (2)\nend\nhide\nbroadcast (after light v)\nif <(vor) = [0]> then\nend\n\nwhen I start as a clone\nswitch costume to (blitze2 v)\npoint in direction (-90)\nhide\nset [ghost v] effect to (100)\ngo to x: (-256) y: (0)\nwait (1.5) seconds\nshow\nrepeat (7)\n    change [ghost v] effect by (-10)\n    move (-7) steps\nend\nswitch costume to (blitze3 v)\ngo to x: (-200) y: (0)\nrepeat (21)\n    change y by (10)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nturn right (15) degrees\n\nwhen I start as a clone\nshow\n\ndelete this clone\n\nchange y by (5)\n\nrepeat (30)\n\nset [clone v] to [2]\n\nif <(clone) = [2]> then\n\ndelete this clone\n\nrepeat (10)\nend\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\nif <(vor) = [0]> then\nend\n\n@Figur1\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nset [color v] effect to (0)\nset size to (20) %\ngo to x: (0) y: (0)\nhide\nwait (0.65) seconds\nshow\nrepeat (4)\n    repeat (10)\n        change size by (50)\n    end\n    create clone of (_myself_ v)\n    set size to (20) %\nend\nhide\nwait (1.5) seconds\nshow\nswitch costume to (kostüm2 v)\nrepeat (1)\n    set size to (500) %\n    repeat (10)\n        change size by (-50)\n        change [color v] effect by (0.5)\n    end\nend\nhide\nbroadcast (way v)\nif <(vor) = [0]> then\n\nwhen I start as a clone\nnext costume\nset size to (20) %\nrepeat (10)\n    change size by (50)\nend\ndelete this clone\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\nif <(vor) = [0]> then\n\nif <(vor) = [0]> then\n\n@Lightning2\n\nwhen flag clicked\ncreate clone of (_myself_ v)\npoint in direction (-120)\nswitch costume to (ligtning2 v)\nshow\ngo to x: (274) y: (206)\nwait (0.3) seconds\nbroadcast (lightning moove v)\nglide (0.5) secs to x: (-278) y: (-218)\nhide\nif <(vor) = [0]> then\n\nwhen I start as a clone\nswitch costume to (ligtning2 v)\npoint in direction (135)\nshow\ngo to x: (-278) y: (219)\nwait (0.3) seconds\nbroadcast (lg2 v)\nglide (0.5) secs to x: (275) y: (-221)\nhide\ndelete this clone\n\nwhen I receive [lightning moove v]\nforever\n    next costume\nend\n\nwhen I receive [lg2 v]\nforever\n    next costume\nend\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\n@il_GG\n\nwhen flag clicked\nset [vor v] to [0]\ngo to [back v] layer\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nset size to (30) %\nhide\nwait (1) seconds\nshow\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (5)\n    change size by (-5)\nend\nwait (0.1) seconds\nrepeat (5)\n    change size by (5)\nend\nwait (0.1) seconds\nrepeat (5)\n    change size by (-5)\nend\n\nwhen I receive [way v]\nrepeat (4)\n    turn left (7) degrees\nend\nrepeat (4)\n    turn right (7) degrees\nend\nrepeat (4)\n    turn right (7) degrees\nend\nrepeat (4)\n    turn left (7) degrees\nend\n\nwhen I receive [play v]\nset [vor v] to [1]\nhide\n\nrepeat (17)\n    change y by (-20)\nend\n\n@fog button\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (kostüm1 v)\ngo to x: (36) y: (28)\nforever\n    if  then\n        show\n        go to x: (-2) y: (-60)\n    else\n        if <not <(Level) = [15]>> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(distance to [player v]) < [30]> or <touching (player v)?>> then\n        switch costume to (kostüm2 v)\n        broadcast (on button v)\n        set [button v] to [yes]\n        wait (0.2) seconds\n    else\n        set [button v] to [no]\n        switch costume to (kostüm1 v)\n        broadcast (buttensound v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [15]> then\n        show\n        go to x: (-14) y: (80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [15]> or <(Level) = [14]>> then\n        if <<(distance to [player v]) < [30]> or <touching (player v)?>> then\n            play sound [Tennis Hit v] until done\n            wait until <not <<(distance to [player v]) < [30]> or <touching (player v)?>>>\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<(distance to [player v]) < [30]> or <touching (player v)?>>> then\n        broadcast (on button v)\n        set [button v] to [no]\n        wait (0.2) seconds\n    else\n    end\nend\n\n@tipp\n\nwhen I receive [other extras v]\nif <(Level) = [25]> then\n    go to x: (0) y: (0)\n    show\nelse\n    hide\nend\n\nwhen this sprite clicked\nswitch costume to (kostüm2 v)\nwait (2) seconds\nswitch costume to (kostüm1 v)\n\nwhen this sprite clicked\nstart sound [Plopp v]\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\n\n@music\n\n@side wind push back\n\nwhen flag clicked\nforever\n    if <(Level) = [25]> then\n        hide\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n    else\n        hide\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(Level) = [25]> then\n    show\n    point in direction ((0) + (pick random (-90) to (-90)))\n    go to x: (230) y: (pick random (-50) to (180))\n    set size to (pick random (50) to (80)) %\n    set [color v] effect to (pick random (110) to (200))\n    if <(pick random (1) to (3)) = [1]> then\n        switch costume to (kostüm1 v)\n    end\n    if <(pick random (1) to (3)) = [2]> then\n        switch costume to (kostüm v)\n    end\n    forever\n        move (pick random (5) to (10)) steps\n        change [ghost v] effect by (4)\n        if <(x position) < (pick random (80) to (120))> then\n            delete this clone\n        end\n        if <not > then\n            delete this clone\n        end\n    end\nend\n\n@wind boost\n\nwhen I start as a clone\nif  then\n    show\n    point in direction ((0) + (pick random (-5) to (5)))\n    go to x: (pick random (-120) to (-70)) y: (-190)\n    set size to (pick random (50) to (80)) %\n    set [color v] effect to (pick random (110) to (120))\n    if <(pick random (1) to (3)) = [1]> then\n        switch costume to (kostüm1 v)\n    end\n    if <(pick random (1) to (3)) = [2]> then\n        switch costume to (kostüm2 v)\n    end\n    forever\n        move (pick random (5) to (10)) steps\n        change [ghost v] effect by (1)\n        if <(y position) > (pick random (20) to (0))> then\n            delete this clone\n        end\n        if <not <<(Level) = [24]> or <(Level) = [28]>>> then\n            delete this clone\n        end\n    end\nend\nif  then\n    show\n    point in direction ((0) + (pick random (-5) to (5)))\n    go to x: (pick random (-120) to (-70)) y: (-190)\n    set size to (pick random (50) to (80)) %\n    set [color v] effect to (pick random (110) to (120))\n    if <(pick random (1) to (3)) = [1]> then\n        switch costume to (kostüm1 v)\n    end\n    if <(pick random (1) to (3)) = [2]> then\n        switch costume to (kostüm2 v)\n    end\n    forever\n        move (pick random (5) to (10)) steps\n        change [ghost v] effect by (4)\n        if <(y position) > (pick random (-39) to (-50))> then\n            delete this clone\n        end\n        if <not <<(Level) = [24]> or <(Level) = [28]>>> then\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        repeat (25)\n            hide\n            create clone of (_myself_ v)\n            wait (0.001) seconds\n        end\n        wait (4) seconds\n    else\n        hide\n        delete this clone\n    end\nend\n\npoint in direction (90)\n\nwait (0.001) seconds\n\nwhen flag clicked\nforever\n    if  then\n        hide\n        create clone of (_myself_ v)\n        wait (0.001) seconds\n    else\n        hide\n        delete this clone\n    end\nend\n\n@lava2\n\nwhen I start as a clone\nif <(id) = [1]> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(id) = [firework]> then\n    show\n    point in direction (pick random (-45) to (45))\n    go to x: (pick random (53) to (55)) y: (25)\n    set size to (81) %\n    clear graphic effects\n    set [color v] effect to (Color)\n    set [id v] to [1]\n    set [speed v] to (pick random (10) to (15))\n    set [effekt: y v] to [0]\n    repeat until <<touching (player v)?> or <<[0.3] > (Speed)> or <touching (platform v)?>>>\n        move (Speed) steps\n        change y by (Effekt: Y)\n        create clone of (_myself_ v)\n        change [speed v] by (-0.2)\n        change [effekt: y v] by (-0.3)\n    end\n    broadcast (explosim v)\n    set [brightness v] effect to (100)\n    set size to (500) %\n    Particle\n    wait (0.01) seconds\n    hide\n    repeat (10)\n        wait (0.01) seconds\n        erase all\n    end\n    delete this clone\nend\n\nwhen I start as a clone\ngo to [back v] layer\n\nwhen flag clicked\nerase all\n\nwhen I receive [start v]\nforever\n    hide\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [start panzer schießt v]\ncreate clone of (_myself_ v)\n\ndefine Particle\nset [id v] to [2]\nrepeat (pick random (81) to (127))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(id) = [2]> then\n    show\n    set [brightness v] effect to (pick random (0) to (20))\n    set [color v] effect to (pick random (Color) to ((Color) + (pick random (-1) to (1))))\n    point in direction (pick random (-45) to (45))\n    set [v v] to (pick random (5.0) to (9.0))\n    set [effekt: y v] to [3]\n    set size to (pick random (0) to (100)) %\n    repeat (5)\n        move (V) steps\n        change y by (Effekt: Y)\n        set [ghost v] effect to (50)\n        stamp\n        set [ghost v] effect to (0)\n        set [v v] to ((V) * (0.9))\n        change [effekt: y v] by (-0.3)\n    end\n    repeat (20)\n        move (V) steps\n        change y by (Effekt: Y)\n        set [v v] to ((V) * (0.9))\n        change [effekt: y v] by (-0.3)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        create clone of (_myself_ v)\n        broadcast (fly music v)\n        wait (pick random (2) to (3)) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    set [color v] to (pick random (0) to (20))\nend\n\nwhen I start as a clone\nforever\n    if <<(y position) > [175]> or <not <(Level) = [6]>>> then\n        delete this clone\n    end\nend\n\nwhen I receive [fly music v]\nplay sound [Spiral v] until done\n\nplay sound [Spiral v] until done\n\nwhen I receive [explosim v]\nplay sound [Crunch v] until done\n\n@blitz\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nif <(id blitz) = [3]> then\n    point in direction (90)\n    go to x: (-60) y: (63)\n    forever\n        point in direction (90)\n        set [color v] effect to (pick random (-20) to (20))\n        set [ghost v] effect to (pick random (0) to (20))\n        set [brightness v] effect to (pick random (0) to (20))\n        next costume\n    end\nend\n\nwhen flag clicked\nforever\n    hide\nend\n\nwhen I receive [next v]\nset [id blitz v] to [1]\ndelete this clone\n\nwhen I receive [next v]\nif <(Level) = [8]> then\n    wait (0.01) seconds\n    set [id blitz v] to [1]\n    create clone of (_myself_ v)\n    wait (0.01) seconds\n    set [id blitz v] to [2]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nif <(id blitz) = [4]> then\n    point in direction (90)\n    go to x: (62) y: (30)\n    forever\n        set [color v] effect to (pick random (-20) to (20))\n        set [ghost v] effect to (pick random (0) to (20))\n        set [brightness v] effect to (pick random (0) to (20))\n        next costume\n    end\nend\n\nwhen I receive [next v]\nif <(Level) = [22]> then\n    wait (0.01) seconds\n    set [id blitz v] to [3]\n    create clone of (_myself_ v)\n    wait (0.01) seconds\n    set [id blitz v] to [4]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nif <(id blitz) = [1]> then\n    point in direction (0)\n    go to x: (50) y: (0)\n    forever\n        set [color v] effect to (pick random (-20) to (20))\n        set [ghost v] effect to (pick random (0) to (20))\n        set [brightness v] effect to (pick random (0) to (20))\n        next costume\n    end\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nif <(id blitz) = [2]> then\n    point in direction (0)\n    go to x: (50) y: (140)\n    forever\n        set [color v] effect to (pick random (-20) to (20))\n        set [ghost v] effect to (pick random (0) to (20))\n        set [brightness v] effect to (pick random (0) to (20))\n        next costume\n    end\nend\n\nwhen I receive [next v]\nif <(Level) = [23]> then\n    wait (0.01) seconds\n    set [id blitz v] to [5]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nif <(id blitz) = [5]> then\n    point in direction (60)\n    go to x: (23) y: (20)\n    forever\n        set [color v] effect to (pick random (-20) to (20))\n        set [ghost v] effect to (pick random (0) to (20))\n        set [brightness v] effect to (pick random (0) to (20))\n        next costume\n    end\nend\n\nwhen I receive [next v]\nif <(Level) = [28]> then\n    wait (0.01) seconds\n    set [id blitz v] to [6]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nif <(id blitz) = [6]> then\n    point in direction (0)\n    go to x: (-110) y: (-50)\n    forever\n        set [color v] effect to (pick random (-20) to (20))\n        set [ghost v] effect to (pick random (0) to (20))\n        set [brightness v] effect to (pick random (0) to (20))\n        next costume\n    end\nend\n\n@Fire L2\n\nwhen I receive [other extras v]\nif < or <(Level) = [18]>> then\n    show\n    turn right (15) degrees\nelse\n    hide\nend\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (kostüm1 v)\ngo to x: (200) y: (124)\nset [fire ball v] to [yes]\nforever\n    if <(Level) = [18]> then\n        if <(fire ball) = [yes]> then\n            go to x: (200) y: (124)\n            wait (pick random (3) to (3)) seconds\n            broadcast (s l2 v)\n        end\n    end\nend\n\nwhen I receive [s l2 v]\nset [fire ball v] to [no]\nswitch costume to (kostüm2 v)\nrepeat until <<touching (platform v)?> or <touching (player v)?>>\n    if on edge, bounce\n    point towards (player v)\n    if <(Level) = [18]> then\n        move (5) steps\n    end\nend\nwait (0.000000001) seconds\nset [fire ball v] to [yes]\ngo to x: (200) y: (124)\nswitch costume to (kostüm1 v)\n\nwhen I receive [s l2 v]\nset [fire ball v] to [no]\nwait (1) seconds\nset [fire ball v] to [yes]\n\nif <(Level) = [9]> then\n\n@Rain\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\npoint in direction (90)\ngo to x: (pick random (-240) to (240)) y: (230)\nif <<<<(Level) = [17]> or <<(Level) = [18]> or <(vor) = [0]>>> or <<<<<(Level) = [19]> or <(Level) = [26]>> or <(Level) = [15]>> or <(Level) = [20]>> or <(Level) = [23]>>> or <(Level) = [21]>> then\n    hide\nelse\n    show\nend\ngo [backward v] (2) layers\nwait (0.0001) seconds\ngo to [back v] layer\nset [color v] effect to (pick random (1) to (5))\nset [brightness v] effect to (pick random (0) to (30))\nset [ghost v] effect to (pick random (0) to (20))\nset size to (pick random (50) to (120)) %\nchange [pixelate v] effect by (pick random (1) to (100))\nif <(pick random (1) to (4)) = [1]> then\n    switch costume to (apple v)\nend\nif <(pick random (1) to (4)) = [2]> then\n    switch costume to (apple2 v)\nend\nif <(pick random (1) to (4)) = [3]> then\n    switch costume to (apple3 v)\nend\nforever\n    if <(y position) < [-170]> then\n        delete this clone\n    end\n    change y by (pick random (-5) to (-7))\n    if <(Level) = [5]> then\n        change x by (pick random (-1) to (-2))\n        point in direction (95)\n        if <(x position) < [-235]> then\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nif  then\n\n@Platform2\n\nwhen flag clicked\ngo to [back v] layer\ngo [backward v] (1) layers\nswitch costume to (level2 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nswitch costume to (join [Level] (Level))\n\nwhen I receive [next v]\nif <(Level) = [3]> then\n    if <not <[finished players v] contains (username)?>> then\n        add (username) to [finished players v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [15]> then\n        if <(button) = [yes]> then\n            repeat (21)\n                change y by (5)\n            end\n            go to x: (0) y: (110)\n        end\n    end\nend\n\nwhen I receive [change level v]\ngo to x: (0) y: (0)\n\nwhen I receive [reapeat v]\ngo to x: (0) y: (0)\n\nif <(button) = [yes]> then\n\nwhen flag clicked\nforever\n    if <(Level) = [14]> then\n        if <(button) = [yes]> then\n            repeat (38)\n                change y by (5)\n            end\n            go to x: (0) y: (190)\n        end\n    end\nend\n\n@boost\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((3) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (0) y: ((0) + (([sin v] of (Deeeeueuuuuuuux) ) * (5)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (1)))\n    change [deeeeueuuuuuuux v] by (4)\nend\n\nwhen flag clicked\n\nwait until <(extra vo) = [yes]>\n\nwhen I receive [extra hight v]\nset [extra vo v] to [yes]\n\nwhen I receive [ex fast r v]\nset [extra vo v] to [yes]\n\nwhen I receive [ex fast l v]\nset [extra vo v] to [yes]\n\nwhen this sprite clicked\nif <(Time) > [14]> then\n    set [boost with mouse v] to [yes]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\nwhen I receive [play v]\nswitch costume to (kostüm14 v)\nset [boost with mouse v] to [no]\nset [extra vo v] to [no]\nforever\n    repeat (14)\n        wait (1) seconds\n        next costume\n    end\n    wait until <(extra vo) = [yes]>\n    set [extra vo v] to [no]\nend\n\n@skip\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\nshow\n\nwhen this sprite clicked\nbroadcast (change level v)\nbroadcast (next v)\nchange [level v] by (1)\nadd (username) to [skip v]\n\nwhen this sprite clicked\nstart sound [Plopp v]\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((3) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (-200) y: ((-150) + (([sin v] of (Deeeeueuuuuuuux) ) * (5)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (1)))\n    change [deeeeueuuuuuuux v] by (4)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [29]> then\n        hide\n    else\n        if <not <(vor) = [0]>> then\n            show\n        else\n            hide\n        end\n    end\nend\n\n@water\n\nwhen flag clicked\nwait (0.1) seconds\ngo to [back v] layer\nset [ghost v] effect to (20)\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nforever\n    repeat (20)\n        change y by (1)\n    end\n    repeat (20)\n        change y by (-1)\n    end\nend\n\nwhen I receive [next v]\nswitch costume to (join [Kostüm] (Level))\n\n\n\nwhen I receive [w sound v]\n\n@Fire L\n\nwhen I receive [other extras v]\nif <<(Level) = [9]> or <(Level) = [18]>> then\n    show\n    turn right (15) degrees\nelse\n    hide\nend\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (kostüm1 v)\ngo to x: (-200) y: (124)\nset [fire ball v] to [yes]\nforever\n    if <<(Level) = [9]> or <(Level) = [18]>> then\n        if <(fire ball) = [yes]> then\n            go to x: (-200) y: (124)\n            wait (pick random (1) to (1.5)) seconds\n            broadcast (Shot L v)\n        end\n    end\nend\n\nwhen I receive [shot l v]\nset [fire ball v] to [no]\nswitch costume to (kostüm2 v)\nrepeat until <<touching (platform v)?> or <touching (player v)?>>\n    if on edge, bounce\n    point towards (player v)\n    if <(Level) = [9]> then\n        move (8) steps\n    end\n    if <(Level) = [18]> then\n        move (5) steps\n    end\nend\nwait (0.000000001) seconds\nset [fire ball v] to [yes]\ngo to x: (-200) y: (124)\nswitch costume to (kostüm1 v)\n\nwhen I receive [shot l v]\nset [fire ball v] to [no]\nwait (3) seconds\nset [fire ball v] to [yes]\n\nif <(Level) = [9]> then\n\n@Scren\n\nwhen flag clicked\n\ngo to x: (0) y: (0)\n\nshow\n\nwait (1) seconds\n\nwhen flag clicked\nhide\n\nforever\n\ngo to [front v] layer\n\n@HIgt speed\n\ndefine Particle\nrepeat (pick random (20) to (30))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to (player v)\nshow\nset [brightness v] effect to (pick random (0) to (20))\nset [color v] effect to (Color)\nif <(id) = [H]> then\n    if <(pick random (1) to (2)) = [1]> then\n        point in direction (pick random (135) to (180))\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        point in direction (pick random (-134) to (-179))\n    end\nend\nif <(id) = [L]> then\n    point in direction (pick random (45) to (135))\nend\nif <(id) = [R]> then\n    point in direction (pick random (-45) to (-135))\nend\nset [v v] to (pick random (5.0) to (9.0))\nset [effekt: y v] to [3]\nset size to (pick random (0) to (100)) %\nrepeat (5)\n    move (V) steps\n    change y by (Effekt: Y)\n    set [ghost v] effect to (50)\n    set [ghost v] effect to (5)\n    set [v v] to ((V) * (0.9))\n    change [effekt: y v] by (-0.3)\nend\nrepeat (20)\n    move (V) steps\n    change y by (Effekt: Y)\n    set [v v] to ((V) * (0.9))\n    change [effekt: y v] by (-0.3)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    set [color v] to (pick random (0) to (20))\nend\n\nwhen I receive [extra hight v]\nset [id v] to [H]\nParticle\n\nwhen I receive [ex fast l v]\nset [id v] to [L]\nParticle\n\nwhen I receive [ex fast r v]\nset [id v] to [R]\nParticle\n\n@Other\n\nwhen flag clicked\nhide\nforever\n    set [color v] effect to (0)\n    set [ghost v] effect to (0)\n    switch costume to (kostüm1 v)\n    go to (player v)\n    point towards (mouse-pointer v)\nend\n\nwhen I receive [play v]\nshow\n\n@Gliches\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((20) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (-134) y: ((-150) + (([sin v] of (Deeeeueuuuuuuux) ) * (3)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (1)))\n    change [deeeeueuuuuuuux v] by (5)\nend\n\nwhen this sprite clicked\nbroadcast (do not glich v)\nwait (1) seconds\n\nwhen this sprite clicked\nstart sound [Plopp v]\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\n@PEPEAT\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((20) * <touching (mouse-pointer v)?>)) - (size)) / (1)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (-200) y: ((-150) + (([sin v] of (Deeeeueuuuuuuux) ) * (3)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (1)))\n    change [deeeeueuuuuuuux v] by (5)\nend\n\nwhen this sprite clicked\nbroadcast (REAPEAT v)\nwait (1) seconds\n\nwhen this sprite clicked\nstart sound [Plopp v]\n\nwhen I receive [reapeat v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\n@schweif\n\nwhen flag clicked\nhide\nforever\n    go to (player v)\n    hide\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (([size v] of [player v]) - (10)) %\ngo to [back v] layer\nshow\nset [color v] effect to (pick random (0) to (35))\nrepeat (15)\n    change size by (-2.5)\n    change [ghost v] effect by (7.5)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\ngo to [back v] layer\nforever\n    if <<([costume name v] of [player v]) = [player2]> or <<key (down arrow v) pressed?> or <key (s v) pressed?>>> then\n        switch costume to (kostüm2 v)\n    else\n        switch costume to (kostüm1 v)\n    end\nend\n\nwhen I start as a clone\nif <(vor) = [0]> then\n    delete this clone\nend\n\n@Spur\n\nwhen I start as a clone\nif <(Level) = [7]> then\n    Spawn\n    if <not <touching (enemy v)?>> then\n        delete this clone\n    end\n    repeat (33)\n        change [ghost v] effect by (3)\n    end\n    wait (0.2) seconds\n    delete this clone\nend\n\nwhen I receive [change level v]\ndelete this clone\n\ndefine Spawn\nset size to (pick random (10) to (20)) %\nset [color v] effect to (pick random (0) to (50))\nset [brightness v] effect to (pick random (0) to (20))\nshow\nif <(pick random (1) to (2)) = [1]> then\n    set x to (item (1) of [enemy x/y v])\n    set y to ((item (3) of [enemy x/y v]) + (pick random (3) to (-3)))\n    point in direction (item (5) of [enemy x/y v])\n    move (-3) steps\nend\nif <(pick random (1) to (2)) = [2]> then\n    set x to (item (2) of [enemy x/y v])\n    set y to ((item (4) of [enemy x/y v]) + (pick random (3) to (-3)))\n    point in direction (item (6) of [enemy x/y v])\n    move (-3) steps\nend\nif <(pick random (1) to (2)) = [1]> then\n    delete this clone\nend\nif <(pick random (1) to (2)) = [1]> then\n    delete this clone\nend\nif <(pick random (1) to (2)) = [1]> then\n    delete this clone\nend\nif <(y position) < [-200]> then\n    delete this clone\nend\npoint in direction (pick random (-180) to (179))\n\nwhen I receive [other extras v]\nif <(Level) = [7]> then\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    go to x: (0) y: (-300)\n    hide\nend\n\n@Cloud\n\nwhen [s v] key pressed\n\ndefine Check hight score\nset [a score index v] to [1]\nrepeat until <<(letter (A Score Index) of (item (A wo score) of [hight scores deposit v])) = [ ]> or <(letter (A Score Index) of (item (A wo score) of [hight scores deposit v])) = []>>\n    change [a score index v] by (1)\nend\n\nwhen I receive [check hight score v]\nset [a wo score v] to (length of [scores v])\nrepeat (length of [scores v])\n    if <(item (A wo score) of [scores v]) < (item ((A wo score) + (-1)) of [scores v])> then\n        insert (item (A wo score) of [scores v]) at ((A wo score) - (1)) of [scores v] \n        delete ((A wo score) + (1)) of [scores v]\n    end\n    change [a wo score v] by (1)\nend\n\nwhen flag clicked\ndelete all of [scores v]\ndelete all of [buchstaben v]\nrepeat (9)\n    add [] to [buchstaben v]\nend\nset [a buch index v] to [1]\nset [a buchstaben v] to [0123456789 abcdefghijklmnopqrstuvwxyz!"£$%^&*\(\)_+\[\]{};'#:@$~,./<°>?\|`¬ß]\nrepeat (length of (A Buchstaben))\n    add (letter (A buch Index) of (A Buchstaben)) to [buchstaben v]\n    change [a buch index v] by (1)\nend\n\nwhen flag clicked\nshow list [hight scores v]\nwait until <(Level) = [29]>\nif <not <[skip v] contains (username)?>> then\n    set [☁ cloudlist v] to (join (☁ Cloudlist) [2074])\n    set [a umwandlung v] to []\n    set [a cloud index v] to [1]\n    repeat (length of (username))\n        set [a umwandlung v] to (join (A Umwandlung) (item # of (letter (A Cloud index) of (username)) in [buchstaben v]))\n        change [a cloud index v] by (1)\n    end\n    set [a umwandlung v] to (join (A Umwandlung) [717120])\n    set [a cloud index v] to [1]\n    repeat (length of (timer))\n        set [a umwandlung v] to (join (A Umwandlung) (item # of (letter (A Cloud index) of (timer)) in [buchstaben v]))\n        change [a cloud index v] by (1)\n    end\n    set [☁ cloudlist v] to (join (☁ Cloudlist) (A Umwandlung))\n    add (A Umwandlung) to [hight scores deposit v]\nend\ndelete all of [hight scores deposit v]\ndelete all of [scores v]\nadd [] to [buchstaben v]\ndelete all of [rück umwandlug v]\nset [a rück umwandlung v] to []\nset [a rück index v] to [1]\nrepeat (length of (☁ Cloudlist))\n    set [a rück umwandlung v] to []\n    repeat (2)\n        set [a rück umwandlung v] to (join (A rück umwandlung) (letter (A rück Index) of (☁ Cloudlist)))\n        change [a rück index v] by (1)\n    end\n    add (item (A rück umwandlung) of [buchstaben v]) to [rück umwandlug v]\nend\nset [a rück index v] to [1]\nset [a rück umgewandelt v] to []\nrepeat (length of [rück umwandlug v])\n    set [a rück umgewandelt v] to (join (A Rück umgewandelt) (item (A rück Index) of [rück umwandlug v]))\n    change [a rück index v] by (1)\nend\ndelete all of [hight scores deposit v]\ndelete all of [scores v]\nset [a trenn index v] to [3]\nrepeat ((length of (A Rück umgewandelt)) / (10))\n    set [a trennung v] to []\n    repeat until <<(letter (A Trenn Index) of (A Rück umgewandelt)) = [°]> or <(letter (A Trenn Index) of (A Rück umgewandelt)) = []>>\n        set [a trennung v] to (join (A trennung) (letter (A Trenn Index) of (A Rück umgewandelt)))\n        change [a trenn index v] by (1)\n    end\n    set [a wo score v] to [1]\n    add (A trennung) to [hight scores deposit v]\n    change [a trenn index v] by (1)\n    set [a wo score v] to (item # of (A trennung) in [hight scores deposit v])\n    Check hight score\n    wait (0.1) seconds\n    set [a score zahl v] to []\n    repeat until \n        set [a score zahl v] to (join (A Score zahl) (letter (A Score Index) of (item (A wo score) of [hight scores deposit v])))\n        change [a score index v] by (1)\n    end\n    add (A Score zahl) to [scores v]\nend\nwait (0.1) seconds\nrepeat (length of [scores v])\n    broadcast (Check Hight score v)\n    wait (0.1) seconds\nend\nrepeat (length of [hight scores deposit v])\n    delete (item # of [] in [hight scores deposit v]) of [hight scores deposit v]\n    delete (item # of [] in [scores v]) of [scores v]\nend\ndelete all of [hight scores v]\nrepeat (length of [hight scores deposit v])\n    add [Score] to [hight scores v]\nend\nset [a wo score v] to (length of [scores v])\nrepeat ((length of [scores v]) * (1.5))\n    if <(A wo score) = [0]> then\n        stop [this script v]\n    end\n    Check hight score\n    set [a score zahl v] to []\n    change [a score index v] by (1)\n    repeat until \n        set [a score zahl v] to (join (A Score zahl) (letter (A Score Index) of (item (A wo score) of [hight scores deposit v])))\n        change [a score index v] by (1)\n    end\n    set [a score index v] to [1]\n    set [a score name v] to []\n    repeat until \n        set [a score name v] to (join (A score name) (letter (A Score Index) of (item (A wo score) of [hight scores deposit v])))\n        change [a score index v] by (1)\n    end\n    set [a score index v] to (length of [scores v])\n    repeat until <<(item (A Score Index) of [scores v]) = (A Score zahl)> or <(A Score Index) = [0]>>\n        change [a score index v] by (-1)\n    end\n    set [a gleich score v] to (A Score Index)\n    replace item (A gleich score) of [scores v] with [Used]\n    replace item (A gleich score) of [hight scores v] with (join (A score name) (join [ ] (A Score zahl)))\n    change [a wo score v] by (-1)\nend\nhide list [hight scores v]\n\n@Enemy\n\nwhen flag clicked\nset [id enemy v] to [1]\ndelete all of [enemy x/y v]\nadd [x] to [enemy x/y v]\nadd [x2] to [enemy x/y v]\nadd [y] to [enemy x/y v]\nadd [y2] to [enemy x/y v]\nadd [richtung] to [enemy x/y v]\nadd [richtung2] to [enemy x/y v]\ngo to [front v] layer\nswitch costume to (red1 v)\nset rotation style [left-right v]\nhide\n\nwhen I receive [change level v]\nset [id enemy v] to [1]\nif <<(Level) = [7]> or <(Level) = [16]>> then\n    set [id enemy v] to [1]\n    Spawn [Red] at [-135] [-111] dir [90]\n    wait (0.2) seconds\n    set [id enemy v] to [2]\n    Spawn [Red] at [90] [-111] dir [90]\nend\n\nwhen I start as a clone\nif <(id enemy) = [1]> then\n    show\n    set [speed y v] to [0]\n    set [frame v] to [0]\n    forever\n        replace item (1) of [enemy x/y v] with (x position)\n        replace item (3) of [enemy x/y v] with (y position)\n        replace item (5) of [enemy x/y v] with (direction)\n        switch costume to (red1 v)\n        set rotation style [don't rotate v]\n        Move - Down\n        Move - Left or Right\n        change [frame v] by (0.33)\n        switch costume to ((1) + (([floor v] of (frame) ) mod (4)))\n        set rotation style [left-right v]\n        if <touching (player v)?> then\n            Touching Player\n            replace item (3) of [enemy x/y v] with [-300]\n        end\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\ndefine Move - Down\nchange [speed y v] by (-1)\nchange y by (speed y)\nrepeat until <not <touching (platform v)?>>\n    change y by (1)\n    set [speed y v] to [0]\nend\n\ndefine Move - Left or Right\nmove (2) steps\nrepeat (4)\n    if <not <<touching (platform v)?> or <touching (_edge_ v)?>>> then\n        if <not <touching (platform v)?>> then\n            stop [this script v]\n        end\n    end\n    change y by (1)\nend\nchange y by (-4)\nmove (-2) steps\nturn right (180) degrees\n\ndefine Touching Player\nif <([falling v] of [player v]) > [3]> then\n    broadcast (Player - Bounce v)\n    start sound [squish v]\n    switch costume to (red squish v)\n    wait (0.3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    change [clone v] by (-1)\n    delete this clone\nend\nbroadcast (Lose life v)\n\ndefine Spawn (type) at (x) (y) dir (dir)\ngo to x: (x) y: (y)\npoint in direction (dir)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(id enemy) = [2]> then\n    show\n    set [speed y v] to [0]\n    set [frame v] to [0]\n    forever\n        replace item (2) of [enemy x/y v] with (x position)\n        replace item (4) of [enemy x/y v] with (y position)\n        replace item (6) of [enemy x/y v] with (direction)\n        switch costume to (red1 v)\n        set rotation style [don't rotate v]\n        Move - Down\n        Move - Left or Right\n        change [frame v] by (0.33)\n        switch costume to ((1) + (([floor v] of (frame) ) mod (4)))\n        set rotation style [left-right v]\n        if <touching (player v)?> then\n            Touching Player\n        end\n    end\nend\n\nwhen flag clicked\nset [color v] effect to (0)\nset [clone v] to [0]\nforever\n    if <(Level) = [16]> then\n        repeat until <(clone) = [20]>\n            create clone of (_myself_ v)\n            change [color v] effect by (5)\n            wait (0.5) seconds\n            change [clone v] by (1)\n        end\n    end\nend\n\nwhen I receive [change level v]\nset [clone v] to [0]\n\nwhen I receive [reapeat v]\nset [clone v] to [0]\n\nbroadcast (no m v)\ndelete this clone\n\nwhen I receive [other extras v]\nif <not <<(Level) = [28]> or <<(Level) = [16]> or <(Level) = [7]>>>> then\n    delete this clone\nend\n\nwhen I receive [change level v]\nif <(Level) = [28]> then\n    set [id enemy v] to [1]\n    Spawn [Red] at [-104] [30] dir [90]\nend\n\n@Werbung\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((5) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (0) y: ((120) + (([sin v] of (Deeeeueuuuuuuux) ) * (10)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (3)))\n    change [deeeeueuuuuuuux v] by (5)\n    if <(Level) = [5]> then\n        switch costume to (foolow2 v)\n    else\n        switch costume to (foolow v)\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nwait (0.2) seconds\ngo [forward v] (1) layers\nforever\n    hide\n    wait (pick random (15) to (20)) seconds\n    set [ghost v] effect to (100)\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (5) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I receive [other extras v]\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<(Level) = [29]> or <(vor) = [0]>> then\n        hide\n    else\n    end\nend\n\n@lava\n\nwhen flag clicked\nset [ghost v] effect to (30)\nforever\n    switch costume to (join [death] (Level))\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [3]> or <<(Level) = [23]> or <<(Level) = [27]> or <(Level) = [28]>>>> then\n        go to x: (-93) y: (-62)\n        repeat (15)\n            change y by (1)\n        end\n        repeat (15)\n            change y by (-1)\n        end\n    end\nend\n\n@lava vulcano\n\nwhen flag clicked\nhide\nset [color v] effect to (0)\n\nwhen flag clicked\nforever\n    if <<(Level) = [6]> or <(Level) = [23]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [6]> or <(Level) = [23]>> then\n        go to [back v] layer\n        go [forward v] (1) layers\n        create clone of (_myself_ v)\n        wait (0.01) seconds\n    end\nend\n\nforever\nend\n\nwhen I start as a clone\nif <(Level) = [6]> then\n    point in direction ((0) + (pick random (-5) to (5)))\n    go to x: (pick random (53) to (55)) y: (-78)\n    set size to (pick random (50) to (80)) %\n    set [color v] effect to (pick random (110) to (140))\n    if <(pick random (1) to (3)) = [1]> then\n        switch costume to (apple v)\n    end\n    if <(pick random (1) to (3)) = [2]> then\n        switch costume to (apple2 v)\n    end\n    if <(pick random (1) to (3)) = [3]> then\n        switch costume to (apple3 v)\n    end\n    forever\n        move (pick random (2) to (7)) steps\n        change [ghost v] effect by (1)\n        if <(y position) > (pick random (40) to (60))> then\n            delete this clone\n        end\n        if <not <<(Level) = [6]> or <(Level) = [23]>>> then\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Level) = [23]> then\n    point in direction ((0) + (pick random (-5) to (5)))\n    go to x: (pick random (154) to (155)) y: (-40)\n    set size to (pick random (20) to (50)) %\n    set [color v] effect to (pick random (110) to (140))\n    if <(pick random (1) to (3)) = [1]> then\n        switch costume to (apple v)\n    end\n    if <(pick random (1) to (3)) = [2]> then\n        switch costume to (apple2 v)\n    end\n    if <(pick random (1) to (3)) = [3]> then\n        switch costume to (apple3 v)\n    end\n    forever\n        move (pick random (2) to (7)) steps\n        change [ghost v] effect by (1)\n        if <(y position) > (pick random (60) to (80))> then\n            delete this clone\n        end\n        if <not <<(Level) = [6]> or <(Level) = [23]>>> then\n            delete this clone\n        end\n    end\nend\n\ngo to x: (pick random (-135) to (-136)) y: (-40)\n\n@effeckt\n\nwhen I start as a clone\nif <(Effeckt id) = [wind]> then\n    go [backward v] (100) layers\n    show\n    go to x: (250) y: (pick random (-240) to (240))\n    set [color v] effect to (pick random (1) to (5))\n    set [brightness v] effect to (pick random (0) to (30))\n    set [ghost v] effect to (pick random (0) to (20))\n    set size to (pick random (50) to (120)) %\n    change [pixelate v] effect by (pick random (1) to (100))\n    if <(pick random (1) to (4)) = [1]> then\n        switch costume to (wind1 v)\n    end\n    if <(pick random (1) to (4)) = [2]> then\n        switch costume to (wind2 v)\n    end\n    if <(pick random (1) to (4)) = [3]> then\n        switch costume to (wind3 v)\n    end\n    forever\n        if <(x position) < [-240]> then\n            delete this clone\n        end\n        change x by (pick random (-5) to (-13))\n        change y by (pick random (-0.1) to (0.1))\n    end\nend\nif <(Effeckt id) = [cloud]> then\n    go [backward v] (1) layers\n    show\n    go to x: (250) y: (pick random (140) to (200))\n    set [color v] effect to (pick random (1) to (10))\n    set [brightness v] effect to (pick random (-50) to (20))\n    set [ghost v] effect to (pick random (0) to (20))\n    set size to (pick random (50) to (120)) %\n    change [pixelate v] effect by (pick random (1) to (5))\n    if <(pick random (1) to (4)) = [1]> then\n        switch costume to (cloud v)\n    end\n    if <(pick random (1) to (4)) = [2]> then\n        switch costume to (cloud2 v)\n    end\n    if <(pick random (1) to (4)) = [3]> then\n        switch costume to (cloud3 v)\n    end\n    forever\n        if <(x position) < [-240]> then\n            delete this clone\n        end\n        change x by (pick random (-3) to (-5))\n    end\nend\nif <(Effeckt id) = [cloud2]> then\n    go [backward v] (1) layers\n    show\n    go to x: (-250) y: (pick random (140) to (200))\n    set [color v] effect to (pick random (1) to (10))\n    set [brightness v] effect to (pick random (-50) to (20))\n    set [ghost v] effect to (pick random (0) to (20))\n    set size to (pick random (50) to (120)) %\n    change [pixelate v] effect by (pick random (1) to (5))\n    if <(pick random (1) to (4)) = [1]> then\n        switch costume to (cloud v)\n    end\n    if <(pick random (1) to (4)) = [2]> then\n        switch costume to (cloud2 v)\n    end\n    if <(pick random (1) to (4)) = [3]> then\n        switch costume to (cloud3 v)\n    end\n    forever\n        if <(x position) > [240]> then\n            delete this clone\n        end\n        change x by (pick random (3) to (5))\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [5]> or <(Level) = [13]>> then\n        set [effeckt id v] to [wind]\n        wait (0.01) seconds\n        create clone of (_myself_ v)\n    end\n    if <(Level) = [2]> then\n        wait (0.1) seconds\n        create clone of (_myself_ v)\n        if <(pick random (1) to (2)) = [1]> then\n            set [effeckt id v] to [cloud]\n        end\n        if <(pick random (1) to (2)) = [2]> then\n            set [effeckt id v] to [cloud2]\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <not <<<(Level) = [2]> or <(Level) = [5]>> or <<<(Level) = [13]> or <(Level) = [14]>> or <(Level) = [26]>>>> then\n        delete this clone\n    end\n    if <<<(Level) = [13]> or > and <(costume [number v]) > [3]>> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(Level) = [14]> and <(button) = [yes]>> or <(Level) = [26]>> then\n        set [effeckt id v] to [fog]\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <(Effeckt id) = [fog]> then\n    wait (0.1) seconds\n    go to [front v] layer\n    show\n    go to x: (250) y: (pick random (-240) to (240))\n    set [color v] effect to (pick random (1) to (5))\n    set [brightness v] effect to (pick random (0) to (30))\n    set [ghost v] effect to (pick random (0) to (20))\n    set size to (pick random (50) to (120)) %\n    change [pixelate v] effect by (pick random (0) to (30))\n    if <(pick random (1) to (4)) = [1]> then\n        switch costume to (fog1 v)\n    end\n    if <(pick random (1) to (4)) = [2]> then\n        switch costume to (fog2 v)\n    end\n    if <(pick random (1) to (4)) = [3]> then\n        switch costume to (fog3 v)\n    end\n    forever\n        if <(x position) < [-240]> then\n            delete this clone\n        end\n        change x by (pick random (-10) to (-5))\n        change y by (pick random (-0.5) to (0.5))\n    end\nend\n\nforever\n\nwhen I receive [on button v]\n\nwhen flag clicked\nforever\n    if <<<(Level) = [14]> and <(button) = [yes]>> or <(Level) = [26]>> then\n        set [effeckt id v] to [fog]\n    end\nend\n\n@Elektronic\n\nwhen I start as a clone\nforever\n    show\n    repeat (10)\n        move (6) steps\n        wait (0.00000001) seconds\n    end\n    repeat (3)\n        turn right (30) degrees\n    end\nend\n\ndefine Spawn (x) (y) (dir) (head)\npoint in direction (dir)\nswitch costume to (head)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [change level v]\nif <(Level) = [3]> then\n    Spawn [-55] [-31] [90] [Schlange2]\n    wait (0.08) seconds\n    repeat (2)\n        wait (0.1) seconds\n        Spawn [-55] [-31] [90] [Schlange1]\n    end\nend\n\nwhen I receive [change level v]\nif <(Level) = [11]> then\n    Spawn [-35] [35] [90] [Schlange2]\n    wait (0.08) seconds\n    repeat (2)\n        wait (0.1) seconds\n        Spawn [-35] [35] [90] [Schlange1]\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [change level v]\nif <(Level) = [3]> then\n    Spawn [36] [27] [90] [Schlange2]\n    wait (0.08) seconds\n    repeat (2)\n        wait (0.1) seconds\n        Spawn [36] [27] [90] [Schlange1]\n    end\nend\n\n@Tipp\n\nwhen flag clicked\nswitch costume to (tipp1 v)\n\nwhen I receive [next v]\nswitch costume to (join [Tipp] (Level))\n\nwhen flag clicked\nforever\n    if <<(Level) = [9]> or <(Level) = [18]>> then\n        wait (0.01) seconds\n        switch costume to (join [Tipp] (Level))\n        wait (0.01) seconds\n        switch costume to (join [Tipp] ((Level) + (0.5)))\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<(Level) = [9]> or <(Level) = [18]>>> then\n        set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((5) * <touching (mouse-pointer v)?>)) - (size)) / (7)))\n        change size by (Uuuuuuunnnnn)\n        go to x: (0) y: ((0) + (([sin v] of (Deeeeueuuuuuuux) ) * (3)))\n        point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (1)))\n        change [deeeeueuuuuuuux v] by (5)\n    else\n        go to x: (0) y: (0)\n    end\nend\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nhide\n\n@Partickel L\n\nwhen I start as a clone\nif <<(Level) = [2]> or <(Level) = [13]>> then\n    change [color v] effect by (2)\n    go to [front v] layer\n    show\n    go to x: (L X) y: (L Y)\n    change x by (pick random (-5) to (5))\n    point in direction (pick random (-85) to (85))\n    set [v v] to (pick random (5) to (7))\n    set [effekt: y v] to [1.5]\n    set [ghost v] effect to (20)\n    Deteckt platform\n    repeat (15)\n        move (V) steps\n        change y by (Effekt: Y)\n        change [ghost v] effect by (1)\n        set [v v] to ((V) * (0.9))\n        change [effekt: y v] by (-0.3)\n    end\n    delete this clone\nelse\n    delete this clone\nend\n\nwhen I receive [lightning v]\nLighting\n\ndefine Lighting\nrepeat (pick random (0) to (1))\n    create clone of (_myself_ v)\nend\n\ndefine Deteckt platform\nrepeat until <touching (platform v)?>\n    change y by (-0.1)\nend\n\nwhen I receive [play v]\nshow\n\nwhen flag clicked\nhide\n\n@Lightning\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if  then\n        wait (pick random (0.7) to (2)) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <<(Level) = [2]> or <(Level) = [13]>> then\n    go to [back v] layer\n    point in direction (180)\n    show\n    go to x: (([x position v] of [player v]) + (pick random (-150) to (150))) y: (190)\n    switch costume to (ligtning2 v)\n    repeat (3)\n        change size by (7)\n        next costume\n    end\n    set [l x v] to (x position)\n    set [l y v] to (y position)\n    broadcast (Lightning v)\n    delete this clone\nelse\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <not <<(Level) = [2]> or <(Level) = [13]>>> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if  then\n        wait (pick random (1.5) to (2)) seconds\n        create clone of (_myself_ v)\n    end\nend\n\n@Partickel\n\nwhen I receive [partickel v]\nforever\n    if <<<([speed x v] of [player v]) > [6]> or <[-6] > ([speed x v] of [player v])>> and <(Touching) = [ja]>> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <<<<<([speed x v] of [player v]) > [5]> or <[-5] > ([speed x v] of [player v])>> and <(Touching) = [ja]>> and <(pick random (1) to (1)) = [1]>> and <not <(Key X) = [0]>>> then\n    change [color v] effect by (pick random (0) to (3))\n    go to [front v] layer\n    show\n    go to (player v)\n    change y by (-13)\n    change x by ((Key X) * (-13))\n    set [brightness v] effect to (pick random (27) to (50))\n    point in direction ((Key X) * (pick random (-60) to (-85)))\n    set [v2 v] to (pick random (5.0) to (9.0))\n    set [effekt: y2 v] to [3]\n    set [ghost v] effect to (20)\n    repeat (5)\n        move (V2) steps\n        change y by (Effekt: Y2)\n        change [ghost v] effect by (5)\n        stamp\n        set [v2 v] to ((V2) * (0.9))\n        change [effekt: y2 v] by (-0.3)\n        erase all\n    end\n    delete this clone\nelse\n    delete this clone\nend\n\nwait (0) seconds\n\n@blitz stachel\n\nwhen flag clicked\ngo to x: (-12) y: (45)\nforever\n    switch costume to (join [death] (Level))\n    wait (0) seconds\n    switch costume to (join [death] ((Level) + (0.5)))\nend\n\n@Numbers\n\nchange y by (([cos v] of ((timer) * (100)) ) * (0.5))\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    Boost Wächsel (letter (Index) of (round (timer)))\n    set x to ((((Index) - (-2)) - ((length of (round (timer))) / (2))) * ((size) / (5)))\n    change size by ((0.2) * ((100) - (size)))\n    change [durchsitig v] by ((0.2) * ((-10) - (durchsitig)))\n    change [ghost v] effect by (durchsitig)\nend\n\ndefine Boost Wächsel (kostüm)\nif <not <(kostüm) = (costume [name v])>> then\n    switch costume to (kostüm)\n    set size to (150) %\n    set [ghost v] effect to (100)\nend\n\ndefine Laden\nhide\nswitch costume to (9 v)\nset size to (100) %\ngo to x: (-100) y: (160)\nset [index v] to [1]\nrepeat (6)\n    create clone of (_myself_ v)\n    change x by ((size) / (2))\n    change [index v] by (1)\nend\n\nwhen I receive [first move v]\nLaden\nset [aaa v] to [ye]\nLaden\n\nwhen flag clicked\nset [aaa v] to [jo]\nhide\n\nstop [other scripts in sprite v]\n\n
Welcome to the: Lightning road platformer! My biggest Project on Scratch over 3500 Blocks. 29 Levels! 10 Several methods to die! Can you beat the High score? If you Click "Skip" the High score doesn't save.\n\nMove with arrow keys or W,A,S,D ( Mobile friendly)\n-↓ or "S" to crouch "r"(or restart button) to restart a level, g (or glitch button, if you glitched into a wall). Skip button to skip a Level, Space key and a arrow key for boost, (or click on boost button) HAVE FUN!\n\nall levels are possible