#part:clone dosent work

1 messages · Page 1 of 1 (latest)

craggy bobcat
#

im trying to clone a object put :clone dosent work, it says on the roblox documentation to use instance:clone, but then it says its depricated, and so is part:clone, so how do i clone?

#

script: local carm1 = workspace["car model"].car1
local carm2 = workspace["car model"].car2
local carm3 = workspace["car model"].car3
local RamdomCar = workspace["car model"].car"math.Random(1, 3)"
local car = carm1:Clone()
car.Name = "car1 clone"
car.Parent = workspace["car model"]
car.Position = Vector3.new(15, 5, -57)

local check = workspace["car model"]:WaitForChild("car1 clone")

if check then
print("exists")
else
print("dosent exist")
end

frosty marsh
craggy bobcat
#

thx, but i just found out another way, thx either way!

frosty marsh
#

or workspace, I don't remember if it's lower case

craggy bobcat
#

bc im placing it in a folder

frosty marsh
craggy bobcat
#

oh, no that not my script

#

that on the official documentation

#

i think it is official

frosty marsh
#

oh

craggy bobcat
#

it might be a bit outdate