I am quite a noob at Lua still, but I'm trying to change the parent of a part with the code below :

game.Lighting.Part.Parent = game.Workspace

2 comments

2

Your Lua syntax is correct. Most likely, either the code isn't running or you are experiencing an error that you are not showing us (perhaps Part is not a valid member of Lighting in the first place?).

0

I fixed it, I just didn't define the part.