local b=script:WaitForChild("\072\097\111\115\104\111\107\117 \083\111\117\110\100")UIS.InputBegan:Connect(function(b)if b.KeyCode==Enum.KeyCode.C and(Debounce==1 and(Tool.Equip.Value==true and(Tool.Active.Value=="\078\111\110\101"and script.Parent.DargonOn.Value==false)))then Debounce=2 Track1=plr.Character.Humanoid:LoadAnimation(script.AnimationCharge)Track1:Play()for b=1,math.huge,1 do if Debounce==2 then plr.Character.HumanoidRootPart.CFrame=CFrame.new(plr.Character.HumanoidRootPart.Position,Mouse.Hit.p)plr.Character.HumanoidRootPart.Anchored=true else break end wait()end end end)UIS.InputEnded:Connect(function(S)if S.KeyCode==Enum.KeyCode.C and(Debounce==2 and(Tool.Equip.Value==true and(Tool.Active.Value=="\078\111\110\101"and script.Parent.DargonOn.Value==false)))then Debounce=3 plr.Character.HumanoidRootPart.Anchored=false local S=plr.Character.Humanoid:LoadAnimation(script.AnimationRelease)S:Play()Track1:Stop()b:Play()for b=1,10,1 do wait(.1)local S=Mouse.Hit script.RemoteEvent:FireServer(S,Mouse.Hit.p)end wait(.3)S:Stop()wait(.5)Tool.Active.Value="\078\111\110\101"wait(3)Debounce=1 end end)

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

UIS.InputBegan:Connect(function(Input)
	if Input.KeyCode == Enum.KeyCode.C and Debounce == 1 and Tool.Equip.Value == true and Tool.Active.Value == "None" and script.Parent.DargonOn.Value == false then
		Debounce = 2
		Track1 = plr.Character.Humanoid:LoadAnimation(script.AnimationCharge)
		Track1:Play()
		for i = 1,math.huge do
			if Debounce == 2 then
				
				plr.Character.HumanoidRootPart.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position, Mouse.Hit.p)
				plr.Character.HumanoidRootPart.Anchored = true
			else
				
				break
				end
	     wait()
	  end
	end
end)

UIS.InputEnded:Connect(function(Input)
	if Input.KeyCode == Enum.KeyCode.C and Debounce == 2 and Tool.Equip.Value == true and Tool.Active.Value == "None" and script.Parent.DargonOn.Value == false then
		Debounce = 3
		plr.Character.HumanoidRootPart.Anchored = false
		local Track2 = plr.Character.Humanoid:LoadAnimation(script.AnimationRelease)
		Track2:Play()
		Track1:Stop()
		Sound:Play()
		for i = 1,10 do
			wait(0.1)
		local mousepos = Mouse.Hit
		script.RemoteEvent:FireServer(mousepos,Mouse.Hit.p)
		end
		wait(0.3)
		Track2:Stop()
		wait(.5)
		Tool.Active.Value = "None"
		wait(3)
		Debounce = 1
	end
end)
