Eliquimzzz

Snake comman

Feb 6th, 2022 (edited)
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.64 KB | None | 0 0
  1. //advanced snake game with buttons//
  2.  
  3.  
  4. //join tO my discord server : https://discord.gg/tAY87h4Ws8//
  5.  
  6. ======================================
  7. ======================================
  8.  
  9. **VARS NEDEED**
  10. slot1 = :black_large_square:/
  11. slot2 = :black_large_square:/
  12. slot3 = :black_large_square:/
  13. slot4 = :black_large_square:/
  14. slot5 = $getVar[snake]
  15. slot6 = :black_large_square:/
  16. slot7 = :black_large_square:/
  17. slot8 = :black_large_square:/
  18. slot9 = :black_large_square:/
  19. snake = :snake:
  20. apple = :apple:/
  21. playing = false
  22.  
  23. ======================================
  24. ======================================
  25.  
  26. **COMMANDS**
  27. command 1:
  28. trigger: !snake
  29. need: BDScript
  30. code: $nomention
  31.  
  32. $onlyIf[$getUserVar[playing]==false;:x: You Already Have a Game Playing Right Now]
  33.  
  34. $c[//SLOTS//]
  35.  
  36. $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
  37. $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
  38. $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
  39.  
  40. $c[//GAME//]
  41.  
  42. $title[:snake: __SNAKE GAME__]
  43. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  44. $color[447f4]
  45.  
  46. $c[//BUTTONS//]
  47.  
  48. $addButton[no;nothing1;ㅤ;secondary;true;]
  49. $addButton[no;uparrow;⏫;primary;false;]
  50. $addButton[no;nothing2;ㅤ;secondary;true;]
  51. $addButton[no;end;END;danger;false;]
  52. $addButton[yes;leftarrow;⏪;primary;false;]
  53. $addButton[no;downarrow;⏬;primary;false;]
  54. $addButton[no;rightarrow;⏩;primary;false;]
  55.  
  56. $c[//VARS//]
  57. $setUserVar[slot1;:black_large_square:/]
  58. $setUserVar[slot2;$getVar[apple]]
  59. $setUserVar[slot3;:black_large_square:/]
  60. $setUserVar[slot4;:black_large_square:/]
  61. $setUserVar[slot5;$getVar[snake]/]
  62. $setUserVar[slot6;:black_large_square:/]
  63. $setUserVar[slot7;:black_large_square:/]
  64. $setUserVar[slot8;:black_large_square:/]
  65. $setUserVar[slot9;:black_large_square:/]
  66. $setUserVar[playing;true]
  67.  
  68. $suppressErrors
  69.  
  70. ======================================
  71. ======================================
  72.  
  73. command 2:
  74. trigger: $onInteraction[uparrow]
  75. need: BDScript
  76. code: $nomention
  77.  
  78. $c[//RANDOMIZE APPLE//]
  79.  
  80. $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]
  81. $setUserVar[slot1;$getVar[apple]/]
  82. $endif
  83. $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]
  84. $setUserVar[slot2;$getVar[apple]/]
  85. $endif
  86. $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]
  87. $setUserVar[slot3;$getVar[apple]]
  88. $endif
  89. $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]
  90. $setUserVar[slot4;$getVar[apple]]
  91. $endif
  92. $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]
  93. $setUserVar[slot5;$getVar[apple]]
  94. $endif
  95. $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]
  96. $setUserVar[slot6;$getVar[apple]]
  97. $endif
  98. $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]
  99. $setUserVar[slot7;$getVar[apple]]
  100. $endif
  101. $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]
  102. $setUserVar[slot8;$getVar[apple]]
  103. $endif
  104. $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]
  105. $setUserVar[slot9;$getVar[apple]]
  106.  
  107. $endif
  108.  
  109. $c[//SLOTS//]
  110.  
  111. $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
  112. $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
  113. $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
  114.  
  115. $c[//MOVE THE SNAKE UP IF WE HAVE APPLES//]
  116.  
  117. $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  118. $setUserVar[slot2;$getVar[snake]/]
  119.  
  120. $title[:snake: __SNAKE GAME__]
  121. $description[$splitText[1]$getVar[snake]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  122. $color[447f4]
  123. $setUserVar[slot5;:black_large_square:/]
  124.  
  125. $endif
  126.  
  127. $if[$and[$getUserVar[slot1]==$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
  128. $setUserVar[slot1;$getVar[snake]/]
  129.  
  130. $title[:snake: __SNAKE GAME__]
  131. $description[$getVar[snake]$splitText[2]$splitText[3]
  132. :black_large_square:$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  133. $color[447f4]
  134. $setUserVar[slot4;:black_large_square:/]
  135.  
  136. $endif
  137.  
  138. $if[$and[$getUserVar[slot3]==$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
  139. $setUserVar[slot3;$getVar[snake]/]
  140.  
  141. $title[:snake: __SNAKE GAME__]
  142. $description[$splitText[1]$splitText[2]$getVar[snake]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
  143. $color[447f4]
  144. $setUserVar[slot6;:black_large_square:/]
  145.  
  146. $endif
  147.  
  148. $if[$and[$getUserVar[slot4]==$getVar[apple]$getUserVar[slot7]==$getVar[snake]/]==true]
  149. $setUserVar[slot4;$getVar[snake]/]
  150.  
  151. $title[:snake: __SNAKE GAME__]
  152. $description[$splitText[1]$splitText[2]$splitText[3]$getVar[snake]$splitText[5]$splitText[6]
  153. :black_large_square:$splitText[8]$splitText[9]]
  154. $color[447f4]
  155. $setUserVar[slot7;:black_large_square:/]
  156.  
  157. $endif
  158.  
  159. $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
  160. $setUserVar[slot5;$getVar[snake]/]
  161.  
  162. $title[:snake: __SNAKE GAME__]
  163. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]:black_large_square:$splitText[9]]
  164. $color[447f4]
  165. $setUserVar[slot8;:black_large_square:/]
  166.  
  167. $endif
  168.  
  169. $if[$and[$getUserVar[slot6]==$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
  170. $setUserVar[slot6;$getVar[snake]]
  171.  
  172. $title[:snake: __SNAKE GAME__]
  173. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]:black_large_square:]
  174. $color[447f4]
  175. $setUserVar[slot9;:black_large_square:/]
  176.  
  177. $endif
  178.  
  179. $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
  180.  
  181. $if[$and[$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  182. $setUserVar[slot2;$getVar[snake]]
  183.  
  184. $title[:snake: __SNAKE GAME__]
  185. $description[$splitText[1]$getVar[snake]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  186. $color[447f4]
  187. $setUserVar[slot5;:black_large_square:/]
  188.  
  189. $endif
  190.  
  191. $if[$and[$getUserVar[slot1]!=$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
  192. $setUserVar[slot1;$getVar[snake]]
  193.  
  194. $title[:snake: __SNAKE GAME__]
  195. $description[$getVar[snake]$splitText[2]$splitText[3]
  196. :black_large_square:$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  197. $color[447f4]
  198. $setUserVar[slot4;:black_large_square:/]
  199.  
  200. $endif
  201.  
  202. $if[$and[$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
  203. $setUserVar[slot3;$getVar[snake]/]
  204.  
  205. $title[:snake: __SNAKE GAME__]
  206. $description[$splitText[1]$splitText[2]$getVar[snake]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
  207. $color[447f4]
  208. $setUserVar[slot6;:black_large_square:/]
  209.  
  210. $endif
  211.  
  212. $if[$and[$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot7]==$getVar[snake]/]==true]
  213. $setUserVar[slot4;$getVar[snake]]
  214.  
  215. $title[:snake: __SNAKE GAME__]
  216. $description[$splitText[1]$splitText[2]$splitText[3]
  217. $getVar[snake]$splitText[5]$splitText[6]
  218. :black_large_square:$splitText[8]$splitText[9]]
  219. $color[447f4]
  220. $setUserVar[slot7;:black_large_square:/]
  221.  
  222. $endif
  223.  
  224. $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
  225. $setUserVar[slot5;$getVar[snake]/]
  226.  
  227. $title[:snake: __SNAKE GAME__]
  228. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]:black_large_square:$splitText[9]]
  229. $color[447f4]
  230. $setUserVar[slot8;:black_large_square:/]
  231.  
  232. $endif
  233.  
  234. $if[$and[$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
  235. $setUserVar[slot6;$getVar[snake]/]
  236.  
  237. $title[:snake: __SNAKE GAME__]
  238. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]:black_large_square:]
  239. $color[447f4]
  240. $setUserVar[slot9;:black_large_square:/]
  241.  
  242. $endif
  243.  
  244. $onlyIf[$getUserVar[playing]==true;]
  245. $suppressErrors
  246.  
  247. ======================================
  248. ======================================
  249.  
  250. command 3:
  251. trigger: $onInteraction[downarrow]
  252. need: BDScript
  253. code: $nomention
  254.  
  255. $c[//RANDOMIZE APPLE//]
  256.  
  257. $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]
  258. $setUserVar[slot1;$getVar[apple]]
  259. $endif
  260. $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]
  261. $setUserVar[slot2;$getVar[apple]/]
  262. $endif
  263. $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]
  264. $setUserVar[slot3;$getVar[apple]]
  265. $endif
  266. $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]
  267. $setUserVar[slot4;$getVar[apple]]
  268. $endif
  269. $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]
  270. $setUserVar[slot5;$getVar[apple]]
  271. $endif
  272. $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]
  273. $setUserVar[slot6;$getVar[apple]]
  274. $endif
  275. $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]
  276. $setUserVar[slot7;$getVar[apple]]
  277. $endif
  278. $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]
  279. $setUserVar[slot8;$getVar[apple]]
  280. $endif
  281. $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]
  282. $setUserVar[slot9;$getVar[apple]]
  283. $endif
  284.  
  285. $c[//SLOTS//]
  286.  
  287. $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
  288. $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
  289. $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
  290.  
  291. $c[//MOVE THE SNAKE DOWN IF WE HAVE A APPLE//]
  292.  
  293. $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
  294. $setUserVar[slot5;$getVar[snake]/]
  295.  
  296. $title[:snake: __SNAKE GAME__]
  297. $description[$splitText[1]:black_large_square:$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  298. $color[447f4]
  299. $setUserVar[slot2;:black_large_square:/]
  300.  
  301. $endif
  302.  
  303. $if[$and[$getUserVar[slot4]==$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
  304. $setUserVar[slot4;$getVar[snake]/]
  305.  
  306. $title[:snake: __SNAKE GAME__]
  307. $description[:black_large_square:$splitText[2]$splitText[3]
  308. $getVar[snake]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  309. $color[447f4]
  310. $setUserVar[slot1;:black_large_square:/]
  311.  
  312. $endif
  313.  
  314. $if[$and[$getUserVar[slot6]==$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
  315. $setUserVar[slot6;$getVar[snake]/]
  316.  
  317. $title[:snake: __SNAKE GAME__]
  318. $description[$splitText[1]$splitText[2]:black_large_square:$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
  319. $color[447f4]
  320. $setUserVar[slot3;:black_large_square:/]
  321.  
  322. $endif
  323.  
  324. $if[$and[$getUserVar[slot7]==$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
  325. $setUserVar[slot7;$getVar[snake]/]
  326.  
  327. $title[:snake: __SNAKE GAME__]
  328. $description[$splitText[1]$splitText[2]$splitText[3]
  329. :black_large_square:$splitText[5]$splitText[6]
  330. $getVar[snake]$splitText[8]$splitText[9]]
  331. $color[447f4]
  332. $setUserVar[slot4;:black_large_square:/]
  333.  
  334. $endif
  335.  
  336. $if[$and[$getUserVar[slot8]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  337. $setUserVar[slot8;$getVar[snake]/]
  338.  
  339. $title[:snake: __SNAKE GAME__]
  340. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$getVar[snake]$splitText[9]]
  341. $color[447f4]
  342. $setUserVar[slot5;:black_large_square:/]
  343.  
  344. $endif
  345.  
  346. $if[$and[$getUserVar[slot9]==$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
  347. $setUserVar[slot9;$getVar[snake]/]
  348.  
  349. $title[:snake: __SNAKE GAME__]
  350. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[8]$getVar[snake]]
  351. $color[447f4]
  352. $setUserVar[slot6;:black_large_square:/]
  353.  
  354. $endif
  355.  
  356. $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
  357.  
  358. $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
  359. $setUserVar[slot5;$getVar[snake]/]
  360.  
  361. $title[:snake: __SNAKE GAME__]
  362. $description[$splitText[3]:black_large_square:$splitText[3]$splitText[4]$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  363. $color[447f4]
  364. $setUserVar[slot2;:black_large_square:/]
  365.  
  366. $endif
  367.  
  368. $if[$and[$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
  369. $setUserVar[slot4;$getVar[snake]/]
  370.  
  371. $title[:snake: __SNAKE GAME__]
  372. $description[:black_large_square:$splitText[2]$splitText[3]
  373. $getVar[snake]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  374. $color[447f4]
  375. $setUserVar[slot1;:black_large_square:/]
  376.  
  377. $endif
  378.  
  379. $if[$and[$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
  380. $setUserVar[slot6;$getVar[snake]/]
  381.  
  382. $title[:snake: __SNAKE GAME__]
  383. $description[$splitText[1]$splitText[2]:black_large_square:$splitText[4]$splitText[5]$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
  384. $color[447f4]
  385. $setUserVar[slot3;:black_large_square:/]
  386.  
  387. $endif
  388.  
  389. $if[$and[$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
  390. $setUserVar[slot7;$getVar[snake]/]
  391.  
  392. $title[:snake: __SNAKE GAME__]
  393. $description[$splitText[1]$splitText[2]$splitText[3]
  394. :black_large_square:$splitText[5]$splitText[6]
  395. $getVar[snake]$splitText[8]$splitText[9]]
  396. $color[447f4]
  397. $setUserVar[slot4;:black_large_square:/]
  398.  
  399. $endif
  400.  
  401. $if[$and[$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  402. $setUserVar[slot8;$getVar[snake]/]
  403.  
  404. $title[:snake: __SNAKE GAME__]
  405. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$splitText[6]$splitText[7]$getVar[snake]$splitText[9]]
  406. $color[447f4]
  407. $setUserVar[slot5;:black_large_square:/]
  408.  
  409. $endif
  410.  
  411. $if[$and[$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
  412. $setUserVar[slot9;$getVar[snake]/]
  413.  
  414. $title[:snake: __SNAKE GAME__]
  415. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]:black_large_square:$splitText[7]$splitText[9]$getVar[snake]]
  416. $color[447f4]
  417. $setUserVar[slot6;:black_large_square:/]
  418.  
  419. $endif
  420.  
  421. $onlyIf[$getUserVar[playing]==true;]
  422. $suppressErrors
  423.  
  424. ======================================
  425. ======================================
  426.  
  427. command 4:
  428. trigger: $onInteraction[leftarrow]
  429. need: BDScript
  430. code: $nomention
  431.  
  432. $c[//RANDOMIZE APPLE//]
  433.  
  434. $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]
  435. $setUserVar[slot1;$getVar[apple]]
  436. $endif
  437. $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]
  438. $setUserVar[slot2;$getVar[apple]/]
  439. $endif
  440. $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]
  441. $setUserVar[slot3;$getVar[apple]]
  442. $endif
  443. $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]
  444. $setUserVar[slot4;$getVar[apple]]
  445. $endif
  446. $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]
  447. $setUserVar[slot5;$getVar[apple]]
  448. $endif
  449. $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]
  450. $setUserVar[slot6;$getVar[apple]]
  451. $endif
  452. $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]
  453. $setUserVar[slot7;$getVar[apple]]
  454. $endif
  455. $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]
  456. $setUserVar[slot8;$getVar[apple]]
  457. $endif
  458. $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]
  459. $setUserVar[slot9;$getVar[apple]]
  460. $endif
  461.  
  462. $c[//SLOTS//]
  463.  
  464. $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
  465. $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
  466. $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
  467.  
  468. $c[//MOVE THE SNAKE DOWN IF WE HAVE A APPLE//]
  469.  
  470. $if[$and[$getUserVar[slot1]==$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
  471. $setUserVar[slot1;$getVar[snake]/]
  472.  
  473. $title[:snake: __SNAKE GAME__]
  474. $description[$getVar[snake]:black_large_square:$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  475. $color[447f4]
  476. $setUserVar[slot2;:black_large_square:/]
  477.  
  478. $endif
  479.  
  480. $if[$and[$getUserVar[slot4]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  481. $setUserVar[slot4;$getVar[snake]/]
  482.  
  483. $title[:snake: __SNAKE GAME__]
  484. $description[$splitText[1]$splitText[2]$splitText[3]
  485. $getVar[snake]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  486. $color[447f4]
  487. $setUserVar[slot5;:black_large_square:/]
  488.  
  489. $endif
  490.  
  491. $if[$and[$getUserVar[slot7]==$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
  492. $setUserVar[slot7;$getVar[snake]/]
  493.  
  494. $title[:snake: __SNAKE GAME__]
  495. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
  496. $getVar[snake]:black_large_square:$splitText[9]]
  497. $color[447f4]
  498. $setUserVar[slot8;:black_large_square:/]
  499.  
  500. $endif
  501.  
  502. $if[$and[$getUserVar[slot8]==$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
  503. $setUserVar[slot8;$getVar[snake]/]
  504.  
  505. $title[:snake: __SNAKE GAME__]
  506. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$getVar[snake]:black_large_square:]
  507. $color[447f4]
  508. $setUserVar[slot9;:black_large_square:/]
  509.  
  510. $endif
  511.  
  512. $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
  513. $setUserVar[slot5;$getVar[snake]/]
  514.  
  515. $title[:snake: __SNAKE GAME__]
  516. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
  517. $color[447f4]
  518. $setUserVar[slot6;:black_large_square:/]
  519.  
  520. $endif
  521.  
  522. $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
  523. $setUserVar[slot2;$getVar[snake]/]
  524.  
  525. $title[:snake: __SNAKE GAME__]
  526. $description[$splitText[1]$getVar[snake]:black_large_square:$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  527. $color[447f4]
  528. $setUserVar[slot3;:black_large_square:/]
  529.  
  530. $endif
  531.  
  532. $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
  533.  
  534. $if[$and[$getUserVar[slot7]!=$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
  535. $setUserVar[slot7;
  536. $getVar[snake]/]
  537.  
  538. $title[:snake: __SNAKE GAME__]
  539. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
  540. $getVar[snake]:black_large_square:$splitText[9]]
  541. $color[447f4]
  542. $setUserVar[slot8;:black_large_square:/]
  543.  
  544. $endif
  545.  
  546. $if[$and[$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot9]==$getVar[snake]/]==true]
  547. $setUserVar[slot8;$getVar[snake]/]
  548.  
  549. $title[:snake: __SNAKE GAME__]
  550. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$getVar[snake]:black_large_square:]
  551. $color[447f4]
  552. $setUserVar[slot9;:black_large_square:/]
  553.  
  554. $endif
  555.  
  556. $if[$and[$getUserVar[slot4]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  557. $setUserVar[slot4;$getVar[snake]/]
  558.  
  559. $title[:snake: __SNAKE GAME__]
  560. $description[$splitText[1]$splitText[2]$splitText[3]
  561. $getVar[snake]:black_large_square:$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  562. $color[447f4]
  563. $setUserVar[slot5;:black_large_square:/]
  564.  
  565. $endif
  566.  
  567. $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot6]==$getVar[snake]/]==true]
  568. $setUserVar[slot5;$getVar[snake]/]
  569.  
  570. $title[:snake: __SNAKE GAME__]
  571. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$getVar[snake]:black_large_square:$splitText[7]$splitText[8]$splitText[9]]
  572. $color[447f4]
  573. $setUserVar[slot6;:black_large_square:/]
  574.  
  575. $endif
  576.  
  577. $if[$and[$getUserVar[slot1]!=$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
  578. $setUserVar[slot1;$getVar[snake]/]
  579.  
  580. $title[:snake: __SNAKE GAME__]
  581. $description[$getVar[snake]:black_large_square:$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  582. $color[447f4]
  583. $setUserVar[slot2;:black_large_square:/]
  584.  
  585. $endif
  586.  
  587. $if[$and[$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot3]==$getVar[snake]/]==true]
  588. $setUserVar[slot2;$getVar[snake]/]
  589.  
  590. $title[:snake: __SNAKE GAME__]
  591. $description[$splitText[1]$getVar[snake]:black_large_square:$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  592. $color[447f4]
  593. $setUserVar[slot3;:black_large_square:/]
  594.  
  595. $endif
  596.  
  597. $onlyIf[$getUserVar[playing]==true;]
  598. $suppressErrors
  599.  
  600. ======================================
  601. ======================================
  602.  
  603. command 5:
  604. trigger: $onInteraction[rightarrow]
  605. need: BDScript
  606. code: $nomention
  607.  
  608. $c[//RANDOMIZE APPLE//]
  609.  
  610. $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]
  611. $setUserVar[slot1;$getVar[apple]]
  612. $endif
  613. $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]
  614. $setUserVar[slot2;$getVar[apple]/]
  615. $endif
  616. $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]
  617. $setUserVar[slot3;$getVar[apple]]
  618. $endif
  619. $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]
  620. $setUserVar[slot4;$getVar[apple]]
  621. $endif
  622. $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]
  623. $setUserVar[slot5;$getVar[apple]]
  624. $endif
  625. $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]
  626. $setUserVar[slot6;$getVar[apple]]
  627. $endif
  628. $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]
  629. $setUserVar[slot7;$getVar[apple]]
  630. $endif
  631. $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]
  632. $setUserVar[slot8;$getVar[apple]]
  633. $endif
  634. $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]
  635. $setUserVar[slot9;$getVar[apple]]
  636. $endif
  637.  
  638. $c[//SLOTS//]
  639.  
  640. $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]
  641. $getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]
  642. $getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
  643.  
  644. $c[//MOVE THE SNAKE DOWN IF WE HAVE A APPLE//]
  645.  
  646. $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
  647. $setUserVar[slot2;$getVar[snake]/]
  648.  
  649. $title[:snake: __SNAKE GAME__]
  650. $description[:black_large_square:$getVar[snake]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  651. $color[447f4]
  652. $setUserVar[slot1;:black_large_square:/]
  653.  
  654. $endif
  655.  
  656. $if[$and[$getUserVar[slot5]==$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
  657. $setUserVar[slot5;$getVar[snake]/]
  658.  
  659. $title[:snake: __SNAKE GAME__]
  660. $description[$splitText[1]$splitText[2]$splitText[3]
  661. :black_large_square:$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  662. $color[447f4]
  663. $setUserVar[slot4;:black_large_square:/]
  664.  
  665. $endif
  666.  
  667. $if[$and[$getUserVar[slot8]==$getVar[apple];$getUserVar[slot7]==$getVar[snake]/]==true]
  668. $setUserVar[slot8;$getVar[snake]/]
  669.  
  670. $title[:snake: __SNAKE GAME__]
  671. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
  672. :black_large_square:$getVar[snake]$splitText[9]]
  673. $color[447f4]
  674. $setUserVar[slot7;:black_large_square:/]
  675.  
  676. $endif
  677.  
  678. $if[$and[$getUserVar[slot9]==$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
  679. $setUserVar[slot9;$getVar[snake]/]
  680.  
  681. $title[:snake: __SNAKE GAME__]
  682. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]:black_large_square:$getVar[snake]]
  683. $color[447f4]
  684. $setUserVar[slot8;:black_large_square:/]
  685.  
  686. $endif
  687.  
  688. $if[$and[$getUserVar[slot6]==$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  689. $setUserVar[slot6;$getVar[snake]/]
  690.  
  691. $title[:snake: __SNAKE GAME__]
  692. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
  693. $color[447f4]
  694. $setUserVar[slot5;:black_large_square:/]
  695.  
  696. $endif
  697.  
  698. $if[$and[$getUserVar[slot2]==$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
  699. $setUserVar[slot2;$getVar[snake]/]
  700.  
  701. $title[:snake: __SNAKE GAME__]
  702. $description[$splitText[1]:black_large_square:$getVar[snake]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  703. $color[447f4]
  704. $setUserVar[slot1;:black_large_square:/]
  705.  
  706. $endif
  707.  
  708. $c[//MOVE THE SNAKE DOWN IF WE DONT HAVE A APPLE//]
  709.  
  710. $if[$and[$getUserVar[slot9]!=$getVar[apple];$getUserVar[slot8]==$getVar[snake]/]==true]
  711. $setUserVar[slot9;$getVar[snake]/]
  712.  
  713. $title[:snake: __SNAKE GAME__]
  714. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]:black_large_square:$getVar[snake]]
  715. $color[447f4]
  716. $setUserVar[slot8;:black_large_square:/]
  717.  
  718. $endif
  719.  
  720. $if[$and[$getUserVar[slot8]!=$getVar[apple];$getUserVar[slot7]==$getVar[snake]/]==true]
  721. $setUserVar[slot8;$getVar[snake]/]
  722.  
  723. $title[:snake: __SNAKE GAME__]
  724. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]$splitText[5]$splitText[6]
  725. :black_large_square:$getVar[snake]$splitText[9]]
  726. $color[447f4]
  727. $setUserVar[slot7;:black_large_square:/]
  728.  
  729. $endif
  730.  
  731. $if[$and[$getUserVar[slot6]!=$getVar[apple];$getUserVar[slot5]==$getVar[snake]/]==true]
  732. $setUserVar[slot6;$getVar[snake]/]
  733.  
  734. $title[:snake: __SNAKE GAME__]
  735. $description[$splitText[1]$splitText[2]$splitText[3]$splitText[4]:black_large_square:$getVar[snake]$splitText[7]$splitText[8]$splitText[9]]
  736. $color[447f4]
  737. $setUserVar[slot5;:black_large_square:/]
  738.  
  739. $endif
  740.  
  741. $if[$and[$getUserVar[slot5]!=$getVar[apple];$getUserVar[slot4]==$getVar[snake]/]==true]
  742. $setUserVar[slot5;$getVar[snake]/]
  743.  
  744. $title[:snake: __SNAKE GAME__]
  745. $description[$splitText[1]$splitText[2]$splitText[3]
  746. :black_large_square:$getVar[snake]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  747. $color[447f4]
  748. $setUserVar[slot4;:black_large_square:/]
  749.  
  750. $endif
  751.  
  752. $if[$and[$getUserVar[slot3]!=$getVar[apple];$getUserVar[slot2]==$getVar[snake]/]==true]
  753. $setUserVar[slot3;$getVar[snake]/]
  754.  
  755. $title[:snake: __SNAKE GAME__]
  756. $description[$splitText[1]:black_large_square:$getVar[snake]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  757. $color[447f4]
  758. $setUserVar[slot2;:black_large_square:/]
  759.  
  760. $endif
  761.  
  762. $if[$and[$getUserVar[slot2]!=$getVar[apple];$getUserVar[slot1]==$getVar[snake]/]==true]
  763. $setUserVar[slot2;$getVar[snake]/]
  764.  
  765. $title[:snake: __SNAKE GAME__]
  766. $description[:black_large_square:$getVar[snake]$splitText[3]$splitText[4]$splitText[5]$splitText[6]$splitText[7]$splitText[8]$splitText[9]]
  767. $color[447f4]
  768. $setUserVar[slot1;:black_large_square:/]
  769.  
  770. $endif
  771.  
  772. $onlyIf[$getUserVar[playing]==true;]
  773. $suppressErrors
  774.  
  775. ======================================
  776. ======================================
  777.  
  778. command 5:
  779. trigger: $onInteraction[end]
  780. need: BDScriptUnstable
  781. code: $nomention
  782.  
  783. $c[//SLOTS//]
  784.  
  785. $textSplit[$getUserVar[slot1]$getUserVar[slot2]$getUserVar[slot3]$getUserVar[slot4]$getUserVar[slot5]$getUserVar[slot6]$getUserVar[slot7]$getUserVar[slot8]$getUserVar[slot9];/]
  786.  
  787. $c[//GAME//]
  788.  
  789. $title[:snake: __SNAKE GAME__]
  790. $description[$splitText[1]$splitText[2]$splitText[3]
  791. $splitText[4]$splitText[5]$splitText[6]
  792. $splitText[7]$splitText[8]$splitText[9]]
  793.  
  794. $c[//BUTTONS//]
  795.  
  796. $editButton[nothing1;ㅤ;secondary;yes;]
  797. $editButton[nothing2;ㅤ;secondary;yes;]
  798. $editButton[end;END;danger;yes;]
  799. $editButton[uparrow;⏫;primary;yes;]
  800. $editButton[downarrow;⏬;primary;yes;]
  801. $editButton[leftarrow;⏪;primary;yes;]
  802. $editButton[rightarrow;⏩;primary;yes;]
  803.  
  804. $c[//VARS//]
  805.  
  806. $setUserVar[slot1;:black_large_square:/]
  807. $setUserVar[slot2;$getVar[apple]]
  808. $setUserVar[slot3;:black_large_square:/]
  809. $setUserVar[slot4;:black_large_square:/]
  810. $setUserVar[slot5;$getVar[snake]/]
  811. $setUserVar[slot6;:black_large_square:/]
  812. $setUserVar[slot7;:black_large_square:/]
  813. $setUserVar[slot8;:black_large_square:/]
  814. $setUserVar[slot9;:black_large_square:/]
  815.  
  816. $color[447f4]
  817. $setUserVar[playing;false]
  818. $onlyIf[$getUserVar[playing]==true;]
  819.  
  820. ======================================
  821. ======================================
Add Comment
Please, Sign In to add comment