Caldona

Instant Kill W/ Lvl Auto Farm

Apr 15th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. --[[ Some Settings --]]
  2. local Aura_Range = 200 -- Edit here
  3. local AmountOfDamage = 20 -- Edit here for insta destroy
  4.  
  5. --[[ Keybind Settings --]]
  6. --[[
  7. Q - Insta Destroy
  8. E - Level Farm
  9. V - Kill Aura
  10. --]]
  11.  
  12. warn("Don't forget to leave a vouch on our official v3rmillion thread!")
  13. warn("Insta Destroy Script loaded! Press q where your mouse is to use it!")
  14. warn("Level Farm Script loaded! Press e (you can't stop it after started by the way!)")
  15. warn("Kill Aura Script loaded! Press v, you're in a range of " .. Aura_Range .. " blocks.")
  16. warn("Bypassed again by Hamii")
  17. warn("Made by Hamii/Tritium and Floof <3")
  18.  
  19. local Player = game:GetService("Players").LocalPlayer
  20. local Mouse = Player:GetMouse()
  21. local Folder = workspace.Critters
  22.  
  23. local Damage = function(Part)
  24. pcall(function()
  25. local A = Part
  26. local B = Part.Position
  27. local C = {
  28. owned = true,
  29. origin = Player.Character.Head.Position,
  30. position = Part.Position,
  31. velocity = Player.Character.Head.CFrame.lookVector * Vector3.new(500, 100, 500),
  32. acceleration = Vector3.new(0, -156.2, 0),
  33. age = os.time(),
  34. toolFrom = "Magnetite Crossbow",
  35. object = game:GetService("ReplicatedStorage").Projectiles:findFirstChild("Bolt")
  36. }
  37. local D = (Player.Character.Head.Position - Part.Position).magnitude
  38. game:GetService("ReplicatedStorage").Events.DequipCosmetic:FireServer(A, B, C, D)
  39. end)
  40. end
  41.  
  42. Mouse.KeyUp:connect(function(key)
  43. if key == "q" then
  44. --warn("Pressed q, Insta Destroy made by Hamii/Tritium and Floof")
  45. for i = 1, AmountOfDamage do
  46. if Mouse.Target and Mouse.Target.ClassName ~= "Terrain" then
  47. Damage(Mouse.Target)
  48. end
  49. end
  50. end
  51. end)
  52.  
  53. Mouse.KeyUp:connect(function(key)
  54. if key == "e" then
  55. --warn("Pressed e, Level Farm made by Hamii/Tritium and Floof")
  56. while wait() do
  57. for i,v in pairs(workspace:GetChildren()) do
  58. if string.find(v.Name:lower(), "bush") or string.find(v.Name:lower(), "tree") or string.find(v.Name:lower(), "ice") or string.find(v.Name:lower(), "rock") then
  59. for i,v in pairs(v:GetChildren()) do
  60. if v.ClassName == "Part" or v.ClassName == "Union" then
  61. spawn(function()
  62. for i = 1, 50 do
  63. Damage(v)
  64. wait()
  65. end
  66. end)
  67. end
  68. end
  69. elseif v:findFirstChild("PrimaryPart") then
  70. spawn(function()
  71. for i = 1, 50 do
  72. Damage(v.PrimaryPart)
  73. wait()
  74. end
  75. end)
  76. elseif game:GetService("Players"):GetPlayerFromCharacter(v) then
  77. spawn(function()
  78. for i = 1, 50 do
  79. Damage(v.Head)
  80. wait()
  81. end
  82. end)
  83. end
  84. end
  85. end
  86. end
  87. end)
  88.  
  89. local orange = function(part, strength)
  90. if part:IsDescendantOf(Player.Character) then return nil end
  91. if part and part.Parent and part.Parent.Parent then
  92. if part.Parent:findFirstChild("Head") then
  93. for i = 1, 5 * strength do
  94. Damage(part.Parent.Head)
  95. end
  96. elseif part.Parent.Parent:findFirstChild("Head") then
  97. for i = 1, 5 * strength do
  98. Damage(part.Parent.Parent.Head)
  99. end
  100. else
  101. if part.Parent ~= workspace then
  102. for i,v in pairs(part.Parent:GetChildren()) do
  103. if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  104. for i = 1, 2.5 * strength do
  105. Damage(v)
  106. end
  107. end
  108. end
  109. end
  110. end
  111. for i = 1, 2.5 * strength do
  112. Damage(part)
  113. end
  114. end
  115. end
  116.  
  117. local myPos = function()
  118. return Player.Character.HumanoidRootPart.Position
  119. end
  120.  
  121. Mouse.KeyDown:connect(function(key)
  122. if key == "v" then
  123. --warn("Pressed v, Kill Aura made by Floof and bypassed by Hamii!")
  124. for i, v in pairs(workspace.Critters:GetChildren()) do
  125. if v:findFirstChild("HumanoidRootPart") then
  126. local Pos = v.HumanoidRootPart.Position
  127. local Distance = (Pos - myPos()).magnitude
  128. if Distance <= Aura_Range then
  129. orange(v.HumanoidRootPart, 8)
  130. end
  131. elseif v:findFirstChild("Torso") then
  132. local Pos = v.Torso.Position
  133. local Distance = (Pos - myPos()).magnitude
  134. if Distance <= Aura_Range then
  135. orange(v.Torso, 8)
  136. end
  137. else
  138. local Part = nil
  139. for i,v in pairs(v:GetChildren()) do
  140. if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  141. Part = v
  142. end
  143. end
  144. if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  145. Part = v
  146. end
  147. if Part then
  148. orange(Part, 14)
  149. end
  150. end
  151. end
  152. wait()
  153. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  154. if v ~= Player and v.Character then
  155. local HRP = v.Character:findFirstChild("HumanoidRootPart")
  156. if HRP then
  157. local Distance = (HRP.Position - myPos()).magnitude
  158. if Distance <= Aura_Range then
  159. orange(HRP, 15)
  160. end
  161. end
  162. end
  163. end
  164. wait()
  165. for i,v in pairs(workspace:GetChildren()) do
  166. if string.find(v.Name:lower(), "bush") or string.find(v.Name:lower(), "ice") or string.find(v.Name:lower(), "tree") or string.find(v.Name:lower(), "node") or string.find(v.Name:lower(), "wall") or string.find(v.Name:lower(), "stone") or string.find(v.Name:lower(), "mound") or string.find(v.Name:lower(), "rope") or v:findFirstChild("PrimaryPart") or v:findFirstChild("Health") or v:findFirstChild("Torso") or v:findFirstChild("HitShell") then
  167. local Part = nil
  168. for i,v in pairs(v:GetChildren()) do
  169. if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  170. Part = v
  171. end
  172. end
  173. if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  174. Part = v
  175. end
  176. if Part then
  177. local Distance = (Part.Position - myPos()).magnitude
  178. if Distance <= Aura_Range then
  179. orange(Part, 7)
  180. end
  181. end
  182. end
  183. end
  184. for i,v in pairs(workspace.Deployables:GetChildren()) do
  185. if string.find(v.Name:lower(), "wall") or string.find(v.Name:lower(), "gate") or string.find(v.Name:lower(), "raft") or string.find(v.Name:lower(), "boat") or string.find(v.Name:lower(), "hut") or string.find(v.Name:lower(), "Health") or v:findFirstChild("PrimaryPart") or v:findFirstChild("Torso") then
  186. local Part = nil
  187. for i,v in pairs(v:GetChildren()) do
  188. if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  189. Part = v
  190. end
  191. end
  192. if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  193. Part = v
  194. end
  195. if Part then
  196. local Distance = (Part.Position - myPos()).magnitude
  197. if Distance <= Aura_Range then
  198. orange(Part, 7)
  199. end
  200. end
  201. end
  202. end
  203. end
  204. end)
Add Comment
Please, Sign In to add comment