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

How do I move something from Lighting to Workspace?

The models name is arena1

1 comment

0

Um why the hell would you have an object in the lighting service. Here I'll post maw answer in a sec.

3 answers

✓ Accepted answer

Although it's probably better to store things in the ReplicatedStorage, lighting was the old way of doing things.

It's game.Lighting.arena1.Parent = workspace

should work.

2 comments

0

Remember to include a code block or an inline code!!!!!!

0

BTW whoever upvoted this answer, only upvote answers that you think are detailed.

Alright well I have one question, why would you have an object in the lighting service. Well anyways, it's quite simple. You'd have to change the Parent property of that object (AKA the location of the object). So it would first look like this: game.Lighting.arena1.Parent . Now we have to set the parent property of arena1 to the Workspace. So we'd specify the parent using "=" , so the final product would be this:

game.Lighting.arena1.Parent = game.Workspace --we set the parent property of that object to the Workspace

Well it wasn't much :/. Please if you're asking questions, don't let it be this simple. Look it up er something. Anyways I hope this helped. If you have any questions, please post a comment below. Otherwise, if you have other questions I have some helpful links below. YOUR WELCOME!!!

LINKS:

Roblox Wiki: http://wiki.roblox.com/index.php/Scripting#Roblox-Defined_Types

The Parent Property: http://wiki.roblox.com/index.php?title=API:Class/Instance/Parent

"Posting good questions" Article: https://scriptinghelpers.org/help/how-post-good-questions-answers

Community Guidlines: https://scriptinghelpers.org/help/community-guidelines

Well, You could do this script :

This should make your model go to workspace.

--Script Made by NeonTurtle2001 (Credit) while true do wait() local Model = game.Lighting.arena1 for I = 1, #Model do local yes = true if yes then Model.Parent = game.Workspace return end end end return end

1 comment

0

Again guys, PUT YOUR SCRIPTS INTO CODE BLOCKS. By The Way dude all he wants is the code, not a whole entire script.

This discussion is preserved as it was. New answers, comments, and votes are closed.