Little Red Riding Hood __ Mobile friendly Platformer  (1) Updated

Instructions: This was a collab Between @bookdog17 And @Chr_Avila_07663\n\nCan We Get This Top Loved!?!\n\nIn this platformer you have to try to reach grandma because she is sick,But watch out for the wolf!\n\nYou must pass all ten Levels!\n\nComputer- arrow keys\nMobile- Tap\nHit the skip button- skip\nHit the reset button- reset\nSpikes- death\nWater- death\n\nAll levels Are Possible\nRemix all you want\n\nMusic Alan Walker - Nebula\nThanks to @Plant2 for the skip and reset button sprites\nThanks to @bookdog17 helping code most of the game\nThanks to @Chr_Avila_07663 For the levels\n\n#games #platformer #Little Red Riding Hood #wolf #grandma #music

@Stage\n\n@Sprite1\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset rotation style [left-right v]\nshow\nset volume to (100) %\nswitch costume to (costume1 v)\ngo to x: (-196) y: (-81)\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?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\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 (#9f4b00)?> then\n        change y by (1)\n    end\n    if <touching color (#9f4b00)?> then\n        change y by (1)\n    end\n    if <touching color (#9f4b00)?> then\n        change y by (1)\n    end\n    if <touching color (#9f4b00)?> then\n        change y by (1)\n    end\n    if <touching color (#9f4b00)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or > 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 (#9f4b00)?> 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?> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching color (#9f4b00)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching color (#666666)?> or <touching color (#ff0000)?>> then\n        switch costume to (costume2 v)\n        wait (0.1) seconds\n        switch costume to (costume1 v)\n        go to x: (-196) y: (-81)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-196) y: (-81)\n    end\n    if <(y position) < [-180]> then\n        go to x: (-196) y: (-81)\n    end\nend\n\nwhen flag clicked\nwait (5.5) seconds\nforever\n    play sound [Alan Walker - Nebula \(New Song 2019\) v] until done\nend\n\nwhen I receive [message1 v]\ngo to x: (-196) y: (-81)\n\nwhen flag clicked\nforever\n    if <<touching color (#666666)?> or <touching color (#0008ff)?>> then\n        switch costume to (costume2 v)\n        wait (0.1) seconds\n        switch costume to (costume1 v)\n        go to x: (-196) y: (-81)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-196) y: (-81)\n    end\n    if <(y position) < [-180]> then\n        go to x: (-196) y: (-81)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#666666)?> or <touching color (#ff0000)?>> then\n        play sound [Roblox Death Sound \(Oof\) v] until done\n        rest for (0) beats\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#666666)?> or <touching color (#0008ff)?>> then\n        play sound [Roblox Death Sound \(Oof\) v] until done\n        rest for (0) beats\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\n\nwhen flag clicked\nwait (5) seconds\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen backdrop switches to [witch house v]\nstop [all v]\n\n@Sprite3\n\nwhen backdrop switches to [backdrop2 v]\nshow\ngo to x: (13) y: (-9)\n\nwhen backdrop switches to [backdrop2 v]\nforever\n    glide (2) secs to x: (115) y: (-9)\n    glide (2) secs to x: (13) y: (-9)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [castle 2 v]\nhide\n\nwhen backdrop switches to [metro v]\nforever\n    glide (2) secs to x: (120) y: (-9)\n    glide (2) secs to x: (0) y: (-9)\nend\n\nwhen backdrop switches to [metro v]\nshow\ngo to x: (13) y: (-9)\n\nwhen backdrop switches to [witch house v]\nhide\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (36) y: (28)\nshow\nwait (5) seconds\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\nset volume to (100) %\nstart sound [FLIGHT v]\nset [clones v] to [0]\nreset timer\nrepeat (8)\n    change [clones v] by (1)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nwait until <(timer) > [3]>\nrepeat (20)\n    change volume by (-7)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nif <<(Clones) > [0]> and <(Clones) < [9]>> then\n    show\n    go to x: (0) y: (0)\n    switch costume to (Clones)\n    set [ghost v] effect to (100)\n    point in direction (0)\n    set size to (99999999) %\n    repeat (50)\n        change size by (((125) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n        change [ghost v] effect by (-4)\n    end\nend\n\nwhen I start as a clone\nwait until <(timer) > [4]>\nrepeat (50)\n    change size by (((175) - (size)) / (8))\n    change [ghost v] effect by (4)\nend\nhide\n\nwhen flag clicked\ngo to [front v] layer\n\n@Text\n\nwhen backdrop switches to [arctic10 v]\nshow\n\nwhen flag clicked\nhide\n\n@Sprite5\n\nwhen backdrop switches to [school v]\nshow\nforever\n    glide (2) secs to x: (209) y: (-9)\n    glide (2) secs to x: (117) y: (-9)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [underwater 1 v]\nhide\n\n@Sprite6\n\nwhen backdrop switches to [underwater 1 v]\nhide\n\nwhen backdrop switches to [school v]\nshow\nforever\n    glide (2) secs to x: (-66) y: (-9)\n    glide (2) secs to x: (29) y: (-9)\nend\n\nwhen flag clicked\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\ngo to x: (11) y: (-28)\n\nwhen flag clicked\nwait (5) seconds\nbroadcast (hello v)\n\n@Sprite7\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\n\nwhen this sprite clicked\nbroadcast (message1 v)\n\ngo to x: (-222) y: (-160)\n\nwhen backdrop switches to [witch house v]\nhide\n\nwhen backdrop switches to [castle 2 v]\nhide\n\nwhen backdrop switches to [woods v]\nshow\n\n@skip\n\nwhen this sprite clicked\nswitch backdrop to (next backdrop v)\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\n\nwhen backdrop switches to [witch house v]\nhide\n\nwhen backdrop switches to [woods v]\nshow\n\nwhen backdrop switches to [castle 2 v]\nhide\n\n@Options Panel\n\nwhen flag clicked\nswitch costume to (panel v)\ngo to [front v] layer\nset [options panel open or close? v] to [close]\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [hello v]\ngo to x: (0) y: (0)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (Options Panel v)\n        clear graphic effects\n        glide (0.5) secs to x: (0) y: (-50)\n        set [options panel open or close? v] to [open]\n        wait until <not <touching (mouse-pointer v)?>>\n        set [options panel open or close? v] to [close]\n        broadcast (Options Panel Closed v)\n        glide (0.5) secs to x: (0) y: (0)\n    else\n        set [options panel open or close? v] to [close]\n        broadcast (Options Panel Closed v)\n        set [ghost v] effect to (10)\n        glide (0.5) secs to x: (0) y: (0)\n    end\nend\n\ngo to [front v] layer\ngo [backward v] (3) layers\n\n