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

When i spawn my house from lighting via click detector button the house falls apart, why?

How do i fix this?

local thing = script.Parent.ClickDetector
local house = game.Lighting:FindFirstChild("House")

thing.MouseClick:connect(function(aaaaaa)
    house.Parent = game.Workspace
end)

3 comments

0

Make sure everything is Anchored, if not, everything falls apart

0

You need to make sure that the "House" Is anchored.

0

How would i add an anchor script to this current script?

1 answer

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