So here, everything goes well except the part where the script removes the old version of the model. So basically, it removes it the first time, but stops removing it all those other times. This script is in Workspace and is targeting a model called "Wall". Please help :)
-- Made by Alucifer
-- Variables:
model = game.Workspace.Wall
children = model:GetChildren()
backup = model:Clone()
message = Instance.new("Message")
message.Text = "Regenerating "..model.Name.."..."
-- The function:
function regen()
print("Begin function")
-- show the message
message.Parent = game.Workspace
wait(2.5)
print("Showing message...")
-- remove the current model
model:Destroy() -- PROBLEM: only does this once, doesn't do it all those other times...
print("Old model has been destroyed!")
-- make a copy of the new one
local newModel = backup:Clone()
newModel.Parent = game.Workspace
print("New model has been placed!")
wait(1)
message.Parent = nil
print("Hiding message...", "End of function")
end
-- The while loop
while wait(15) do
regen()
end
-- end of script :D
I would be very thankful if you could help. Thank you for your time :)

2 comments
And no, it didn't say anything in the output, hmm...
It happens to me all the time so I want to solve this problem once and for all, please help ;D