chrisinator66

Untitled

May 11th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. local Iron = 0
  2. local Coal = 0
  3. local Copper = 0
  4. local Silver = 0
  5. local Ruby = 0
  6. local Sapphire = 0
  7. local Emerald = 0
  8. local Sulfur = 0
  9. local Gold = 0
  10. local Diamond = 0
  11. local Opal = 0
  12. local Uranium = 0
  13. local Moonstone = 0
  14. local Topaz = 0
  15. local Unobtainium = 0
  16. local Plutonium = 0
  17. local Illuminunium = 0
  18. local Amethyst = 0
  19. local Dragonglass = 0
  20. local Rainbonite = 0
  21. local Serendibite = 0
  22. local Painite = 0
  23. local Kappa = 0
  24. local Boomite = 0
  25. local Ambrosia = 0
  26. local Twitchite = 0
  27. local Platinum = 0
  28. local Twitchite = 0
  29. local Mithril = 0
  30. local Garnet = 0
  31. local Azure = 0
  32.  
  33. for i,v in pairs(game.Workspace.Mine:GetChildren()) do
  34. if v.Name == "Iron" then
  35. Iron = Iron+1
  36. elseif v.Name == "Coal" then
  37. Coal = Coal+1
  38. elseif v.Name == "Copper" then
  39. Copper = Copper+1
  40. elseif v.Name == "Silver" then
  41. Silver = Silver+1
  42. elseif v.Name == "Ruby" then
  43. Ruby = Ruby+1
  44. elseif v.Name == "Sapphire" then
  45. Sapphire = Sapphire+1
  46. elseif v.Name == "Emerald" then
  47. Emerald = Emerald+1
  48. elseif v.Name == "Sulfur" then
  49. Sulfur = Sulfur+1
  50. elseif v.Name == "Gold" then
  51. Gold = Gold+1
  52. elseif v.Name == "Diamond" then
  53. Diamond = Diamond+1
  54. elseif v.Name == "Opal" then
  55. Opal = Opal+1
  56. elseif v.Name == "Uranium" then
  57. Uranium = Uranium+1
  58. elseif v.Name == "Moonstone" then
  59. Moonstone = Moonstone+1
  60. elseif v.Name == "Topaz" then
  61. Topaz = Topaz+1
  62. elseif v.Name == "Unobtainium" then
  63. Unobtainium = Unobtainium+1
  64. elseif v.Name == "Plutonium" then
  65. Plutionium = Plutonium+1
  66. elseif v.Name == "Illuminunium" then
  67. Illuminunium = Illuminunium+1
  68. elseif v.Name == "Amethyst" then
  69. Amethyst = Amethyst+1
  70. elseif v.Name == "Dragonglass" then
  71. Dragonglass = Dragonglass+1
  72. elseif v.Name == "Rainbonite" then
  73. Rainbonite = Rainbonite+1
  74. elseif v.Name == "Serendibite" then
  75. Serendibite = Serendibite+1
  76. elseif v.Name == "Painite" then
  77. Painite = Painite+1
  78. elseif v.Name == "Kappa" then
  79. Kappa = Kappa+1
  80. elseif v.Name == "Boomite" then
  81. Boomite = Boomite+1
  82. elseif v.Name == "Ambrosia" then
  83. Ambrosia = Ambrosia+1
  84. elseif v.Name == "Twitchite" then
  85. Twitchite = Twitchite+1
  86. elseif v.Name == "Platinum" then
  87. Platinum = Platinum+1
  88. elseif v.Name == "Mithril" then
  89. Mithril = Mithril+1
  90. elseif v.Name == "Garnet" then
  91. Garnet = Garnet+1
  92. elseif v.Name == "Azure" then
  93. Azure = Azure+1
  94. end
  95. end
  96. Wait(2)
  97. print("Iron =", Iron)
  98. print("Coal =", Coal)
  99. print("Copper =", Copper)
  100. print("Silver =", Silver)
  101. print("Ruby =", Ruby)
  102. print("Sapphire =", Sapphire)
  103. print("Emerald =", Emerald)
  104. print("Sulfur =", Sulfur)
  105. print("Gold =", Gold)
  106. print("Diamond =", Diamond)
  107. print("Opal =", Opal)
  108. print("Uranium =", Uranium)
  109. print("Moonstone =", Moonstone)
  110. print("Baryte =", Baryte)
  111. print("Topaz =", Topaz)
  112. print("Unobtainium =", Unobtainium)
  113. print("Plutonium =", Plutonium)
  114. print("Illuminunium =", Illuminunium)
  115. print("Amethyst =", Amethyst)
  116. print("Dragonglass =", Dragonglass)
  117. print("Rainbonite =", Rainbonite)
  118. print("Serendibite =", Serendibite)
  119. print("Azure =", Azure)
  120. print("Painite =", Painite)
  121. print("Kappa =", Kappa)
  122. print("Boomite =", Boomite)
  123. print("Ambrosia =", Ambrosia)
  124. print("Twitchite =", Twitchite)
  125. print("Platinum =", Platinum)
  126. print("Mithril =", Mithril)
  127. print("Garnet =", Garnet)
Advertisement
Add Comment
Please, Sign In to add comment