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

How to create clone in Lighting from Workspace?

Asked by 3 years ago

Hello, As said in the title, how can I create a script clone in Lighting from the Workspace? Do I need to link objets with it? Thank you for your help.

1 answer

Log in to vote
1
Answered by
LazokkYT 117
3 years ago
Edited 3 years ago
local clone = workspace.object:Clone() -- replace object with your object name and also you can name the variable whatever you want.
clone.Parent = game.Lighting

Basically we just made a variable of the clone and then we set the parent of the clone to be in Lighting.

0
Thank you very much. KevinTito1378 6 — 3y
0
Don't forget to accept their answer JPT79 92 — 3y
Ad

Answer this question