Advertisement
Caldona

Instant Kill In Booga Booga

Apr 14th, 2018
13,117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. print("Insta Destroy Script loaded! Press e where your mouse is to use it!")
  2. warn("Made by Hamii/Tritium and Floof")
  3. local Player = game:GetService("Players").LocalPlayer
  4. local Mouse = Player:GetMouse()
  5.  
  6. local Damage = function(Part)
  7. local A = Part
  8. local B = Part.Position
  9. local C = {
  10. origin = Player.Character.Head.Position,
  11. position = Part.Position,
  12. velocity = Player.Character.Head.CFrame.lookVector * math.clamp(500, 100, 500),
  13. acceleration = Vector3.new(0, -156.2, 0),
  14. age = os.time(),
  15. toolFrom = "Magnetite Crossbow",
  16. object = game:GetService("ReplicatedStorage").Projectiles:findFirstChild("Bolt")
  17. }
  18. local D = (Player.Character.Head.Position - Part.Position).magnitude
  19. game:GetService("ReplicatedStorage").Events.ProjectileImpact:FireServer(A, B, C, D)
  20. end
  21.  
  22. Mouse.KeyUp:connect(function(key)
  23. if key == "e" then
  24. for i = 1, 20 do
  25. if Mouse.Target and Mouse.Target.ClassName ~= "Terrain" then
  26. Damage(Mouse.Target)
  27. end
  28. end
  29. end
  30. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement