local w=script:WaitForChild("\072\097\111\115\104\111\107\117 \083\111\117\110\100")UIS.InputBegan:Connect(function(w)if w.KeyCode==Enum.KeyCode.Z and(Debounce==1 and(Tool.Equip.Value==true and Tool.Active.Value=="\078\111\110\101"))then Debounce=2 Track1=plr.Character.Humanoid:LoadAnimation(script.AnimationCharge)Track1:Play()script.RemoteEventS:FireServer()for w=1,math.huge,1 do if Debounce==2 then plr.Character.HumanoidRootPart.Anchored=true else break end wait()end end end)UIS.InputEnded:Connect(function(j)if j.KeyCode==Enum.KeyCode.Z and(Debounce==2 and(Tool.Equip.Value==true and Tool.Active.Value=="\078\111\110\101"))then Debounce=3 local j=plr.Character.Humanoid:LoadAnimation(script.AnimationRelease)j:Play()Track1:Stop()w:Play()local A=game.Workspace.CurrentCamera local H=require(game.ReplicatedStorage.SG.CameraShaker)local G=H.new(Enum.RenderPriority.Camera.Value,function(w)A.CFrame=A.CFrame*w end)G:Start()G:Shake(H.Presets.Explosion)local x=Mouse.Hit script.RemoteEvent:FireServer(x,Mouse.Hit.p)wait(1)plr.Character.LeftHand.EFhand:Destroy()plr.Character.RightHand.EFhand:Destroy()j:Stop()wait(.5)Tool.Active.Value="\078\111\110\101"wait(1.5)plr.Character.HumanoidRootPart.Anchored=false wait(5)Debounce=1 end end)

local Sound = script:WaitForChild("Haoshoku Sound")

UIS.InputBegan:Connect(function(Input)
	if Input.KeyCode == Enum.KeyCode.Z and Debounce == 1 and Tool.Equip.Value == true and Tool.Active.Value == "None" then
		Debounce = 2
		Track1 = plr.Character.Humanoid:LoadAnimation(script.AnimationCharge)
		Track1:Play()
		script.RemoteEventS:FireServer()
		for i = 1,math.huge do
			if Debounce == 2 then
				
				plr.Character.HumanoidRootPart.Anchored = true
			else
				
				break
				end
	     wait()
	  end
	end
end)

UIS.InputEnded:Connect(function(Input)
	if Input.KeyCode == Enum.KeyCode.Z and Debounce == 2 and Tool.Equip.Value == true and Tool.Active.Value == "None" then
		Debounce = 3
		local Track2 = plr.Character.Humanoid:LoadAnimation(script.AnimationRelease)
		Track2:Play()
		Track1:Stop()
		Sound:Play()
		local camera = game.Workspace.CurrentCamera
		local CameraShaker = require(game.ReplicatedStorage.SG.CameraShaker)
		local camshake = CameraShaker.new(Enum.RenderPriority.Camera.Value,function(shakeCFrame)
			camera.CFrame = camera.CFrame * shakeCFrame
		end)
		camshake:Start()
		camshake:Shake(CameraShaker.Presets.Explosion)
		local mousepos = Mouse.Hit
		script.RemoteEvent:FireServer(mousepos,Mouse.Hit.p)
		wait(1)
		plr.Character.LeftHand.EFhand:Destroy()
		plr.Character.RightHand.EFhand:Destroy()
		Track2:Stop()
		wait(.5)
		Tool.Active.Value = "None"
		wait(1.5)
		plr.Character.HumanoidRootPart.Anchored = false
		wait(5)
		Debounce = 1
	end
end)
