Wings of Fire platformer 5

Instructions:          ✿ Mʏsᴛɪᴄ Vᴀʟʟᴇʏ ✿\n      ✿ Multiplayer Scrolling Platformer ✿\n\nOVER 200,000 views and 11k loves?!?!\n\n>> If it’s full or the traffic is too high, go to the second server here: https://scratch.mit.edu/projects/403558643/\n\nInfo:\nWelcome to the Mʏsᴛɪᴄ Vᴀʟʟᴇʏ! Collect coins to buy items and powerups from the shop. Make sure to watch out for dangerous critters! Reach safe ground to complete your journey.\n         ✦✦✦How to play✦✦✦\n➜ Defeat critters by jumping on them\n➜ Collect coins. Use them to buy stuff in the shop\n➜ [T] to chat, [#] or [letter] to choose phrase\n➜ TAP on player to chat (mobile)\n➜ [N] to toggle names\n         ✦✦✦News✦✦✦\n-mass reported 3 times\n-100,000 views in only 7 days!\n-#1 on trending for 10 days!\n\n(8/1/20) #3 on POPULAR!!!!!\n(7/22/20) #5 on POPULAR!! (explore page)\n(6/12/20) 5000 loves! 75,000 views!\n(6/10/20) Top REMIXED!\n(6/9/20) #1 ON TRENDING!\n(6/8/20) Project shared!\n         ✦✦✦Loves/faves✦✦✦\n@kevin_eleven_1234 ❤️⭐ \n@MJM3 ❤️⭐\n@TimMcCool ❤️⭐\n@Capt_Boanerges ❤️⭐\n@Noodlebot743  ❤️⭐\n@-SapphireDemon- ❤️⭐\n@QuaXX ❤️⭐\n@Lazy_Otter2_0 ❤️⭐\n@KrishTheKing123 ❤️⭐\n@0014049 ❤️⭐\n          ✦✦✦Credits✦✦✦\n➜ Big thanks to @ivanbb3 for testing!\n➜ Multiplayer engine by @StratfordJames\n➜ ALL ART 100% drawn by @StratfordJames\n➜ Art inspired by Veewo (Super Phantom Cat 2)\n\nsymbols I used: ❤️⭐✨❌✔✦✿➜☁️⚠️⛔★\n\n#stratfordjames #games #art #multiplayer #trending #scrolling #platformer #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames #stratfordjames

@Stage\n\n@meh\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nset [level v] to [0]\nchange [☁ players v] by (1)\nshow\ngo to x: (-190) y: (120)\ngo to [front v] layer\nswitch backdrop to (1 v)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\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 ((Xv) * (-1))\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (level v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [239]> then\n        change [level v] by (1)\n        broadcast (next level! v)\n        go to x: (-190) y: (120)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikeys hurt ooooof v)?> then\n        go to x: (-190) y: (120)\n        play sound [Crunch v] until done\n    end\nend\n\nwhen I receive [restart v]\ngo to x: (-190) y: (120)\n\nwhen I receive [next round v]\ngo to x: (-190) y: (120)\n\nwhen flag clicked\nforever\n    if <touching (tramp v)?> then\n        set [yv v] to [21]\n    end\n    if <touching (tramp2 v)?> then\n        set [yv v] to [21]\n    end\n    if <touching (tramp3 v)?> then\n        set [yv v] to [21]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (lasers v)?> then\n        go to x: (-190) y: (120)\n        play sound [Crunch v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikeys hurt ooooof2 v)?> then\n        go to x: (-190) y: (120)\n        play sound [Crunch v] until done\n    end\nend\n\n@Level\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [play game v]\nshow\n\nwhen I receive [next level! v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        broadcast (spikes v)\n    end\n    if <(costume [number v]) = [3]> then\n        broadcast (hide dem skikes! v)\n    end\n    if <(costume [number v]) = [4]> then\n        broadcast (spikes 2 v)\n    end\n    if <(costume [number v]) = [5]> then\n        broadcast (edits v)\n    end\n    if <(costume [number v]) = [6]> then\n        broadcast (trampoline time! v)\n    end\n    if <(costume [number v]) = [7]> then\n        broadcast (hide and do some edits v)\n    end\n    if <(costume [number v]) = [8]> then\n        broadcast (go away v)\n    end\n    if <(costume [number v]) = [7]> then\n        broadcast (new spikes v)\n    end\n    if <(costume [number v]) = [8]> then\n        broadcast (move out v)\n    end\nend\n\nwhen I receive [next round v]\nnext costume\n\n@play button!\n\nwhen flag clicked\ngo to [front v] layer\nset size to (100) %\nclear graphic effects\nswitch costume to (yee v)\ngo to x: (0) y: (-100)\nshow\nrepeat until <mouse down?>\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (4))\n    else\n        change size by (((80) - (size)) / (4))\n    end\nend\nbroadcast (Play Game v)\nhide\nstop [this script v]\n\nwhen flag clicked\nshow\ngo to x: (21) y: (-20)\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [the piano moosic v] until done\nend\n\nrepeat until <mouse down?>\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (4))\n    else\n        change size by (((80) - (size)) / (4))\n    end\nend\nbroadcast (Play Game v)\nhide\nstop [this script v]\n\n@Sprite2\n\nwhen flag clicked\nshow\ngo to [back v] layer\n\n@Sprite3\n\nwhen flag clicked\nshow\ngo to x: (6) y: (80)\nforever\n    forever\n        set y to ((([sin v] of ((timer) * (100)) ) * (25)) + (50))\n        set x to ((([sin v] of ((timer) * (50)) ) * (25)) + (0))\n        point in direction ((([tan v] of ((timer) * (10)) ) * (50)) + (50))\n        forever\n            set y to ((([sin v] of ((timer) * (100)) ) * (5)) + (20))\n            point in direction ((([sin v] of ((timer) * (50)) ) * (5)) + (90))\n            set x to (20)\n            forever\n                set y to ((([sin v] of ((timer) * (100)) ) * (5)) + (0))\n                point in direction ((([sin v] of ((timer) * (200)) ) * (5)) + (90))\n                set x to (1)\n            end\n        end\n    end\nend\n\nwhen I receive [play game v]\nhide\nstop [other scripts in sprite v]\n\n@spikeys hurt ooooof\n\nwhen flag clicked\nhide\n\nwhen I receive [spikes v]\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [hide dem skikes! v]\nhide\n\nwhen I receive [spikes 2 v]\nshow\nswitch costume to (costume3 v)\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [edits v]\nhide\n\nwhen I receive [trampoline time! v]\nshow\nswitch costume to (costume4 v)\ngo to x: (36) y: (28)\n\nwhen I receive [hide and do some edits v]\nhide\ngo to [back v] layer\n\nwhen I receive [edits v]\nshow\nswitch costume to (costume6 v)\ngo to x: (36) y: (28)\n\n@backround\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [spikes 2 v]\nshow\n\nwhen I receive [go away v]\nshow\n\nwhen I receive [move out v]\nhide\n\n@restart\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\ngo to [front v] layer\nshow\ngo to x: (-150) y: (-141)\nforever\n    repeat until <mouse down?>\n        if <touching (mouse-pointer v)?> then\n            change size by (((100) - (size)) / (4))\n        else\n            change size by (((50) - (size)) / (4))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        broadcast (restart v)\n    end\nend\n\n@Sprite1\n\nwhen I receive [play game v]\nshow\ngo to [front v] layer\ngo to x: (-180) y: (-141)\nforever\n    repeat until <mouse down?>\n        if <touching (mouse-pointer v)?> then\n            change size by (((100) - (size)) / (4))\n        else\n            change size by (((50) - (size)) / (4))\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (next round v)\n\nwhen flag clicked\nhide\nswitch costume to (ye v)\n\n@tramp\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [trampoline time! v]\nshow\ngo to x: (3) y: (-89)\nforever\n    if <touching (meh v)?> then\n        start sound [Big Boing v]\n        repeat until <(costume [number v]) = [4]>\n            next costume\n        end\n        repeat until <(costume [number v]) = [1]>\n            switch costume to ((costume [number v]) - (1))\n        end\n        wait until <not <touching (meh v)?>>\n    end\n    switch costume to (costume2 v)\nend\n\nwhen I receive [hide and do some edits v]\nhide\n\n@tramp2\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [trampoline time! v]\nshow\ngo to x: (110) y: (-89)\nforever\n    if <touching (meh v)?> then\n        start sound [Big Boing v]\n        repeat until <(costume [number v]) = [4]>\n            next costume\n        end\n        repeat until <(costume [number v]) = [1]>\n            switch costume to ((costume [number v]) - (1))\n        end\n        wait until <not <touching (player v)?>>\n    end\n    switch costume to (costume2 v)\nend\n\nwhen I receive [hide and do some edits v]\nhide\n\n@tramp3\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [trampoline time! v]\nshow\ngo to x: (-100) y: (-89)\nforever\n    if <touching (meh v)?> then\n        start sound [Big Boing v]\n        repeat until <(costume [number v]) = [4]>\n            next costume\n        end\n        repeat until <(costume [number v]) = [1]>\n            switch costume to ((costume [number v]) - (1))\n        end\n        wait until <not <touching (player v)?>>\n    end\n    switch costume to (costume2 v)\nend\n\nwhen I receive [hide and do some edits v]\nhide\n\n@spikeys hurt ooooof2\n\nwhen flag clicked\nhide\n\nwhen I receive [new spikes v]\nshow\ngo to x: (-57) y: (1)\n\nwhen I receive [move out v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\n