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

Cloned map falls apart?

I tried to make a random map chooser. It works, but I need my map destructible, so I unanchored the map. However, it falls apart. I even included clone:MakeJoints() What was so wrong?

local function changeMap()
	local maps = game.ServerStorage.Maps:GetChildren()
	local map = maps[math.random(1,#maps)]
	local clone = map:Clone()
	clone.Parent = game.Workspace.GameMap
	clone:MakeJoints()
end

My map also has folders and models inside the cloned map. All the parts in there have welds, studs, and inlets.

3 comments

0

Maybe it's just the map, make sure the non-anchored parts are well-jointed to anchored parts like baseplate of the map

0

Does the whole map fall apart?

0

The whole map falls apart.

1 answer

This may because your map is not Anchored or it has some parts that are not welded correctly.

-Enomphia

1 comment

0

It might need to be anchored

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