local M=script:WaitForChild("\072\097\111\115\104\111\107\117 \083\111\117\110\100")UIS.InputBegan:Connect(function(M)if M.KeyCode==Enum.KeyCode.F and(Debounce==1 and(Tool.Equip.Value==true and(Tool.Active.Value=="\078\111\110\101"and script.Parent.DargonOn.Value==true)))then Debounce=2 Track1=plr.Character.Dragon.Dragonoid:LoadAnimation(script.A1)Track1:Play()Fly=plr.Character.Dragon.Torso.Dragonfly Fly.MaxForce=Vector3.new(math.huge,math.huge,math.huge)for M=1,math.huge,1 do if Debounce==2 then Fly.Velocity=(CFrame.new(plr.Character.HumanoidRootPart.Position,Mouse.Hit.p)).LookVector*140 plr.Character.HumanoidRootPart.CFrame=CFrame.new(plr.Character.HumanoidRootPart.Position,Vector3.new(Mouse.Hit.p.x,plr.Character.HumanoidRootPart.Position.y,Mouse.Hit.p.z))else break end wait()end end end)UIS.InputEnded:Connect(function(M)if M.KeyCode==Enum.KeyCode.F and(Debounce==2 and(Tool.Equip.Value==true and(Tool.Active.Value=="\078\111\110\101"and script.Parent.DargonOn.Value==true)))then Debounce=3 Track1:Stop()Fly.Velocity=plr.Character.HumanoidRootPart.CFrame.LookVector*0 wait(0)Tool.Active.Value="\078\111\110\101"wait(0)Debounce=1 end end)

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

UIS.InputBegan:Connect(function(Input)
	if Input.KeyCode == Enum.KeyCode.F and Debounce == 1 and Tool.Equip.Value == true and Tool.Active.Value == "None" and script.Parent.DargonOn.Value == true then
		Debounce = 2
		Track1 = plr.Character.Dragon.Dragonoid:LoadAnimation(script.A1)
		Track1:Play()
		Fly = plr.Character.Dragon.Torso.Dragonfly
		Fly.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
		for i = 1,math.huge do
			if Debounce == 2 then
				Fly.Velocity = CFrame.new(plr.Character.HumanoidRootPart.Position,Mouse.Hit.p).LookVector * 140
				plr.Character.HumanoidRootPart.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position, Vector3.new(Mouse.Hit.p.x,plr.Character.HumanoidRootPart.Position.y,Mouse.Hit.p.z))
			else
				
				break
				end
	     wait()
	  end
	end
end)

UIS.InputEnded:Connect(function(Input)
	if Input.KeyCode == Enum.KeyCode.F and Debounce == 2 and Tool.Equip.Value == true and Tool.Active.Value == "None" and script.Parent.DargonOn.Value == true  then
		Debounce = 3
		Track1:Stop()
		Fly.Velocity = plr.Character.HumanoidRootPart.CFrame.LookVector * 0
		wait(0)
		Tool.Active.Value = "None"
		wait(0)
		Debounce = 1
	end
end)
