The regeneration script by ROBLOX is as follows: model = game.Workspace.MyModelName messageText = "Regenerating MyModelName..." message = Instance.new("Message") message.Text = messageText backup = model:clone() while true do wait(300) message.Parent = game.Workspace model:remove() wait(4) model = backup:clone() model.Parent = game.Workspace model:makeJoints() message.Parent = nil end The script above tells the computer to find the model "MyModelName" and regenerate it every 300 seconds, while printing a message on the screen saying "Regenerating MyModelName" for 4 seconds.
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
dcterms:subject | |
abstract |
|