Hello, I've been trying to figure out how to do this for a while for my new game. So far I've come up with
script.Parent.ChildAdded:connect(function(instance) print(instance.Name .. " added to the workspace") end) Instance.new("Part", script.Parent) --> Part added to the Workspace
this means when my part experiences body force, it prints "added to the workspace". I just need help on making Cancollide = false. Thank you.

5 comments
What do I define the explosion as?
Well... an explosion. e.g. Instance.new("Explosion"). Whichever explosion your using works, just use the same variable
2 more questions (sorry, I'm a beginner scripter) do you put the script on top in the explosion part or the part that you want to disappear? And, what do you write for "code goes here"?
It goes for the explosion. Also, "code goes here" is the code for when the part gets hit, like the non-CanCollide stuff
The use of
explosion.Hitis correct, however the use ofexplosion.BlastPressureto get rid of parts is not. Don't do that. Call:Destroy()on the part instead. Alternatively you could useDebris:AddItem()to ask Roblox to destroy it later.