local function OnTouch(hit)
if (hit.Parent) then
hit.Parent.CanCollide = false
end
end
script.Parent.Touched:Connect(OnTouch)
this is the script im trying to get a soccer ball to be no collided when it hits a part and then some how remove it from the game can somone show me how

4 comments
I don't understand the question :/
e,e im asking how do u get this to no collide the object that it touches
What's it doing?
i plan on trying to get it to remove the ball when the ball touches it/the brick but first no collide it and make it turn red so after some secondes it disapears