-- Decompiled with the Synapse X Luau decompiler.


local v1 = {};
local v2 = require(game.ReplicatedStorage.Modules.Lightning);
local v3 = require(game.ReplicatedStorage.Modules.Xeno);
local v4 = require(game.ReplicatedStorage.Modules.CameraShaker);
local l__TweenService__5 = game.TweenService;
local l__Debris__6 = game.Debris;
local l__ReplicatedStorage__1 = game.ReplicatedStorage;
function v1.RunStompFx(p1, p2, p3, p4)
	local v7 = {};
	for v8 = 1, 15 do
		local v9 = l__ReplicatedStorage__1.KillFX[p1].Gate:Clone();
		v9.Parent = workspace.Ignored.Animations;
		local l__p__10 = p2.Parent.UpperTorso.CFrame.p;
		game.Debris:AddItem(v9, 6);
		v9.CFrame = CFrame.new(l__p__10.X + math.random(-35, 35), l__p__10.Y + math.random(17, 35), l__p__10.Z + math.random(-35, 35));
		v9.CFrame = CFrame.lookAt(v9.Position, p2.Position);
		table.insert(v7, v9);
		local v11 = math.random(-360, 360);
		v9.Middle.Cut.Rotation = NumberRange.new(v11, v11);
		task.delay(0.15, function()
			v9.Middle.Cut.Enabled = false;
			v9.Attachment.Effect.Enabled = true;
			v9.FF.Enabled = true;
			v9.Sound:Play();
		end);
		task.wait(0.06);
	end;
	local v12 = {};
	for v13, v14 in pairs(v7) do
		local v15 = l__ReplicatedStorage__1.KillFX[p1].Sword:Clone();
		v15.Parent = workspace.Ignored.Animations;
		game.Debris:AddItem(v15, 5);
		v15.CFrame = v14.CFrame * CFrame.new(0, 0, -1) * CFrame.Angles(-1.5707963267948966, math.rad(math.random(-360, 360)), 0);
		game.TweenService:Create(v15, TweenInfo.new(1, Enum.EasingStyle.Quint), {
			Size = v15.F.Value, 
			CFrame = v14.CFrame * CFrame.new(0, 0, -3) * CFrame.Angles(-1.5707963267948966, math.rad(math.random(-360, 360)), 0)
		}):Play();
		table.insert(v12, v15);
		task.wait(0.04);
	end;
	task.wait(0.25);
	for v16, v17 in pairs(v7) do
		v17.FF.Enabled = false;
		v17.Attachment.Effect.Enabled = false;
	end;
	for v18, v19 in pairs(v12) do
		v19[math.random(1, 3)]:Play();
		local l__Position__20 = v19.Position;
		game.TweenService:Create(v19, TweenInfo.new(0.65, Enum.EasingStyle.Quint), {
			Position = (CFrame.new(p2.Position) * CFrame.new(0, math.random(-0.9, 0.1), 0)).Position
		}):Play();
		task.delay(1, function()
			v19.Charge.Enabled = false;
			game.TweenService:Create(v19, TweenInfo.new(1, Enum.EasingStyle.Quint), {
				Transparency = 1
			}):Play();
		end);
		task.wait(0.025);
	end;
	return nil;
end;
return v1;

