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
So you would do, If this helped please mark it as Answered!
if not game.Workspace.MyPart then wait() -- Type in your command here :) end