function SpawnPuddle(M,O,y)local K,e,d=Raycast(M,(CFrame.new(M,M-Vector3.new(0,1,0))).lookVector,12,O)if K then coroutine.resume(coroutine.create(function()local M=CreatePart(3,Effects,"\083\109\111\111\116\104\080\108\097\115\116\105\099",0,1,"\087\104\105\116\101","\071\111\114\101",VT(3,0,3),true)local O=script.Puddle:Clone()O.Parent=M if y==true then O.Image.ImageColor3=C3(1,1,1)end M.CFrame=CFrame.new(e,e+d)*CFrame.Angles(math.rad(-90),math.rad(math.random(0,360)),0)for O=1,math.random(25,65),1 do Swait()M.Size=M.Size+Vector3.new(.1,0,.1)end wait(math.random(10,25)/50)for M=1,25,1 do Swait()O.Image.ImageTransparency=O.Image.ImageTransparency+.04 end M:Remove()end))end end
--//=================================\\
--|| 		   EFFECTS
--\\=================================//

function SpawnPuddle(POSITION, IGNR, GOO)
	local HIT, POS, NOR = Raycast(POSITION, CFrame.new(POSITION, POSITION - Vector3.new(0, 1, 0)).lookVector, 12, IGNR)
	if HIT then
		coroutine.resume(coroutine.create(function()
			local GOREPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "White", "Gore", VT(3, 0, 3), true)
			local SURFACE = script.Puddle:Clone()
			SURFACE.Parent = GOREPART
			if GOO == true then
				SURFACE.Image.ImageColor3 = C3(1, 1, 1)
			end
			GOREPART.CFrame = CFrame.new(POS, POS + NOR)
				* CFrame.Angles(math.rad(-90), math.rad(math.random(0, 360)), 0)
			for i = 1, math.random(25, 65) do
				Swait()
				GOREPART.Size = GOREPART.Size + Vector3.new(0.1, 0, 0.1)
			end
			wait(math.random(10, 25) / 50)
			for i = 1, 25 do
				Swait()
				SURFACE.Image.ImageTransparency = SURFACE.Image.ImageTransparency + 1 / 25
			end
			GOREPART:Remove()
		end))
	end
end
