Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bin = script.Parent
- me = script.Parent.Parent.Parent
- Player = game.Players.LocalPlayer
- Character = Player.Character
- Humanoid = Character.Humanoid
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- local player = game.Players.LocalPlayer
- if player == nil then return end
- --Here is how i disabled the tool from working after you click once "enabled = false"
- enabled = false
- LeftShoulder = me.Character.Torso["Left Shoulder"]
- RightShoulder = me.Character.Torso["Right Shoulder"]
- Run = game:GetService("RunService")
- for i = 1, 12 do
- LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(-0, 0, -0)
- RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(-0, 0, 0)
- LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0)
- RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0)
- Run.Stepped:wait(0.005)
- end
- game:GetService("Chat"):Chat(me.Character.Head, "Emperors Haki!")
- P = Instance.new("BodyPosition")
- P.Parent = Player.Character.Torso
- P.position = Player.Character.Torso.Position
- P.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Player.Character.Humanoid.WalkSpeed = 0
- Player.Character.Torso.Anchored = true
- Rasengan = Instance.new("Part")
- Rasengan.CanCollide = false
- z = workspace.CurrentCamera.CameraType
- workspace.CurrentCamera.CameraType = "Follow"
- Rasengan.Shape = "Ball"
- Rasengan.Size = Vector3.new(120,120,120)
- Rasengan.TopSurface = "Smooth"
- Rasengan.BottomSurface = "Smooth"
- Rasengan.BrickColor = BrickColor.new("Institutional white")
- Rasengan.Reflectance = 0
- Rasengan.Transparency = 0.5
- Rasengan.CFrame = Player.Character.Torso.CFrame
- Rasengan.Position = Player.Character.Torso.Position + Vector3.new(0, 0, 0)
- Rasengan.Anchored = false
- Rasengan.Parent = Workspace
- Rasengan.Name = Player.Name
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Rasengan
- Mesh.MeshType = "Sphere"
- Mesh.Scale = Vector3.new(1,1,1)
- Weld = Instance.new("Weld")
- Weld.Parent = Player.Character.Torso
- Weld.Part0 = Player.Character.Torso
- Weld.Part1 = Rasengan
- Weld.C0 = CFrame.new(0.025, 0, 0)
- s = script.Blastdamage:Clone()
- s.Parent = Rasengan
- s.Disabled = false
- for i = 1, 15 do
- wait(0.05)
- end
- Rasengan.CanCollide = true
- wait(1)
- for i = 1,10 do
- Rasengan.Transparency = Rasengan.Transparency + 0.1
- wait(0.05)
- end
- wait(0.5)
- Player.Character.Humanoid.WalkSpeed = 16
- Player.Character.Torso.Anchored = false
- P:Remove()
- Rasengan:Remove()
- workspace.CurrentCamera.CameraType = z
- for i = 1, 12 do
- RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0)
- LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0)
- RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0)
- LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0)
- Run.Stepped:wait(0.01)
- end
- --Heres how long you want it to be before you use it again change wait(2) to anything u want
- wait(6.5)
- --Here is how i made it able to work again after the time has run out "enabled = true"
- enabled = true
- end
- --You can keep all this below i guess
- enabled = true
- function onS(mouse)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- bin.Selected:connect(onS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement