Difficulty Chart Obby (Platformer)

Instructions: Objective:\nGet to the right side of the screen using controls.\nControls:\nArrow keys to move (up - jump, left - go left, right - go right)\nLevels:\nEasy: 5 Levels\nMedium: 5 Levels\nHard: 5 Levels\nTotal: 15 Levels

@Stage\n\nwhen flag clicked\nforever\n    play sound [Dream Speedrun Music v] until done\nend\n\n@Humanoid\n\nwhen flag clicked\ngo to x: (-214) y: (115)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000000)?> or <<touching color (#00992b)?> or <touching color (#663700)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#00992b)?> or <touching color (#663700)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#00992b)?> or <touching color (#663700)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#00992b)?> or <touching color (#663700)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#00992b)?> or <touching color (#663700)?>>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching color (#000000)?> or <<touching color (#00992b)?> or <touching color (#663700)?>>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <<touching color (#000000)?> or <<touching color (#00992b)?> or <touching color (#663700)?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-217) y: (-20)\n    end\n    if <<(backdrop [name v]) = [backdrop11]> or <(backdrop [name v]) = [backdrop19]>> then\n        switch costume to (costume2 v)\n    end\n    if <(backdrop [name v]) = [backdrop17]> then\n        switch costume to (costume3 v)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-217) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        set rotation style [left-right v]\n        point in direction (-90)\n    end\n    if <key (left arrow v) pressed?> then\n        set rotation style [left-right v]\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nforever\n    reset timer\n    repeat until <(backdrop [number v]) = [17]>\n        set [timer v] to (timer)\n    end\nend\n\n@Moving Platform\n\nwhen flag clicked\ngo to x: (-78) y: (-104)\nforever\n    if <<(backdrop [number v]) = [6]> or <(backdrop [number v]) = [11]>> then\n        show\n        if <(backdrop [number v]) = [6]> then\n            switch costume to (costume1 v)\n        end\n        if <(backdrop [number v]) = [11]> then\n            switch costume to (costume2 v)\n        end\n        glide (1) secs to x: (130) y: (42)\n        glide (1) secs to x: (-78) y: (-104)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<(backdrop [number v]) = [6]> or <(backdrop [number v]) = [11]>>> then\n        hide\n    end\nend\n\n@Moving Lava 1\n\nwhen flag clicked\ngo to x: (-52) y: (123)\nforever\n    if <(backdrop [number v]) = [7]> then\n        show\n        glide (1) secs to x: (-52) y: (8)\n        glide (1) secs to x: (-52) y: (123)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [7]>> then\n        hide\n    end\nend\n\n@Moving Lava 2\n\nwhen flag clicked\ngo to x: (-52) y: (123)\nforever\n    if <(backdrop [number v]) = [7]> then\n        show\n        glide (0.9) secs to x: (131) y: (8)\n        glide (0.9) secs to x: (131) y: (123)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [7]>> then\n        hide\n    end\nend\n\n@Moving Lava 4\n\nwhen flag clicked\ngo to x: (-52) y: (123)\nforever\n    if <<(backdrop [number v]) = [8]> or <(backdrop [number v]) = [10]>> then\n        show\n        glide (0.5) secs to x: (-52) y: (8)\n        glide (0.5) secs to x: (-52) y: (123)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<(backdrop [number v]) = [8]> or <(backdrop [number v]) = [10]>>> then\n        hide\n    end\nend\n\n@Moving Lava 3\n\nwhen flag clicked\ngo to x: (142) y: (-121)\nforever\n    if <(backdrop [number v]) = [8]> then\n        show\n        glide (0.9) secs to x: (142) y: (-150)\n        glide (0.9) secs to x: (142) y: (-85)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [8]>> then\n        hide\n    end\nend\n\n@Moving Lava 2 1\n\nwhen flag clicked\ngo to x: (142) y: (-121)\nforever\n    if <(backdrop [number v]) = [8]> then\n        show\n        glide (0.9) secs to x: (142) y: (-150)\n        glide (0.9) secs to x: (142) y: (-85)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [8]>> then\n        hide\n    end\nend\n\n@Bouncing Lava 1\n\nwhen flag clicked\ngo to x: (117) y: (161)\nforever\n    if <<<<(backdrop [number v]) = [10]> or <(backdrop [number v]) = [13]>> or <(backdrop [number v]) = [14]>> or <(backdrop [number v]) = [15]>> then\n        show\n        move (10) steps\n        if on edge, bounce\n    else\n        hide\n    end\nend\n\n@Moving Lava 2 2\n\nwhen flag clicked\ngo to x: (142) y: (-121)\nforever\n    if <(backdrop [number v]) = [13]> then\n        show\n        glide (0.5) secs to x: (142) y: (-150)\n        glide (0.5) secs to x: (142) y: (-85)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [13]>> then\n        hide\n    end\nend\n\n@Spinning Lava\n\nwhen flag clicked\ngo to x: (-86) y: (-14)\nforever\n    if <<(backdrop [number v]) = [12]> or <(backdrop [number v]) = [13]>> then\n        show\n        turn right (5) degrees\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<(backdrop [number v]) = [12]> or <(backdrop [number v]) = [13]>>> then\n        hide\n    end\nend\n\n@Spinning Lava 2\n\nwhen flag clicked\ngo to x: (111) y: (-14)\nforever\n    if <(backdrop [number v]) = [12]> then\n        show\n        turn right (5) degrees\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop [number v]) = [12]>> then\n        hide\n    end\nend\n\n@Bouncing Lava 2\n\nwhen flag clicked\ngo to (random position v)\nforever\n    if <<<(backdrop [number v]) = [14]> or <(backdrop [number v]) = [15]>> or <(backdrop [number v]) = [16]>> then\n        show\n        move (10) steps\n        if on edge, bounce\n    else\n        hide\n    end\nend\n\n@Bouncing Lava 3\n\nwhen flag clicked\ngo to (random position v)\nforever\n    if <<<(backdrop [number v]) = [14]> or <(backdrop [number v]) = [15]>> or <(backdrop [number v]) = [16]>> then\n        show\n        move (10) steps\n        if on edge, bounce\n    else\n        hide\n    end\nend\n\n@Bouncing Lava 4\n\nwhen flag clicked\ngo to (random position v)\nforever\n    if <(backdrop [number v]) = [15]> then\n        show\n        move (10) steps\n        if on edge, bounce\n    else\n        hide\n    end\nend\n\n@Bouncing Lava 5\n\nwhen flag clicked\ngo to (random position v)\nforever\n    if <(backdrop [number v]) = [15]> then\n        show\n        move (10) steps\n        if on edge, bounce\n    else\n        hide\n    end\nend\n\n@ThumbnailSprite1\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n