#how do i copy rigs/target bricks(im making ai follow new player on join)

1 messages · Page 1 of 1 (latest)

versed turret
#

there's stuff inside them

#

so instance.new won't work

#

how do i make new one?

#

and copying the previous items inside

dull finch
#

Instance:Clone() to copy instances and descendants, and then set parent by Instance.Parent = instance

versed turret
mild gobletBOT
#

studio** You are now Level 8! **studio

dull finch
dull finch
#

local instance <- reference = Instance:Clone()
instance.Parent = instance

#

Not Instance.clone()

#

target:Clone()

versed turret
#

uhh

#

not rlly understanding it rn

dull finch
#

Where is target

versed turret
#

under the workspace