Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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

1 comment

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.