I have a script that throws a water balloon and I'm trying to make it form a puddle when it hits the ground. I've already done this with a .Touched
connecting to any anchored parts.
-- M is just Math.Random PBall.Touched:connect(function(hit) if hit.Anchored == true then for i=1, M(2,4)do local Size = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25)) local Size2 = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25)) Pool(PBall,Size2) --Function that creates the puddle end end end)
This works fine but it doesn't trigger immediately so the puddles often end up forming inside of the ground. Is there a better way to do this?