-- 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 = l__ReplicatedStorage__1.KillFX.Thanos.Stomp:Clone();
	v7.Parent = p2.Parent.UpperTorso and p2;
	v7:Play();
	game.Debris:AddItem(v7, 4);
	for v8, v9 in pairs(p2.Parent:GetDescendants()) do
		if v9:IsA("BasePart") or v9:IsA("MeshPart") then
			local v10 = game.ReplicatedStorage.VFX[p1]:Clone();
			v10.Parent = v9;
			if p1 == "Thanos" then
				v10.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, v9.Color), ColorSequenceKeypoint.new(0.6, Color3.fromRGB(65, 33, 18)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0)) });
			end;
			game:GetService("TweenService"):Create(v9, TweenInfo.new(0.5), {
				Transparency = 1
			}):Play();
			delay(0.5, function()
				v10.Enabled = false;
			end);
			wait(0.1);
		end;
	end;
	return nil;
end;
return v1;

