Hey guys I would like to know how to make a model named orbs located in workspace regenerate after 5 seconds.
thx for reading
Simple. You make a loop that loops every 5 seconds and after 5 seconds you’re going to make a clone of the model (not the one in the workspace, but one saved in ServerStorage or ReplicatedStorage). You’re going to destroy the one in the workspace and then parent the clone to the workspace. Lemme know if you got questions.
2 Likes
local model -- type the path to a part
local backup = model:Clone()
while true do
wait(5)
model:Remove()
model = backup:Clone()
model.Parent = game.Workspace
model:MakeJoints()
end
kind of that
1 Like
wait, is it the folder, part or model?
ah… very letters in words… u dont think this?
its just to overcome the thirty
characters min
oh ok,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,
try this if the other doesnt work
while true do
wait (5)
local model = workspace:WaitForChild("Orbs")
local backup = model:Clone()
model:Destroy()
backup.Parent = workspace
end
1 Like