null nil false -0.5 0.5 0 0 -0.5 0.5 4 0 21 -120.000008 1.79999995 8.5 1 0 0 0 1 0 0 0 1 true false 0.5 1 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Reset 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 3 0 0 0 0 0 true 1 9 1.20000005 8 false Script model = script.Parent.Parent messageText = "Map regeneration may cause the game to crash." message = Instance.new("Message") message.Text = messageText backup = model:clone() enabled = true function regenerate() message.Parent = game.Workspace model:remove() wait(2) model = backup:clone() model.Parent = game.Workspace model:makeJoints() message.Parent = nil script.Disabled = true script.Parent.BrickColor = BrickColor.new(26)--Black wait(10) script.Parent.BrickColor = BrickColor.new(104)--Purple script.Disabled = false end function onHit(hit) if (hit.Parent:FindFirstChild("Humanoid") ~= nil) and enabled then regenerate() end end script.Parent.Touched:connect(onHit) true