SHARE
TWEET

My script.php

a guest Mar 29th, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
  205. RAW Paste Data
  206. --[[ Some Settings --]]
  207. local Aura_Range = 200 -- Edit here
  208. local AmountOfDamage = 20 -- Edit here for insta destroy
  209.  
  210. --[[ Keybind Settings --]]
  211. --[[
  212. Q - Insta Destroy
  213. E - Level Farm
  214. V - Kill Aura
  215. --]]
  216.  
  217. warn("Don't forget to leave a vouch on our official v3rmillion thread!")
  218. warn("Insta Destroy Script loaded! Press q where your mouse is to use it!")
  219. warn("Level Farm Script loaded! Press e (you can't stop it after started by the way!)")
  220. warn("Kill Aura Script loaded! Press v, you're in a range of " .. Aura_Range .. " blocks.")
  221. warn("Bypassed again by Hamii")
  222. warn("Made by Hamii/Tritium and Floof <3")
  223.  
  224. local Player = game:GetService("Players").LocalPlayer
  225. local Mouse = Player:GetMouse()
  226. local Folder = workspace.Critters
  227.  
  228. local Damage = function(Part)
  229. pcall(function()
  230.     local A = Part
  231.     local B = Part.Position
  232.     local C = {
  233.         owned = true,
  234.         origin = Player.Character.Head.Position,
  235.         position = Part.Position,
  236.         velocity = Player.Character.Head.CFrame.lookVector * Vector3.new(500, 100, 500),
  237.         acceleration = Vector3.new(0, -156.2, 0),
  238.         age = os.time(),
  239.         toolFrom = "Magnetite Crossbow",
  240.         object = game:GetService("ReplicatedStorage").Projectiles:findFirstChild("Bolt")
  241.     }
  242.     local D = (Player.Character.Head.Position - Part.Position).magnitude
  243.     game:GetService("ReplicatedStorage").Events.DequipCosmetic:FireServer(A, B, C, D)
  244. end)
  245. end
  246.  
  247. Mouse.KeyUp:connect(function(key)
  248.     if key == "q" then
  249.     --warn("Pressed q, Insta Destroy made by Hamii/Tritium and Floof")
  250.         for i = 1, AmountOfDamage do
  251.             if Mouse.Target and Mouse.Target.ClassName ~= "Terrain" then
  252.                 Damage(Mouse.Target)
  253.             end
  254.         end
  255.     end
  256. end)
  257.  
  258. Mouse.KeyUp:connect(function(key)
  259.     if key == "e" then
  260.     --warn("Pressed e, Level Farm made by Hamii/Tritium and Floof")      
  261. while wait() do
  262.     for i,v in pairs(workspace:GetChildren()) do
  263.         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
  264.             for i,v in pairs(v:GetChildren()) do
  265.                 if v.ClassName == "Part" or v.ClassName == "Union" then
  266.                     spawn(function()
  267.                     for i = 1, 50 do
  268.                         Damage(v)
  269.                         wait()
  270.                     end
  271.                     end)
  272.                 end
  273.             end
  274.         elseif v:findFirstChild("PrimaryPart") then
  275.             spawn(function()
  276.                 for i = 1, 50 do
  277.                     Damage(v.PrimaryPart)
  278.                     wait()
  279.                 end
  280.             end)
  281.         elseif game:GetService("Players"):GetPlayerFromCharacter(v) then
  282.             spawn(function()
  283.             for i = 1, 50 do
  284.                 Damage(v.Head)
  285.                 wait()
  286.             end
  287.             end)
  288.         end
  289.     end
  290. end
  291. end
  292. end)
  293.  
  294. local orange = function(part, strength)
  295.     if part:IsDescendantOf(Player.Character) then return nil end
  296.     if part and part.Parent and part.Parent.Parent then
  297.         if part.Parent:findFirstChild("Head") then
  298.             for i = 1, 5 * strength do
  299.                 Damage(part.Parent.Head)
  300.             end
  301.         elseif part.Parent.Parent:findFirstChild("Head") then
  302.             for i = 1, 5 * strength do
  303.                 Damage(part.Parent.Parent.Head)
  304.             end
  305.         else
  306.             if part.Parent ~= workspace then
  307.                 for i,v in pairs(part.Parent:GetChildren()) do
  308.                     if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  309.                         for i = 1, 2.5 * strength do
  310.                             Damage(v)
  311.                         end
  312.                     end
  313.                 end
  314.             end
  315.         end
  316.         for i = 1, 2.5 * strength do
  317.             Damage(part)
  318.         end
  319.     end
  320. end
  321.  
  322. local myPos = function()
  323.     return Player.Character.HumanoidRootPart.Position
  324. end
  325.  
  326. Mouse.KeyDown:connect(function(key)
  327.     if key == "v" then
  328. --warn("Pressed v, Kill Aura made by Floof and bypassed by Hamii!")
  329.         for i, v in pairs(workspace.Critters:GetChildren()) do
  330.             if v:findFirstChild("HumanoidRootPart") then
  331.                 local Pos = v.HumanoidRootPart.Position
  332.                 local Distance = (Pos - myPos()).magnitude
  333.                 if Distance <= Aura_Range then
  334.                     orange(v.HumanoidRootPart, 8)
  335.                 end
  336.             elseif v:findFirstChild("Torso")  then
  337.                 local Pos = v.Torso.Position
  338.                 local Distance = (Pos - myPos()).magnitude
  339.                 if Distance <= Aura_Range then
  340.                     orange(v.Torso, 8)
  341.                 end
  342.             else
  343.                 local Part = nil
  344.                 for i,v in pairs(v:GetChildren()) do
  345.                     if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  346.                         Part = v
  347.                     end
  348.                 end
  349.                 if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  350.                     Part = v
  351.                 end
  352.                 if Part then
  353.                     orange(Part, 14)
  354.                 end
  355.             end
  356.         end
  357.         wait()
  358.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  359.             if v ~= Player and v.Character then
  360.                 local HRP = v.Character:findFirstChild("HumanoidRootPart")
  361.                 if HRP then
  362.                     local Distance = (HRP.Position - myPos()).magnitude
  363.                     if Distance <= Aura_Range then
  364.                         orange(HRP, 15)
  365.                     end
  366.                 end
  367.             end
  368.         end
  369.         wait()
  370.         for i,v in pairs(workspace:GetChildren()) do
  371.             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
  372.                 local Part = nil
  373.                 for i,v in pairs(v:GetChildren()) do
  374.                     if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  375.                         Part = v
  376.                     end
  377.                 end
  378.                 if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  379.                     Part = v
  380.                 end
  381.                 if Part then
  382.                     local Distance = (Part.Position - myPos()).magnitude
  383.                     if Distance <= Aura_Range then
  384.                         orange(Part, 7)
  385.                     end
  386.                 end
  387.             end
  388.         end
  389.         for i,v in pairs(workspace.Deployables:GetChildren()) do
  390.             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
  391.                 local Part = nil
  392.                 for i,v in pairs(v:GetChildren()) do
  393.                     if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  394.                         Part = v
  395.                     end
  396.                 end
  397.                 if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
  398.                     Part = v
  399.                 end
  400.                 if Part then
  401.                     local Distance = (Part.Position - myPos()).magnitude
  402.                     if Distance <= Aura_Range then
  403.                         orange(Part, 7)
  404.                     end
  405.                 end
  406.             end
  407.         end
  408.     end
  409. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top