CryniteEpic

Exploder (Roblox)

Dec 30th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.71 KB | None | 0 0
  1. --Made By Rafael
  2. --Only Works In LocalPlayer
  3.  
  4. player = game.Players.LocalPlayer
  5. repeat wait(0.0001) until player.Character
  6. char = player.Character
  7.  
  8. local tool = Instance.new("Tool", player.Backpack)
  9. tool.Name = "Sword"
  10. tool.GripPos = Vector3.new(0, -1.3, 0)
  11. local mainl = Instance.new("Part", tool)
  12. mainl.Name = "Handle"
  13. mainl.Size = Vector3.new(0.34, 4.2, 0.27)
  14.  
  15. tool.Activated:connect(function()
  16. local mouse = player:GetMouse()
  17. local explo = Instance.new("Part", workspace)
  18. explo.Transparency = 1
  19. explo.CanCollide = false
  20. explo.Anchored = true
  21. explo.CFrame = mouse.hit
  22. local explod = Instance.new("Explosion", explo)
  23. explod.Position = explo.Position
  24. wait(2)
  25. explo:Destroy()
  26. explod:Destroy()
  27. end)
Add Comment
Please, Sign In to add comment