i have a script to copy something to workspace to lighting but it doesent work game.Workspace.build:Clone()game.lighting.RoomOne can anyone help?
COMMUNITY QUESTION
cut and paste with levels script can anyone help?
1 answer
Use this instead:
cloned = game.Workspace.build:Clone()
cloned.Parent = game.Lighting.RoomOne
game.Workspace.build:remove()
4 comments
0
thx
0
please use destroy and not remove
0
please use :Destroy() not :remove() for remove is deprecated and looks ugly :)
0
sorry lc
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You should not be using lighting to store models. Use replicated storage or server storage.