Like when u wait for awhile then the part comes back after being destroyed.
You can wait for the part's Parent to change. And then clone it and replace it after a few seconds. Here's what I'd do
function regen(part, seconds) local origin = part.Parent part:GetPropertyChangedSignal("Parent"):Connect(function(parent) -- Part was moved local clone = part:Clone() -- Save the part properties wait(seconds) -- Wait a few seconds if origin and clone and (not part or not part.Parent) then -- If part was destroyed then clone.Parent = origin -- put the clone back regen(clone, seconds) end end) end regen(workspace.Part, 2) -- Regenerate "Part" after 2 seconds
add a serverscript (plain light blue script) into the desired part
local part = script.Parent part.Touched:Connect(function() --Function activated when part is touched part.Transparency = 1 --Makes part transparent wait(5) --Waits 5 seconds, change 5 to how many seconds you want the script to wait part.Transparency = 0--Makes part opaque end) -- ends the script