Sketch Platformer 1.19 1500 views!

Instructions: |WASD and arrows to control|\n|If you get stuck in the ground press the space bar|\n30 levels!\nThank everyone for the 1500 views.\nI have lost motivation maybe one day I will continue :(\nYou can only set a high score if you have scratcher not new scratcher because of scratch :/ 

@Stage\n\nwhen I receive [get out there v]\nset [timer v] to [0]\nforever\n    change [illuminati confirmed v] by (1)\nend\n\n@Pen\n\nif <(level) = [25]> then\n\nDraw line from (1) (1) to (1) (1) set pen size to (1)\n\nDraw line from (43) (23) to (61) (23) set pen size to (30)\n\nDraw line from (17) (96) to (17) (96) set pen size to (15)\nDraw lava from (-24) (96) to (17) (96) set pen size to (5)\nDraw line from (54) (8) to (54) (8) set pen size to (15)\nDraw line from (-7) (68) to (-7) (68) set pen size to (10)\n\ndefine Draw lava from (x) (y) to (x2) (y2) set pen size to (pen size)\ngo to x: (x) y: (y)\nset pen color to (#ff0000)\nset pen size to (pen size)\npen down\ngo to x: (x2) y: (y2)\npen up\n\ndefine Draw line from (x) (y) to (x2) (y2) set pen size to (pen size)\ngo to x: (x) y: (y)\nset pen color to (#00ff54)\nset pen size to (pen size)\npen down\ngo to x: (x2) y: (y2)\npen up\n\nwhen I receive [next level v]\nerase all\nif <not <(level) = [7]>> then\n    Draw line from (-238) (-179) to (240) (-179) set pen size to (50)\nend\nif <(level) = [1]> then\n    Draw line from (-238) (-179) to (234) (-179) set pen size to (50)\nelse\n    if <(level) = [2]> then\n        Draw line from (8) (-157) to (8) (1) set pen size to (30)\n    else\n        if <(level) = [3]> then\n            Draw line from (-77) (-170) to (-77) (-3) set pen size to (30)\n            Draw line from (-77) (-3) to (53) (-3) set pen size to (30)\n            Draw line from (53) (-3) to (53) (-162) set pen size to (30)\n        else\n            if <(level) = [4]> then\n                Draw lava from (8) (-156) to (8) (-75) set pen size to (30)\n                Draw line from (-100) (5) to (127) (5) set pen size to (30)\n                Draw line from (-238) (-185) to (234) (-185) set pen size to (50)\n            else\n                if <(level) = [5]> then\n                    Draw line from (25) (-172) to (25) (-50) set pen size to (30)\n                    Draw lava from (-108) (26) to (125) (26) set pen size to (30)\n                    Draw line from (-108) (55) to (125) (55) set pen size to (30)\n                else\n                    if <(level) = [6]> then\n                        Draw lava from (157) (-150) to (240) (-150) set pen size to (30)\n                        Draw line from (149) (-161) to (149) (97) set pen size to (30)\n                        Draw line from (-242) (-70) to (44) (-70) set pen size to (30)\n                        Draw lava from (-128) (17) to (70) (17) set pen size to (30)\n                        Draw line from (149) (30) to (-167) (30) set pen size to (30)\n                        Draw line from (-238) (-179) to (240) (-179) set pen size to (50)\n                    else\n                        if <(level) = [7]> then\n                            Draw lava from (-238) (-179) to (240) (-179) set pen size to (50)\n                            Draw line from (102) (-179) to (115) (-179) set pen size to (50)\n                            Draw line from (-238) (-179) to (-159) (-179) set pen size to (50)\n                        else\n                            if <(level) = [8]> then\n                                Draw lava from (-61) (-173) to (-61) (26) set pen size to (30)\n                                Draw line from (-80) (-173) to (-80) (26) set pen size to (30)\n                                Draw lava from (49) (181) to (49) (-59) set pen size to (30)\n                                Draw line from (70) (181) to (70) (-59) set pen size to (30)\n                                Draw line from (70) (-59) to (49) (-59) set pen size to (30)\n                                Draw lava from (152) (-155) to (237) (-155) set pen size to (50)\n                                Draw line from (-238) (-179) to (240) (-179) set pen size to (50)\n                            else\n                                if <(level) = [9]> then\n                                    Draw line from (-238) (-250) to (-159) (-250) set pen size to (70)\n                                    Draw lava from (-238) (-179) to (240) (-179) set pen size to (50)\n                                    Draw line from (-16) (-120) to (-16) (4) set pen size to (20)\n                                    Draw line from (116) (174) to (116) (-2) set pen size to (20)\n                                    Draw line from (117) (-120) to (137) (-120) set pen size to (20)\n                                else\n                                    if <(level) = [10]> then\n                                        broadcast (pog v)\n                                        Draw lava from (20) (-155) to (20) (-14) set pen size to (35)\n                                        Draw line from (-101) (-161) to (-101) (-89) set pen size to (20)\n                                    else\n                                        if <(level) = [11]> then\n                                            broadcast (hide easter egg v)\n                                            Draw line from (-113) (-110) to (-65) (-110) set pen size to (30)\n                                            Draw line from (-13) (-49) to (35) (-49) set pen size to (30)\n                                            Draw line from (88) (13) to (136) (13) set pen size to (30)\n                                            Draw lava from (-28) (-154) to (237) (-154) set pen size to (30)\n                                            Draw line from (-238) (-179) to (240) (-179) set pen size to (50)\n                                        else\n                                            if <(level) = [12]> then\n                                                Draw lava from (-80) (-175) to (-80) (4) set pen size to (30)\n                                                Draw lava from (-80) (-157) to (160) (-157) set pen size to (30)\n                                                Draw lava from (160) (-157) to (160) (-86) set pen size to (30)\n                                                Draw lava from (176) (-151) to (237) (-151) set pen size to (30)\n                                                Draw line from (-92) (-175) to (-92) (4) set pen size to (30)\n                                                Draw line from (170) (-157) to (170) (4) set pen size to (30)\n                                                Draw line from (-238) (-179) to (240) (-179) set pen size to (50)\n                                            else\n                                                if <(level) = [13]> then\n                                                    Draw line from (-48) (-165) to (-48) (-94) set pen size to (30)\n                                                    Draw line from (61) (-165) to (61) (-62) set pen size to (30)\n                                                    Draw line from (188) (-35) to (188) (-165) set pen size to (30)\n                                                    Draw lava from (225) (18) to (225) (-151) set pen size to (30)\n                                                    Draw lava from (225) (-151) to (-131) (-151) set pen size to (30)\n                                                    Draw lava from (3) (-23) to (3) (-150) set pen size to (30)\n                                                    Draw lava from (123) (-7) to (123) (-150) set pen size to (30)\n                                                else\n                                                    if <(level) = [14]> then\n                                                        Draw lava from (5) (178) to (5) (-30) set pen size to (30)\n                                                        Draw lava from (-70) (-168) to (-70) (2) set pen size to (30)\n                                                        Draw line from (-73) (2) to (-69) (2) set pen size to (30)\n                                                        Draw line from (-160) (-108) to (-160) (-108) set pen size to (30)\n                                                    else\n                                                        if <(level) = [15]> then\n                                                            Draw line from (-120) (-173) to (-120) (94) set pen size to (30)\n                                                            Draw lava from (-24) (-90) to (-24) (181) set pen size to (30)\n                                                            Draw lava from (171) (-90) to (171) (181) set pen size to (30)\n                                                            Draw line from (72) (-173) to (72) (94) set pen size to (30)\n                                                        else\n                                                            if <(level) = [16]> then\n                                                                Draw lava from (-209) (-179) to (228) (-179) set pen size to (60)\n                                                                Draw line from (-227) (-168) to (-166) (-168) set pen size to (40)\n                                                                Draw line from (-85) (-84) to (-85) (-84) set pen size to (20)\n                                                                Draw line from (53) (-101) to (53) (-101) set pen size to (20)\n                                                            else\n                                                                if <(level) = [17]> then\n                                                                    Draw line from (-88) (-144) to (-88) (57) set pen size to (30)\n                                                                    Draw lava from (-88) (52) to (21) (52) set pen size to (40)\n                                                                    Draw line from (-215) (14) to (-215) (14) set pen size to (30)\n                                                                    Draw line from (-134) (70) to (-134) (70) set pen size to (30)\n                                                                else\n                                                                    if <(level) = [18]> then\n                                                                        Draw lava from (-209) (-179) to (228) (-179) set pen size to (60)\n                                                                        Draw line from (-227) (-168) to (-166) (-168) set pen size to (40)\n                                                                        Draw line from (-99) (-8) to (-99) (-20) set pen size to (20)\n                                                                        Draw line from (93) (-115) to (93) (-115) set pen size to (20)\n                                                                    else\n                                                                        if <(level) = [19]> then\n                                                                            Draw lava from (-93) (-82) to (50) (-82) set pen size to (30)\n                                                                            Draw line from (161) (-151) to (163) (135) set pen size to (20)\n                                                                            Draw line from (47) (-2) to (1) (-2) set pen size to (20)\n                                                                            Draw lava from (137) (57) to (137) (57) set pen size to (40)\n                                                                        else\n                                                                            if <(level) = [20]> then\n                                                                                Draw lava from (1) (1) to (1) (1) set pen size to (20)\n                                                                                Draw lava from (-92) (-78) to (-92) (-78) set pen size to (20)\n                                                                                Draw lava from (77) (-111) to (77) (-111) set pen size to (20)\n                                                                                Draw lava from (143) (-26) to (143) (-26) set pen size to (20)\n                                                                                Draw lava from (-109) (-126) to (-109) (-126) set pen size to (20)\n                                                                                Draw line from (-54) (-160) to (-54) (29) set pen size to (20)\n                                                                                Draw lava from (188) (15) to (188) (15) set pen size to (30)\n                                                                            else\n                                                                                if <(level) = [21]> then\n                                                                                    Draw lava from (20) (-155) to (20) (-14) set pen size to (35)\n                                                                                    Draw line from (-101) (-161) to (-101) (-89) set pen size to (20)\n                                                                                    Draw lava from (-238) (-179) to (240) (-179) set pen size to (50)\n                                                                                    Draw line from (102) (-179) to (115) (-179) set pen size to (50)\n                                                                                    Draw line from (-238) (-179) to (-159) (-179) set pen size to (50)\n                                                                                else\n                                                                                    if <(level) = [22]> then\n                                                                                        Draw line from (1) (-154) to (1) (50) set pen size to (25)\n                                                                                        Draw line from (-169) (-41) to (1) (-41) set pen size to (25)\n                                                                                        Draw line from (-126) (70) to (63) (70) set pen size to (25)\n                                                                                        Draw lava from (-126) (70) to (-126) (145) set pen size to (25)\n                                                                                        Draw line from (-223) (45) to (-223) (45) set pen size to (25)\n                                                                                        Draw lava from (157) (173) to (157) (137) set pen size to (25)\n                                                                                        Draw lava from (157) (-14) to (157) (-156) set pen size to (25)\n                                                                                    else\n                                                                                        if <(level) = [23]> then\n                                                                                            Draw lava from (-234) (-92) to (-38) (-92) set pen size to (30)\n                                                                                            Draw lava from (31) (-92) to (240) (-92) set pen size to (30)\n                                                                                            Draw line from (39) (-86) to (64) (-86) set pen size to (30)\n                                                                                            Draw line from (-44) (8) to (-44) (8) set pen size to (30)\n                                                                                            Draw line from (46) (68) to (46) (69) set pen size to (30)\n                                                                                            Draw lava from (125) (-92) to (125) (81) set pen size to (30)\n                                                                                            Draw line from (209) (-76) to (170) (-76) set pen size to (30)\n                                                                                        else\n                                                                                            if <(level) = [24]> then\n                                                                                                Draw lava from (-89) (-22) to (51) (-22) set pen size to (30)\n                                                                                                Draw lava from (124) (-22) to (229) (-22) set pen size to (30)\n                                                                                                Draw line from (-109) (-162) to (-109) (23) set pen size to (30)\n                                                                                                Draw lava from (124) (-22) to (124) (45) set pen size to (30)\n                                                                                                Draw lava from (51) (-22) to (51) (45) set pen size to (30)\n                                                                                            else\n                                                                                                if <(level) = [25]> then\n                                                                                                    Draw lava from (-119) (-149) to (231) (-146) set pen size to (30)\n                                                                                                    Draw line from (-70) (83) to (-70) (-76) set pen size to (30)\n                                                                                                    Draw lava from (20) (168) to (20) (11) set pen size to (30)\n                                                                                                    Draw line from (46) (-84) to (15) (-84) set pen size to (30)\n                                                                                                else\n                                                                                                    if <(level) = [26]> then\n                                                                                                        Draw line from (-126) (-165) to (-126) (-49) set pen size to (30)\n                                                                                                        Draw line from (126) (-165) to (126) (49) set pen size to (30)\n                                                                                                        Draw lava from (-110) (-165) to (110) (-165) set pen size to (50)\n                                                                                                        Draw lava from (-9) (177) to (-9) (15) set pen size to (30)\n                                                                                                        Draw line from (-75) (-95) to (37) (-95) set pen size to (30)\n                                                                                                        Draw lava from (-75) (-165) to (-75) (-49) set pen size to (30)\n                                                                                                        Draw lava from (52) (-165) to (52) (-53) set pen size to (30)\n                                                                                                    else\n                                                                                                        if <(level) = [27]> then\n                                                                                                            broadcast (activate portal v) and wait\n                                                                                                            broadcast (speak 2 v)\n                                                                                                            Draw lava from (0) (-185) to (0) (186) set pen size to (30)\n                                                                                                            Draw line from (-131) (-165) to (-131) (-100) set pen size to (50)\n                                                                                                            Draw lava from (-131) (-5) to (-131) (-5) set pen size to (20)\n                                                                                                            Draw line from (-131) (49) to (-131) (49) set pen size to (30)\n                                                                                                            Draw lava from (0) (-168) to (232) (-168) set pen size to (30)\n                                                                                                            Draw line from (133) (-150) to (182) (-150) set pen size to (30)\n                                                                                                        else\n                                                                                                            if <(level) = [28]> then\n                                                                                                                broadcast (remove portal v)\n                                                                                                                Draw lava from (102) (175) to (102) (125) set pen size to (20)\n                                                                                                                Draw lava from (-112) (-150) to (-112) (-112) set pen size to (30)\n                                                                                                                Draw line from (-112) (-100) to (-112) (-100) set pen size to (20)\n                                                                                                                Draw line from (-29) (-30) to (-29) (-30) set pen size to (15)\n                                                                                                                Draw lava from (-29) (-38) to (-93) (-38) set pen size to (15)\n                                                                                                                Draw lava from (102) (50) to (102) (-165) set pen size to (20)\n                                                                                                            else\n                                                                                                                if <(level) = [29]> then\n                                                                                                                    Draw lava from (225) (179) to (31) (29) set pen size to (25)\n                                                                                                                    Draw lava from (225) (-152) to (31) (-64) set pen size to (25)\n                                                                                                                    Draw line from (-71) (-159) to (-71) (-130) set pen size to (25)\n                                                                                                                    Draw line from (50) (-60) to (96) (-78) set pen size to (25)\n                                                                                                                    Draw line from (-165) (-161) to (-165) (39) set pen size to (25)\n                                                                                                                    Draw lava from (-155) (-161) to (-155) (39) set pen size to (25)\n                                                                                                                    Draw lava from (-155) (-161) to (218) (-161) set pen size to (25)\n                                                                                                                    Draw lava from (-155) (39) to (-52) (39) set pen size to (25)\n                                                                                                                else\n                                                                                                                    if <(level) = [30]> then\n                                                                                                                        broadcast (speak v)\n                                                                                                                        Draw lava from (-24) (-90) to (-24) (181) set pen size to (5)\n                                                                                                                        Draw lava from (171) (-90) to (171) (181) set pen size to (5)\n                                                                                                                        Draw lava from (-120) (-173) to (-120) (94) set pen size to (5)\n                                                                                                                        Draw line from (-170) (-79) to (-170) (-79) set pen size to (10)\n                                                                                                                        Draw line from (-220) (-26) to (-220) (-26) set pen size to (10)\n                                                                                                                        Draw line from (-158) (27) to (-158) (27) set pen size to (10)\n                                                                                                                        Draw line from (-222) (74) to (-222) (74) set pen size to (10)\n                                                                                                                        Draw line from (51) (-90) to (50) (-90) set pen size to (15)\n                                                                                                                        Draw line from (51) (24) to (51) (24) set pen size to (15)\n                                                                                                                        Draw lava from (72) (-173) to (72) (94) set pen size to (5)\n                                                                                                                        Draw line from (-13) (-38) to (-13) (21) set pen size to (15)\n                                                                                                                        Draw line from (-13) (88) to (-13) (88) set pen size to (15)\n                                                                                                                    else\n                                                                                                                        if <(level) = [31]> then\n                                                                                                                            broadcast (End v)\n                                                                                                                        end\n                                                                                                                    end\n                                                                                                                end\n                                                                                                            end\n                                                                                                        end\n                                                                                                    end\n                                                                                                end\n                                                                                            end\n                                                                                        end\n                                                                                    end\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nerase all\nhide\nwait until <(play) = [0]>\nDraw line from (-238) (-179) to (240) (-179) set pen size to (50)\n\nDraw lava from (-238) (-179) to (240) (-179) set pen size to (50)\nDraw line from (102) (-179) to (115) (-179) set pen size to (50)\nDraw line from (-238) (-179) to (-159) (-179) set pen size to (50)\n\nDraw lava from (-238) (-179) to (240) (-179) set pen size to (50)\nDraw line from (102) (-179) to (115) (-179) set pen size to (50)\nDraw line from (-238) (-179) to (-159) (-179) set pen size to (50)\n\nDraw line from (102) (-179) to (115) (-179) set pen size to (50)\nDraw line from (-238) (-179) to (-159) (-179) set pen size to (50)\n\n@Sprite1\n\nwhen flag clicked\nbroadcast (Start v)\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nwait (4) seconds\nbroadcast (Get out there v)\nhide\n\n@Player\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        go to x: (-186) y: (-137)\n    end\nend\n\nwhen flag clicked\ngo to x: (-203) y: (-24)\nset [level v] to [1]\nshow\nwait (4) seconds\nforever\n    go to [front v] layer\n    set [y v] to [0]\n    set [x v] to [0]\n    forever\n        change [y v] by (-1)\n        set [x v] to ((x) * (0.9))\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [x v] by (-1)\n        end\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [x v] by (1)\n        end\n        change x by (x)\n        if <touching color (#00ff55)?> then\n            change y by (1)\n        end\n        if <touching color (#00ff55)?> then\n            change y by (1)\n        end\n        if <touching color (#00ee4f)?> then\n            change y by (1)\n        end\n        if <touching color (#00ff55)?> then\n            change y by (1)\n        end\n        if <touching color (#00ff55)?> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [y v] to [10]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-4]\n                else\n                    set [x v] to [4]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (y)\n        if <touching color (#00ff55)?> 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 <key (w v) pressed?>> and <touching color (#00ff55)?>> then\n            set [y v] to [15]\n        end\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<[245] < (x position)> and <(level) < [20]>> then\n        change [level v] by (1)\n        broadcast (next level v)\n        go to x: (-203) y: (-123)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-203) y: (-123)\n    end\nend\n\nwhen I receive [next level v]\nforever\n    if <<[245] < (x position)> and <(level) < [31]>> then\n        change [level v] by (1)\n        broadcast (next level v)\n        go to x: (-203) y: (-123)\n        stop [this script v]\n    end\nend\n\nwhen I receive [end v]\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [get out there v]\nshow\n\nwhen [up arrow v] key pressed\nplay sound [pop v] until done\nwait (0.5) seconds\nbroadcast (jump delay v)\n\nwhen flag clicked\nforever\n    if <<[245] < (x position)> and <(level) < [17]>> then\n        change [level v] by (1)\n        broadcast (next level v)\n        go to x: (-203) y: (-123)\n        stop [this script v]\n    end\nend\n\nwhen [q v] key pressed\nnext costume\n\nwhen flag clicked\nswitch costume to (classic v)\n\nwhen [o v] key pressed\nstart sound [fard sound effect v]\n\nwhen [z v] key pressed\nplay sound [what the dog doing sound effect v] until done\n\nwhen [right arrow v] key pressed\nswitch costume to (classic3 v)\n\nwhen [left arrow v] key pressed\nswitch costume to (classic4 v)\n\nwhen I receive [jump delay v]\nclear sound effects\n\nwhen [9 v] key pressed\n\nwhen [d v] key pressed\nswitch costume to (classic3 v)\n\nwhen [a v] key pressed\nswitch costume to (classic4 v)\n\nwhen [8 v] key pressed\n\ngo to (mouse-pointer v)\n\ngo to x: (254) y: (6)\n\nwhen I receive [speak v]\nsay [Last level come on!] for (2) seconds\n\nwhen flag clicked\nforever\n    if <touching (sprite8 v)?> then\n        go to (sprite9 v)\n    end\nend\n\ngo to x: (254) y: (6)\n\nwhen I receive [speak 2 v]\nsay [3 more to go!] for (2) seconds\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nbroadcast (stahp it v)\nshow\ngo to x: (2) y: (10)\nset [variable name v] to [0]\nforever\n    change [variable name v] by (10)\n    point in direction ((([sin v] of (variable name) ) * (7)) + (90))\nend\n\nwhen I receive [end v]\nbroadcast (yeet the camel v)\n\nwhen flag clicked\nrepeat (99)\n    play sound [AdhesiveWombat - Night Shade ♫ NO COPYRIGHT 8-bit Music v] until done\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\nwait (4) seconds\nshow\n\nwhen flag clicked\ngo to x: (-167) y: (167)\n\nwhen I receive [end v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nwait (4) seconds\nforever\n    wait (0.1) seconds\n    change [timer v] by (0.1)\nend\n\nwhen flag clicked\nhide variable [timer v]\nwait (4) seconds\nshow variable [timer v]\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nset [timer v] to [0]\nhide variable [level v]\n\n@Sprite5\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [pog v]\nshow\n\nwhen I receive [hide easter egg v]\nhide\n\nwhen this sprite clicked\nswitch costume to (costume2 v)\n\n@Sprite6\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nwait (4) seconds\nshow\nforever\n    if <(level) = [1]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        switch costume to (costume4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        switch costume to (costume6 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        switch costume to (costume5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [8]> then\n        switch costume to (costume8 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        switch costume to (costume7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        switch costume to (costume10 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        switch costume to (costume9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        switch costume to (costume12 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [13]> then\n        switch costume to (costume13 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [14]> then\n        switch costume to (costume24 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [15]> then\n        switch costume to (costume14 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [16]> then\n        switch costume to (costume15 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [17]> then\n        switch costume to (costume16 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [18]> then\n        switch costume to (costume17 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [19]> then\n        switch costume to (costume18 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [20]> then\n        switch costume to (costume19 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [31]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [21]> then\n        switch costume to (costume20 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [22]> then\n        switch costume to (costume21 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [23]> then\n        switch costume to (costume22 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [24]> then\n        switch costume to (costume23 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [25]> then\n        switch costume to (costume25 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [26]> then\n        switch costume to (costume26 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [27]> then\n        switch costume to (costume27 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [28]> then\n        switch costume to (costume28 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [29]> then\n        switch costume to (costume29 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [30]> then\n        switch costume to (costume30 v)\n    end\nend\n\n@leaderbourd\n\nwhen flag clicked\nforever\n    if <(level) = [31]> then\n        if <(☁ High score) > (Timer)> then\n            set [☁ high score v] to (Timer)\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [☁ high score v]\nwait (4) seconds\nshow variable [☁ high score v]\n\n@Sprite7\n\nwhen flag clicked\nhide\nwait (4) seconds\nshow\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen I receive [activate portal v]\nshow\n\nwhen I receive [remove portal v]\nhide\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen I receive [activate portal v]\nshow\n\nwhen I receive [remove portal v]\nhide\n\n