return function(...)local O={...}local z=O[1]local s=Vector3.new(z.X,z.Y-1.5,z.Z)local c=Instance.new("\065\116\116\097\099\104\109\101\110\116")c.Parent=workspace.Terrain c.WorldPosition=s game.Debris:AddItem(c,5)debrisModule.Shockwave(s,3,13);(coroutine.wrap(function()for O,z in pairs(script.FX:GetChildren())do if z:IsA("\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114")then local O=z:Clone()O.Parent=c O:Emit(O:GetAttribute("\069\109\105\116\067\111\117\110\116"))end end end))()end

return function(...)
	local Args = {...}


	local TargetPosition = Args[1]
	local fxPos = Vector3.new(TargetPosition.X, TargetPosition.Y - 1.5, TargetPosition.Z)

	local splashAttachment = Instance.new("Attachment")
	splashAttachment.Parent = workspace.Terrain
	splashAttachment.WorldPosition = fxPos
	game.Debris:AddItem(splashAttachment, 5)

	debrisModule.Shockwave(fxPos, 3, 13)

	coroutine.wrap(function()
		for i, v in pairs(script.FX:GetChildren()) do
			if v:IsA("ParticleEmitter") then
				local fx = v:Clone()
				fx.Parent = splashAttachment
				fx:Emit(fx:GetAttribute("EmitCount"))
			end
		end
	end)()

end
