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

How would I properly change the parent of an item?

Asked by
Spooce 78
10 years ago

Say I wanted a part in the Lighting to go into Workspace.

1 answer

Log in to vote
2
Answered by
SirNoobly 165
10 years ago

Parent is a property so you would just change it like any other property.

game.Lighting.Part.Parent = workspace

Though don't use Lighting to store stuff, use ReplicatedStorage or ServerStorage.

0
Thanks! Spooce 78 — 10y
Ad

Answer this question