return function(L,...)local C={...}if L=="\083\112\108\097\115\104"then local L=C[1]local t=C[2]local l=Instance.new("\065\116\116\097\099\104\109\101\110\116")l.Parent=t l.WorldPosition=L game.Debris:AddItem(l,5);(coroutine.wrap(function()for L,C in pairs(script.Splash:GetChildren())do if C:IsA("\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114")then local L=C:Clone()L.Parent=l L:Emit(L:GetAttribute("\069\109\105\116\067\111\117\110\116"))end end end))()end end

return function(Action, ...)
	local Args = {...}
	
	if Action == "Splash" then
		local TargetPosition = Args[1]
		local WaterPart = Args[2]
		
		local splashAttachment = Instance.new("Attachment")
		splashAttachment.Parent = WaterPart
		splashAttachment.WorldPosition = TargetPosition
		game.Debris:AddItem(splashAttachment, 5)
		
		coroutine.wrap(function()
			for i, v in pairs(script.Splash:GetChildren()) do
				if v:IsA("ParticleEmitter") then
					local fx = v:Clone()
					fx.Parent = splashAttachment
					fx:Emit(fx:GetAttribute("EmitCount"))
				end
			end
		end)()
	end
end
