FlupMC

Untitled

Jul 30th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.40 KB | None | 0 0
  1. command /coinflip:
  2. aliases: /cf
  3. trigger:
  4. wait 2 tick
  5. open chest with 4 rows named "&6&lMARIOFLIP" to player
  6. wait 1 tick
  7. format slot 0 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" with lore "&6Bet: &a$%{coinflip.plads.1.bet}%" to close then run [execute player command "/joincoinflip 1"]
  8. format slot 1 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" with lore "&6Bet: &a$%{coinflip.plads.2.bet}%" to close then run [execute player command "/joincoinflip 2"]
  9. format slot 2 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" with lore "&6Bet: &a$%{coinflip.plads.3.bet}%" to close then run [execute player command "/joincoinflip 3"]
  10. format slot 3 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" with lore "&6Bet: &a$%{coinflip.plads.4.bet}%" to close then run [execute player command "/joincoinflip 4"]
  11. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" with lore "&6Bet: &a$%{coinflip.plads.5.bet}%" to close then run [execute player command "/joincoinflip 5"]
  12. format slot 5 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" with lore "&6Bet: &a$%{coinflip.plads.6.bet}%" to close then run [execute player command "/joincoinflip 6"]
  13. format slot 6 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" with lore "&6Bet: &a$%{coinflip.plads.7.bet}%" to close then run [execute player command "/joincoinflip 7"]
  14. format slot 7 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" with lore "&6Bet: &a$%{coinflip.plads.8.bet}%" to close then run [execute player command "/joincoinflip 8"]
  15. format slot 8 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" with lore "&6Bet: &a$%{coinflip.plads.9.bet}%" to close then run [execute player command "/joincoinflip 9"]
  16. format slot 9 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" with lore "&6Bet: &a$%{coinflip.plads.10.bet}%" to close then run [execute player command "/joincoinflip 10"]
  17. format slot 10 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.11}%" with lore "&6Bet: &a$%{coinflip.plads.11.bet}%" to close then run [execute player command "/joincoinflip 11"]
  18. format slot 11 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.12}%" with lore "&6Bet: &a$%{coinflip.plads.12.bet}%" to close then run [execute player command "/joincoinflip 12"]
  19. format slot 12 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.13}%" with lore "&6Bet: &a$%{coinflip.plads.13.bet}%" to close then run [execute player command "/joincoinflip 13"]
  20. format slot 13 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.14}%" with lore "&6Bet: &a$%{coinflip.plads.14.bet}%" to close then run [execute player command "/joincoinflip 14"]
  21. format slot 14 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.15}%" with lore "&6Bet: &a$%{coinflip.plads.15.bet}%" to close then run [execute player command "/joincoinflip 15"]
  22. format slot 15 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.16}%" with lore "&6Bet: &a$%{coinflip.plads.16.bet}%" to close then run [execute player command "/joincoinflip 16"]
  23. format slot 16 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.17}%" with lore "&6Bet: &a$%{coinflip.plads.17.bet}%" to close then run [execute player command "/joincoinflip 17"]
  24. format slot 17 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" with lore "&6Bet: &a$%{coinflip.plads.18.bet}%" to close then run [execute player command "/joincoinflip 18"]
  25. format slot 18 of player with orange glass named "&7" to be unstealable
  26. format slot 19 of player with yellow glass named "&7" to be unstealable
  27. format slot 20 of player with orange glass named "&7" to be unstealable
  28. format slot 21 of player with yellow glass named "&7" to be unstealable
  29. format slot 22 of player with orange glass named "&7" to be unstealable
  30. format slot 23 of player with yellow glass named "&7" to be unstealable
  31. format slot 24 of player with orange glass named "&7" to be unstealable
  32. format slot 25 of player with yellow glass named "&7" to be unstealable
  33. format slot 26 of player with orange glass named "&7" to be unstealable
  34. format slot 31 of player with 1 38:7 named "&6&lOPDATER" to close then run [execute player command "/cf" and "/opdatercoinflip"]
  35. format slot 27 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7joiner du med samme antal beløb||&8 &7som ham du joinede.||&8 &7Og du får selvfølgelig også samme chance||&8 &7for at vinde som han har." to be unstealable
  36. format slot 29 of player with 1 book named "&2&lOPRET COINFLIP" with lore "&8 &7Klik her for at oprette en coinflip!" to close then run [execute player command "/coinflipopret"]
  37. format slot 33 of player with 1 book named "&2&lOPRET COINFLIP" with lore "&8 &7Klik her for at oprette en coinflip!" to close then run [execute player command "/coinflipopret"]
  38. format slot 35 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7joiner du med samme antal beløb||&8 &7som ham du joinede.||&8 &7Og du får selvfølgelig også samme chance||&8 &7for at vinde som han har." to be unstealable
  39.  
  40. command /coinflipopret:
  41. trigger:
  42. wait 2 ticks
  43. open chest with 3 rows named "&2&lOPRET EN COINFLIP" to player
  44. wait 2 ticks
  45. format slot 0 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
  46. format slot 8 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
  47. format slot 18 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
  48. format slot 26 of player with red glass named "&4&lTILBAGE" to close then run [make player execute command "/cf"]
  49. format slot 4 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7Laver du et coinflip." to be unstealable
  50. format slot 22 of player with 1 paper named "&9&lINFORMATION" with lore "&8 &7Ved at klikke på et bet||&8 &7Laver du et coinflip." to be unstealable
  51. format slot 13 of player with 1 gold ingot named "&2&l$1000" with lore "&7&oOpretter et coinflip på &c$1000" to close then run [execute player command "/coinflipopretgold"]
  52. format slot 14 of player with 1 diamond named "&2&l$3000" with lore "&7&oOpretter et coinflip på &c$3000" to close then run [execute player command "/coinflipopretdiamond"]
  53. format slot 15 of player with 1 emerald named "&2&l$5000" with lore "&7&oOpretter et coinflip på &c$5000" to close then run [execute player command "/coinflipopretemerald"]
  54. format slot 12 of player with 1 iron ingot named "&2&l$500" with lore "&7&oOpretter et coinflip på &c$500" to close then run [execute player command "/coinflipopretiron"]
  55. format slot 11 of player with 263 named "&2&l$250" with lore "&7&oOpretter et coinflip på &c$250" to close then run [execute player command "/coinflipopretcoal"]
  56.  
  57.  
  58. command /coinflipopretcoal:
  59. trigger:
  60. wait 1 tick
  61. if player's balance is more than 249:
  62. if {coinflip.plads.1} is not set:
  63. if {coinflip.ingame.%player%} is not set:
  64. remove 250 from player's balance
  65. set {coinflip.plads.1} to player
  66. set {coinflip.plads.1.bet} to 250
  67. set {coinflip.status.1} to "&aÅBEN"
  68. set {coinflip.ingame.%player%} to 2
  69.  
  70. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  71. stop
  72. if {coinflip.plads.2} is not set:
  73. if {coinflip.ingame.%player%} is not set:
  74. remove 250 from player's balance
  75. set {coinflip.plads.2} to player
  76. set {coinflip.plads.2.bet} to 250
  77. set {coinflip.status.2} to "&aÅBEN"
  78. set {coinflip.ingame.%player%} to 2
  79.  
  80. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  81. stop
  82. if {coinflip.plads.3} is not set:
  83. if {coinflip.ingame.%player%} is not set:
  84. remove 250 from player's balance
  85. set {coinflip.plads.3} to player
  86. set {coinflip.plads.3.bet} to 250
  87. set {coinflip.status.3} to "&aÅBEN"
  88. set {coinflip.ingame.%player%} to 2
  89.  
  90. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  91. stop
  92. if {coinflip.plads.4} is not set:
  93. if {coinflip.ingame.%player%} is not set:
  94. remove 250 from player's balance
  95. set {coinflip.plads.4} to player
  96. set {coinflip.plads.4.bet} to 250
  97. set {coinflip.status.4} to "&aÅBEN"
  98. set {coinflip.ingame.%player%} to 2
  99.  
  100. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  101. stop
  102. if {coinflip.plads.5} is not set:
  103. if {coinflip.ingame.%player%} is not set:
  104. remove 250 from player's balance
  105. set {coinflip.plads.5} to player
  106. set {coinflip.plads.5.bet} to 250
  107. set {coinflip.status.5} to "&aÅBEN"
  108. set {coinflip.ingame.%player%} to 2
  109.  
  110. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  111. stop
  112. if {coinflip.plads.6} is not set:
  113. if {coinflip.ingame.%player%} is not set:
  114. remove 250 from player's balance
  115. set {coinflip.plads.6} to player
  116. set {coinflip.plads.6.bet} to 250
  117. set {coinflip.status.6} to "&aÅBEN"
  118. set {coinflip.ingame.%player%} to 2
  119.  
  120. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  121. stop
  122. if {coinflip.plads.7} is not set:
  123. if {coinflip.ingame.%player%} is not set:
  124. remove 250 from player's balance
  125. set {coinflip.plads.7} to player
  126. set {coinflip.plads.7.bet} to 250
  127. set {coinflip.status.7} to "&aÅBEN"
  128. set {coinflip.ingame.%player%} to 2
  129.  
  130. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  131. stop
  132. if {coinflip.plads.8} is not set:
  133. if {coinflip.ingame.%player%} is not set:
  134. remove 250 from player's balance
  135. set {coinflip.plads.8} to player
  136. set {coinflip.plads.8.bet} to 250
  137. set {coinflip.status.8} to "&aÅBEN"
  138. set {coinflip.ingame.%player%} to 2
  139.  
  140. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  141. stop
  142. if {coinflip.plads.9} is not set:
  143. if {coinflip.ingame.%player%} is not set:
  144. remove 250 from player's balance
  145. set {coinflip.plads.9} to player
  146. set {coinflip.plads.9.bet} to 250
  147. set {coinflip.status.9} to "&aÅBEN"
  148. set {coinflip.ingame.%player%} to 2
  149.  
  150. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  151. stop
  152. if {coinflip.plads.10} is not set:
  153. if {coinflip.ingame.%player%} is not set:
  154. remove 250 from player's balance
  155. set {coinflip.plads.10} to player
  156. set {coinflip.plads.10.bet} to 250
  157. set {coinflip.status.10} to "&aÅBEN"
  158. set {coinflip.ingame.%player%} to 2
  159.  
  160. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  161. stop
  162. if {coinflip.plads.11} is not set:
  163. if {coinflip.ingame.%player%} is not set:
  164. remove 250 from player's balance
  165. set {coinflip.plads.11} to player
  166. set {coinflip.plads.11.bet} to 250
  167. set {coinflip.status.11} to "&aÅBEN"
  168. set {coinflip.ingame.%player%} to 2
  169.  
  170. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  171. stop
  172. if {coinflip.plads.12} is not set:
  173. if {coinflip.ingame.%player%} is not set:
  174. remove 250 from player's balance
  175. set {coinflip.plads.12} to player
  176. set {coinflip.plads.12.bet} to 250
  177. set {coinflip.status.12} to "&aÅBEN"
  178. set {coinflip.ingame.%player%} to 2
  179.  
  180. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  181. stop
  182. if {coinflip.plads.13} is not set:
  183. if {coinflip.ingame.%player%} is not set:
  184. remove 250 from player's balance
  185. set {coinflip.plads.13} to player
  186. set {coinflip.plads.13.bet} to 250
  187. set {coinflip.status.13} to "&aÅBEN"
  188. set {coinflip.ingame.%player%} to 2
  189.  
  190. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  191. stop
  192. if {coinflip.plads.14} is not set:
  193. if {coinflip.ingame.%player%} is not set:
  194. remove 250 from player's balance
  195. set {coinflip.plads.14} to player
  196. set {coinflip.plads.14.bet} to 250
  197. set {coinflip.status.14} to "&aÅBEN"
  198. set {coinflip.ingame.%player%} to 2
  199.  
  200. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  201. stop
  202. if {coinflip.plads.15} is not set:
  203. if {coinflip.ingame.%player%} is not set:
  204. remove 250 from player's balance
  205. set {coinflip.plads.15} to player
  206. set {coinflip.plads.15.bet} to 250
  207. set {coinflip.status.15} to "&aÅBEN"
  208. set {coinflip.ingame.%player%} to 2
  209.  
  210. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  211. stop
  212. if {coinflip.plads.16} is not set:
  213. if {coinflip.ingame.%player%} is not set:
  214. remove 250 from player's balance
  215. set {coinflip.plads.16} to player
  216. set {coinflip.plads.16.bet} to 250
  217. set {coinflip.status.16} to "&aÅBEN"
  218. set {coinflip.ingame.%player%} to 2
  219.  
  220. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  221. stop
  222. if {coinflip.plads.17} is not set:
  223. if {coinflip.ingame.%player%} is not set:
  224. remove 250 from player's balance
  225. set {coinflip.plads.17} to player
  226. set {coinflip.plads.17.bet} to 250
  227. set {coinflip.status.17} to "&aÅBEN"
  228. set {coinflip.ingame.%player%} to 2
  229.  
  230. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  231. stop
  232. if {coinflip.plads.18} is not set:
  233. if {coinflip.ingame.%player%} is not set:
  234. remove 250 from player's balance
  235. set {coinflip.plads.18} to player
  236. set {coinflip.plads.18.bet} to 250
  237. set {coinflip.status.18} to "&aÅBEN"
  238. set {coinflip.ingame.%player%} to 2
  239.  
  240. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  241. stop
  242. Else:
  243. message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
  244. else:
  245. message "&6&lCOINFLIP &8» &eDer er lige &6PT. &e Ikke flere ledige pladser!"
  246. else:
  247. message "&6&lCOINFLIP &8» &eDu har ikke &6&l$250!"
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255. command /coinflipopretiron:
  256. trigger:
  257. wait 1 tick
  258. if player's balance is more than 499:
  259. if {coinflip.plads.1} is not set:
  260. if {coinflip.ingame.%player%} is not set:
  261. remove 500 from player's balance
  262. set {coinflip.plads.1} to player
  263. set {coinflip.plads.1.bet} to 500
  264. set {coinflip.status.1} to "&aÅBEN"
  265. set {coinflip.ingame.%player%} to 2
  266.  
  267. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  268. stop
  269. if {coinflip.plads.2} is not set:
  270. if {coinflip.ingame.%player%} is not set:
  271. remove 500 from player's balance
  272. set {coinflip.plads.2} to player
  273. set {coinflip.plads.2.bet} to 500
  274. set {coinflip.status.2} to "&aÅBEN"
  275. set {coinflip.ingame.%player%} to 2
  276.  
  277. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  278. stop
  279. if {coinflip.plads.3} is not set:
  280. if {coinflip.ingame.%player%} is not set:
  281. remove 500 from player's balance
  282. set {coinflip.plads.3} to player
  283. set {coinflip.plads.3.bet} to 500
  284. set {coinflip.status.3} to "&aÅBEN"
  285. set {coinflip.ingame.%player%} to 2
  286.  
  287. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  288. stop
  289. if {coinflip.plads.4} is not set:
  290. if {coinflip.ingame.%player%} is not set:
  291. remove 500 from player's balance
  292. set {coinflip.plads.4} to player
  293. set {coinflip.plads.4.bet} to 500
  294. set {coinflip.status.4} to "&aÅBEN"
  295. set {coinflip.ingame.%player%} to 2
  296.  
  297. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  298. stop
  299. if {coinflip.plads.5} is not set:
  300. if {coinflip.ingame.%player%} is not set:
  301. remove 500 from player's balance
  302. set {coinflip.plads.5} to player
  303. set {coinflip.plads.5.bet} to 500
  304. set {coinflip.status.5} to "&aÅBEN"
  305. set {coinflip.ingame.%player%} to 2
  306.  
  307. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  308. stop
  309. if {coinflip.plads.6} is not set:
  310. if {coinflip.ingame.%player%} is not set:
  311. remove 500 from player's balance
  312. set {coinflip.plads.6} to player
  313. set {coinflip.plads.6.bet} to 500
  314. set {coinflip.status.6} to "&aÅBEN"
  315. set {coinflip.ingame.%player%} to 2
  316.  
  317. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  318. stop
  319. if {coinflip.plads.7} is not set:
  320. if {coinflip.ingame.%player%} is not set:
  321. remove 500 from player's balance
  322. set {coinflip.plads.7} to player
  323. set {coinflip.plads.7.bet} to 500
  324. set {coinflip.status.7} to "&aÅBEN"
  325. set {coinflip.ingame.%player%} to 2
  326.  
  327. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  328. stop
  329. if {coinflip.plads.8} is not set:
  330. if {coinflip.ingame.%player%} is not set:
  331. remove 500 from player's balance
  332. set {coinflip.plads.8} to player
  333. set {coinflip.plads.8.bet} to 500
  334. set {coinflip.status.8} to "&aÅBEN"
  335. set {coinflip.ingame.%player%} to 2
  336.  
  337. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  338. stop
  339. if {coinflip.plads.9} is not set:
  340. if {coinflip.ingame.%player%} is not set:
  341. remove 500 from player's balance
  342. set {coinflip.plads.9} to player
  343. set {coinflip.plads.9.bet} to 500
  344. set {coinflip.status.9} to "&aÅBEN"
  345. set {coinflip.ingame.%player%} to 2
  346.  
  347. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  348. stop
  349. if {coinflip.plads.10} is not set:
  350. if {coinflip.ingame.%player%} is not set:
  351. remove 500 from player's balance
  352. set {coinflip.plads.10} to player
  353. set {coinflip.plads.10.bet} to 500
  354. set {coinflip.status.10} to "&aÅBEN"
  355. set {coinflip.ingame.%player%} to 2
  356.  
  357. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  358. stop
  359. if {coinflip.plads.11} is not set:
  360. if {coinflip.ingame.%player%} is not set:
  361. remove 500 from player's balance
  362. set {coinflip.plads.11} to player
  363. set {coinflip.plads.11.bet} to 500
  364. set {coinflip.status.11} to "&aÅBEN"
  365. set {coinflip.ingame.%player%} to 2
  366.  
  367. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  368. stop
  369. if {coinflip.plads.12} is not set:
  370. if {coinflip.ingame.%player%} is not set:
  371. remove 500 from player's balance
  372. set {coinflip.plads.12} to player
  373. set {coinflip.plads.12.bet} to 500
  374. set {coinflip.status.12} to "&aÅBEN"
  375. set {coinflip.ingame.%player%} to 2
  376.  
  377. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  378. stop
  379. if {coinflip.plads.13} is not set:
  380. if {coinflip.ingame.%player%} is not set:
  381. remove 500 from player's balance
  382. set {coinflip.plads.13} to player
  383. set {coinflip.plads.13.bet} to 500
  384. set {coinflip.status.13} to "&aÅBEN"
  385. set {coinflip.ingame.%player%} to 2
  386.  
  387. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  388. stop
  389. if {coinflip.plads.14} is not set:
  390. if {coinflip.ingame.%player%} is not set:
  391. remove 500 from player's balance
  392. set {coinflip.plads.14} to player
  393. set {coinflip.plads.14.bet} to 500
  394. set {coinflip.status.14} to "&aÅBEN"
  395. set {coinflip.ingame.%player%} to 2
  396.  
  397. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  398. stop
  399. if {coinflip.plads.15} is not set:
  400. if {coinflip.ingame.%player%} is not set:
  401. remove 500 from player's balance
  402. set {coinflip.plads.15} to player
  403. set {coinflip.plads.15.bet} to 500
  404. set {coinflip.status.15} to "&aÅBEN"
  405. set {coinflip.ingame.%player%} to 2
  406.  
  407. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  408. stop
  409. if {coinflip.plads.16} is not set:
  410. if {coinflip.ingame.%player%} is not set:
  411. remove 500 from player's balance
  412. set {coinflip.plads.16} to player
  413. set {coinflip.plads.16.bet} to 500
  414. set {coinflip.status.16} to "&aÅBEN"
  415. set {coinflip.ingame.%player%} to 2
  416.  
  417. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  418. stop
  419. if {coinflip.plads.17} is not set:
  420. if {coinflip.ingame.%player%} is not set:
  421. remove 500 from player's balance
  422. set {coinflip.plads.17} to player
  423. set {coinflip.plads.17.bet} to 500
  424. set {coinflip.status.17} to "&aÅBEN"
  425. set {coinflip.ingame.%player%} to 2
  426.  
  427. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  428. stop
  429. if {coinflip.plads.18} is not set:
  430. if {coinflip.ingame.%player%} is not set:
  431. remove 500 from player's balance
  432. set {coinflip.plads.18} to player
  433. set {coinflip.plads.18.bet} to 500
  434. set {coinflip.status.18} to "&aÅBEN"
  435. set {coinflip.ingame.%player%} to 2
  436.  
  437. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  438. stop
  439. Else:
  440. message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
  441. else:
  442. message "&6&lCOINFLIP &8» &eDer er lige &6PT. &e Ikke flere ledige pladser!"
  443. else:
  444. message "&6&lCOINFLIP &8» &eDu har ikke &6&l$500!"
  445.  
  446.  
  447. command /coinflipopretgold:
  448. trigger:
  449. wait 1 tick
  450. if player's balance is more than 999:
  451. if {coinflip.plads.1} is not set:
  452. if {coinflip.ingame.%player%} is not set:
  453. remove 1000 from player's balance
  454. set {coinflip.plads.1} to player
  455. set {coinflip.plads.1.bet} to 1000
  456. set {coinflip.status.1} to "&aÅBEN"
  457. set {coinflip.ingame.%player%} to 2
  458. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  459. stop
  460. if {coinflip.plads.2} is not set:
  461. if {coinflip.ingame.%player%} is not set:
  462. remove 1000 from player's balance
  463. set {coinflip.plads.2} to player
  464. set {coinflip.plads.2.bet} to 1000
  465. set {coinflip.status.2} to "&aÅBEN"
  466. set {coinflip.ingame.%player%} to 2
  467. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  468. stop
  469. if {coinflip.plads.3} is not set:
  470. if {coinflip.ingame.%player%} is not set:
  471. remove 1000 from player's balance
  472. set {coinflip.plads.3} to player
  473. set {coinflip.plads.3.bet} to 1000
  474. set {coinflip.status.3} to "&aÅBEN"
  475. set {coinflip.ingame.%player%} to 2
  476.  
  477. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  478. stop
  479. if {coinflip.plads.4} is not set:
  480. if {coinflip.ingame.%player%} is not set:
  481. remove 1000 from player's balance
  482. set {coinflip.plads.4} to player
  483. set {coinflip.plads.4.bet} to 1000
  484. set {coinflip.status.4} to "&aÅBEN"
  485. set {coinflip.ingame.%player%} to 2
  486.  
  487. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  488. stop
  489. if {coinflip.plads.5} is not set:
  490. if {coinflip.ingame.%player%} is not set:
  491. remove 1000 from player's balance
  492. set {coinflip.plads.5} to player
  493. set {coinflip.plads.5.bet} to 1000
  494. set {coinflip.status.5} to "&aÅBEN"
  495. set {coinflip.ingame.%player%} to 2
  496.  
  497. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  498. stop
  499. if {coinflip.plads.6} is not set:
  500. if {coinflip.ingame.%player%} is not set:
  501. remove 1000 from player's balance
  502. set {coinflip.plads.6} to player
  503. set {coinflip.plads.6.bet} to 1000
  504. set {coinflip.status.6} to "&aÅBEN"
  505. set {coinflip.ingame.%player%} to 2
  506.  
  507. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  508. stop
  509. if {coinflip.plads.7} is not set:
  510. if {coinflip.ingame.%player%} is not set:
  511. remove 1000 from player's balance
  512. set {coinflip.plads.7} to player
  513. set {coinflip.plads.7.bet} to 1000
  514. set {coinflip.status.7} to "&aÅBEN"
  515. set {coinflip.ingame.%player%} to 2
  516.  
  517. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  518. stop
  519. if {coinflip.plads.8} is not set:
  520. if {coinflip.ingame.%player%} is not set:
  521. remove 1000 from player's balance
  522. set {coinflip.plads.8} to player
  523. set {coinflip.plads.8.bet} to 1000
  524. set {coinflip.status.8} to "&aÅBEN"
  525. set {coinflip.ingame.%player%} to 2
  526.  
  527. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  528. stop
  529. if {coinflip.plads.9} is not set:
  530. if {coinflip.ingame.%player%} is not set:
  531. remove 1000 from player's balance
  532. set {coinflip.plads.9} to player
  533. set {coinflip.plads.9.bet} to 1000
  534. set {coinflip.status.9} to "&aÅBEN"
  535. set {coinflip.ingame.%player%} to 2
  536.  
  537. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  538. stop
  539. if {coinflip.plads.10} is not set:
  540. if {coinflip.ingame.%player%} is not set:
  541. remove 1000 from player's balance
  542. set {coinflip.plads.10} to player
  543. set {coinflip.plads.10.bet} to 1000
  544. set {coinflip.status.10} to "&aÅBEN"
  545. set {coinflip.ingame.%player%} to 2
  546. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  547. stop
  548. if {coinflip.plads.11} is not set:
  549. if {coinflip.ingame.%player%} is not set:
  550. remove 1000 from player's balance
  551. set {coinflip.plads.11} to player
  552. set {coinflip.plads.11.bet} to 1000
  553. set {coinflip.status.11} to "&aÅBEN"
  554. set {coinflip.ingame.%player%} to 2
  555.  
  556. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  557. stop
  558. if {coinflip.plads.12} is not set:
  559. if {coinflip.ingame.%player%} is not set:
  560. remove 1000 from player's balance
  561. set {coinflip.plads.12} to player
  562. set {coinflip.plads.12.bet} to 1000
  563. set {coinflip.status.12} to "&aÅBEN"
  564. set {coinflip.ingame.%player%} to 2
  565.  
  566. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  567. stop
  568. if {coinflip.plads.13} is not set:
  569. if {coinflip.ingame.%player%} is not set:
  570. remove 1000 from player's balance
  571. set {coinflip.plads.13} to player
  572. set {coinflip.plads.13.bet} to 1000
  573. set {coinflip.status.13} to "&aÅBEN"
  574. set {coinflip.ingame.%player%} to 2
  575.  
  576. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  577. stop
  578. if {coinflip.plads.14} is not set:
  579. if {coinflip.ingame.%player%} is not set:
  580. remove 1000 from player's balance
  581. set {coinflip.plads.14} to player
  582. set {coinflip.plads.14.bet} to 1000
  583. set {coinflip.status.14} to "&aÅBEN"
  584. set {coinflip.ingame.%player%} to 2
  585.  
  586. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  587. stop
  588. if {coinflip.plads.15} is not set:
  589. if {coinflip.ingame.%player%} is not set:
  590. remove 1000 from player's balance
  591. set {coinflip.plads.15} to player
  592. set {coinflip.plads.15.bet} to 1000
  593. set {coinflip.status.15} to "&aÅBEN"
  594. set {coinflip.ingame.%player%} to 2
  595.  
  596. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  597. stop
  598. if {coinflip.plads.16} is not set:
  599. if {coinflip.ingame.%player%} is not set:
  600. remove 1000 from player's balance
  601. set {coinflip.plads.16} to player
  602. set {coinflip.plads.16.bet} to 1000
  603. set {coinflip.status.16} to "&aÅBEN"
  604. set {coinflip.ingame.%player%} to 2
  605.  
  606. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  607. stop
  608. if {coinflip.plads.17} is not set:
  609. if {coinflip.ingame.%player%} is not set:
  610. remove 1000 from player's balance
  611. set {coinflip.plads.17} to player
  612. set {coinflip.plads.17.bet} to 1000
  613. set {coinflip.status.17} to "&aÅBEN"
  614. set {coinflip.ingame.%player%} to 2
  615.  
  616. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  617. stop
  618. if {coinflip.plads.18} is not set:
  619. if {coinflip.ingame.%player%} is not set:
  620. remove 1000 from player's balance
  621. set {coinflip.plads.18} to player
  622. set {coinflip.plads.18.bet} to 1000
  623. set {coinflip.status.18} to "&aÅBEN"
  624. set {coinflip.ingame.%player%} to 2
  625.  
  626. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  627. stop
  628. Else:
  629. message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
  630. else:
  631. message "&6&lCOINFLIP &8» &eDer er lige &6PT. &e Ikke flere ledige pladser!"
  632. else:
  633. message "&6&lCOINFLIP &8» &eDu har ikke &6&l$1000!"
  634.  
  635. command /coinflipopretdiamond:
  636. trigger:
  637. if player's balance is more than 2999:
  638. if {coinflip.plads.1} is not set:
  639. if {coinflip.ingame.%player%} is not set:
  640. remove 3000 from player's balance
  641. set {coinflip.plads.1} to player
  642. set {coinflip.plads.1.bet} to 3000
  643. set {coinflip.status.1} to "&aÅBEN"
  644. set {coinflip.ingame.%player%} to 2
  645.  
  646. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  647. stop
  648. if {coinflip.plads.2} is not set:
  649. if {coinflip.ingame.%player%} is not set:
  650. remove 3000 from player's balance
  651. set {coinflip.plads.2} to player
  652. set {coinflip.plads.2.bet} to 3000
  653. set {coinflip.status.2} to "&aÅBEN"
  654. set {coinflip.ingame.%player%} to 2
  655.  
  656. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  657. stop
  658. if {coinflip.plads.3} is not set:
  659. if {coinflip.ingame.%player%} is not set:
  660. remove 3000 from player's balance
  661. set {coinflip.plads.3} to player
  662. set {coinflip.plads.3.bet} to 3000
  663. set {coinflip.status.3} to "&aÅBEN"
  664. set {coinflip.ingame.%player%} to 2
  665.  
  666. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  667. stop
  668. if {coinflip.plads.4} is not set:
  669. if {coinflip.ingame.%player%} is not set:
  670. remove 3000 from player's balance
  671. set {coinflip.plads.4} to player
  672. set {coinflip.plads.4.bet} to 3000
  673. set {coinflip.status.4} to "&aÅBEN"
  674. set {coinflip.ingame.%player%} to 2
  675.  
  676. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  677. stop
  678. if {coinflip.plads.5} is not set:
  679. if {coinflip.ingame.%player%} is not set:
  680. remove 3000 from player's balance
  681. set {coinflip.plads.5} to player
  682. set {coinflip.plads.5.bet} to 3000
  683. set {coinflip.status.5} to "&aÅBEN"
  684. set {coinflip.ingame.%player%} to 2
  685.  
  686. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  687. stop
  688. if {coinflip.plads.6} is not set:
  689. if {coinflip.ingame.%player%} is not set:
  690. remove 3000 from player's balance
  691. set {coinflip.plads.6} to player
  692. set {coinflip.plads.6.bet} to 3000
  693. set {coinflip.status.6} to "&aÅBEN"
  694. set {coinflip.ingame.%player%} to 2
  695.  
  696. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  697. stop
  698. if {coinflip.plads.7} is not set:
  699. if {coinflip.ingame.%player%} is not set:
  700. remove 3000 from player's balance
  701. set {coinflip.plads.7} to player
  702. set {coinflip.plads.7.bet} to 3000
  703. set {coinflip.status.7} to "&aÅBEN"
  704. set {coinflip.ingame.%player%} to 2
  705.  
  706. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  707. stop
  708. if {coinflip.plads.8} is not set:
  709. if {coinflip.ingame.%player%} is not set:
  710. remove 3000 from player's balance
  711. set {coinflip.plads.8} to player
  712. set {coinflip.plads.8.bet} to 3000
  713. set {coinflip.status.8} to "&aÅBEN"
  714. set {coinflip.ingame.%player%} to 2
  715. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  716. stop
  717. if {coinflip.plads.9} is not set:
  718. if {coinflip.ingame.%player%} is not set:
  719. remove 3000 from player's balance
  720. set {coinflip.plads.9} to player
  721. set {coinflip.plads.9.bet} to 3000
  722. set {coinflip.status.9} to "&aÅBEN"
  723. set {coinflip.ingame.%player%} to 2
  724.  
  725. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  726. stop
  727. if {coinflip.plads.10} is not set:
  728. if {coinflip.ingame.%player%} is not set:
  729. remove 3000 from player's balance
  730. set {coinflip.plads.10} to player
  731. set {coinflip.plads.10.bet} to 3000
  732. set {coinflip.status.10} to "&aÅBEN"
  733. set {coinflip.ingame.%player%} to 2
  734.  
  735. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  736. stop
  737. if {coinflip.plads.11} is not set:
  738. if {coinflip.ingame.%player%} is not set:
  739. remove 3000 from player's balance
  740. set {coinflip.plads.11} to player
  741. set {coinflip.plads.11.bet} to 3000
  742. set {coinflip.status.11} to "&aÅBEN"
  743. set {coinflip.ingame.%player%} to 2
  744.  
  745. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  746. stop
  747. if {coinflip.plads.12} is not set:
  748. if {coinflip.ingame.%player%} is not set:
  749. remove 3000 from player's balance
  750. set {coinflip.plads.12} to player
  751. set {coinflip.plads.12.bet} to 3000
  752. set {coinflip.status.12} to "&aÅBEN"
  753. set {coinflip.ingame.%player%} to 2
  754.  
  755. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  756. stop
  757. if {coinflip.plads.13} is not set:
  758. if {coinflip.ingame.%player%} is not set:
  759. remove 3000 from player's balance
  760. set {coinflip.plads.13} to player
  761. set {coinflip.plads.13.bet} to 3000
  762. set {coinflip.status.13} to "&aÅBEN"
  763. set {coinflip.ingame.%player%} to 2
  764.  
  765. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  766. stop
  767. if {coinflip.plads.14} is not set:
  768. if {coinflip.ingame.%player%} is not set:
  769. remove 3000 from player's balance
  770. set {coinflip.plads.14} to player
  771. set {coinflip.plads.14.bet} to 3000
  772. set {coinflip.status.14} to "&aÅBEN"
  773. set {coinflip.ingame.%player%} to 2
  774.  
  775. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  776. stop
  777. if {coinflip.plads.15} is not set:
  778. if {coinflip.ingame.%player%} is not set:
  779. remove 3000 from player's balance
  780. set {coinflip.plads.15} to player
  781. set {coinflip.plads.15.bet} to 3000
  782. set {coinflip.status.15} to "&aÅBEN"
  783. set {coinflip.ingame.%player%} to 2
  784.  
  785. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  786. stop
  787. if {coinflip.plads.16} is not set:
  788. if {coinflip.ingame.%player%} is not set:
  789. remove 3000 from player's balance
  790. set {coinflip.plads.16} to player
  791. set {coinflip.plads.16.bet} to 3000
  792. set {coinflip.status.16} to "&aÅBEN"
  793. set {coinflip.ingame.%player%} to 2
  794.  
  795. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  796. stop
  797. if {coinflip.plads.17} is not set:
  798. if {coinflip.ingame.%player%} is not set:
  799. remove 3000 from player's balance
  800. set {coinflip.plads.17} to player
  801. set {coinflip.plads.17.bet} to 3000
  802. set {coinflip.status.17} to "&aÅBEN"
  803. set {coinflip.ingame.%player%} to 2
  804.  
  805. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  806. stop
  807. if {coinflip.plads.18} is not set:
  808. if {coinflip.ingame.%player%} is not set:
  809. remove 3000 from player's balance
  810. set {coinflip.plads.18} to player
  811. set {coinflip.plads.18.bet} to 3000
  812. set {coinflip.status.18} to "&aÅBEN"
  813. set {coinflip.ingame.%player%} to 2
  814.  
  815. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  816. stop
  817. Else:
  818. message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
  819. else:
  820. message "&6&lCOINFLIP &8 &7Der er desværre ikke flere coinflip pladser!"
  821. else:
  822. message "&6&lCOINFLIP &8» &eDu har ikke &6&l$3000!"
  823.  
  824. command /coinflipopretemerald:
  825. trigger:
  826. if player's balance is more than 4999:
  827. if {coinflip.plads.1} is not set:
  828. if {coinflip.ingame.%player%} is not set:
  829. remove 5000 from player's balance
  830. set {coinflip.plads.1} to player
  831. set {coinflip.plads.1.bet} to 5000
  832. set {coinflip.status.1} to "&aÅBEN"
  833. set {coinflip.ingame.%player%} to 2
  834.  
  835. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  836. stop
  837. if {coinflip.plads.2} is not set:
  838. if {coinflip.ingame.%player%} is not set:
  839. remove 5000 from player's balance
  840. set {coinflip.plads.2} to player
  841. set {coinflip.plads.2.bet} to 5000
  842. set {coinflip.status.2} to "&aÅBEN"
  843. set {coinflip.ingame.%player%} to 2
  844.  
  845. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  846. stop
  847. if {coinflip.plads.3} is not set:
  848. if {coinflip.ingame.%player%} is not set:
  849. remove 5000 from player's balance
  850. set {coinflip.plads.3} to player
  851. set {coinflip.plads.3.bet} to 5000
  852. set {coinflip.status.3} to "&aÅBEN"
  853. set {coinflip.ingame.%player%} to 2
  854.  
  855. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  856. stop
  857. if {coinflip.plads.4} is not set:
  858. if {coinflip.ingame.%player%} is not set:
  859. remove 5000 from player's balance
  860. set {coinflip.plads.4} to player
  861. set {coinflip.plads.4.bet} to 5000
  862. set {coinflip.status.4} to "&aÅBEN"
  863. set {coinflip.ingame.%player%} to 2
  864.  
  865. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  866. stop
  867. if {coinflip.plads.5} is not set:
  868. if {coinflip.ingame.%player%} is not set:
  869. remove 5000 from player's balance
  870. set {coinflip.plads.5} to player
  871. set {coinflip.plads.5.bet} to 5000
  872. set {coinflip.status.5} to "&aÅBEN"
  873. set {coinflip.ingame.%player%} to 2
  874.  
  875. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  876. stop
  877. if {coinflip.plads.6} is not set:
  878. if {coinflip.ingame.%player%} is not set:
  879. remove 5000 from player's balance
  880. set {coinflip.plads.6} to player
  881. set {coinflip.plads.6.bet} to 5000
  882. set {coinflip.status.6} to "&aÅBEN"
  883. set {coinflip.ingame.%player%} to 2
  884.  
  885. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  886. stop
  887. if {coinflip.plads.7} is not set:
  888. if {coinflip.ingame.%player%} is not set:
  889. remove 5000 from player's balance
  890. set {coinflip.plads.7} to player
  891. set {coinflip.plads.7.bet} to 5000
  892. set {coinflip.status.7} to "&aÅBEN"
  893. set {coinflip.ingame.%player%} to 2
  894.  
  895. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  896. stop
  897. if {coinflip.plads.8} is not set:
  898. if {coinflip.ingame.%player%} is not set:
  899. remove 5000 from player's balance
  900. set {coinflip.plads.8} to player
  901. set {coinflip.plads.8.bet} to 5000
  902. set {coinflip.status.8} to "&aÅBEN"
  903. set {coinflip.ingame.%player%} to 2
  904.  
  905. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  906. stop
  907. if {coinflip.plads.9} is not set:
  908. if {coinflip.ingame.%player%} is not set:
  909. remove 5000 from player's balance
  910. set {coinflip.plads.9} to player
  911. set {coinflip.plads.9.bet} to 5000
  912. set {coinflip.status.9} to "&aÅBEN"
  913. set {coinflip.ingame.%player%} to 2
  914.  
  915. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  916. stop
  917. if {coinflip.plads.10} is not set:
  918. if {coinflip.ingame.%player%} is not set:
  919. remove 5000 from player's balance
  920. set {coinflip.plads.10} to player
  921. set {coinflip.plads.10.bet} to 5000
  922. set {coinflip.status.10} to "&aÅBEN"
  923. set {coinflip.ingame.%player%} to 2
  924.  
  925. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  926. stop
  927. if {coinflip.plads.11} is not set:
  928. if {coinflip.ingame.%player%} is not set:
  929. remove 5000 from player's balance
  930. set {coinflip.plads.11} to player
  931. set {coinflip.plads.11.bet} to 5000
  932. set {coinflip.status.11} to "&aÅBEN"
  933. set {coinflip.ingame.%player%} to 2
  934.  
  935. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  936. stop
  937. if {coinflip.plads.12} is not set:
  938. if {coinflip.ingame.%player%} is not set:
  939. remove 5000 from player's balance
  940. set {coinflip.plads.12} to player
  941. set {coinflip.plads.12.bet} to 5000
  942. set {coinflip.status.12} to "&aÅBEN"
  943. set {coinflip.ingame.%player%} to 2
  944.  
  945. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  946. stop
  947. if {coinflip.plads.13} is not set:
  948. if {coinflip.ingame.%player%} is not set:
  949. remove 5000 from player's balance
  950. set {coinflip.plads.13} to player
  951. set {coinflip.plads.13.bet} to 5000
  952. set {coinflip.status.13} to "&aÅBEN"
  953. set {coinflip.ingame.%player%} to 2
  954. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  955. stop
  956. if {coinflip.plads.14} is not set:
  957. if {coinflip.ingame.%player%} is not set:
  958. remove 5000 from player's balance
  959. set {coinflip.plads.14} to player
  960. set {coinflip.plads.14.bet} to 5000
  961. set {coinflip.status.14} to "&aÅBEN"
  962. set {coinflip.ingame.%player%} to 2
  963. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  964. stop
  965. if {coinflip.plads.15} is not set:
  966. if {coinflip.ingame.%player%} is not set:
  967. remove 5000 from player's balance
  968. set {coinflip.plads.15} to player
  969. set {coinflip.plads.15.bet} to 5000
  970. set {coinflip.status.15} to "&aÅBEN"
  971. set {coinflip.ingame.%player%} to 2
  972.  
  973. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  974. stop
  975. if {coinflip.plads.16} is not set:
  976. if {coinflip.ingame.%player%} is not set:
  977. remove 5000 from player's balance
  978. set {coinflip.plads.16} to player
  979. set {coinflip.plads.16.bet} to 5000
  980. set {coinflip.status.16} to "&aÅBEN"
  981. set {coinflip.ingame.%player%} to 2
  982.  
  983. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  984. stop
  985. if {coinflip.plads.17} is not set:
  986. if {coinflip.ingame.%player%} is not set:
  987. remove 5000 from player's balance
  988. set {coinflip.plads.17} to player
  989. set {coinflip.plads.17.bet} to 5000
  990. set {coinflip.status.17} to "&aÅBEN"
  991. set {coinflip.ingame.%player%} to 2
  992.  
  993. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  994. stop
  995. if {coinflip.plads.18} is not set:
  996. if {coinflip.ingame.%player%} is not set:
  997. remove 5000 from player's balance
  998. set {coinflip.plads.18} to player
  999. set {coinflip.plads.18.bet} to 5000
  1000. set {coinflip.status.18} to "&aÅBEN"
  1001. set {coinflip.ingame.%player%} to 2
  1002.  
  1003. message "&6&lCOINFLIP &8» &eDu har nu &6oprettet &eet &6Coinflip"
  1004. stop
  1005. Else:
  1006. message "&6&lCOINFLIP &8» &eDu kan ikke lave mere end &61 Coinflip!"
  1007. else:
  1008. message "&6&lCOINFLIP &8» &7Der er desværre ikke flere coinflip pladser!"
  1009. else:
  1010. message "&6&lCOINFLIP &8» &eDu har ikke &6&l$5000!"
  1011.  
  1012. command /joincoinflip [<text>]:
  1013. trigger:
  1014. if arg-1 is "1":
  1015. if {coinflip.plads.1} is not command sender:
  1016. if {coinflip.plads.1} is set:
  1017. if {coinflip.status.1} is not "&aIGANG":
  1018. if player's balance is more than or equal to {coinflip.plads.1.bet}:
  1019. set {coinflip.status.1} to "&aIGANG"
  1020. remove {coinflip.plads.1.bet} from player's balance
  1021. message "&6&lCOINFLIP &8» &eDu har nu joined et &6Coinflip&e mod &6&l%{coinflip.plads.1}%"
  1022. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.1}
  1023. wait 3 ticks
  1024. open chest with 1 rows named "&6&lCOINFLIP" to player
  1025. wait 0.05 seconds
  1026. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1027. wait 0.20 seconds
  1028. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1029. wait 0.20 seconds
  1030. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1031. wait 0.20 seconds
  1032. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1033. wait 0.20 seconds
  1034. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1035. wait 0.20 seconds
  1036. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1037. wait 0.20 seconds
  1038. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1039.  
  1040. wait 0.20 seconds
  1041. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1042.  
  1043. wait 0.20 seconds
  1044. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1045.  
  1046. wait 0.20 seconds
  1047. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1048.  
  1049. wait 0.20 seconds
  1050. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1051.  
  1052. wait 0.20 seconds
  1053. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1054.  
  1055. wait 0.20 seconds
  1056. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1057.  
  1058. wait 0.20 seconds
  1059. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1060.  
  1061. wait 0.20 seconds
  1062. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to be unstealable
  1063. set {vinder.coinflip.1} to a random integer between 1 and 2
  1064. if {vinder.coinflip.1} is 1:
  1065. wait 0.20 seconds
  1066. format slot 4 of player with skull of player named "&6&l%player%" to close
  1067.  
  1068. wait 2 ticks
  1069. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.1.bet}%&8) &eover &6%{coinflip.plads.1}% &ei et &6Coinflip!"
  1070. make console execute command "/resetcoinflip %{coinflipplayer.plads.1}%"
  1071. add {coinflip.plads.1.bet} to player's balance
  1072. add {coinflip.plads.1.bet} to player's balance
  1073. set {coinflip.status.1} to "&cFÆRDIG"
  1074. delete {coinflip.ingame.%{coinflip.plads.1}%}
  1075. delete {coinflip.plads.1}
  1076. delete {vinder.coinflip.1}
  1077. close player's inventory
  1078. delete {coinflip.ingame.%{coinflip.plads.1}%}
  1079. stop
  1080. if {vinder.coinflip.1} is 2:
  1081. wait 0.15 seconds
  1082.  
  1083. format slot 4 of player with skull of {coinflip.plads.1} named "&6&l%{coinflip.plads.1}%" to close
  1084.  
  1085. wait 2 ticks
  1086. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.1}% &ehar lige vundet &8(&6$%{coinflip.plads.1.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1087. make console execute command "/resetcoinflip %{coinflipplayer.plads.1}%"
  1088. add {coinflip.plads.1.bet} to {coinflip.plads.1}'s balance
  1089. add {coinflip.plads.1.bet} to {coinflip.plads.1}'s balance
  1090. set {coinflip.status.1} to "&cFÆRDIG"
  1091. delete {coinflip.ingame.%{coinflip.plads.1}%}
  1092. delete {coinflip.plads.1}
  1093. delete {vinder.coinflip.1}
  1094. delete {coinflip.ingame.%{coinflip.plads.1}%}
  1095. close player's inventory
  1096. stop
  1097. Else:
  1098. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1099. Else:
  1100. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1101.  
  1102. if arg-1 is "2":
  1103. if {coinflip.plads.2} is not command sender:
  1104. if {coinflip.plads.2} is set:
  1105. if {coinflip.status.2} is not "&aIGANG":
  1106. if player's balance is more than or equal to {coinflip.plads.2.bet}:
  1107. set {coinflip.status.2} to "&aIGANG"
  1108. remove {coinflip.plads.2.bet} from player's balance
  1109. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.2}%"
  1110. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.2}
  1111. wait 3 ticks
  1112. open chest with 1 rows named "&6&lCOINFLIP" to player
  1113. wait 0.05 seconds
  1114. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1115. wait 0.20 seconds
  1116.  
  1117. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1118. wait 0.20 seconds
  1119.  
  1120. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1121. wait 0.20 seconds
  1122.  
  1123. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1124. wait 10 ticks
  1125. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1126. wait 0.20 seconds
  1127.  
  1128. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1129. wait 0.20 seconds
  1130.  
  1131. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1132. wait 0.20 seconds
  1133.  
  1134. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1135. wait 0.20 seconds
  1136.  
  1137. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1138. wait 0.20 seconds
  1139.  
  1140. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1141. wait 0.20 seconds
  1142.  
  1143. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1144. wait 0.20 seconds
  1145.  
  1146. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1147. wait 0.20 seconds
  1148.  
  1149. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1150. wait 0.20 seconds
  1151.  
  1152. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1153. wait 0.20 seconds
  1154.  
  1155. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1156. set {vinder.coinflip.2} to a random integer between 1 and 2
  1157. if {vinder.coinflip.2} is 1:
  1158.  
  1159. wait 0.20 seconds
  1160. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1161.  
  1162. wait 2 ticks
  1163. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.2.bet}%&8) &eover &6%{coinflip.plads.2}% &ei et &6Coinflip!"
  1164. add {coinflip.plads.2.bet} to player's balance
  1165. add {coinflip.plads.2.bet} to player's balance
  1166. set {coinflip.status.2} to "&cFÆRDIG"
  1167. delete {coinflip.ingame.%{coinflip.plads.2}%}
  1168. delete {coinflip.plads.2}
  1169. delete {vinder.coinflip.2}
  1170. delete {coinflip.ingame.%{coinflip.plads.2}%}
  1171. close player's inventory
  1172. stop
  1173. if {vinder.coinflip.2} is 2:
  1174. wait 0.20 seconds
  1175.  
  1176. format slot 4 of player with skull of {coinflip.plads.2} named "&6&l%{coinflip.plads.2}%" to be unstealable
  1177.  
  1178. wait 2 ticks
  1179. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.2}% &ehar lige vundet &8(&6$%{coinflip.plads.2.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1180. add {coinflip.plads.2.bet} to {coinflip.plads.2}'s balance
  1181. add {coinflip.plads.2.bet} to {coinflip.plads.2}'s balance
  1182. set {coinflip.status.2} to "&cFÆRDIG"
  1183. delete {coinflip.ingame.%{coinflip.plads.2}%}
  1184. delete {coinflip.plads.2}
  1185. delete {vinder.coinflip.2}
  1186.  
  1187. close player's inventory
  1188. stop
  1189. Else:
  1190. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1191. Else:
  1192. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1193. if arg-1 is "3":
  1194. if {coinflip.plads.3} is not command sender:
  1195. if {coinflip.plads.3} is set:
  1196. if {coinflip.status.3} is not "&aIGANG":
  1197. if player's balance is more than or equal to {coinflip.plads.3.bet}:
  1198. set {coinflip.status.3} to "&aIGANG"
  1199. remove {coinflip.plads.3.bet} from player's balance
  1200. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.3}%"
  1201. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.3}
  1202. wait 2 ticks
  1203. open chest with 1 rows named "&6&lCOINFLIP" to player
  1204. wait 0.05 seconds
  1205. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1206. wait 0.20 seconds
  1207.  
  1208. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1209. wait 0.20 seconds
  1210.  
  1211. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1212. wait 0.20 seconds
  1213. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1214. wait 0.20 seconds
  1215. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1216. wait 0.20 seconds
  1217.  
  1218. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1219. wait 0.20 seconds
  1220.  
  1221. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1222. wait 0.20 seconds
  1223.  
  1224. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1225. wait 0.20 seconds
  1226. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1227. wait 0.20 seconds
  1228.  
  1229. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1230. wait 0.20 seconds
  1231.  
  1232. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1233. wait 0.20 seconds
  1234.  
  1235. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1236. wait 0.20 seconds
  1237.  
  1238. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1239. wait 0.20 seconds
  1240.  
  1241. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1242. wait 0.20 seconds
  1243.  
  1244. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1245. set {vinder.coinflip.3} to a random integer between 1 and 2
  1246. if {vinder.coinflip.3} is 1:
  1247. wait 0.20 seconds
  1248. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1249.  
  1250. wait 2 ticks
  1251. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.3.bet}%&8) &eover &6%{coinflip.plads.3}% &ei et &6Coinflip!"
  1252. add {coinflip.plads.3.bet} to player's balance
  1253. add {coinflip.plads.3.bet} to player's balance
  1254. set {coinflip.status.3} to "&cFÆRDIG"
  1255. delete {coinflip.ingame.%{coinflip.plads.3}%}
  1256. delete {coinflip.plads.3}
  1257. delete {vinder.coinflip.3}
  1258. delete {coinflip.ingame.%{coinflip.plads.3}%}
  1259. close player's inventory
  1260.  
  1261. stop
  1262. if {vinder.coinflip.3} is 2:
  1263. wait 0.20 seconds
  1264. format slot 4 of player with skull of {coinflip.plads.3} named "&6&l%{coinflip.plads.3}%" to be unstealable
  1265.  
  1266. wait 2 ticks
  1267. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.3}% &ehar lige vundet &8(&6$%{coinflip.plads.3.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1268. add {coinflip.plads.3.bet} to {coinflip.plads.3}'s balance
  1269. add {coinflip.plads.3.bet} to {coinflip.plads.3}'s balance
  1270. set {coinflip.status.3} to "&cFÆRDIG"
  1271. delete {coinflip.ingame.%{coinflip.plads.3}%}
  1272. delete {coinflip.plads.3}
  1273. delete {vinder.coinflip.3}
  1274. delete {coinflip.ingame.%{coinflip.plads.3}%}
  1275.  
  1276. close player's inventory
  1277. stop
  1278. Else:
  1279. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1280. Else:
  1281. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1282. if arg-1 is "4":
  1283. if {coinflip.plads.4} is not command sender:
  1284. if {coinflip.plads.4} is set:
  1285. if {coinflip.status.4} is not "&aIGANG":
  1286. if player's balance is more than or equal to {coinflip.plads.4.bet}:
  1287. set {coinflip.status.4} to "&aIGANG"
  1288. remove {coinflip.plads.4.bet} from player's balance
  1289. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.4}%"
  1290. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.4}
  1291. wait 2 ticks
  1292. open chest with 1 rows named "&6&lCOINFLIP" to player
  1293. wait 0.05 seconds
  1294. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1295. wait 0.20 seconds
  1296.  
  1297. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1298. wait 0.20 seconds
  1299. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1300. wait 0.20 seconds
  1301.  
  1302. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1303. wait 0.20 seconds
  1304. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1305. wait 0.20 seconds
  1306.  
  1307. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1308. wait 0.20 seconds
  1309.  
  1310. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1311. wait 0.20 seconds
  1312.  
  1313. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1314. wait 0.20 seconds
  1315.  
  1316. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1317. wait 0.20 seconds
  1318.  
  1319. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1320. wait 0.20 seconds
  1321.  
  1322. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1323. wait 0.20 seconds
  1324.  
  1325. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1326. wait 0.20 seconds
  1327.  
  1328. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1329. wait 0.20 seconds
  1330.  
  1331. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1332. wait 0.20 seconds
  1333.  
  1334. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1335. set {vinder.coinflip.4} to a random integer between 1 and 2
  1336. if {vinder.coinflip.4} is 1:
  1337. wait 0.20 seconds
  1338. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1339.  
  1340. wait 2 ticks
  1341. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.4.bet}%&8) &eover &6%{coinflip.plads.4}% &ei et &6Coinflip!"
  1342. add {coinflip.plads.4.bet} to player's balance
  1343. add {coinflip.plads.4.bet} to player's balance
  1344. set {coinflip.status.4} to "&cFÆRDIG"
  1345. delete {coinflip.ingame.%{coinflip.plads.4}%}
  1346. delete {coinflip.plads.4}
  1347. delete {vinder.coinflip.4}
  1348. delete {coinflip.ingame.%{coinflip.plads.4}%}
  1349.  
  1350. close player's inventory
  1351. stop
  1352. if {vinder.coinflip.4} is 2:
  1353. wait 0.20 seconds
  1354. format slot 4 of player with skull of {coinflip.plads.4} named "&6&l%{coinflip.plads.4}%" to be unstealable
  1355.  
  1356. wait 2 ticks
  1357. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.4}% &ehar lige vundet &8(&6$%{coinflip.plads.4.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1358. add {coinflip.plads.4.bet} to {coinflip.plads.4}'s balance
  1359. add {coinflip.plads.4.bet} to {coinflip.plads.4}'s balance
  1360. set {coinflip.status.4} to "&cFÆRDIG"
  1361. delete {coinflip.ingame.%{coinflip.plads.4}%}
  1362. delete {coinflip.plads.4}
  1363. delete {vinder.coinflip.4}
  1364. delete {coinflip.ingame.%{coinflip.plads.4}%}
  1365.  
  1366. close player's inventory
  1367. stop
  1368. Else:
  1369. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1370. Else:
  1371. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1372. if arg-1 is "5":
  1373. if {coinflip.plads.5} is not command sender:
  1374. if {coinflip.plads.5} is set:
  1375. if {coinflip.status.5} is not "&aIGANG":
  1376. if player's balance is more than or equal to {coinflip.plads.5.bet}:
  1377. set {coinflip.status.5} to "&aIGANG"
  1378. remove {coinflip.plads.5.bet} from player's balance
  1379. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.5}%"
  1380. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.5}
  1381. wait 2 ticks
  1382. open chest with 1 rows named "&6&lCOINFLIP" to player
  1383. wait 0.05 seconds
  1384. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1385. wait 0.20 seconds
  1386.  
  1387. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1388. wait 0.20 seconds
  1389.  
  1390. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1391. wait 0.20 seconds
  1392. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1393. wait 0.20 seconds
  1394. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1395. wait 0.20 seconds
  1396.  
  1397. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1398. wait 0.20 seconds
  1399.  
  1400. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1401. wait 0.20 seconds
  1402.  
  1403. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1404. wait 0.20 seconds
  1405.  
  1406. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1407. wait 0.20 seconds
  1408.  
  1409. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1410. wait 0.20 seconds
  1411.  
  1412. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1413. wait 0.20 seconds
  1414.  
  1415. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1416. wait 0.20 seconds
  1417.  
  1418. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1419. wait 0.20 seconds
  1420.  
  1421. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1422. wait 0.20 seconds
  1423.  
  1424. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1425. set {vinder.coinflip.5} to a random integer between 1 and 2
  1426. if {vinder.coinflip.5} is 1:
  1427. wait 0.20 seconds
  1428. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1429.  
  1430. wait 2 ticks
  1431. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.5.bet}%&8) &eover &6%{coinflip.plads.5}% &ei et &6Coinflip!"
  1432. add {coinflip.plads.5.bet} to player's balance
  1433. add {coinflip.plads.5.bet} to player's balance
  1434. set {coinflip.status.5} to "&cFÆRDIG"
  1435. delete {coinflip.ingame.%{coinflip.plads.5}%}
  1436. delete {coinflip.plads.5}
  1437. delete {vinder.coinflip.5}
  1438. delete {coinflip.ingame.%{coinflip.plads.5}%}
  1439.  
  1440. close player's inventory
  1441. stop
  1442. if {vinder.coinflip.5} is 2:
  1443. wait 0.20 seconds
  1444. format slot 4 of player with skull of {coinflip.plads.5} named "&6&l%{coinflip.plads.5}%" to be unstealable
  1445.  
  1446. wait 2 ticks
  1447. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.5}% &ehar lige vundet &8(&6$%{coinflip.plads.5.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1448. add {coinflip.plads.5.bet} to {coinflip.plads.5}'s balance
  1449. add {coinflip.plads.5.bet} to {coinflip.plads.5}'s balance
  1450. set {coinflip.status.5} to "&cFÆRDIG"
  1451. delete {coinflip.ingame.%{coinflip.plads.5}%}
  1452. delete {coinflip.plads.5}
  1453. delete {vinder.coinflip.5}
  1454. delete {coinflip.ingame.%{coinflip.plads.5}%}
  1455.  
  1456. close player's inventory
  1457. stop
  1458. Else:
  1459. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1460. Else:
  1461. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1462. if arg-1 is "6":
  1463. if {coinflip.plads.6} is not command sender:
  1464. if {coinflip.plads.6} is set:
  1465. if {coinflip.plads.6} is set:
  1466. if player's balance is more than or equal to {coinflip.plads.6.bet}:
  1467. set {coinflip.status.6} to "&aIGANG"
  1468. remove {coinflip.plads.6.bet} from player's balance
  1469. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.6}%"
  1470. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.6}
  1471. wait 2 ticks
  1472. open chest with 1 rows named "&6&lCOINFLIP" to player
  1473. wait 0.05 seconds
  1474. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1475. wait 0.20 seconds
  1476.  
  1477. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1478. wait 0.20 seconds
  1479.  
  1480. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1481. wait 0.20 seconds
  1482.  
  1483. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1484. wait 0.20 seconds
  1485. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1486. wait 0.20 seconds
  1487.  
  1488. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1489. wait 0.20 seconds
  1490.  
  1491. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1492. wait 0.20 seconds
  1493.  
  1494. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1495. wait 0.20 seconds
  1496.  
  1497. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1498. wait 0.20 seconds
  1499.  
  1500. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1501. wait 0.20 seconds
  1502.  
  1503. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1504. wait 0.20 seconds
  1505.  
  1506. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1507. wait 0.20 seconds
  1508.  
  1509. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1510. wait 0.20 seconds
  1511.  
  1512. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1513. wait 0.20 seconds
  1514.  
  1515. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1516. set {vinder.coinflip.6} to a random integer between 1 and 2
  1517. if {vinder.coinflip.6} is 1:
  1518. wait 0.20 seconds
  1519. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1520.  
  1521. wait 2 ticks
  1522. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.6.bet}%&8) &eover &6%{coinflip.plads.6}% &ei et &6Coinflip!"
  1523. add {coinflip.plads.6.bet} to player's balance
  1524. add {coinflip.plads.6.bet} to player's balance
  1525. set {coinflip.status.6} to "&cFÆRDIG"
  1526. delete {coinflip.ingame.%{coinflip.plads.6}%}
  1527. delete {coinflip.plads.6}
  1528. delete {vinder.coinflip.6}
  1529. delete {coinflip.ingame.%{coinflip.plads.6}%}
  1530.  
  1531. close player's inventory
  1532. stop
  1533. if {vinder.coinflip.6} is 2:
  1534. wait 0.20 seconds
  1535. format slot 4 of player with skull of {coinflip.plads.6} named "&6&l%{coinflip.plads.6}%" to be unstealable
  1536.  
  1537. wait 2 ticks
  1538. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.6}% &ehar lige vundet &8(&6$%{coinflip.plads.6.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1539. add {coinflip.plads.6.bet} to {coinflip.plads.6}'s balance
  1540. add {coinflip.plads.6.bet} to {coinflip.plads.6}'s balance
  1541. set {coinflip.status.6} to "&cFÆRDIG"
  1542. delete {coinflip.ingame.%{coinflip.plads.6}%}
  1543. delete {coinflip.plads.6}
  1544. delete {vinder.coinflip.6}
  1545. delete {coinflip.ingame.%{coinflip.plads.6}%}
  1546.  
  1547. close player's inventory
  1548. stop
  1549. Else:
  1550. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1551. Else:
  1552. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1553. if arg-1 is "7":
  1554. if {coinflip.plads.7} is not command sender:
  1555. if {coinflip.plads.7} is set:
  1556. if {coinflip.plads.7} is set:
  1557. if player's balance is more than or equal to {coinflip.plads.7.bet}:
  1558. set {coinflip.status.7} to "&aIGANG"
  1559. remove {coinflip.plads.7.bet} from player's balance
  1560. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.7}%"
  1561. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.7}
  1562. wait 2 ticks
  1563. open chest with 1 rows named "&6&lCOINFLIP" to player
  1564. wait 0.05 seconds
  1565. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1566. wait 0.20 seconds
  1567. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1568. wait 0.20 seconds
  1569.  
  1570. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1571. wait 0.20 seconds
  1572.  
  1573. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1574. wait 0.20 seconds
  1575. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1576. wait 0.20 seconds
  1577.  
  1578. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1579. wait 0.20 seconds
  1580.  
  1581. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1582. wait 0.20 seconds
  1583.  
  1584. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1585. wait 0.20 seconds
  1586.  
  1587. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1588. wait 0.20 seconds
  1589.  
  1590. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1591. wait 0.20 seconds
  1592.  
  1593. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1594. wait 0.20 seconds
  1595.  
  1596. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1597. wait 0.20 seconds
  1598.  
  1599. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1600. wait 0.20 seconds
  1601.  
  1602. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1603. wait 0.20 seconds
  1604.  
  1605. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1606. set {vinder.coinflip.7} to a random integer between 1 and 2
  1607. if {vinder.coinflip.7} is 1:
  1608. wait 0.20 seconds
  1609. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1610.  
  1611. wait 2 ticks
  1612. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.7.bet}%&8) &eover &6%{coinflip.plads.7}% &ei et &6Coinflip!"
  1613. add {coinflip.plads.7.bet} to player's balance
  1614. add {coinflip.plads.7.bet} to player's balance
  1615. set {coinflip.status.7} to "&cFÆRDIG"
  1616. delete {coinflip.ingame.%{coinflip.plads.7}%}
  1617. delete {coinflip.plads.7}
  1618. delete {vinder.coinflip.7}
  1619. delete {coinflip.ingame.%{coinflip.plads.7}%}
  1620.  
  1621. close player's inventory
  1622. stop
  1623. if {vinder.coinflip.7} is 2:
  1624. wait 0.20 seconds
  1625. format slot 4 of player with skull of {coinflip.plads.7} named "&6&l%{coinflip.plads.7}%" to be unstealable
  1626.  
  1627. wait 2 ticks
  1628. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.7}% &ehar lige vundet &8(&6$%{coinflip.plads.7.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1629. add {coinflip.plads.7.bet} to {coinflip.plads.7}'s balance
  1630. add {coinflip.plads.7.bet} to {coinflip.plads.7}'s balance
  1631. set {coinflip.status.7} to "&cFÆRDIG"
  1632. delete {coinflip.ingame.%{coinflip.plads.7}%}
  1633. delete {coinflip.plads.7}
  1634. delete {vinder.coinflip.7}
  1635. delete {coinflip.ingame.%{coinflip.plads.7}%}
  1636.  
  1637. close player's inventory
  1638. stop
  1639. Else:
  1640. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1641. Else:
  1642. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1643. if arg-1 is "8":
  1644. if {coinflip.plads.8} is not command sender:
  1645. if {coinflip.plads.8} is set:
  1646. if {coinflip.plads.8} is set:
  1647. if player's balance is more than or equal to {coinflip.plads.8.bet}:
  1648. set {coinflip.status.8} to "&aIGANG"
  1649. remove {coinflip.plads.8.bet} from player's balance
  1650. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.8}%"
  1651. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.8}
  1652. wait 2 ticks
  1653. open chest with 1 rows named "&6&lCOINFLIP" to player
  1654. wait 0.05 seconds
  1655. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1656. wait 0.20 seconds
  1657.  
  1658. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1659. wait 0.20 seconds
  1660.  
  1661. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1662. wait 0.20 seconds
  1663. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1664. wait 0.20 seconds
  1665. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1666. wait 0.20 seconds
  1667.  
  1668. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1669. wait 0.20 seconds
  1670.  
  1671. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1672. wait 0.20 seconds
  1673. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1674. wait 0.20 seconds
  1675.  
  1676. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1677. wait 0.20 seconds
  1678.  
  1679. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1680. wait 0.20 seconds
  1681.  
  1682. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1683. wait 0.20 seconds
  1684.  
  1685. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1686. wait 0.20 seconds
  1687.  
  1688. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1689. wait 0.20 seconds
  1690.  
  1691. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1692. wait 0.20 seconds
  1693.  
  1694. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1695. set {vinder.coinflip.8} to a random integer between 1 and 2
  1696. if {vinder.coinflip.8} is 1:
  1697. wait 0.20 seconds
  1698. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1699.  
  1700. wait 2 ticks
  1701. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.8.bet}%&8) &eover &6%{coinflip.plads.8}% &ei et &6Coinflip!"
  1702. add {coinflip.plads.8.bet} to player's balance
  1703. add {coinflip.plads.8.bet} to player's balance
  1704. set {coinflip.status.8} to "&cFÆRDIG"
  1705. delete {coinflip.ingame.%{coinflip.plads.8}%}
  1706. delete {coinflip.plads.8}
  1707. delete {vinder.coinflip.8}
  1708. delete {coinflip.ingame.%{coinflip.plads.8}%}
  1709.  
  1710. close player's inventory
  1711. stop
  1712. if {vinder.coinflip.8} is 2:
  1713. wait 0.20 seconds
  1714. format slot 4 of player with skull of {coinflip.plads.8} named "&6&l%{coinflip.plads.8}%" to be unstealable
  1715.  
  1716. wait 2 ticks
  1717. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.8}% &ehar lige vundet &8(&6$%{coinflip.plads.8.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1718. add {coinflip.plads.8.bet} to {coinflip.plads.8}'s balance
  1719. add {coinflip.plads.8.bet} to {coinflip.plads.8}'s balance
  1720. set {coinflip.status.8} to "&cFÆRDIG"
  1721. delete {coinflip.ingame.%{coinflip.plads.8}%}
  1722. delete {coinflip.plads.8}
  1723. delete {coinflip.ingame.%{coinflip.plads.8}%}
  1724. delete {vinder.coinflip.8}
  1725.  
  1726. close player's inventory
  1727. stop
  1728. Else:
  1729. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1730. Else:
  1731. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1732. if arg-1 is "9":
  1733. if {coinflip.plads.9} is not command sender:
  1734. if {coinflip.plads.9} is set:
  1735. if {coinflip.plads.9} is set:
  1736. if player's balance is more than or equal to {coinflip.plads.9.bet}:
  1737. set {coinflip.status.9} to "&aIGANG"
  1738. remove {coinflip.plads.9.bet} from player's balance
  1739. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.9}%"
  1740. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.9}
  1741. wait 2 ticks
  1742. open chest with 1 rows named "&6&lCOINFLIP" to player
  1743. wait 0.05 seconds
  1744. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1745. wait 0.20 seconds
  1746.  
  1747. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1748. wait 0.20 seconds
  1749. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1750. wait 0.20 seconds
  1751.  
  1752. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1753. wait 0.20 seconds
  1754. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1755. wait 0.20 seconds
  1756.  
  1757. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1758. wait 0.20 seconds
  1759.  
  1760. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1761. wait 0.20 seconds
  1762.  
  1763. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1764. wait 0.20 seconds
  1765.  
  1766. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1767. wait 0.20 seconds
  1768.  
  1769. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1770. wait 0.20 seconds
  1771.  
  1772. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1773. wait 0.20 seconds
  1774.  
  1775. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1776. wait 0.20 seconds
  1777.  
  1778. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1779. wait 0.20 seconds
  1780.  
  1781. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1782. wait 0.20 seconds
  1783.  
  1784. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1785. set {vinder.coinflip.9} to a random integer between 1 and 2
  1786. if {vinder.coinflip.9} is 1:
  1787. wait 0.20 seconds
  1788. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1789.  
  1790. wait 2 ticks
  1791. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.9.bet}%&8) &eover &6%{coinflip.plads.9}% &ei et &6Coinflip!"
  1792. add {coinflip.plads.9.bet} to player's balance
  1793. add {coinflip.plads.9.bet} to player's balance
  1794. set {coinflip.status.9} to "&cFÆRDIG"
  1795. delete {coinflip.ingame.%{coinflip.plads.9}%}
  1796. delete {coinflip.plads.9}
  1797. delete {vinder.coinflip.9}
  1798. delete {coinflip.ingame.%{coinflip.plads.9}%}
  1799. close player's inventory
  1800. stop
  1801. if {vinder.coinflip.9} is 2:
  1802. wait 0.20 seconds
  1803. format slot 4 of player with skull of {coinflip.plads.9} named "&6&l%{coinflip.plads.9}%" to be unstealable
  1804.  
  1805. wait 2 ticks
  1806. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.9}% &ehar lige vundet &8(&6$%{coinflip.plads.9.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1807. add {coinflip.plads.9.bet} to {coinflip.plads.9}'s balance
  1808. add {coinflip.plads.9.bet} to {coinflip.plads.9}'s balance
  1809. set {coinflip.status.9} to "&cFÆRDIG"
  1810. delete {coinflip.ingame.%{coinflip.plads.9}%}
  1811. delete {coinflip.plads.9}
  1812. delete {coinflip.ingame.%{coinflip.plads.9}%}
  1813. delete {vinder.coinflip.9}
  1814.  
  1815. close player's inventory
  1816. stop
  1817. Else:
  1818. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1819. Else:
  1820. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1821.  
  1822. if arg-1 is "10":
  1823. if {coinflip.plads.10} is not command sender:
  1824. if {coinflip.plads.10} is set:
  1825. if {coinflip.plads.10} is set:
  1826. if player's balance is more than or equal to {coinflip.plads.10.bet}:
  1827. set {coinflip.status.10} to "&aIGANG"
  1828. remove {coinflip.plads.10.bet} from player's balance
  1829. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.10}%"
  1830. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.10}
  1831. wait 2 ticks
  1832. open chest with 1 rows named "&6&lCOINFLIP" to player
  1833. wait 0.05 seconds
  1834. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1835. wait 0.20 seconds
  1836.  
  1837. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1838. wait 0.20 seconds
  1839. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1840. wait 0.20 seconds
  1841.  
  1842. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1843. wait 0.20 seconds
  1844. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1845. wait 0.20 seconds
  1846.  
  1847. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1848. wait 0.20 seconds
  1849.  
  1850. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1851. wait 0.20 seconds
  1852.  
  1853. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1854. wait 0.20 seconds
  1855.  
  1856. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1857. wait 0.20 seconds
  1858.  
  1859. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1860. wait 0.20 seconds
  1861.  
  1862. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1863. wait 0.20 seconds
  1864.  
  1865. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1866. wait 0.20 seconds
  1867.  
  1868. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1869. wait 0.20 seconds
  1870.  
  1871. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1872. wait 0.20 seconds
  1873.  
  1874. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1875. set {vinder.coinflip.10} to a random integer between 1 and 2
  1876. if {vinder.coinflip.10} is 1:
  1877. wait 0.20 seconds
  1878. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1879.  
  1880. wait 2 ticks
  1881. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.10.bet}%&8) &eover &6%{coinflip.plads.10}% &ei et &6Coinflip!"
  1882. add {coinflip.plads.10.bet} to player's balance
  1883. add {coinflip.plads.10.bet} to player's balance
  1884. set {coinflip.status.10} to "&cFÆRDIG"
  1885. delete {coinflip.ingame.%{coinflip.plads.10}%}
  1886. delete {coinflip.plads.10}
  1887. delete {vinder.coinflip.10}
  1888. delete {coinflip.ingame.%{coinflip.plads.10}%}
  1889.  
  1890. close player's inventory
  1891. stop
  1892. if {vinder.coinflip.10} is 2:
  1893. wait 0.20 seconds
  1894. format slot 4 of player with skull of {coinflip.plads.10} named "&6&l%{coinflip.plads.10}%" to be unstealable
  1895.  
  1896. wait 2 ticks
  1897. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.10}% &ehar lige vundet &8(&6$%{coinflip.plads.10.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1898. add {coinflip.plads.10.bet} to {coinflip.plads.10}'s balance
  1899. add {coinflip.plads.10.bet} to {coinflip.plads.10}'s balance
  1900. set {coinflip.status.10} to "&cFÆRDIG"
  1901. delete {coinflip.ingame.%{coinflip.plads.10}%}
  1902. delete {coinflip.plads.10}
  1903. delete {vinder.coinflip.10}
  1904. delete {coinflip.ingame.%{coinflip.plads.10}%}
  1905.  
  1906. close player's inventory
  1907. stop
  1908. Else:
  1909. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  1910. Else:
  1911. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  1912.  
  1913. if arg-1 is "11":
  1914. if {coinflip.plads.11} is not command sender:
  1915. if {coinflip.plads.11} is set:
  1916. if {coinflip.plads.11} is set:
  1917. if player's balance is more than or equal to {coinflip.plads.11.bet}:
  1918. set {coinflip.status.11} to "&aIGANG"
  1919. remove {coinflip.plads.11.bet} from player's balance
  1920. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.11}%"
  1921. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.11}
  1922. wait 2 ticks
  1923. open chest with 1 rows named "&6&lCOINFLIP" to player
  1924. wait 0.05 seconds
  1925. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1926. wait 0.20 seconds
  1927.  
  1928. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1929. wait 0.20 seconds
  1930. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1931. wait 0.20 seconds
  1932.  
  1933. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1934. wait 0.20 seconds
  1935. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1936. wait 0.20 seconds
  1937.  
  1938. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1939. wait 0.20 seconds
  1940.  
  1941. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1942. wait 0.20 seconds
  1943.  
  1944. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1945. wait 0.20 seconds
  1946.  
  1947. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1948. wait 0.20 seconds
  1949.  
  1950. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1951. wait 0.20 seconds
  1952.  
  1953. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1954. wait 0.20 seconds
  1955.  
  1956. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1957. wait 0.20 seconds
  1958.  
  1959. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1960. wait 0.20 seconds
  1961.  
  1962. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1963. wait 0.20 seconds
  1964.  
  1965. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1966. set {vinder.coinflip.11} to a random integer between 1 and 2
  1967. if {vinder.coinflip.11} is 1:
  1968. wait 0.20 seconds
  1969. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  1970.  
  1971. wait 2 ticks
  1972. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.11.bet}%&8) &eover &6%{coinflip.plads.11}% &ei et &6Coinflip!"
  1973. add {coinflip.plads.11.bet} to player's balance
  1974. add {coinflip.plads.11.bet} to player's balance
  1975. set {coinflip.status.11} to "&cFÆRDIG"
  1976. delete {coinflip.ingame.%{coinflip.plads.11}%}
  1977. delete {coinflip.plads.11}
  1978. delete {vinder.coinflip.11}
  1979. delete {coinflip.ingame.%{coinflip.plads.11}%}
  1980.  
  1981. close player's inventory
  1982. stop
  1983. if {vinder.coinflip.11} is 2:
  1984. wait 0.20 seconds
  1985. format slot 4 of player with skull of {coinflip.plads.11} named "&6&l%{coinflip.plads.11}%" to be unstealable
  1986.  
  1987. wait 2 ticks
  1988. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.11}% &ehar lige vundet &8(&6$%{coinflip.plads.11.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  1989. add {coinflip.plads.11.bet} to {coinflip.plads.11}'s balance
  1990. add {coinflip.plads.11.bet} to {coinflip.plads.11}'s balance
  1991. set {coinflip.status.11} to "&cFÆRDIG"
  1992. delete {coinflip.ingame.%{coinflip.plads.11}%}
  1993. delete {coinflip.plads.11}
  1994. delete {vinder.coinflip.11}
  1995. delete {coinflip.ingame.%{coinflip.plads.11}%}
  1996.  
  1997. close player's inventory
  1998. stop
  1999. Else:
  2000. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  2001. Else:
  2002. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  2003.  
  2004. if arg-1 is "12":
  2005. if {coinflip.plads.12} is not command sender:
  2006. if {coinflip.plads.12} is set:
  2007. if {coinflip.plads.12} is set:
  2008. if player's balance is more than or equal to {coinflip.plads.12.bet}:
  2009. set {coinflip.status.12} to "&aIGANG"
  2010. remove {coinflip.plads.12.bet} from player's balance
  2011. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.12}%"
  2012. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.12}
  2013. wait 2 ticks
  2014. open chest with 1 rows named "&6&lCOINFLIP" to player
  2015. wait 0.05 seconds
  2016. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2017. wait 0.20 seconds
  2018.  
  2019. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2020. wait 0.20 seconds
  2021. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2022. wait 0.20 seconds
  2023.  
  2024. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2025. wait 0.20 seconds
  2026. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2027. wait 0.20 seconds
  2028.  
  2029. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2030. wait 0.20 seconds
  2031.  
  2032. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2033. wait 0.20 seconds
  2034.  
  2035. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2036. wait 0.20 seconds
  2037.  
  2038. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2039. wait 0.20 seconds
  2040.  
  2041. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2042. wait 0.20 seconds
  2043.  
  2044. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2045. wait 0.20 seconds
  2046.  
  2047. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2048. wait 0.20 seconds
  2049.  
  2050. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2051. wait 0.20 seconds
  2052.  
  2053. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2054. wait 0.20 seconds
  2055.  
  2056. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2057. set {vinder.coinflip.12} to a random integer between 1 and 2
  2058. if {vinder.coinflip.12} is 1:
  2059. wait 0.20 seconds
  2060. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2061.  
  2062. wait 2 ticks
  2063. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.12.bet}%&8) &eover &6%{coinflip.plads.12}% &ei et &6Coinflip!"
  2064. add {coinflip.plads.12.bet} to player's balance
  2065. add {coinflip.plads.12.bet} to player's balance
  2066. set {coinflip.status.12} to "&cFÆRDIG"
  2067. delete {coinflip.ingame.%{coinflip.plads.12}%}
  2068. delete {coinflip.plads.12}
  2069. delete {vinder.coinflip.12}
  2070. delete {coinflip.ingame.%{coinflip.plads.12}%}
  2071.  
  2072. close player's inventory
  2073. stop
  2074. if {vinder.coinflip.12} is 2:
  2075. wait 0.20 seconds
  2076. format slot 4 of player with skull of {coinflip.plads.12} named "&6&l%{coinflip.plads.12}%" to be unstealable
  2077.  
  2078. wait 2 ticks
  2079. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.12}% &ehar lige vundet &8(&6$%{coinflip.plads.12.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  2080. add {coinflip.plads.12.bet} to {coinflip.plads.12}'s balance
  2081. add {coinflip.plads.12.bet} to {coinflip.plads.12}'s balance
  2082. set {coinflip.status.12} to "&cFÆRDIG"
  2083. delete {coinflip.ingame.%{coinflip.plads.12}%}
  2084. delete {coinflip.plads.12}
  2085. delete {vinder.coinflip.12}
  2086. delete {coinflip.ingame.%{coinflip.plads.12}%}
  2087.  
  2088. close player's inventory
  2089. stop
  2090. Else:
  2091. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  2092. Else:
  2093. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  2094.  
  2095.  
  2096. if arg-1 is "13":
  2097. if {coinflip.plads.13} is not command sender:
  2098. if {coinflip.plads.13} is set:
  2099. if {coinflip.plads.13} is set:
  2100. if player's balance is more than or equal to {coinflip.plads.13.bet}:
  2101. set {coinflip.status.13} to "&aIGANG"
  2102. remove {coinflip.plads.13.bet} from player's balance
  2103. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.13}%"
  2104. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.13}
  2105. wait 2 ticks
  2106. open chest with 1 rows named "&6&lCOINFLIP" to player
  2107. wait 0.05 seconds
  2108. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2109. wait 0.20 seconds
  2110.  
  2111. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2112. wait 0.20 seconds
  2113. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2114. wait 0.20 seconds
  2115.  
  2116. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2117. wait 0.20 seconds
  2118. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2119. wait 0.20 seconds
  2120.  
  2121. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2122. wait 0.20 seconds
  2123.  
  2124. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2125. wait 0.20 seconds
  2126.  
  2127. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2128. wait 0.20 seconds
  2129.  
  2130. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2131. wait 0.20 seconds
  2132.  
  2133. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2134. wait 0.20 seconds
  2135.  
  2136. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2137. wait 0.20 seconds
  2138.  
  2139. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2140. wait 0.20 seconds
  2141.  
  2142. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2143. wait 0.20 seconds
  2144.  
  2145. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2146. wait 0.20 seconds
  2147.  
  2148. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2149. set {vinder.coinflip.13} to a random integer between 1 and 2
  2150. if {vinder.coinflip.13} is 1:
  2151. wait 0.20 seconds
  2152. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2153.  
  2154. wait 2 ticks
  2155. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.13.bet}%&8) &eover &6%{coinflip.plads.13}% &ei et &6Coinflip!"
  2156. add {coinflip.plads.13.bet} to player's balance
  2157. add {coinflip.plads.13.bet} to player's balance
  2158. set {coinflip.status.13} to "&cFÆRDIG"
  2159. delete {coinflip.ingame.%{coinflip.plads.13}%}
  2160. delete {coinflip.plads.13}
  2161. delete {vinder.coinflip.13}
  2162. delete {coinflip.ingame.%{coinflip.plads.13}%}
  2163.  
  2164. close player's inventory
  2165. stop
  2166. if {vinder.coinflip.13} is 2:
  2167. wait 0.20 seconds
  2168. format slot 4 of player with skull of {coinflip.plads.13} named "&6&l%{coinflip.plads.13}%" to be unstealable
  2169.  
  2170. wait 2 ticks
  2171. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.13}% &ehar lige vundet &8(&6$%{coinflip.plads.13.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  2172. add {coinflip.plads.13.bet} to {coinflip.plads.13}'s balance
  2173. add {coinflip.plads.13.bet} to {coinflip.plads.13}'s balance
  2174. set {coinflip.status.13} to "&cFÆRDIG"
  2175. delete {coinflip.ingame.%{coinflip.plads.13}%}
  2176. delete {coinflip.plads.13}
  2177. delete {vinder.coinflip.13}
  2178. delete {coinflip.ingame.%{coinflip.plads.13}%}
  2179.  
  2180. close player's inventory
  2181. stop
  2182.  
  2183.  
  2184. if arg-1 is "14":
  2185. if {coinflip.plads.14} is not command sender:
  2186. if {coinflip.plads.14} is set:
  2187. if {coinflip.plads.14} is set:
  2188. if player's balance is more than or equal to {coinflip.plads.14.bet}:
  2189. set {coinflip.status.14} to "&aIGANG"
  2190. remove {coinflip.plads.14.bet} from player's balance
  2191. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.14}%"
  2192. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.14}
  2193. wait 2 ticks
  2194. open chest with 1 rows named "&6&lCOINFLIP" to player
  2195. wait 0.05 seconds
  2196. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2197. wait 0.20 seconds
  2198.  
  2199. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2200. wait 0.20 seconds
  2201. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2202. wait 0.20 seconds
  2203.  
  2204. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2205. wait 0.20 seconds
  2206. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2207. wait 0.20 seconds
  2208.  
  2209. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2210. wait 0.20 seconds
  2211.  
  2212. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2213. wait 0.20 seconds
  2214.  
  2215. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2216. wait 0.20 seconds
  2217.  
  2218. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2219. wait 0.20 seconds
  2220.  
  2221. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2222. wait 0.20 seconds
  2223.  
  2224. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2225. wait 0.20 seconds
  2226.  
  2227. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2228. wait 0.20 seconds
  2229.  
  2230. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2231. wait 0.20 seconds
  2232.  
  2233. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2234. wait 0.20 seconds
  2235.  
  2236. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2237. set {vinder.coinflip.14} to a random integer between 1 and 2
  2238. if {vinder.coinflip.14} is 1:
  2239. wait 0.20 seconds
  2240. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2241.  
  2242. wait 2 ticks
  2243. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.14.bet}%&8) &eover &6%{coinflip.plads.14}% &ei et &6Coinflip!"
  2244. add {coinflip.plads.14.bet} to player's balance
  2245. add {coinflip.plads.14.bet} to player's balance
  2246. set {coinflip.status.14} to "&cFÆRDIG"
  2247. delete {coinflip.ingame.%{coinflip.plads.14}%}
  2248. delete {coinflip.plads.14}
  2249. delete {vinder.coinflip.14}
  2250. delete {coinflip.ingame.%{coinflip.plads.14}%}
  2251.  
  2252. close player's inventory
  2253. stop
  2254. if {vinder.coinflip.14} is 2:
  2255. wait 0.20 seconds
  2256. format slot 4 of player with skull of {coinflip.plads.14} named "&6&l%{coinflip.plads.14}%" to be unstealable
  2257.  
  2258. wait 2 ticks
  2259. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.14}% &ehar lige vundet &8(&6$%{coinflip.plads.14.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  2260. add {coinflip.plads.14.bet} to {coinflip.plads.14}'s balance
  2261. add {coinflip.plads.14.bet} to {coinflip.plads.14}'s balance
  2262. set {coinflip.status.14} to "&cFÆRDIG"
  2263. delete {coinflip.ingame.%{coinflip.plads.14}%}
  2264. delete {coinflip.plads.14}
  2265. delete {vinder.coinflip.14}
  2266. delete {coinflip.ingame.%{coinflip.plads.14}%}
  2267.  
  2268. close player's inventory
  2269. stop
  2270.  
  2271.  
  2272. if arg-1 is "15":
  2273. if {coinflip.plads.15} is not command sender:
  2274. if {coinflip.plads.15} is set:
  2275. if {coinflip.plads.15} is set:
  2276. if player's balance is more than or equal to {coinflip.plads.15.bet}:
  2277. set {coinflip.status.15} to "&aIGANG"
  2278. remove {coinflip.plads.15.bet} from player's balance
  2279. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.15}%"
  2280. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.15}
  2281. wait 2 ticks
  2282. open chest with 1 rows named "&6&lCOINFLIP" to player
  2283. wait 0.05 seconds
  2284. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2285. wait 0.20 seconds
  2286.  
  2287. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2288. wait 0.20 seconds
  2289. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2290. wait 0.20 seconds
  2291.  
  2292. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2293. wait 0.20 seconds
  2294. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2295. wait 0.20 seconds
  2296.  
  2297. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2298. wait 0.20 seconds
  2299.  
  2300. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2301. wait 0.20 seconds
  2302.  
  2303. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2304. wait 0.20 seconds
  2305.  
  2306. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2307. wait 0.20 seconds
  2308.  
  2309. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2310. wait 0.20 seconds
  2311.  
  2312. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2313. wait 0.20 seconds
  2314.  
  2315. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2316. wait 0.20 seconds
  2317.  
  2318. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2319. wait 0.20 seconds
  2320.  
  2321. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2322. wait 0.20 seconds
  2323.  
  2324. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2325. set {vinder.coinflip.15} to a random integer between 1 and 2
  2326. if {vinder.coinflip.15} is 1:
  2327. wait 0.20 seconds
  2328. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2329.  
  2330. wait 2 ticks
  2331. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.15.bet}%&8) &eover &6%{coinflip.plads.15}% &ei et &6Coinflip!"
  2332. add {coinflip.plads.15.bet} to player's balance
  2333. add {coinflip.plads.15.bet} to player's balance
  2334. set {coinflip.status.15} to "&cFÆRDIG"
  2335. delete {coinflip.ingame.%{coinflip.plads.15}%}
  2336. delete {coinflip.plads.15}
  2337. delete {vinder.coinflip.15}
  2338. delete {coinflip.ingame.%{coinflip.plads.15}%}
  2339.  
  2340. close player's inventory
  2341. stop
  2342. if {vinder.coinflip.15} is 2:
  2343. wait 0.20 seconds
  2344. format slot 4 of player with skull of {coinflip.plads.15} named "&6&l%{coinflip.plads.15}%" to be unstealable
  2345.  
  2346. wait 2 ticks
  2347. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.15}% &ehar lige vundet &8(&6$%{coinflip.plads.15.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  2348. add {coinflip.plads.15.bet} to {coinflip.plads.15}'s balance
  2349. add {coinflip.plads.15.bet} to {coinflip.plads.15}'s balance
  2350. set {coinflip.status.15} to "&cFÆRDIG"
  2351. delete {coinflip.ingame.%{coinflip.plads.15}%}
  2352. delete {coinflip.plads.15}
  2353. delete {vinder.coinflip.15}
  2354. delete {coinflip.ingame.%{coinflip.plads.15}%}
  2355.  
  2356. close player's inventory
  2357. stop
  2358.  
  2359. if arg-1 is "16":
  2360. if {coinflip.plads.16} is not command sender:
  2361. if {coinflip.plads.16} is set:
  2362. if {coinflip.plads.16} is set:
  2363. if player's balance is more than or equal to {coinflip.plads.16.bet}:
  2364. set {coinflip.status.16} to "&aIGANG"
  2365. remove {coinflip.plads.16.bet} from player's balance
  2366. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.16}%"
  2367. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.16}
  2368. wait 2 ticks
  2369. open chest with 1 rows named "&6&lCOINFLIP" to player
  2370. wait 0.05 seconds
  2371. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2372. wait 0.20 seconds
  2373.  
  2374. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2375. wait 0.20 seconds
  2376. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2377. wait 0.20 seconds
  2378.  
  2379. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2380. wait 0.20 seconds
  2381. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2382. wait 0.20 seconds
  2383.  
  2384. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2385. wait 0.20 seconds
  2386.  
  2387. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2388. wait 0.20 seconds
  2389.  
  2390. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2391. wait 0.20 seconds
  2392.  
  2393. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2394. wait 0.20 seconds
  2395.  
  2396. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2397. wait 0.20 seconds
  2398.  
  2399. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2400. wait 0.20 seconds
  2401.  
  2402. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2403. wait 0.20 seconds
  2404.  
  2405. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2406. wait 0.20 seconds
  2407.  
  2408. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2409. wait 0.20 seconds
  2410.  
  2411. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2412. set {vinder.coinflip.16} to a random integer between 1 and 2
  2413. if {vinder.coinflip.16} is 1:
  2414. wait 0.20 seconds
  2415. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2416.  
  2417. wait 2 ticks
  2418. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.16.bet}%&8) &eover &6%{coinflip.plads.16}% &ei et &6Coinflip!"
  2419. add {coinflip.plads.16.bet} to player's balance
  2420. add {coinflip.plads.16.bet} to player's balance
  2421. set {coinflip.status.16} to "&cFÆRDIG"
  2422. delete {coinflip.ingame.%{coinflip.plads.16}%}
  2423. delete {coinflip.plads.16}
  2424. delete {vinder.coinflip.16}
  2425. delete {coinflip.ingame.%{coinflip.plads.16}%}
  2426.  
  2427. close player's inventory
  2428. stop
  2429. if {vinder.coinflip.16} is 2:
  2430. wait 0.20 seconds
  2431. format slot 4 of player with skull of {coinflip.plads.16} named "&6&l%{coinflip.plads.16}%" to be unstealable
  2432.  
  2433. wait 2 ticks
  2434. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.16}% &ehar lige vundet &8(&6$%{coinflip.plads.16.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  2435. add {coinflip.plads.16.bet} to {coinflip.plads.16}'s balance
  2436. add {coinflip.plads.16.bet} to {coinflip.plads.16}'s balance
  2437. set {coinflip.status.16} to "&cFÆRDIG"
  2438. delete {coinflip.ingame.%{coinflip.plads.16}%}
  2439. delete {coinflip.plads.16}
  2440. delete {vinder.coinflip.16}
  2441. delete {coinflip.ingame.%{coinflip.plads.16}%}
  2442.  
  2443. close player's inventory
  2444. stop
  2445.  
  2446. if arg-1 is "17":
  2447. if {coinflip.plads.17} is not command sender:
  2448. if {coinflip.plads.17} is set:
  2449. if {coinflip.plads.17} is set:
  2450. if player's balance is more than or equal to {coinflip.plads.17.bet}:
  2451. set {coinflip.status.17} to "&aIGANG"
  2452. remove {coinflip.plads.17.bet} from player's balance
  2453. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.17}%"
  2454. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.17}
  2455. wait 2 ticks
  2456. open chest with 1 rows named "&6&lCOINFLIP" to player
  2457. wait 0.05 seconds
  2458. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2459. wait 0.20 seconds
  2460.  
  2461. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2462. wait 0.20 seconds
  2463. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2464. wait 0.20 seconds
  2465.  
  2466. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2467. wait 0.20 seconds
  2468. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2469. wait 0.20 seconds
  2470.  
  2471. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2472. wait 0.20 seconds
  2473.  
  2474. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2475. wait 0.20 seconds
  2476.  
  2477. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2478. wait 0.20 seconds
  2479.  
  2480. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2481. wait 0.20 seconds
  2482.  
  2483. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2484. wait 0.20 seconds
  2485.  
  2486. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2487. wait 0.20 seconds
  2488.  
  2489. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2490. wait 0.20 seconds
  2491.  
  2492. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2493. wait 0.20 seconds
  2494.  
  2495. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2496. wait 0.20 seconds
  2497.  
  2498. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2499. set {vinder.coinflip.17} to a random integer between 1 and 2
  2500. if {vinder.coinflip.17} is 1:
  2501. wait 0.20 seconds
  2502. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2503.  
  2504. wait 2 ticks
  2505. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.17.bet}%&8) &eover &6%{coinflip.plads.17}% &ei et &6Coinflip!"
  2506. add {coinflip.plads.17.bet} to player's balance
  2507. add {coinflip.plads.17.bet} to player's balance
  2508. set {coinflip.status.17} to "&cFÆRDIG"
  2509. delete {coinflip.ingame.%{coinflip.plads.17}%}
  2510. delete {coinflip.plads.17}
  2511. delete {vinder.coinflip.17}
  2512. delete {coinflip.ingame.%{coinflip.plads.17}%}
  2513.  
  2514. close player's inventory
  2515. stop
  2516. if {vinder.coinflip.17} is 2:
  2517. wait 0.20 seconds
  2518. format slot 4 of player with skull of {coinflip.plads.17} named "&6&l%{coinflip.plads.17}%" to be unstealable
  2519.  
  2520. wait 2 ticks
  2521. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.17}% &ehar lige vundet &8(&6$%{coinflip.plads.17.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  2522. add {coinflip.plads.17.bet} to {coinflip.plads.17}'s balance
  2523. add {coinflip.plads.17.bet} to {coinflip.plads.17}'s balance
  2524. set {coinflip.status.17} to "&cFÆRDIG"
  2525. delete {coinflip.ingame.%{coinflip.plads.17}%}
  2526. delete {coinflip.plads.17}
  2527. delete {vinder.coinflip.17}
  2528. delete {coinflip.ingame.%{coinflip.plads.17}%}
  2529.  
  2530. close player's inventory
  2531. stop
  2532.  
  2533.  
  2534. if arg-1 is "18":
  2535. if {coinflip.plads.18} is not command sender:
  2536. if {coinflip.plads.18} is set:
  2537. if {coinflip.plads.18} is set:
  2538. if player's balance is more than or equal to {coinflip.plads.18.bet}:
  2539. set {coinflip.status.18} to "&aIGANG"
  2540. remove {coinflip.plads.18.bet} from player's balance
  2541. message "&6&lCOINFLIP &8» &eDu har joined et &6Coinflip &emod &6&l%{coinflip.plads.18}%"
  2542. send "&6&LCOINFLIP &8» &6&l%player% &ehar lige joined dit &6Coinflip" to {coinflip.plads.18}
  2543. wait 2 ticks
  2544. open chest with 1 rows named "&6&lCOINFLIP" to player
  2545. wait 0.05 seconds
  2546. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2547. wait 0.20 seconds
  2548.  
  2549. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2550. wait 0.20 seconds
  2551. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2552. wait 0.20 seconds
  2553.  
  2554. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2555. wait 0.20 seconds
  2556. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2557. wait 0.20 seconds
  2558.  
  2559. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2560. wait 0.20 seconds
  2561.  
  2562. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2563. wait 0.20 seconds
  2564.  
  2565. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2566. wait 0.20 seconds
  2567.  
  2568. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2569. wait 0.20 seconds
  2570.  
  2571. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2572. wait 0.20 seconds
  2573.  
  2574. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2575. wait 0.20 seconds
  2576.  
  2577. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2578. wait 0.20 seconds
  2579.  
  2580. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2581. wait 0.20 seconds
  2582.  
  2583. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2584. wait 0.20 seconds
  2585.  
  2586. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2587. set {vinder.coinflip.18} to a random integer between 1 and 2
  2588. if {vinder.coinflip.18} is 1:
  2589. wait 0.20 seconds
  2590. format slot 4 of player with skull of player named "&6&l%player%" to be unstealable
  2591.  
  2592. wait 2 ticks
  2593. broadcast "&6&lCOINFLIP &8» &6%player% &ehar lige vundet &8(&6$%{coinflip.plads.18.bet}%&8) &eover &6%{coinflip.plads.18}% &ei et &6Coinflip!"
  2594. add {coinflip.plads.18.bet} to player's balance
  2595. add {coinflip.plads.18.bet} to player's balance
  2596. set {coinflip.status.18} to "&cFÆRDIG"
  2597. delete {coinflip.ingame.%{coinflip.plads.18}%}
  2598. delete {coinflip.plads.18}
  2599. delete {vinder.coinflip.18}
  2600. close player's inventory
  2601. delete {coinflip.ingame.%{coinflip.plads.18}%}
  2602. stop
  2603. if {vinder.coinflip.18} is 2:
  2604. wait 0.20 seconds
  2605. format slot 4 of player with skull of {coinflip.plads.18} named "&6&l%{coinflip.plads.18}%" to be unstealable
  2606.  
  2607. wait 2 ticks
  2608. broadcast "&6&lCOINFLIP &8» &6%{coinflip.plads.18}% &ehar lige vundet &8(&6$%{coinflip.plads.18.bet}%&8) &eover &6%player% &ei et &6Coinflip!"
  2609. add {coinflip.plads.18.bet} to {coinflip.plads.18}'s balance
  2610. add {coinflip.plads.18.bet} to {coinflip.plads.18}'s balance
  2611. set {coinflip.status.18} to "&cFÆRDIG"
  2612. delete {coinflip.ingame.%{coinflip.plads.18}%}
  2613. delete {coinflip.plads.18}
  2614. delete {vinder.coinflip.18}
  2615. delete {coinflip.ingame.%{coinflip.plads.18}%}
  2616. close player's inventory
  2617. stop
  2618. Else:
  2619. send "&6&lCOINFLIP &8» &eDu har ikke nok penge!"
  2620. Else:
  2621. send "&6&lCOINFLIP &8» &eDu kan ikke joine dit eget &6Coinflip!"
  2622.  
  2623.  
  2624. Command /resetcoinflip:
  2625. permission: *
  2626. trigger:
  2627. loop all players:
  2628. set {coinflip.ingame.%loop-player%} to 1
  2629.  
  2630. Command /resetcoinflipplayer [<offline player>]:
  2631. permission: *
  2632. trigger:
  2633. set {coinflip.ingame.%%} to 1
  2634.  
  2635. #every minute:
  2636. #loop all players:
  2637. #set {coinflip.ingame.%loop-player%} to 1
  2638.  
  2639.  
  2640.  
  2641. Command /opdatercoinflip:
  2642. trigger:
  2643. send "&6&lCOINFLIP &8» &eDu har opdateret siden!"
Advertisement
Add Comment
Please, Sign In to add comment