Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //advanced snake game with buttons//
- //join tO my discord server : https://discord.gg/tAY87h4Ws8//
- ======================================
- ======================================
- **VARS NEDEED**
- slot1 = :black_large_square:/
- slot2 = :black_large_square:/
- slot3 = :black_large_square:/
- slot4 = :black_large_square:/
- slot5 = $getVar[snake]
- slot6 = :black_large_square:/
- slot7 = :black_large_square:/
- slot8 = :black_large_square:/
- slot9 = :black_large_square:/
- snake = :snake:
- apple = :apple:/
- playing = false
- ======================================
- ======================================
- **COMMANDS**
- command 1:
- trigger: !snake
- need: BDScript
- code: $nomention
- $onlyIf[$getUserVar[playing]==false;:x: You Already Have a Game Playing Right Now]
- $c[//SLOTS//]
- $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
- $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
- $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
- $c[//GAME//]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $c[//BUTTONS//]
- $addButton[no;nothing1;ㅤ;secondary;true;]
- $addButton[no;uparrow;⏫;primary;false;]
- $addButton[no;nothing2;ㅤ;secondary;true;]
- $addButton[no;end;END;danger;false;]
- $addButton[yes;leftarrow;⏪;primary;false;]
- $addButton[no;downarrow;⏬;primary;false;]
- $addButton[no;rightarrow;⏩;primary;false;]
- $c[//VARS//]
- $setUserVar[slot1;:black_large_square:/]
- $setUserVar[slot2;$getVar[apple]]
- $setUserVar[slot3;:black_large_square:/]
- $setUserVar[slot4;:black_large_square:/]
- $setUserVar[slot5;$getVar[snake]/]
- $setUserVar[slot6;:black_large_square:/]
- $setUserVar[slot7;:black_large_square:/]
- $setUserVar[slot8;:black_large_square:/]
- $setUserVar[slot9;:black_large_square:/]
- $setUserVar[playing;true]
- $suppressErrors
- ======================================
- ======================================
- command 2:
- trigger: $onInteraction[uparrow]
- need: BDScript
- code: $nomention
- $c[//RANDOMIZE APPLE//]
- $if[$and[$random[1;9]==1;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot1;$getVar[apple]/]
- $endif
- $if[$and[$random[1;9]==2;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot2;$getVar[apple]/]
- $endif
- $if[$and[$random[1;9]==3;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot3;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==4;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot4;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==5;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot5;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==6;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot6;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==7;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot7;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==8;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot8;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==9;$getUserVar[slot1]!=$getVar[apple];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot9;$getVar[apple]]
- $endif
- $c[//SLOTS//]
- $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
- $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
- $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
- $c[//MOVE THE SNAKE UP IF WE HAVE APPLES//]
- $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot2;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$getVar[snake]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot1]==$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
- $setUserVar[slot1;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$getVar[snake]$splitText[2]$splitText[3]
- :black_large_square:$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot4;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot3]==$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
- $setUserVar[slot3;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$getVar[snake]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot6;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot4]==$getVar[apple]$getUserVar[slot7]==$getVar[snake]/]==true]
- $setUserVar[slot4;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$getVar[snake]$splitText[5]$splitText[6]
- :black_large_square:$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot7;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]:black_large_square:$splitText[9]]
- $color[447f4]
- $setUserVar[slot8;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot6]==$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
- $setUserVar[slot6;$getVar[snake]]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]:black_large_square:]
- $color[447f4]
- $setUserVar[slot9;:black_large_square:/]
- $endif
- $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
- $if[$and[$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot2;$getVar[snake]]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$getVar[snake]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot1]!=$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
- $setUserVar[slot1;$getVar[snake]]
- $title[:snake: __SNAKE GAME__]
- $description[$getVar[snake]$splitText[2]$splitText[3]
- :black_large_square:$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot4;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
- $setUserVar[slot3;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$getVar[snake]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot6;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot7]==$getVar[snake]/]==true]
- $setUserVar[slot4;$getVar[snake]]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- $getVar[snake]$splitText[5]$splitText[6]
- :black_large_square:$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot7;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]:black_large_square:$splitText[9]]
- $color[447f4]
- $setUserVar[slot8;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
- $setUserVar[slot6;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]:black_large_square:]
- $color[447f4]
- $setUserVar[slot9;:black_large_square:/]
- $endif
- $onlyIf[$getUserVar[playing]==true;]
- $suppressErrors
- ======================================
- ======================================
- command 3:
- trigger: $onInteraction[downarrow]
- need: BDScript
- code: $nomention
- $c[//RANDOMIZE APPLE//]
- $if[$and[$random[1;9]==1;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot1;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==2;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot2;$getVar[apple]/]
- $endif
- $if[$and[$random[1;9]==3;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot3;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==4;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot4;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==5;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot5;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==6;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot6;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==7;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot7;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==8;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot8;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==9;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot9;$getVar[apple]]
- $endif
- $c[//SLOTS//]
- $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
- $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
- $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
- $c[//MOVE THE SNAKE DOWN IF WE HAVE A APPLE//]
- $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]:black_large_square:$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot2;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot4]==$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
- $setUserVar[slot4;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[:black_large_square:$splitText[2]$splitText[3]
- $getVar[snake]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot1;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot6]==$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
- $setUserVar[slot6;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]:black_large_square:$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot3;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot7]==$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
- $setUserVar[slot7;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- :black_large_square:$splitText[5]$splitText[6]
- $getVar[snake]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot4;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot8]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot8;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$getVar[snake]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot9]==$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
- $setUserVar[slot9;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[8]$getVar[snake]]
- $color[447f4]
- $setUserVar[slot6;:black_large_square:/]
- $endif
- $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
- $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[3]:black_large_square:$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot2;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
- $setUserVar[slot4;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[:black_large_square:$splitText[2]$splitText[3]
- $getVar[snake]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot1;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
- $setUserVar[slot6;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]:black_large_square:$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot3;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
- $setUserVar[slot7;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- :black_large_square:$splitText[5]$splitText[6]
- $getVar[snake]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot4;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot8;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$getVar[snake]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
- $setUserVar[slot9;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[9]$getVar[snake]]
- $color[447f4]
- $setUserVar[slot6;:black_large_square:/]
- $endif
- $onlyIf[$getUserVar[playing]==true;]
- $suppressErrors
- ======================================
- ======================================
- command 4:
- trigger: $onInteraction[leftarrow]
- need: BDScript
- code: $nomention
- $c[//RANDOMIZE APPLE//]
- $if[$and[$random[1;9]==1;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot1;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==2;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot2;$getVar[apple]/]
- $endif
- $if[$and[$random[1;9]==3;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot3;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==4;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot4;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==5;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot5;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==6;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot6;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==7;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot7;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==8;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot8;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==9;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot9;$getVar[apple]]
- $endif
- $c[//SLOTS//]
- $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
- $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
- $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
- $c[//MOVE THE SNAKE DOWN IF WE HAVE A APPLE//]
- $if[$and[$getUserVar[slot1]==$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
- $setUserVar[slot1;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$getVar[snake]:black_large_square:$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot2;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot4]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot4;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- $getVar[snake]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot7]==$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
- $setUserVar[slot7;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
- $getVar[snake]:black_large_square:$splitText[9]]
- $color[447f4]
- $setUserVar[slot8;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot8]==$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
- $setUserVar[slot8;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$getVar[snake]:black_large_square:]
- $color[447f4]
- $setUserVar[slot9;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot6;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
- $setUserVar[slot2;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$getVar[snake]:black_large_square:$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot3;:black_large_square:/]
- $endif
- $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
- $if[$and[$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
- $setUserVar[slot7;
- $getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
- $getVar[snake]:black_large_square:$splitText[9]]
- $color[447f4]
- $setUserVar[slot8;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
- $setUserVar[slot8;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$getVar[snake]:black_large_square:]
- $color[447f4]
- $setUserVar[slot9;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot4;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- $getVar[snake]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot6;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot1]!=$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
- $setUserVar[slot1;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$getVar[snake]:black_large_square:$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot2;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
- $setUserVar[slot2;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$getVar[snake]:black_large_square:$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot3;:black_large_square:/]
- $endif
- $onlyIf[$getUserVar[playing]==true;]
- $suppressErrors
- ======================================
- ======================================
- command 5:
- trigger: $onInteraction[rightarrow]
- need: BDScript
- code: $nomention
- $c[//RANDOMIZE APPLE//]
- $if[$and[$random[1;9]==1;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot1;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==2;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot2;$getVar[apple]/]
- $endif
- $if[$and[$random[1;9]==3;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot3;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==4;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot4;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==5;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot5;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==6;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot6;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==7;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot7;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==8;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot8;$getVar[apple]]
- $endif
- $if[$and[$random[1;9]==9;$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot1]!=$getVar[snake];$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot2]!=$getVar[snake];$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot3]!=$getVar[snake];$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot4]!=$getVar[snake];$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot5]!=$getVar[snake];$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot6]!=$getVar[snake];$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot7]!=$getVar[snake];$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot8]!=$getVar[snake];$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot9]!=$getVar[snake]]==true]
- $setUserVar[slot9;$getVar[apple]]
- $endif
- $c[//SLOTS//]
- $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
- $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
- $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
- $c[//MOVE THE SNAKE DOWN IF WE HAVE A APPLE//]
- $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
- $setUserVar[slot2;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[:black_large_square:$getVar[snake]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot1;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- :black_large_square:$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot4;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot8]==$getVar[apple];$getUserVar[slot7]==$getVar[snake]/]==true]
- $setUserVar[slot8;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
- :black_large_square:$getVar[snake]$splitText[9]]
- $color[447f4]
- $setUserVar[slot7;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot9]==$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
- $setUserVar[slot9;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]:black_large_square:$getVar[snake]]
- $color[447f4]
- $setUserVar[slot8;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot6]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot6;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
- $setUserVar[slot2;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]:black_large_square:$getVar[snake]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot1;:black_large_square:/]
- $endif
- $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
- $if[$and[$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
- $setUserVar[slot9;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]:black_large_square:$getVar[snake]]
- $color[447f4]
- $setUserVar[slot8;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot7]==$getVar[snake]/]==true]
- $setUserVar[slot8;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
- :black_large_square:$getVar[snake]$splitText[9]]
- $color[447f4]
- $setUserVar[slot7;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
- $setUserVar[slot6;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot5;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
- $setUserVar[slot5;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- :black_large_square:$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot4;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
- $setUserVar[slot3;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]:black_large_square:$getVar[snake]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot2;:black_large_square:/]
- $endif
- $if[$and[$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
- $setUserVar[slot2;$getVar[snake]/]
- $title[:snake: __SNAKE GAME__]
- $description[:black_large_square:$getVar[snake]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
- $color[447f4]
- $setUserVar[slot1;:black_large_square:/]
- $endif
- $onlyIf[$getUserVar[playing]==true;]
- $suppressErrors
- ======================================
- ======================================
- command 5:
- trigger: $onInteraction[end]
- need: BDScriptUnstable
- code: $nomention
- $c[//SLOTS//]
- $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]$getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]$getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
- $c[//GAME//]
- $title[:snake: __SNAKE GAME__]
- $description[$splitText[1]$splitText[2]$splitText[3]
- $splitText[4]$splitText[5]$splitText[6]
- $splitText[7]$splitText[8]$splitText[9]]
- $c[//BUTTONS//]
- $editButton[nothing1;ㅤ;secondary;yes;]
- $editButton[nothing2;ㅤ;secondary;yes;]
- $editButton[end;END;danger;yes;]
- $editButton[uparrow;⏫;primary;yes;]
- $editButton[downarrow;⏬;primary;yes;]
- $editButton[leftarrow;⏪;primary;yes;]
- $editButton[rightarrow;⏩;primary;yes;]
- $c[//VARS//]
- $setUserVar[slot1;:black_large_square:/]
- $setUserVar[slot2;$getVar[apple]]
- $setUserVar[slot3;:black_large_square:/]
- $setUserVar[slot4;:black_large_square:/]
- $setUserVar[slot5;$getVar[snake]/]
- $setUserVar[slot6;:black_large_square:/]
- $setUserVar[slot7;:black_large_square:/]
- $setUserVar[slot8;:black_large_square:/]
- $setUserVar[slot9;:black_large_square:/]
- $color[447f4]
- $setUserVar[playing;false]
- $onlyIf[$getUserVar[playing]==true;]
- ======================================
- ======================================
Add Comment
Please, Sign In to add comment