itchyscrotum611

spin farm elemental grind game

May 5th, 2020
1,427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.18 KB | None | 0 0
  1. _G.AutoSpin = true
  2. _G.FarmOnSuccess = true
  3. local GoodElements = {"Dragon","Heaven's Wrath","Acceleration","Arc of the Elements","Solar","Phoenix","Hydra","Lunar","Sound"}
  4.  
  5.  
  6. local l__Player__1 = game.Players.LocalPlayer;
  7. local yourClient = game.ReplicatedStorage:WaitForChild(l__Player__1.UserId .. "Client");
  8. local moves = {}
  9. function fire_Move(move)
  10. yourClient.StartMove:FireServer(move)
  11. wait()
  12. yourClient.EndMove:FireServer(move)
  13. wait()
  14. end
  15. local function has_value (tab, val)
  16. for index, value in ipairs(tab) do
  17. if value == val then
  18. return true
  19. end
  20. end
  21. return false
  22. end
  23. while _G.AutoSpin == true do
  24. local Spins = game.ReplicatedStorage.Client.GetSpins:InvokeServer()
  25. local WhosThatElement = game.ReplicatedStorage.Client.GetElement:InvokeServer()
  26. if WhosThatElement == "Fire" then
  27. moves = {"Flaming Pillars","Inferno Barrage","Blazing Fist","Flame Eruption"}
  28. elseif WhosThatElement == "Water" then
  29. moves = {"Aquatic Burst","Hydro Barrier","Geyser","Water Entrapment"}
  30. elseif WhosThatElement == "Dark" then
  31. moves = {"Dark Burst","Dark Volley","Dim Cloak","Dark Palm"}
  32. elseif WhosThatElement == "Phoenix" then
  33. moves = {"Phoenix Screech","Flame Armor","Blazing Shell","Phoenix Form","Rain Of Fire","Ash Revival"}
  34. elseif WhosThatElement == "Mechanization" then
  35. moves = {"Mechanical Claw Slicer","Electromagnetic Release","Rocket Boost","Piercing Shots","Electromagnetic Pull"}
  36. elseif WhosThatElement == "Nova" then
  37. moves = {"Nova Blade","Nova Bombs","Nova Beam","Bright Star"}
  38. elseif WhosThatElement == "Dragon" then
  39. moves = {"Flame Breath","Dragon's Form","Dragon's Roar","Flame Wing Burst","Flame Shots"}
  40. elseif WhosThatElement == "Poison" then
  41. moves = {"Poisonous Breath","Plague","Corrosive Path","Poison Aura"}
  42. elseif WhosThatElement == "Lunar" then
  43. moves = {"Moonlight","Midnight Warp","Lunar Drop","Lunar Aura","Midnight Beam"}
  44. elseif WhosThatElement == "Cosmic" then
  45. moves = {"Meteor Shower","Asteroid","Cosmic Beam","Black Hole"}
  46. elseif WhosThatElement == "Sand" then
  47. moves = {"Sand Armor","Dust Devil","Sand Snare","Sandstorm"}
  48. elseif WhosThatElement == "Light" then
  49. moves = {"Light Bomb","Light Bombardment","Bright Cloak","Light Bringer"}
  50. elseif WhosThatElement == "Ice" then
  51. moves = {"Arctic Step","Frozen Spears","Freeze","Frozen Zone","IceSpike"}
  52. elseif WhosThatElement == "Hydra" then
  53. moves = {"Hydra Barrage","Immortal Pull","Green Flame Pillars","Hydra Leap"}
  54. elseif WhosThatElement == "Lightning" then
  55. moves = {"Bolt","Electric Current","Storm","Lightning Bolt Rain"}
  56. elseif WhosThatElement == "Neon" then
  57. moves = {"Neon Travel"}
  58. elseif WhosThatElement == "Wood" then
  59. moves = {"Root Creation","Root","Seed Barrage","Wooden Impalement","Root System","Wooden Wall","Tree Creation"}
  60. elseif WhosThatElement == "Earth" then
  61. moves = {"Earth Tremor","Earth Wall","Earth Shards","Relentless Crush","Earth Pillar Launch"}
  62. elseif WhosThatElement == "Wind" then
  63. moves = {"Tornado","Wind Hop","Hurricane","Wind Current"}
  64. elseif WhosThatElement == "Acceleration" then
  65. moves = {"Acceleration Leap","Acceleration Bullet","Accelerated Force","Accelerated Combat","Devastating Impact"}
  66. elseif WhosThatElement == "Explosion" then
  67. moves = {"Explosive Blast","Incendiary Burst","Remote Detonation","Eruptive Dash"}
  68. elseif WhosThatElement == "Solar" then
  69. moves = {"Solar Energy","Sun Ray","Solar Aura","Solar Drop","Blazing Sun"}
  70. elseif WhosThatElement == "Zeus" then
  71. moves = {"Almighty Bolt","God Ascension","Smite","God Current"}
  72. elseif WhosThatElement == "Heaven's Wrath" then
  73. moves = {"God's Release","Judgement","Heaven's Taker","Heaven's Beads","Heavenly Formation","Affliction"}
  74. elseif WhosThatElement == "Arc Of The Elements" then
  75. moves = {"Multi-element Barrage"}
  76. elseif WhosThatElement == "Metal" then
  77. moves = {"Metal Fist","Metal Shard Volley","Metal Spike Uproar","Metal Spike Slam"}
  78. elseif WhosThatElement == "Blood" then
  79. moves = {"Bloodshot","Siphon","Replenishing Release","Bloodstream"}
  80. elseif WhosThatElement == "Lava" then
  81. moves = {"Obsidian Case","Volcanic Pillars","Eruption","Infernal Lift","Ring Of Fire"}
  82. elseif WhosThatElement == "Sound" then
  83. moves = {"Amplify","Snap Augmentation","Sound Crush","Sound Cloak"}
  84. end
  85. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  86. wait(10)
  87. game.ReplicatedStorage.Client.Intro:InvokeServer()
  88. for i=1,100 do
  89. for i=1,table.getn(moves) do
  90. fire_Move(moves[i])
  91. end
  92. end
  93. if has_value(GoodElements, WhosThatElement) then
  94. _G.AutoSpin = false
  95. print("Match Found: ",WhosThatElement,"-",Spins,"Spins")
  96. if _G.FarmAfterSuccess == true then
  97. print("Starting AutoFarm...")
  98. end
  99. while _G.FarmOnSuccess == true do
  100. for i=1,table.getn(moves) do
  101. fire_Move(moves[i])
  102. end
  103. end
  104. else
  105. print(WhosThatElement,": No Match - Spinning Again -",Spins,"Spins")
  106. game.ReplicatedStorage.Client.Spin:InvokeServer()
  107. end
  108. wait(0.1)
  109. end
Add Comment
Please, Sign In to add comment