local S={}local k=game.ReplicatedStorage local F=require(game.ReplicatedStorage.Modules.Lightning)local w=require(game.ReplicatedStorage.Modules.Xeno)local W=require(game.ReplicatedStorage.Modules.CameraShaker)local p=game.TweenService local z=game.Debris function S.RunStompFx(S,k,F,w)local W=game.ReplicatedStorage.KillFX.Sero.Cero:Clone()W.PrimaryPart.CFrame=CFrame.new(k.CFrame.p)*CFrame.new(math.random(-25,25),math.random(7,15),math.random(-25,25))W.PrimaryPart.CFrame=CFrame.lookAt(W.PrimaryPart.CFrame.p,k.Position+(CFrame.new(0,5,0)).Position)W.Parent=workspace.Ignored.Animations for S,k in pairs(W:GetChildren())do if k:IsA("\066\097\115\101\080\097\114\116")and k.Name~="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116"then(game.TweenService:Create(k,TweenInfo.new(.7,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut),{Transparency=0})):Play()end end game.Debris:AddItem(W,3)W.gg:Play()local p=W.AnimationController:LoadAnimation(W.Animation)p:Play()p:AdjustSpeed(.7);(p:GetMarkerReachedSignal("\066\108\097\115\116")):Connect(function()W.ar:Play()p:AdjustSpeed(1.3)local S=game.ReplicatedStorage.KillFX.Sero.Beam:Clone()local F=(k.Position-W.Head.Attachment.WorldPosition).Magnitude S.Parent=W S.CFrame=(CFrame.lookAt(W.Head.Attachment.WorldPosition,k.Position)*CFrame.new(0,0,-F/2))*CFrame.Angles(1.5707963267949,0,0)task.delay(.1,function()for S,k in pairs(k.Parent:GetDescendants())do if k:IsA("\066\097\115\101\080\097\114\116")then k.Transparency=1 end end S.Sound:Play()local F=game.ReplicatedStorage.KillFX.Sero.Particle:Clone()local w=Instance.new("\065\116\116\097\099\104\109\101\110\116",k)F.Parent=k for S,k in pairs(F:GetChildren())do k.Enabled=true k.Parent=w end task.wait(.25)for S,k in pairs(w:GetChildren())do k.Enabled=false end end)task.delay(0,function()(game.TweenService:Create(S,TweenInfo.new(.4,Enum.EasingStyle.Bounce),{Transparency=.5,Size=Vector3.new(7,F+15,7)})):Play()while true do S.Attachment.Position=Vector3.new(0,S.Size.Y/2,0)S.Attachment1.Position=Vector3.new(0,-S.Size.Y/2,0)S.CFrame=(CFrame.lookAt(W.Head.Attachment.WorldPosition,k.Position)*CFrame.new(0,0,-F/2-10))*CFrame.Angles(1.5707963267949,0,0)task.wait()if W.Parent==nil then break end end end)W.Sound:Play()task.delay(.25,function()for S,k in pairs(W:GetChildren())do if k:IsA("\066\097\115\101\080\097\114\116")and k.Name~="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116"then(game.TweenService:Create(k,TweenInfo.new(1,Enum.EasingStyle.Cubic,Enum.EasingDirection.InOut),{Transparency=1})):Play()end end task.wait(.25)for S,k in pairs(S.Beam:GetChildren())do k.Enabled=false end;(game.TweenService:Create(S,TweenInfo.new(.5,Enum.EasingStyle.Quart),{Transparency=0,Size=Vector3.new(0,F+15,0)})):Play()end)end)return nil end return S
-- Decompiled with the Synapse X Luau decompiler.

local v1 = {}
local l__ReplicatedStorage__2 = game.ReplicatedStorage
local v3 = require(game.ReplicatedStorage.Modules.Lightning)
local v4 = require(game.ReplicatedStorage.Modules.Xeno)
local v5 = require(game.ReplicatedStorage.Modules.CameraShaker)
local l__TweenService__6 = game.TweenService
local l__Debris__7 = game.Debris
function v1.RunStompFx(p1, p2, p3, p4)
	local v8 = game.ReplicatedStorage.KillFX.Sero.Cero:Clone()
	v8.PrimaryPart.CFrame = CFrame.new(p2.CFrame.p)
		* CFrame.new(math.random(-25, 25), math.random(7, 15), math.random(-25, 25))
	v8.PrimaryPart.CFrame = CFrame.lookAt(v8.PrimaryPart.CFrame.p, p2.Position + CFrame.new(0, 5, 0).Position)
	v8.Parent = workspace.Ignored.Animations
	for v9, v10 in pairs(v8:GetChildren()) do
		if v10:IsA("BasePart") and v10.Name ~= "HumanoidRootPart" then
			game.TweenService
				:Create(v10, TweenInfo.new(0.7, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), {
					Transparency = 0,
				})
				:Play()
		end
	end
	game.Debris:AddItem(v8, 3)
	v8.gg:Play()
	local v11 = v8.AnimationController:LoadAnimation(v8.Animation)
	v11:Play()
	v11:AdjustSpeed(0.7)
	v11:GetMarkerReachedSignal("Blast"):Connect(function()
		v8.ar:Play()
		v11:AdjustSpeed(1.3)
		local v12 = game.ReplicatedStorage.KillFX.Sero.Beam:Clone()
		local l__Magnitude__13 = (p2.Position - v8.Head.Attachment.WorldPosition).Magnitude
		v12.Parent = v8
		v12.CFrame = CFrame.lookAt(v8.Head.Attachment.WorldPosition, p2.Position)
			* CFrame.new(0, 0, -l__Magnitude__13 / 2)
			* CFrame.Angles(1.5707963267948966, 0, 0)
		task.delay(0.1, function()
			for v14, v15 in pairs(p2.Parent:GetDescendants()) do
				if v15:IsA("BasePart") then
					v15.Transparency = 1
				end
			end
			v12.Sound:Play()
			local v16 = game.ReplicatedStorage.KillFX.Sero.Particle:Clone()
			local v17 = Instance.new("Attachment", p2)
			v16.Parent = p2
			for v18, v19 in pairs(v16:GetChildren()) do
				v19.Enabled = true
				v19.Parent = v17
			end
			task.wait(0.25)
			for v20, v21 in pairs(v17:GetChildren()) do
				v21.Enabled = false
			end
		end)
		task.delay(0, function()
			game.TweenService
				:Create(v12, TweenInfo.new(0.4, Enum.EasingStyle.Bounce), {
					Transparency = 0.5,
					Size = Vector3.new(7, l__Magnitude__13 + 15, 7),
				})
				:Play()
			while true do
				v12.Attachment.Position = Vector3.new(0, v12.Size.Y / 2, 0)
				v12.Attachment1.Position = Vector3.new(0, -v12.Size.Y / 2, 0)
				v12.CFrame = CFrame.lookAt(v8.Head.Attachment.WorldPosition, p2.Position)
					* CFrame.new(0, 0, -l__Magnitude__13 / 2 - 10)
					* CFrame.Angles(1.5707963267948966, 0, 0)
				task.wait()
				if v8.Parent == nil then
					break
				end
			end
		end)
		v8.Sound:Play()
		task.delay(0.25, function()
			for v22, v23 in pairs(v8:GetChildren()) do
				if v23:IsA("BasePart") and v23.Name ~= "HumanoidRootPart" then
					game.TweenService
						:Create(v23, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
							Transparency = 1,
						})
						:Play()
				end
			end
			task.wait(0.25)
			for v24, v25 in pairs(v12.Beam:GetChildren()) do
				v25.Enabled = false
			end
			game.TweenService
				:Create(v12, TweenInfo.new(0.5, Enum.EasingStyle.Quart), {
					Transparency = 0,
					Size = Vector3.new(0, l__Magnitude__13 + 15, 0),
				})
				:Play()
		end)
	end)
	return nil
end
return v1
