script.Parent.OnServerEvent:Connect(function(E)local l=game.ReplicatedStorage.Dragon.SkillZ.LightFX:Clone()local i=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",l)i.MaxForce=Vector3.new(math.huge,math.huge,math.huge)i.Velocity=E.Character.HumanoidRootPart.CFrame.LookVector*0 l.Parent=workspace l.CanCollide=false l.Anchored=false l.CFrame=(E.Character.HumanoidRootPart.CFrame*CFrame.new(0,2,0))*CFrame.fromEulerAnglesXYZ(0,0,0)l.Touched:Connect(function(l)if l.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")and(l.Parent.Name~=E.Name and(l.Parent:WaitForChild("\072\117\109\097\110\111\105\100")~=nil and((l.Parent:WaitForChild("\072\117\109\097\110\111\105\100")).Health~=0 and not l.Parent:FindFirstChild("\065\108\114\101\097\100\121\072\105\116"))))then local i=Instance.new("\073\110\116\086\097\108\117\101",l.Parent)i.Name="\065\108\114\101\097\100\121\072\105\116"game.Debris:AddItem(i,1)local h=game.Workspace:FindFirstChild(E.Name)local q=game.Players:GetPlayerFromCharacter(h)local z=l.Parent:WaitForChild("\072\117\109\097\110\111\105\100")z:TakeDamage(10)tagHumanoid(l.Parent:FindFirstChild("\072\117\109\097\110\111\105\100"),q)wait(.05)untagHumanoid(l.Parent:FindFirstChild("\072\117\109\097\110\111\105\100"))end end)wait(3)i:Destroy()l.Anchored=false wait(2)l.CanCollide=false wait(1)for E=1,5,1 do wait(.025)l.Transparency=l.Transparency+.1 l.Texture1.Transparency=l.Texture1.Transparency+.1 l.Texture2.Transparency=l.Texture2.Transparency+.1 end l:Destroy()end)

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)
