Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make models clone if it's not in specific location?

Asked by 9 years ago
local regentime = 180

local model = script.parent

if model.Bart.position ~= (55.5,312.894,255.4) then
-- Bart is a brick inside of the model  
    local poop = model:clone()

    while true do
        wait(regentime)

        model = poop:clone()
        model.parent = game.Workspace
        model:makeJoints()
    end
end

1 answer

Log in to vote
0
Answered by 9 years ago

you could easily just clone an object by clicking on the model then pressing ctrl+c then ctrl+v.

0
No, I want to make it so while the game is going, I can drive my vehicle and 3 minutes later I will return and find it has regenerated. I'm not talking about studio. Ninjaxdagger 0 — 9y
Ad

Answer this question