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