Advertisement
deathsignature2

Hao Haki

Jan 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. bin = script.Parent
  2. me = script.Parent.Parent.Parent
  3. Player = game.Players.LocalPlayer
  4. Character = Player.Character
  5. Humanoid = Character.Humanoid
  6.  
  7. enabled = true
  8.  
  9. function onButton1Down(mouse)
  10. if not enabled then
  11. return
  12. end
  13.  
  14. local player = game.Players.LocalPlayer
  15. if player == nil then return end
  16.  
  17. --Here is how i disabled the tool from working after you click once "enabled = false"
  18.  
  19. enabled = false
  20. LeftShoulder = me.Character.Torso["Left Shoulder"]
  21. RightShoulder = me.Character.Torso["Right Shoulder"]
  22. Run = game:GetService("RunService")
  23. for i = 1, 12 do
  24. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(-0, 0, -0)
  25. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(-0, 0, 0)
  26. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0)
  27. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0)
  28. Run.Stepped:wait(0.005)
  29. end
  30. game:GetService("Chat"):Chat(me.Character.Head, "Emperors Haki!")
  31. P = Instance.new("BodyPosition")
  32. P.Parent = Player.Character.Torso
  33. P.position = Player.Character.Torso.Position
  34. P.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  35. Player.Character.Humanoid.WalkSpeed = 0
  36. Player.Character.Torso.Anchored = true
  37. Rasengan = Instance.new("Part")
  38. Rasengan.CanCollide = false
  39. z = workspace.CurrentCamera.CameraType
  40. workspace.CurrentCamera.CameraType = "Follow"
  41. Rasengan.Shape = "Ball"
  42. Rasengan.Size = Vector3.new(120,120,120)
  43. Rasengan.TopSurface = "Smooth"
  44. Rasengan.BottomSurface = "Smooth"
  45. Rasengan.BrickColor = BrickColor.new("Institutional white")
  46. Rasengan.Reflectance = 0
  47. Rasengan.Transparency = 0.5
  48. Rasengan.CFrame = Player.Character.Torso.CFrame
  49. Rasengan.Position = Player.Character.Torso.Position + Vector3.new(0, 0, 0)
  50. Rasengan.Anchored = false
  51. Rasengan.Parent = Workspace
  52. Rasengan.Name = Player.Name
  53. Mesh = Instance.new("SpecialMesh")
  54. Mesh.Parent = Rasengan
  55. Mesh.MeshType = "Sphere"
  56. Mesh.Scale = Vector3.new(1,1,1)
  57. Weld = Instance.new("Weld")
  58. Weld.Parent = Player.Character.Torso
  59. Weld.Part0 = Player.Character.Torso
  60. Weld.Part1 = Rasengan
  61. Weld.C0 = CFrame.new(0.025, 0, 0)
  62. s = script.Blastdamage:Clone()
  63. s.Parent = Rasengan
  64. s.Disabled = false
  65. for i = 1, 15 do
  66. wait(0.05)
  67. end
  68. Rasengan.CanCollide = true
  69. wait(1)
  70. for i = 1,10 do
  71. Rasengan.Transparency = Rasengan.Transparency + 0.1
  72. wait(0.05)
  73. end
  74. wait(0.5)
  75. Player.Character.Humanoid.WalkSpeed = 16
  76. Player.Character.Torso.Anchored = false
  77. P:Remove()
  78. Rasengan:Remove()
  79. workspace.CurrentCamera.CameraType = z
  80. for i = 1, 12 do
  81. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0)
  82. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0)
  83. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0)
  84. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0)
  85. Run.Stepped:wait(0.01)
  86. end
  87.  
  88. --Heres how long you want it to be before you use it again change wait(2) to anything u want
  89.  
  90. wait(6.5)
  91. --Here is how i made it able to work again after the time has run out "enabled = true"
  92. enabled = true
  93. end
  94.  
  95. --You can keep all this below i guess
  96.  
  97. enabled = true
  98. function onS(mouse)
  99. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  100. end
  101. bin.Selected:connect(onS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement