It regenerates, but it never disables itself
model = script.Parent.Parent local thing = script.Parent:WaitForChild("Value") backup = model:clone() thing.Value = "Yes" function regenerate() model = backup:clone() model.Parent = game.Workspace model:makeJoints() thing.Value = "No" script.Parent.BrickColor = BrickColor.new(26) wait(30) script.Parent.BrickColor = BrickColor.new(104) thing.Value = "Yes" end function onHit(hit) if (hit.Parent:FindFirstChild("Humanoid") ~= nil) and thing.Value == "Yes" then regenerate() end end script.Parent.Touched:connect(onHit)