hecknes

Jutsu

Aug 15th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. local mouse = player:GetMouse()
  4.  
  5. local animation = Instance.new("Animation")
  6. animation.Parent = game.Workspace
  7. animation.AnimationId = "rbxassetid://2220946233"
  8.  
  9. local tool = Instance.new("Tool")
  10. tool.Parent = game.StarterPack
  11. tool.Name = "Jutsu"
  12.  
  13. local hum = game.Players.LocalPlayer.Character.Humanoid
  14. local pa = Instance.new("Part")
  15. pa.Name = "Handle"
  16. pa.Transparency = 1
  17. pa.CanCollide = false
  18. pa.Parent = tool
  19.  
  20.  
  21. local sound = Instance.new("Sound")
  22. sound.Parent = game.Workspace
  23. sound.Volume = 1
  24. sound.SoundId = "rbxassetid://147722098"
  25.  
  26.  
  27. enabled = true
  28.  
  29. tool.Equipped:connect(function()
  30.  
  31. tool.Activated:connect(function()
  32. sound:Play()
  33. if enabled == false then return end
  34. enabled = false
  35. local animaitonTrack = player.Character.Humanoid:LoadAnimation(animation)
  36. animaitonTrack:Play()
  37. local part = Instance.new("Part")
  38. part.Parent = game.Workspace
  39. part.Position = player.Character.HumanoidRootPart.Position
  40. part.CanCollide = false
  41. part.Size = Vector3.new(15,15,15)
  42. part.Material = ("Neon")
  43. part.Transparency = 0.6
  44. part.BrickColor = BrickColor.new("Black")
  45. part.Anchored = true
  46. part.Touched:connect(function(hit)
  47.  
  48. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  49. if ehum and ehum ~= hum then
  50. ehum:TakeDamage(50)
  51. end
  52. end)
  53. wait(1)
  54. part:Destroy()
  55. end)
  56. end)
  57.  
  58. wait()
  59. enabled = true
  60.  
  61.  
  62. tool.Activated:connect(function()
  63. tool.Name = "No Charkra"
  64. wait(1)
  65. tool.Name = "Jutsu"
  66. end)
Advertisement
Add Comment
Please, Sign In to add comment