-- Decompiled with the Synapse X Luau decompiler.


local v1 = {};
local l__ReplicatedStorage__2 = game.ReplicatedStorage;
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 u1 = require(game.ReplicatedStorage.Modules.Lightning);
function v1.RunStompFx(p1, p2, p3, p4)
	if workspace.SpawnH:FindFirstChild(p3.Name) == nil then
		local v7 = workspace.SpawnH:WaitForChild(p3.Name);
		local v8 = game.ReplicatedStorage.KillFX.Souls.Sound:Clone();
		game.Debris:AddItem(v8, 10);
		v8.Parent = v7.HumanoidRootPart;
		v8:Play();
		for v9 = 1, 3 do
			local v10 = game.ReplicatedStorage.KillFX.Souls.ColorCorrection:Clone();
			v10.Parent = game.Lighting;
			game.Debris:AddItem(v10, 3);
			game.TweenService:Create(v10, TweenInfo.new(0.8, Enum.EasingStyle.Quart), {
				Brightness = 0, 
				Contrast = 0, 
				Saturation = 0, 
				TintColor = Color3.fromRGB(255, 255, 255)
			}):Play();
		end;
		local v11 = game.ReplicatedStorage.KillFX.Souls.Stomp:Clone();
		game.Debris:AddItem(v11, 10);
		v11.Parent = workspace;
		v11:Play();
		task.delay(0, function()
			local v12 = u1.Bolt((CFrame.new(v7.HumanoidRootPart.CFrame.p) * CFrame.new(0, 250, 0) * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))).Position, (v7.HumanoidRootPart.CFrame * CFrame.new(math.random(-2, 2), math.random(-1, 1), math.random(-1, 1))).Position, 10, 0.25, false);
			v12.PulseSpeed = 12;
			v12.PulseLength = 5;
			v12.MinRadius = 0;
			v12.MaxRadius = 5;
			v12.FadeLength = 0.1;
			v12.Thickness = 3;
			v12.MinTransparency = 0.25;
			v12.MaxTransparency = 0.3;
			v12.Color = Color3.fromRGB(255, 0, 0);
		end);
	else
		local v13 = game.ReplicatedStorage.KillFX.Souls.arszg:Clone();
		game.Debris:AddItem(v13, 18);
		v13.Parent = p3.Character.PrimaryPart;
		v13:Play();
	end;
	return nil;
end;
return v1;

