Platformer AND Clicker Version 1.3

Instructions: VERSION 1.3 Platformer AND Clicker\nEasy, Meduim and Hard\nI am @Stormy-Guy\n-------- STAT ---------\n~ Blocks ➜ 2589 O-O\n~ Costumes ➜ 205 ツ\n~ Sprite ➜ 50 [22 for the clicker, 12 for the platformer]\n~ Time of job ➜ + 38H of job\n------------------------------------\n- Ꭱꮜꮮꭼ platformer\n✦ Mobile friendly\n✦ A || D || W\n✦ Arrow\n- Ꭱꮜꮮꭼ Clicker\n✦ Mobile friendly\n✦ Click\n\n➥ Published on 2/02/23 \n\nj'espère qu'il te plaira ^^\n\n» Cʟɪᴄᴋ ᴛʜᴇ ❤️ ᴀɴᴅ ᴛʜᴇ ⭐️ ɪғ ʏᴏᴜ ʟɪᴋᴇ ᴛʜɪs

@Stage\n\nwhen flag clicked\nforever\n    play sound [We Are One v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (volume) %\nend\n\nwhen flag clicked\nswitch backdrop to (bg v)\n\nwhen I receive [menu v]\nswitch backdrop to (bg v)\n\nwhen I receive [fin du loading pour le platformer easy v]\nswitch backdrop to (arrière-plan1 v)\n\nwhen I receive [fin du loading pour le platformer meduim v]\nswitch backdrop to (arrière-plan meduim v)\n\n@Love and fave reminder\n\nwhen flag clicked\nwait (2.5) seconds\ngo to [front v] layer\n\nwhen flag clicked\nhide\nhide\nwait (1) seconds\nforever\n    if <(Actions \(love/fave\)) < [2]> then\n        switch costume to (costume1 v)\n        go to x: (0) y: (150)\n        show\n        go to [front v] layer\n        repeat (11)\n            change y by (-6)\n        end\n        repeat (7)\n            change y by (3)\n        end\n        repeat (6)\n            change y by (-2)\n        end\n        wait (5) seconds\n        repeat (17)\n            change y by (7)\n        end\n        hide\n        wait (pick random (10) to (20)) seconds\n    else\n        stop [this script v]\n    end\nend\n\n@Detector\n\nwhen flag clicked\nset [timer v] to [0]\nhide\nset [faved___2 v] to [0]\nset [loved__2 v] to [0]\nset [clone id2 v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id2 v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__2) = [1]> and <(FAVED___2) = [1]>>\nwait (1) seconds\nbroadcast (mrc de raptor -_- v)\n\nwhen I start as a clone\nif <(clone id2) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__2 v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__2 v] to [1]\n        end\n    end\nend\nif <(clone id2) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___2 v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___2 v] to [1]\n        end\n    end\nend\n\nwhen I receive [mrc de raptor -_- v]\ngo to [front v] layer\nswitch costume to (4 v)\nchange [timer v] by (-1)\ngo to x: (0) y: (-350)\nshow\ngo to [front v] layer\nglide (.5) secs to x: (0) y: (0)\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nclear graphic effects\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\nshow\n\nwhen I receive [le cliker easy v]\nhide\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [le platformer easy v]\nhide\n\nwhen I receive [le clicker meduim v]\nhide\n\nwhen I receive [le platformer meduim v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\nswitch costume to (costume1 v)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nwait (0.1) seconds\nbroadcast (le cliker easy v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [fin du loading pour le cliker easy v]\n\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nwhen I receive [le platformer easy v]\nhide\n\nwhen I receive [le clicker meduim v]\nhide\n\nwhen I receive [le platformer meduim v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [le cliker easy v]\nswitch costume to (costume1 v)\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nclear graphic effects\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to x: (0) y: (0)\nwait (4.5) seconds\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nbroadcast (go montrer rapd v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to [back v] layer\n\nwhen I receive [manette v]\nswitch costume to (costume1 v)\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nclear graphic effects\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to x: (0) y: (0)\nwait (0.2) seconds\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nbroadcast (quel jeu?? v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to [back v] layer\n\nwhen I receive [le platformer easy v]\nswitch costume to (costume1 v)\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nclear graphic effects\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to x: (0) y: (0)\nwait (4.5) seconds\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nbroadcast (go montrer \(Animoji c pas moi\) v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to [back v] layer\n\nwhen I receive [le clicker meduim v]\nswitch costume to (costume1 v)\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nclear graphic effects\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to x: (0) y: (0)\nwait (4.5) seconds\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nbroadcast (go montrer clicker meduim v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to [back v] layer\n\nwhen I receive [le platformer meduim v]\nswitch costume to (costume1 v)\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nclear graphic effects\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to x: (0) y: (0)\nwait (4.5) seconds\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nbroadcast (je suis stormy-Guy v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ngo to [back v] layer\n\n@Sprite18\n\nwhen flag clicked\nhide\n\nwhen I receive [go montrer rapd v]\nshow\ngo to [front v] layer\nwait (2) seconds\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (fin du loading pour le cliker easy v)\ngo to [back v] layer\n\nwhen I receive [go montrer \(animoji c pas moi\) v]\nshow\ngo to [front v] layer\nwait (2) seconds\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (fin du loading pour le platformer easy v)\ngo to [back v] layer\n\nwhen I receive [go montrer clicker meduim v]\nshow\ngo to [front v] layer\nwait (2) seconds\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (fin du loading pour le clicker meduim v)\ngo to [back v] layer\n\nwhen I receive [je suis stormy-guy v]\nshow\ngo to [front v] layer\nwait (2) seconds\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (fin du loading pour le platformer meduim v)\ngo to [back v] layer\n\n@Sprite5\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\nswitch costume to (costume1 v)\nshow\n\nwhen this sprite clicked\nwait (0.1) seconds\nbroadcast (sortira bientot v)\nswitch costume to (costume2 v)\n\nwhen I receive [sortira bientot v]\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [le cliker easy v]\nhide\n\nwait (0.1) seconds\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [le platformer easy v]\nhide\n\nwhen I receive [le clicker meduim v]\nhide\n\nwhen I receive [le platformer meduim v]\nhide\n\n@Sprite8\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [le cliker easy v]\nswitch costume to (costume2 v)\nshow\n\nwhen this sprite clicked\n\nwait (0.1) seconds\nbroadcast (le cliker easy v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [fin du loading pour le cliker easy v]\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@Sprite9\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nwait (0.1) seconds\nbroadcast (le platformer easy v)\n\nswitch costume to (costume2 v)\n\nwhen I receive [fin du loading pour le cliker easy v]\n\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nwhen I receive [le cliker easy v]\nhide\n\nwhen I receive [le platformer easy v]\nhide\n\nhide\n\nwhen I receive [le clicker meduim v]\nhide\n\nwhen I receive [le platformer meduim v]\nhide\n\n@Sprite10\n\nwhen flag clicked\nswitch costume to (costume45 v)\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@Sprite11\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [le platformer easy v]\nswitch costume to (costume1 v)\nshow\n\nwhen this sprite clicked\n\nwait (0.1) seconds\nbroadcast (le cliker easy v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [fin du loading pour le platformer easy v]\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@Sprite12\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nshow\n\nwhen this sprite clicked\n\nwait (0.1) seconds\nbroadcast (le cliker easy v)\nhide\n\nswitch costume to (costume1 v)\n\nwhen I receive [fin du loading pour le cliker easy v]\nswitch costume to (costume1 v)\nwait (0.1) seconds\nshow\n\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nwhen I receive [fin du loading pour le clicker meduim v]\nswitch costume to (costume6 v)\nwait (0.1) seconds\nshow\n\n@Glow\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le cliker easy v]\nshow\nforever\n    turn right (1) degrees\nend\n\nwhen I receive [arreter clicker easy \(je suis pas fixo\) v]\nhide\n\n@Click This\n\nwhen I receive [fin du loading pour le cliker easy v]\nforever\n    if <(pizza easy) = [2]> then\n        change [click easy \(cash\) v] by (400)\n        wait (1) seconds\n    else\n        if <(pizza easy) = [3]> then\n            change [click easy \(cash\) v] by (1000)\n            wait (1) seconds\n        else\n            if <(pizza easy) = [4]> then\n                change [click easy \(cash\) v] by (5000)\n                wait (1) seconds\n            else\n                if <(pizza easy) = [5]> then\n                    change [click easy \(cash\) v] by (20000)\n                    wait (1) seconds\n                end\n                if <(pizza easy) = [6]> then\n                    change [click easy \(cash\) v] by (40000)\n                    wait (1) seconds\n                end\n                if <(pizza easy) = [7]> then\n                    change [click easy \(cash\) v] by (75000)\n                    wait (1) seconds\n                else\n                    if <(pizza easy) = [8]> then\n                        change [click easy \(cash\) v] by (100000)\n                        wait (1) seconds\n                    else\n                        if <(pizza easy) > [8]> then\n                            change [click easy \(cash\) v] by (150000)\n                            wait (1) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le cliker easy v]\nforever\n    if <(taco easy) = [2]> then\n        change [click easy \(cash\) v] by (40)\n        wait (1) seconds\n    else\n        if <(taco easy) = [3]> then\n            change [click easy \(cash\) v] by (60)\n            wait (1) seconds\n        else\n            if <(taco easy) = [4]> then\n                change [click easy \(cash\) v] by (80)\n                wait (1) seconds\n            else\n                if <(taco easy) = [5]> then\n                    change [click easy \(cash\) v] by (100)\n                    wait (1) seconds\n                end\n                if <(taco easy) = [6]> then\n                    change [click easy \(cash\) v] by (150)\n                    wait (1) seconds\n                else\n                    if <(taco easy) = [7]> then\n                        change [click easy \(cash\) v] by (300)\n                        wait (1) seconds\n                    end\n                    if <(taco easy) = [8]> then\n                        change [click easy \(cash\) v] by (450)\n                        wait (1) seconds\n                    else\n                        if <(taco easy) > [8]> then\n                            change [click easy \(cash\) v] by (1000)\n                            wait (1) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le cliker easy v]\nforever\n    if <(Score change 5pC) = [2]> then\n        set [clickerscore12 v] to [10]\n    else\n        if <(Score change 5pC) = [3]> then\n            set [clickerscore12 v] to [15]\n        else\n            if <(Score change 5pC) = [4]> then\n                set [clickerscore12 v] to [20]\n            else\n                if <(Score change 5pC) = [5]> then\n                    set [clickerscore12 v] to [25]\n                end\n                if <(Score change 5pC) = [6]> then\n                    set [clickerscore12 v] to [30]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le cliker easy v]\nforever\n    if <(Score change 10pC) = [2]> then\n        set [clickerscore12 v] to [20]\n    else\n        if <(Score change 10pC) = [3]> then\n            set [clickerscore12 v] to [30]\n        else\n            if <(Score change 10pC) = [4]> then\n                set [clickerscore12 v] to [40]\n            else\n                if <(Score change 10pC) = [5]> then\n                    set [clickerscore12 v] to [50]\n                end\n                if <(Score change 10pC) = [6]> then\n                    set [clickerscore12 v] to [60]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le cliker easy v]\nshow variable [click easy \(cash\) v]\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\nwhen I receive [fin du loading pour le cliker easy v]\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        set [clicking? v] to [true]\n        wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n    end\n    if <not <<touching (mouse-pointer v)?> and <mouse down?>>> then\n        set [clicking? v] to [false]\n    end\nend\n\nwhen I receive [fin du loading pour le cliker easy v]\nshow\nset [score: v] to [0]\nswitch costume to (clicker1 v)\nset size to (100) %\nforever\n    point in direction ((([cos v] of ((timer) * (180)) ) * (6)) + ((([cos v] of ((timer) * (180)) ) * (6)) + (90)))\n    set y to (([cos v] of ((timer) * (90)) ) * (([cos v] of ((timer) * (90)) ) * (6)))\nend\n\nwhen I receive [fin du loading pour le cliker easy v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n        change size by (((115) - (size)) / (4))\n    else\n        set [brightness v] effect to (0)\n        change size by (((100) - (size)) / (4))\n    end\nend\n\nwhen I receive [pb bought v]\nchange [score: v] by (-100)\nswitch costume to (pixelbuild v)\nset [costume v] to [2]\n\nwhen I receive [transition v]\nhide\n\nwhen I receive [ryham bought v]\nchange [score: v] by (-100)\nswitch costume to (ryham301 v)\nset [costume v] to [7]\n\nwhen I receive [tacos du easy clicker v]\nswitch costume to (clicker2 v)\nset [costume v] to [2]\n\nwhen I receive [back to game v]\nshow\n\nwhen flag clicked\nset [costume v] to [1]\n\nwhen I receive [5persec v]\nforever\n    change [score: v] by (5)\n    wait (1) seconds\nend\n\nwhen I receive [pizza auto cliker easy v]\nforever\n    change [click easy \(cash\) v] by (50)\n    wait (1) seconds\nend\n\nwhen I receive [hide v]\nhide\n\nwhen flag clicked\nset [clickerscore12 v] to [1]\n\nwhen I start as a clone\nif <(CloneType) = [outline]> then\n    switch costume to (Skin)\n    go to [front v] layer\n    forever\n        point in direction ((([cos v] of ((timer) * (180)) ) * (6)) + (90))\n        set y to (([cos v] of ((timer) * (90)) ) * (6))\n    end\nend\n\nwhen I start as a clone\nif <(CloneType) = [a]> then\n    forever\n        change x by (CloneXv)\n        set [clonexv v] to ((CloneXv) * (0.95))\n    end\nend\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(CloneType) = [a]> then\n    forever\n        change x by (CloneXv)\n        set [clonexv v] to ((CloneXv) * (0.95))\n    end\nend\n\nwhen I receive [click v]\nif <(CloneType) = [outline]> then\n    delete this clone\nend\n\nwhen this sprite clicked\nchange [click easy \(cash\) v] by (1)\nbroadcast (Click v)\nbroadcast (message1 v)\n\nchange [click easy \(cash\) v] by (click easy \(cash\))\n\nwhen flag clicked\nset [click easy \(cash\) v] to [0]\n\nwhen flag clicked\n\nwhen flag clicked\nhide variable [click easy \(cash\) v]\n\nwhen this sprite clicked\nbroadcast (Click v)\nset [clonetype v] to [0]\nset [yv v] to [0]\nchange [click easy \(cash\) v] by (0)\nset size to (100) %\nset [clonexv v] to (pick random (-10) to (10))\nset [yv v] to (pick random (15) to (25))\nswitch costume to (Costume)\nset [clonetype v] to [a]\ncreate clone of (_myself_ v)\nset [clonetype v] to [0]\nwait until <not <mouse down?>>\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(CloneType) = [a]> then\n    set size to (30) %\n    repeat (12)\n        set [yv v] to ((Yv) * (0.8))\n        change y by (Yv)\n    end\n    set [yv v] to ((Yv) * (-1))\n    repeat until <touching (_edge_ v)?>\n        change y by (Yv)\n        set [yv v] to ((Yv) * (1.2))\n    end\n    delete this clone\nend\n\nchange [score: v] by (-100)\nswitch costume to (nano v)\n\nwhen I receive [pizza auto cliker easy v]\nswitch costume to (clicker3 v)\nset [costume v] to [3]\n\nwhen I receive [hot dog easy clicker v]\nswitch costume to (clicker4 v)\nset [costume v] to [4]\n\nif <(taco easy) = [8]> then\n    change [click easy \(cash\) v] by (450)\n    wait (1) seconds\nend\n\n@Sprite13\n\nwhen flag clicked\ngo to x: (153) y: (-144)\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\n\nswitch costume to (costume1 v)\n\nwhen I receive [fin du loading pour le cliker easy v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nwait (0.1) seconds\nbroadcast (Stuff Ready v)\n\n@Shop item\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nset [pizza easy v] to [1]\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(click easy \(cash\)) < [999]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click easy \(cash\)) < [999]> then\n        set [click easy \(cash\) v] to (click easy \(cash\))\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click easy \(cash\)) > [999]> then\n        change [click easy \(cash\) v] by (-1000)\n        broadcast (pizza auto cliker easy v)\n        change [pizza easy v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click easy \(cash\)) > [999]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen I receive [transition 2 v]\nhide variable [score v]\n\n@Shop item3\n\nwhen this sprite clicked\nforever\n    if <(click easy \(cash\)) > [999999]> then\n        change [click easy \(cash\) v] by (-1000000)\n        broadcast (hot dog easy clicker v)\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click easy \(cash\)) < [1000000]> then\n        set [click easy \(cash\) v] to (click easy \(cash\))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click easy \(cash\)) < [999999]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click easy \(cash\)) > [999999]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\n@Shop item2\n\nwhen flag clicked\nforever\n    if <(click easy \(cash\)) > [99]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click easy \(cash\)) > [99]> then\n        change [click easy \(cash\) v] by (-100)\n        broadcast (tacos du easy clicker v)\n        change [taco easy v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen flag clicked\nset [taco easy v] to [1]\nforever\n    if <(click easy \(cash\)) < [99]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click easy \(cash\)) < [99]> then\n        set [click easy \(cash\) v] to (click easy \(cash\))\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(click easy \(cash\)) > [99]> then\n        switch costume to (costume2 v)\n    end\nend\n\n@Shop Image\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen I receive [stuff ready v]\n\nshow variable [score v]\n\nwhen flag clicked\nhide variable [score v]\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\n@Shop x\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen this sprite clicked\nbroadcast (Transition 2 v)\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\n@Xbox controller\n\nwhen flag clicked\ngo to x: (-8) y: (23)\nbroadcast (menu v)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to ((size) + (((120) - (size)) / (3))) %\n        point in direction ((90) + ((2) * ([cos v] of (((timer) - (3)) * (500)) )))\n        switch costume to (costume2 v)\n    else\n        set size to ((size) + (((100) - (size)) / (3))) %\n        point in direction (90)\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nstart sound [Teleport v]\nbroadcast (manette v)\nhide\n\nwhen I receive [menu v]\nwait (0.2) seconds\nshow\n\nwhen I receive [options v]\nhide\n\nwhen I receive [about v]\nhide\n\n@SETTING\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nbroadcast (menu v)\n\nwhen this sprite clicked\nstart sound [pop v]\nbroadcast (options v)\nhide\n\nwhen I receive [menu v]\nswitch costume to (costume1 v)\nwait (0.2) seconds\ngo to x: (-150) y: (0)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [manette v]\nhide\n\nwhen I receive [about v]\nhide\n\n@X\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [quel jeu?? v]\ngo to x: (0) y: (0)\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to ((size) + (((120) - (size)) / (3))) %\n        point in direction ((90) + ((2) * ([cos v] of (((timer) - (3)) * (500)) )))\n        switch costume to (costume1 v)\n    else\n        set size to ((size) + (((100) - (size)) / (3))) %\n        point in direction (90)\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [le cliker easy v]\nhide\n\nwhen this sprite clicked\nstart sound [pop v]\nwait (0.1) seconds\nbroadcast (menu v)\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [sortira bientot v]\ngo to x: (180) y: (130)\nshow\n\nwhen I receive [options v]\ngo to x: (180) y: (130)\nshow\nswitch costume to (costume2 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to ((size) + (((130) - (size)) / (3))) %\n        point in direction ((90) + ((2) * ([cos v] of (((timer) - (3)) * (500)) )))\n        switch costume to (costume2 v)\n    else\n        set size to ((size) + (((100) - (size)) / (3))) %\n        point in direction (90)\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [le platformer easy v]\nhide\n\nwhen I receive [about v]\ngo to x: (180) y: (130)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to ((size) + (((130) - (size)) / (3))) %\n        point in direction ((90) + ((2) * ([cos v] of (((timer) - (3)) * (500)) )))\n        switch costume to (costume2 v)\n    else\n        set size to ((size) + (((100) - (size)) / (3))) %\n        point in direction (90)\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [le clicker meduim v]\nhide\n\nwhen I receive [le platformer meduim v]\nhide\n\n@Sound button\n\nwhen I receive [cha-ching v]\nif <(volume) = [100]> then\n    play sound [We Are One v] until done\nend\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [options v]\nhide variable [burgers v]\nshow\n\nwhen flag clicked\nset [volume v] to [100]\ngo to x: (-150) y: (115)\nswitch costume to (2 v)\nhide\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    set [volume v] to [100]\n    switch costume to (2 v)\nelse\n    set [volume v] to [0]\n    switch costume to (1 v)\nend\n\n@Logo\n\nwhen flag clicked\nshow\ngo to x: (00) y: (132)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to ((size) + (((117) - (size)) / (3))) %\n        point in direction ((90) + ((2) * ([cos v] of (((timer) - (3)) * (500)) )))\n    else\n        set size to ((size) + (((100) - (size)) / (3))) %\n        point in direction (90)\n    end\nend\n\nwhen I receive [about v]\nhide\n\nwhen I receive [options v]\nhide\n\nwhen I receive [menu v]\nwait (0.2) seconds\nshow\n\nwhen I receive [manette v]\nhide\n\nwhen flag clicked\nforever\n    erase all\nend\n\n@Sprite4\n\nwhen flag clicked\nswitch costume to (button1 v)\nshow\ngo to x: (170) y: (-1)\n\nwhen I receive [manette v]\nhide\n\nwhen I receive [options v]\nhide\n\nwhen I receive [menu v]\nswitch costume to (button1 v)\ngo to x: (170) y: (-1)\nwait (0.2) seconds\nshow\n\nwhen this sprite clicked\nstart sound [Zoop v]\nbroadcast (about v)\n\nwhen I receive [about v]\ngo to x: (0) y: (0)\nswitch costume to (button2 v)\n\n@Auto Clicker\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [hot dog easy clicker v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen flag clicked\ngo to x: (136) y: (-23)\n\nwhen I receive [hot dog easy clicker v]\nforever\n    switch costume to (costume2 v)\n    repeat (2)\n        next costume\n        wait (00.1) seconds\n    end\n    change [click easy \(cash\) v] by (100000)\nend\n\n@1A\n\nwhen I start as a clone\nswitch costume to (costume8 v)\nrepeat (20)\n    change size by (-4)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [next level v]\nset [yv2 v] to [0]\nset [xv v] to [0]\ngo to x: (-200) y: (0)\nset [ghost v] effect to (0)\n\nwhen flag clicked\n\ndefine if touching\nif <touching (spikes v)?> then\n    set [ghost v] effect to (100)\n    start sound [whoop v]\n    set [yv2 v] to [0]\n    set [xv v] to [0]\n    set size to (100) %\n    set [ghost v] effect to (0)\n    go to x: (-200) y: (0)\n    point in direction (90)\nend\nif <touching (1 v)?> then\n    set [yv2 v] to [20]\nend\nif <touching (speed v)?> then\n    set [xv v] to [21]\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [return v]\ngo to x: (-200) y: (0)\n\nwhen flag clicked\n\nforever\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer easy v]\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set size to (size) %\n    set [size v] to [100]\n    show\n    set rotation style [all around v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (a v) pressed?> or <key (left arrow v) pressed?>>> then\n        change [xv v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (d v) pressed?> or <key (right arrow 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 (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change y by (-5)\n                            change x by ((Xv) * (-1))\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-7]\n                                else\n                                    set [xv v] to [7]\n                                end\n                                set [yv2 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 y by (-1)\n    if <touching (levels v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n            set [yv2 v] to [17]\n        end\n    end\n    change y by (1)\n    change [yv2 v] by (-1)\n    set [yv2 v] to ((Yv2) * (0.99))\n    change y by (Yv2)\n    if <touching (levels v)?> then\n        change y by ((Yv2) * (-1))\n        set [yv2 v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-200) y: (0)\n    end\n    if touching\nend\n\nwhen I receive [fin du loading pour le platformer easy v]\ngo to x: (-200) y: (0)\nforever\n    if <touching (levels v)?> then\n        broadcast (Bounce v)\n        if <(Yv2) > [0]> then\n            set [yv2 v] to [-20]\n        else\n            set [yv2 v] to [20]\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le platformer easy v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [fin du loading pour le platformer easy v]\nforever\n    if <touching (attention v)?> then\n        broadcast (Bounce v)\n        broadcast (Return v)\n    end\nend\n\nwhen I receive [fin du loading pour le platformer easy v]\nforever\n    if <touching (bounce v)?> then\n        change [yv2 v] by (10)\n    end\nend\n\nwhen [s v] key pressed\nbroadcast (Next Level v)\n\nwhen [r v] key pressed\nset [yv2 v] to [0]\nset [xv v] to [0]\ngo to x: (-200) y: (0)\nset [ghost v] effect to (0)\n\n@Attention\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer easy v]\nshow\nswitch costume to (costume2 v)\n\n@SKIP\n\nwhen this sprite clicked\nswitch costume to ( v)\nbroadcast (next level v)\n\nwhen flag clicked\n\nwhen I receive [stop skip v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer easy v]\nshow\n\nwhen I receive [fin v]\nstop [other scripts in sprite v]\nhide\n\n@RETRY\n\nwhen this sprite clicked\nbroadcast (Return v)\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer easy v]\nshow\n\nwhen I receive [fin v]\nstop [other scripts in sprite v]\nhide\n\n@Levels\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (10 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer easy v]\nforever\n    if <(costume [number v]) = [20]> then\n        broadcast (stop skip v)\n        wait (0.2) seconds\n        stop [this script v]\n    end\nend\n\nwhen I receive [fin du loading pour le platformer easy v]\nshow\nforever\n    go to [back v] layer\nend\n\n@Sprite7\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\nswitch costume to (costume1 v)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nwait (0.1) seconds\nbroadcast (le clicker meduim v)\nhide\n\nswitch costume to (costume3 v)\n\nwhen I receive [fin du loading pour le cliker easy v]\n\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nwhen I receive [le platformer easy v]\nhide\n\nwhen I receive [le cliker easy v]\nhide\n\nwhen I receive [le platformer meduim v]\nhide\n\n@Sprite14\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [le clicker meduim v]\nswitch costume to (costume2 v)\nshow\n\nwhen this sprite clicked\n\nwait (0.1) seconds\nbroadcast (le cliker easy v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [fin du loading pour le clicker meduim v]\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@Click MEDUIM\n\nwhen I receive [fin du loading pour le clicker meduim v]\nforever\n    if <(1er emoji) = [2]> then\n        change [click medium \(cash\) v] by (20)\n        wait (1) seconds\n    else\n        if <(1er emoji) = [3]> then\n            change [click medium \(cash\) v] by (50)\n            wait (1) seconds\n        else\n            if <(1er emoji) = [4]> then\n                change [click medium \(cash\) v] by (100)\n                wait (1) seconds\n            else\n                if <(1er emoji) = [5]> then\n                    change [click medium \(cash\) v] by (300)\n                    wait (1) seconds\n                end\n                if <(1er emoji) = [6]> then\n                    change [click medium \(cash\) v] by (500)\n                    wait (1) seconds\n                end\n                if <(1er emoji) = [7]> then\n                    change [click medium \(cash\) v] by (1000)\n                    wait (1) seconds\n                else\n                    if <(1er emoji) = [8]> then\n                        change [click medium \(cash\) v] by (2500)\n                        wait (1) seconds\n                    else\n                        if <(1er emoji) > [8]> then\n                            change [click medium \(cash\) v] by (5000)\n                            wait (1) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le clicker meduim v]\nforever\n    if <(Score change 5pC) = [2]> then\n        set [clickerscore12 v] to [10]\n    else\n        if <(Score change 5pC) = [3]> then\n            set [clickerscore12 v] to [15]\n        else\n            if <(Score change 5pC) = [4]> then\n                set [clickerscore12 v] to [20]\n            else\n                if <(Score change 5pC) = [5]> then\n                    set [clickerscore12 v] to [25]\n                end\n                if <(Score change 5pC) = [6]> then\n                    set [clickerscore12 v] to [30]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le clicker meduim v]\nforever\n    if <(Score change 10pC) = [2]> then\n        set [clickerscore12 v] to [20]\n    else\n        if <(Score change 10pC) = [3]> then\n            set [clickerscore12 v] to [30]\n        else\n            if <(Score change 10pC) = [4]> then\n                set [clickerscore12 v] to [40]\n            else\n                if <(Score change 10pC) = [5]> then\n                    set [clickerscore12 v] to [50]\n                end\n                if <(Score change 10pC) = [6]> then\n                    set [clickerscore12 v] to [60]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le clicker meduim v]\nshow variable [click medium \(cash\) v]\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\nwhen I receive [fin du loading pour le cliker easy v]\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        set [clicking? v] to [true]\n        wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n    end\n    if <not <<touching (mouse-pointer v)?> and <mouse down?>>> then\n        set [clicking? v] to [false]\n    end\nend\n\nwhen I receive [fin du loading pour le clicker meduim v]\nshow\nset [score: v] to [0]\nswitch costume to (clicker1 v)\nset size to (100) %\nforever\n    point in direction ((([cos v] of ((timer) * (180)) ) * (6)) + ((([cos v] of ((timer) * (180)) ) * (6)) + (90)))\n    set y to (([cos v] of ((timer) * (90)) ) * (([cos v] of ((timer) * (90)) ) * (6)))\nend\n\nwhen I receive [fin du loading pour le clicker meduim v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n        change size by (((115) - (size)) / (4))\n    else\n        set [brightness v] effect to (0)\n        change size by (((100) - (size)) / (4))\n    end\nend\n\nwhen I receive [pb bought v]\nchange [score: v] by (-100)\nswitch costume to (pixelbuild v)\nset [costume v] to [2]\n\nwhen I receive [transition v]\nhide\n\nwhen I receive [ryham bought v]\nchange [score: v] by (-100)\nswitch costume to (ryham301 v)\nset [costume v] to [7]\n\nwhen I receive [1er emoji v]\nswitch costume to (clicker2 v)\nset [costume v] to [2]\n\nwhen I receive [back to game v]\nshow\n\nwhen flag clicked\nset [costume v] to [1]\n\nwhen I receive [5persec v]\nforever\n    change [score: v] by (5)\n    wait (1) seconds\nend\n\nwhen I receive [2eme emoji v]\nforever\n    change [click easy \(cash\) v] by (50)\n    wait (1) seconds\nend\n\nwhen I receive [hide v]\nhide\n\nwhen flag clicked\nset [clickerscore12 v] to [1]\n\nwhen I start as a clone\nif <(CloneType) = [outline]> then\n    switch costume to (Skin)\n    go to [front v] layer\n    forever\n        point in direction ((([cos v] of ((timer) * (180)) ) * (6)) + (90))\n        set y to (([cos v] of ((timer) * (90)) ) * (6))\n    end\nend\n\nwhen I start as a clone\nif <(CloneType) = [a]> then\n    forever\n        change x by (CloneXv)\n        set [clonexv v] to ((CloneXv) * (0.95))\n    end\nend\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(CloneType) = [a]> then\n    forever\n        change x by (CloneXv)\n        set [clonexv v] to ((CloneXv) * (0.95))\n    end\nend\n\nwhen I receive [click v]\nif <(CloneType) = [outline]> then\n    delete this clone\nend\n\nwhen this sprite clicked\nchange [click medium \(cash\) v] by (1)\nbroadcast (Click v)\nbroadcast (message1 v)\n\nchange [click medium \(cash\) v] by (click medium \(cash\))\n\nwhen flag clicked\nset [click medium \(cash\) v] to [0]\n\nwhen flag clicked\n\nwhen flag clicked\nhide variable [click medium \(cash\) v]\n\nwhen this sprite clicked\nbroadcast (Click v)\nset [clonetype v] to [0]\nset [yv v] to [0]\nchange [click medium \(cash\) v] by (0)\nset size to (100) %\nset [clonexv v] to (pick random (-10) to (10))\nset [yv v] to (pick random (15) to (25))\nswitch costume to (Costume)\nset [clonetype v] to [a]\ncreate clone of (_myself_ v)\nset [clonetype v] to [0]\nwait until <not <mouse down?>>\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(CloneType) = [a]> then\n    set size to (30) %\n    repeat (12)\n        set [yv v] to ((Yv) * (0.8))\n        change y by (Yv)\n    end\n    set [yv v] to ((Yv) * (-1))\n    repeat until <touching (_edge_ v)?>\n        change y by (Yv)\n        set [yv v] to ((Yv) * (1.2))\n    end\n    delete this clone\nend\n\nchange [score: v] by (-100)\nswitch costume to (nano v)\n\nwhen I receive [2eme emoji v]\nswitch costume to (clicker3 v)\nset [costume v] to [3]\n\nwhen I receive [argent meduim clicker v]\nswitch costume to (clicker4 v)\nset [costume v] to [4]\n\nif <(taco easy) = [8]> then\n    change [click easy \(cash\) v] by (450)\n    wait (1) seconds\nend\n\nwhen I receive [fin du loading pour le clicker meduim v]\nforever\n    if <(2eme emoji) = [2]> then\n        change [click medium \(cash\) v] by (250)\n        wait (1) seconds\n    else\n        if <(2eme emoji) = [3]> then\n            change [click medium \(cash\) v] by (650)\n            wait (1) seconds\n        else\n            if <(2eme emoji) = [4]> then\n                change [click medium \(cash\) v] by (1000)\n                wait (1) seconds\n            else\n                if <(2eme emoji) = [5]> then\n                    change [click medium \(cash\) v] by (1500)\n                    wait (1) seconds\n                end\n                if <(1er emoji) = [6]> then\n                    change [click medium \(cash\) v] by (2500)\n                    wait (1) seconds\n                end\n                if <(2eme emoji) = [7]> then\n                    change [click medium \(cash\) v] by (5000)\n                    wait (1) seconds\n                else\n                    if <(2eme emoji) = [8]> then\n                        change [click medium \(cash\) v] by (7500)\n                        wait (1) seconds\n                    else\n                        if <(2eme emoji) > [8]> then\n                            change [click medium \(cash\) v] by (10000)\n                            wait (1) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [4eme emoji v]\nswitch costume to (clicker5 v)\nset [costume v] to [5]\n\nwhen I receive [5eme emoji v]\nswitch costume to (clicker6 v)\nset [costume v] to [6]\n\nwhen I receive [best clicker v]\nswitch costume to (clicker7 v)\nset [costume v] to [7]\n\nwhen I receive [fin du loading pour le clicker meduim v]\nforever\n    if <(4eme emoji) = [2]> then\n        change [click medium \(cash\) v] by (25000)\n        wait (1) seconds\n    else\n        if <(4eme emoji) = [3]> then\n            change [click medium \(cash\) v] by (65000)\n            wait (1) seconds\n        else\n            if <(4eme emoji) = [4]> then\n                change [click medium \(cash\) v] by (100000)\n                wait (1) seconds\n            else\n                if <(4eme emoji) = [5]> then\n                    change [click medium \(cash\) v] by (150000)\n                    wait (1) seconds\n                end\n                if <(4eme emoji) = [6]> then\n                    change [click medium \(cash\) v] by (250000)\n                    wait (1) seconds\n                end\n                if <(4eme emoji) = [7]> then\n                    change [click medium \(cash\) v] by (500000)\n                    wait (1) seconds\n                else\n                    if <(4eme emoji) = [8]> then\n                        change [click medium \(cash\) v] by (750000)\n                        wait (1) seconds\n                    else\n                        if <(4eme emoji) > [8]> then\n                            change [click medium \(cash\) v] by (1000000)\n                            wait (1) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le clicker meduim v]\nforever\n    if <(5eme emoji) = [2]> then\n        change [click medium \(cash\) v] by (250000)\n        wait (1) seconds\n    else\n        if <(5eme emoji) = [3]> then\n            change [click medium \(cash\) v] by (650000)\n            wait (1) seconds\n        else\n            if <(5eme emoji) = [4]> then\n                change [click medium \(cash\) v] by (1000000)\n                wait (1) seconds\n            else\n                if <(5eme emoji) = [5]> then\n                    change [click medium \(cash\) v] by (1500000)\n                    wait (1) seconds\n                end\n                if <(5eme emoji) = [6]> then\n                    change [click medium \(cash\) v] by (2500000)\n                    wait (1) seconds\n                end\n                if <(5eme emoji) = [7]> then\n                    change [click medium \(cash\) v] by (5000000)\n                    wait (1) seconds\n                else\n                    if <(5eme emoji) = [8]> then\n                        change [click medium \(cash\) v] by (7500000)\n                        wait (1) seconds\n                    else\n                        if <(5eme emoji) > [8]> then\n                            change [click medium \(cash\) v] by (1000000)\n                            wait (1) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Sprite15\n\nwhen flag clicked\ngo to x: (153) y: (-144)\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\n\nswitch costume to (costume1 v)\n\nwhen I receive [fin du loading pour le clicker meduim v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nwait (0.1) seconds\nbroadcast (Stuff Ready Meduim v)\n\n@Shop item4\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [99]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) > [99]> then\n        change [click medium \(cash\) v] by (-100)\n        broadcast (1er emoji v)\n        change [1er emoji v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen flag clicked\nset [1er emoji v] to [1]\nforever\n    if <(click medium \(cash\)) < [99]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) < [99]> then\n        set [click medium \(cash\) v] to (click medium \(cash\))\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [99]> then\n        switch costume to (costume2 v)\n    end\nend\n\n@Shop item5\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nset [2eme emoji v] to [1]\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) < [999]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) < [999]> then\n        set [click medium \(cash\) v] to (click medium \(cash\))\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) > [999]> then\n        change [click medium \(cash\) v] by (-1000)\n        broadcast (2eme emoji v)\n        change [2eme emoji v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [999]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen I receive [transition 2 v]\nhide variable [score v]\n\n@Shop Image3\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen I receive [stuff ready v]\n\nshow variable [score v]\n\nwhen flag clicked\nhide variable [score v]\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\n@Shop item6\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) > [9999]> then\n        change [click medium \(cash\) v] by (-10000)\n        broadcast (argent meduim clicker v)\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) < [10000]> then\n        set [click medium \(cash\) v] to (click medium \(cash\))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) < [9999]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [9999]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\n@Auto Clicker2\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [argent meduim clicker v]\nhide\ngo to [back v] layer\n\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen flag clicked\ngo to x: (136) y: (-23)\n\nwhen I receive [argent meduim clicker v]\nforever\n    switch costume to (costume2 v)\n    repeat (2)\n        next costume\n        wait (00.1) seconds\n    end\n    change [click medium \(cash\) v] by (750)\nend\n\nwhen I receive [stuff ready meduim v]\nhide\n\nwhen I receive [transition 2 v]\n\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\n@Shop item7\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [99999]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) > [99999]> then\n        change [click medium \(cash\) v] by (-100000)\n        broadcast (4eme emoji v)\n        change [4eme emoji v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen flag clicked\nset [4eme emoji v] to [1]\nforever\n    if <(click medium \(cash\)) < [99999]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) < [99999]> then\n        set [click medium \(cash\) v] to (click medium \(cash\))\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [99999]> then\n        switch costume to (costume2 v)\n    end\nend\n\n@Shop item8\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nset [5eme emoji v] to [1]\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) < [999999]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) < [999999]> then\n        set [click medium \(cash\) v] to (click medium \(cash\))\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) > [999999]> then\n        change [click medium \(cash\) v] by (-1000000)\n        broadcast (5eme emoji v)\n        change [5eme emoji v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [999999]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\nwhen I receive [transition 2 v]\nhide variable [score v]\n\n@Shop item9\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) > [9999999]> then\n        change [click medium \(cash\) v] by (-10000000)\n        broadcast (best clicker v)\n        stop [this script v]\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(click medium \(cash\)) < [9999999]> then\n        set [click medium \(cash\) v] to (click medium \(cash\))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) < [9999999]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(click medium \(cash\)) > [9999999]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (7)\n            change y by (1)\n            change [brightness v] effect by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (7)\n            change y by (-1)\n            change [brightness v] effect by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [stuff ready meduim v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transition 2 v]\nhide\ngo to [back v] layer\n\n@Auto Clicker3\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [argent meduim clicker v]\nhide\ngo to [back v] layer\n\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen flag clicked\ngo to x: (136) y: (-23)\n\nwhen I receive [best clicker v]\nforever\n    switch costume to (costume2 v)\n    repeat (2)\n        next costume\n        wait (00.1) seconds\n    end\n    change [click medium \(cash\) v] by (1000000)\nend\n\nwhen I receive [stuff ready meduim v]\nhide\n\nwhen I receive [transition 2 v]\n\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\n@Sprite16\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [quel jeu?? v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nwait (0.1) seconds\nbroadcast (le platformer meduim v)\n\nswitch costume to (costume2 v)\n\nwhen I receive [fin du loading pour le cliker easy v]\n\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nwhen I receive [le cliker easy v]\nhide\n\nwhen I receive [le platformer easy v]\nhide\n\nhide\n\nwhen I receive [le clicker meduim v]\nhide\n\nwhen I receive [le platformer meduim v]\nhide\n\n@Sprite17\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [le platformer meduim v]\nswitch costume to (costume1 v)\nshow\n\nwhen this sprite clicked\n\nwait (0.1) seconds\nbroadcast (le cliker easy v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [fin du loading pour le platformer meduim v]\nwait (0.1) seconds\nhide\n\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [sortira bientot v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\n\nshow\n\ngo to x: (-150) y: (0)\n\nswitch costume to (costume1 v)\n\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@hi\n\nwhen I start as a clone\nswitch costume to (costume8 v)\nrepeat (20)\n    change size by (-4)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [next level 1 v]\nset [yv2 v] to [0]\nset [xv v] to [0]\ngo to x: (-200) y: (0)\nset [ghost v] effect to (0)\n\nwhen flag clicked\n\ndefine if touching\nif <touching (spikes v)?> then\n    set [ghost v] effect to (100)\n    start sound [whoop v]\n    set [yv2 v] to [0]\n    set [xv v] to [0]\n    set size to (100) %\n    set [ghost v] effect to (0)\n    go to x: (-200) y: (0)\n    point in direction (90)\nend\nif <touching (1 v)?> then\n    set [yv2 v] to [20]\nend\nif <touching (speed v)?> then\n    set [xv v] to [21]\nend\n\nwhen [r v] key pressed\nset [yv2 v] to [0]\nset [xv v] to [0]\ngo to x: (-200) y: (0)\nset [ghost v] effect to (0)\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [return 1 v]\ngo to x: (-200) y: (0)\n\nwhen flag clicked\n\nwhen [s v] key pressed\n\nbroadcast (Next Level v)\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer meduim v]\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set size to (size) %\n    set [size v] to [100]\n    show\n    set rotation style [all around v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (a v) pressed?> or <key (left arrow v) pressed?>>> then\n        change [xv v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (d v) pressed?> or <key (right arrow 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 meduim v)?> then\n        change y by (1)\n        if <touching (level meduim v)?> then\n            change y by (1)\n            if <touching (level meduim v)?> then\n                change y by (1)\n                if <touching (level meduim v)?> then\n                    change y by (1)\n                    if <touching (level meduim v)?> then\n                        change y by (1)\n                        if <touching (level meduim v)?> then\n                            change y by (-5)\n                            change x by ((Xv) * (-1))\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-7]\n                                else\n                                    set [xv v] to [7]\n                                end\n                                set [yv2 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 y by (-1)\n    if <touching (level meduim v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n            set [yv2 v] to [17]\n        end\n    end\n    change y by (1)\n    change [yv2 v] by (-1)\n    set [yv2 v] to ((Yv2) * (0.99))\n    change y by (Yv2)\n    if <touching (level meduim v)?> then\n        change y by ((Yv2) * (-1))\n        set [yv2 v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (next level 1 v)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-200) y: (0)\n    end\n    if touching\nend\n\nwhen I receive [fin du loading pour le platformer meduim v]\ngo to x: (-200) y: (0)\nforever\n    if <touching (level meduim v)?> then\n        broadcast (Bonce 1 v)\n        if <(Yv2) > [0]> then\n            set [yv2 v] to [-20]\n        else\n            set [yv2 v] to [20]\n        end\n    end\nend\n\nwhen I receive [fin du loading pour le platformer meduim v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [fin du loading pour le platformer meduim v]\nforever\n    if <touching (dw v)?> then\n        broadcast (Bonce 1 v)\n        broadcast (Return 1 v)\n    end\nend\n\nwhen I receive [fin du loading pour le platformer meduim v]\nforever\n    if <touching (bounce v)?> then\n        change [yv2 v] by (10)\n    end\nend\n\n@dw\n\nwhen I receive [next level 1 v]\nnext costume\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer meduim v]\nshow\nswitch costume to (costume2 v)\n\n@Level meduim\n\nwhen I receive [next level 1 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (10 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [fin du loading pour le platformer meduim v]\nshow\nforever\n    go to [back v] layer\nend\n\n