-- 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 l__TweenService__5 = game.TweenService;
local l__Debris__6 = game.Debris;
local u1 = require(game.ReplicatedStorage.Modules.CameraShaker);
function v1.RunStompFx(p1, p2, p3, p4)
	local v7 = game.ReplicatedStorage.KillFX.Tonka.Bell:Clone();
	v7:PivotTo(CFrame.new(p2.Position));
	wait(2);
	v7.VFX.Sound:Play();
	v7.Parent = workspace.Ignored.Animations;
	local v8 = v7.AnimationController:LoadAnimation(v7.Animation);
	v8:Play(0.1, 1, 1);
	local u2 = nil;
	u2 = v8:GetMarkerReachedSignal("Spawn"):Connect(function()
		task.delay(0.45, function()
			v7.VFX.Attachment.Glow.Enabled = true;
			local u3 = 0;
			local u4 = nil;
			u4 = v8:GetMarkerReachedSignal("Ring"):Connect(function()
				u3 = u3 + 1;
				for v9 = 1, 8 do
					local v10 = game.ReplicatedStorage.KillFX.Tonka.ColorCorrection:Clone();
					v10.Parent = game.Lighting;
					game.TweenService:Create(v10, TweenInfo.new(1), {
						TintColor = Color3.fromRGB(255, 255, 255), 
						Brightness = 0, 
						Contrast = 0, 
						Saturation = 0
					}):Play();
					game.Debris:AddItem(v10, 1);
				end;
				local v11 = u1.new(Enum.RenderPriority.Camera.Value, function(p5)
					workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * p5;
				end);
				v11:Start();
				v11:Shake(u1.Presets.Bump);
				local v12 = v7.VFX.Attachment:Clone();
				v12.Parent = workspace.Terrain;
				v12.WorldPosition = (v7.RootPart.Chain.Bell.DingDong.TransformedWorldCFrame * CFrame.new(0, 6, 0)).Position;
				game.Debris:AddItem(v12, 2);
				v12.ParticleEmitter.Enabled = true;
				task.delay(0.25, function()
					v12.ParticleEmitter.Enabled = false;
				end);
				v7.VFX.Sound.Volume = 2;
				task.delay(0.25, function()
					v7.VFX.Sound.Volume = 1;
				end);
				if u3 == 3 then
					return;
				end;
				if u3 == 5 then
					v7.VFX.Attachment.Glow.Enabled = false;
					game.TweenService:Create(v7.VFX.Sound, TweenInfo.new(2, Enum.EasingStyle.Exponential), {
						Volume = 0
					}):Play();
					for v13, v14 in pairs(v7:GetDescendants()) do
						if v14:IsA("MeshPart") then
							game.TweenService:Create(v14, TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut), {
								Transparency = 1, 
								Reflectance = 0
							}):Play();
						elseif v14:IsA("Beam") then
							game.TweenService:Create(v14, TweenInfo.new(3, Enum.EasingStyle.Exponential), {
								Width1 = 0, 
								Width0 = 0
							}):Play();
						end;
					end;
					u4:Disconnect();
				end;
			end);
			u2:Disconnect();
			for v15, v16 in pairs(v7:GetDescendants()) do
				if v16:IsA("MeshPart") then
					game.TweenService:Create(v16, TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut), {
						Transparency = 0
					}):Play();
				elseif v16:IsA("Beam") then
					game.TweenService:Create(v16, TweenInfo.new(3, Enum.EasingStyle.Exponential), {
						Width1 = 50, 
						Width0 = 50
					}):Play();
				end;
			end;
			local u5 = nil;
			local u6 = 0;
			u5 = game["Run Service"].RenderStepped:Connect(function()
				if v7.Parent == nil then
					u5:Disconnect();
				else
					v7.VFX.CFrame = v7.RootPart.Chain.Bell.TransformedWorldCFrame * CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(u6), 0, math.rad(u6));
					v7.VFX1.CFrame = v7.RootPart.Chain.Bell.TransformedWorldCFrame * CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(-u6), math.rad(-u6), 0);
				end;
				u6 = u6 + 2.5;
			end);
		end);
	end);
	return nil;
end;
return v1;