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

Why isn't this loading in correctly?

This is supposed to load in the world if the value =1 but it loads in if it = anything

game.Players.PlayerAdded:Connect(function(Player)
	wait(1)
	local World = Player.Endings.World.Value
	if World == 1 then
		local Model = game.ServerStorage.Maps.Map1
		for _, Child in pairs(Model:GetChildren()) do
			Child.Parent = Model.Parent.Parent.Parent.Workspace
		end

		Model:Destroy()
	end
end)

1 answer

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