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

Why is my clone script not cloning the part?

Asked by
nachsor 36
5 years ago

Hello,

I am having a bit of an issue with the :clone() command. I use clone() lots of times but for some reason, it isn't working right now. I have done the following.

local part = game.Workspace.CloneMe

local cloneObject = part:Clone()
cloneObject.parent = game.workspace
cloneObject.position = Vector3.new(0,0,0)

This script should clone my part, but it doesn't. It doesn't do anything, doesn't show any errors, no cloned parts, just doesn't do anything. Please help me.

0
capitalize "parent" and "position" DeceptiveCaster 3761 — 5y

1 answer

Log in to vote
-1
Answered by 5 years ago

It could be because it is disabled or you have any unkown error in your script

Ad

Answer this question