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 a part in Workspace.model into just workspace using a script?

So I am working on my rocket ship, and I have a weld script keeping all the parts together in the model. Basically after say like 5 seconds I want a script to move the thruster parts in the model out of the model into workspace.

I'm hoping once this happens that the weld script will no longer affect the thruster parts and they will detach after being anchored.

Glad to provide further explanation / and specific code needed, however I think this explanation should be fine.

Thank you!

1 comment

0

part.Parent = workspace

1 answer

✓ Accepted answer
workspace.Model.part.Parent = workspace
--and then to undo welds
workspace.part:BreakJoints()

Actually, a part's parent does not really effect welds, you can weld two parts together regardless of their position in the explorer

3 comments

0

since the welds are already created by the script, they will stay until broken. Most weld scripts only weld one time.

0

Thank you so much!

0

Glad I could help! Please accept my answer if it worked.

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