Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

cut and paste with levels script can anyone help?

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?

1 comment

0

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

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.