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

Model un-welding when taken out of lighting?

I have an unanchored model that has multiple parts welded together, it works fine in the workspace, but when I put it in lighting and then take it out with a script it un-welds itself. Help?

For anyone curious, here the script that takes out the model from lighting.

local kill = game.Lighting:FindFirstChild("Kill")

wait(5)
	kill.Parent = workspace

1 answer

You said it's anchored. Not sure if this will definitely work but I'd rewrite your code to be something like this...

local kill = game.Lighting:FindFirstChild("Kill")
kill.Anchored = true
wait(5)
kill.Parent = game.Workspace
wait(0.2)
kill.Anchored = false

There might be something that just glitches out because of it being unanchored during the transfer, so try writing that in, it should work, but I'm not entirely sure it will.

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