I have a bomb that makes everything in a certain proximity turn to Corroded Metal. When that happens, I'd like it to unanchored once it turns that material. Also, delete itself after a period of time.
if Parent.Material = "CorrodedMetal"
then anchored = false
wait(10)
if "CorrodedMetal":remove()
end
