Like when I :destroy() it the script should be looping around and when it detects that the part is not there then it will trigger and command to regen it but now I just need the script and explanation that detects it.
This is what I worked out.
local part = workspace:FindFirstChild("part")
if not part then
