repeat wait()until game.Players.LocalPlayer.Character local c=game.Players.LocalPlayer local X=c.Character local o=X:WaitForChild("\072\117\109\097\110\111\105\100")local K=X:WaitForChild("\076\111\119\101\114\084\111\114\115\111")local V=c:GetMouse()local R=false local g=true V.KeyDown:Connect(function(X)if X=="\102"and(Tool.Equip.Value==true and Tool.Active.Value=="\078\111\110\101")or Tool.Active.Value=="\083\117\110\097\070\108\105\103\104\116"then if R==false and g==true then R=true local X=Instance.new("\065\110\105\109\097\116\105\111\110")X.AnimationId="\114\098\120\097\115\115\101\116\105\100\058\047\047\052\056\054\053\054\052\054\051\051\048"local l=o:LoadAnimation(X)l:Play()g=false Tool.Active.Value="\083\117\110\097\070\108\105\103\104\116"script.Fire:FireServer(c)local H=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",K)H.MaxForce=Vector3.new(math.huge,math.huge,math.huge)while R==true do wait()c.Character.HumanoidRootPart.CFrame=CFrame.new(c.Character.HumanoidRootPart.Position,Vector3.new(V.Hit.p.x,c.Character.HumanoidRootPart.Position.y,V.Hit.p.z))H.Velocity=V.Hit.lookVector*110 end end if R==true and g==false then R=false Tool.Active.Value="\078\111\110\101"script.UnFire:FireServer(c);(K:FindFirstChildOfClass("\066\111\100\121\086\101\108\111\099\105\116\121")):Destroy()local X=o:GetPlayingAnimationTracks()for c,X in pairs(X)do X:Stop()end local V=Instance.new("\065\110\105\109\097\116\105\111\110")V.AnimationId="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\053\048\055\055\054\055\057\054\056"local l=o:LoadAnimation(V)l:Play()wait(3.5)g=true end end end)
--- Skill
repeat
	wait()
until game.Players.LocalPlayer.Character

local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char:WaitForChild("Humanoid")
local Torso = char:WaitForChild("LowerTorso")
local Mouse = plr:GetMouse()
local toggle = false
local Debounce = true
Mouse.KeyDown:Connect(function(key)
	if key == "f" and Tool.Equip.Value == true and Tool.Active.Value == "None" or Tool.Active.Value == "SunaFlight" then
		if toggle == false and Debounce == true then
			toggle = true
			local Anim = Instance.new("Animation")
			Anim.AnimationId = "rbxassetid://4865646330"
			local PlayAnim = hum:LoadAnimation(Anim)
			PlayAnim:Play()
			Debounce = false
			Tool.Active.Value = "SunaFlight"
			script.Fire:FireServer(plr)
			local BV = Instance.new("BodyVelocity", Torso)
			BV.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
			while toggle == true do
				wait()
				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)
				)
				BV.Velocity = Mouse.Hit.lookVector * 110
			end
		end
		if toggle == true and Debounce == false then
			toggle = false
			Tool.Active.Value = "None"
			script.UnFire:FireServer(plr)
			Torso:FindFirstChildOfClass("BodyVelocity"):Destroy()
			local tracks = hum:GetPlayingAnimationTracks()
			for i, stoptracks in pairs(tracks) do
				stoptracks:Stop()
			end
			local Anim = Instance.new("Animation")
			Anim.AnimationId = "http://www.roblox.com/asset/?id=507767968"
			local PlayAnim = hum:LoadAnimation(Anim)
			PlayAnim:Play()
			wait(3.5)
			Debounce = true
		end
	end
end)
