script.Parent.OnServerEvent:Connect(function(m)local U=game.ReplicatedStorage.Dragon.SkillZ.LightFX:Clone()local b=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",U)b.MaxForce=Vector3.new(math.huge,math.huge,math.huge)b.Velocity=m.Character.HumanoidRootPart.CFrame.LookVector*0 U.Parent=workspace U.CanCollide=false U.Anchored=false U.CFrame=(m.Character.HumanoidRootPart.CFrame*CFrame.new(0,2,0))*CFrame.fromEulerAnglesXYZ(0,0,0)U.Touched:Connect(function(U)if U.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")and(U.Parent.Name~=m.Name and(U.Parent:WaitForChild("\072\117\109\097\110\111\105\100")~=nil and((U.Parent:WaitForChild("\072\117\109\097\110\111\105\100")).Health~=0 and not U.Parent:FindFirstChild("\065\108\114\101\097\100\121\072\105\116"))))then local b=Instance.new("\073\110\116\086\097\108\117\101",U.Parent)b.Name="\065\108\114\101\097\100\121\072\105\116"game.Debris:AddItem(b,1)local F=game.Workspace:FindFirstChild(m.Name)local u=game.Players:GetPlayerFromCharacter(F)local L=U.Parent:WaitForChild("\072\117\109\097\110\111\105\100")L:TakeDamage(10)tagHumanoid(U.Parent:FindFirstChild("\072\117\109\097\110\111\105\100"),u)wait(.05)untagHumanoid(U.Parent:FindFirstChild("\072\117\109\097\110\111\105\100"))end end)wait(3)b:Destroy()U.Anchored=false wait(2)U.CanCollide=false wait(1)for m=1,5,1 do wait(.025)U.Transparency=U.Transparency+.1 U.Texture1.Transparency=U.Texture1.Transparency+.1 U.Texture2.Transparency=U.Texture2.Transparency+.1 end U:Destroy()end)
--- Active
script.Parent.OnServerEvent:Connect(function(Player)
	local Projectile = game.ReplicatedStorage.Dragon.SkillZ.LightFX:Clone()
	local BV = Instance.new("BodyVelocity", Projectile)
	BV.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
	BV.Velocity = Player.Character.HumanoidRootPart.CFrame.LookVector * 0
	Projectile.Parent = workspace
	Projectile.CanCollide = false
	Projectile.Anchored = false
	Projectile.CFrame = Player.Character.HumanoidRootPart.CFrame
		* CFrame.new(0, 2, 0)
		* CFrame.fromEulerAnglesXYZ(0, 0, 0)
	Projectile.Touched:Connect(function(hit)
		if
			hit.Parent:FindFirstChild("Humanoid")
			and hit.Parent.Name ~= Player.Name
			and hit.Parent:WaitForChild("Humanoid") ~= nil
			and hit.Parent:WaitForChild("Humanoid").Health ~= 0
			and not hit.Parent:FindFirstChild("AlreadyHit")
		then
			local Check = Instance.new("IntValue", hit.Parent)
			Check.Name = "AlreadyHit"
			game.Debris:AddItem(Check, 1)
			local VCharacter = game.Workspace:FindFirstChild(Player.Name)
			local vPlayer = game.Players:GetPlayerFromCharacter(VCharacter)
			local Humanoid = hit.Parent:WaitForChild("Humanoid")
			Humanoid:TakeDamage(10)
			tagHumanoid(hit.Parent:FindFirstChild("Humanoid"), vPlayer)
			wait(0.05)
			untagHumanoid(hit.Parent:FindFirstChild("Humanoid"))
		end
	end)
	wait(3)
	BV:Destroy()
	Projectile.Anchored = false
	wait(2)
	Projectile.CanCollide = false
	wait(1)
	for i = 1, 5 do
		wait(0.025)
		Projectile.Transparency = Projectile.Transparency + 0.1
		Projectile.Texture1.Transparency = Projectile.Texture1.Transparency + 0.1
		Projectile.Texture2.Transparency = Projectile.Texture2.Transparency + 0.1
	end
	Projectile:Destroy()
end)
