-- Builds the 10 new crafted plot items into ReplicatedStorage.OrnamentMachine.Decor (same layout as PullUpBar: -- invisible "Base" PrimaryPart at the ground, pivot (0, 0.1, 0), front = -Z). Re-running replaces them. local D = game.ReplicatedStorage.OrnamentMachine.Decor local M = Enum.Material local rad, C = math.rad, Color3.fromRGB local WHITE, RED, GOLD, BLACK = C(245, 247, 252), C(215, 30, 40), C(255, 190, 45), C(25, 25, 30) local GREEN, DGREEN, BROWN, SKIN = C(40, 165, 70), C(20, 110, 50), C(120, 70, 35), C(255, 205, 170) local function model(name, bw, bd) local old = D:FindFirstChild(name); if old then old:Destroy() end local m = Instance.new("Model"); m.Name = name local b = Instance.new("Part"); b.Name = "Base"; b.Size = Vector3.new(bw, 0.2, bd); b.CFrame = CFrame.new(0, 0.1, 0) b.Transparency = 1; b.CanCollide = false; b.Anchored = true; b.Parent = m m.PrimaryPart = b return m end local function P(m, kind, size, cf, color, mat, extra) local cls = kind == "wedge" and "WedgePart" or "Part" local p = Instance.new(cls) if kind == "ball" then p.Shape = Enum.PartType.Ball elseif kind == "cyl" then p.Shape = Enum.PartType.Cylinder end p.Size, p.CFrame, p.Color, p.Material = size, cf, color, mat or M.SmoothPlastic p.Anchored = true p.CanCollide = math.min(size.X, size.Y, size.Z) >= 0.8 p.TopSurface, p.BottomSurface = Enum.SurfaceType.Smooth, Enum.SurfaceType.Smooth if extra then for k, v in extra do p[k] = v end end p.Parent = m return p end local function box(m, s, pos, col, mat, rot) return P(m, "box", s, CFrame.new(pos) * (rot or CFrame.identity), col, mat) end local function ball(m, d, pos, col, mat) return P(m, "ball", Vector3.new(d, d, d), CFrame.new(pos), col, mat) end local function vcyl(m, d, h, pos, col, mat) return P(m, "cyl", Vector3.new(h, d, d), CFrame.new(pos) * CFrame.Angles(0, 0, rad(90)), col, mat) end local function light(p, col, range, br) local l = Instance.new("PointLight"); l.Color = col; l.Range = range; l.Brightness = br or 1.5; l.Parent = p end local function bow(m, pos, col) box(m, Vector3.new(0.9, 0.55, 0.25), pos + Vector3.new(-0.45, 0, 0), col, nil, CFrame.Angles(0, 0, rad(25))) box(m, Vector3.new(0.9, 0.55, 0.25), pos + Vector3.new(0.45, 0, 0), col, nil, CFrame.Angles(0, 0, rad(-25))) ball(m, 0.4, pos, col) end local function stepRoof(m, base, d, h, steps, col, tipCol) for i = 0, steps - 1 do local k = 1 - i / steps vcyl(m, d * k, h / steps, base + Vector3.new(0, h / steps * (i + 0.5), 0), col) end if tipCol then ball(m, d * 0.28, base + Vector3.new(0, h + 0.1, 0), tipCol, M.Neon) end end local function gift(m, s, pos, col, rib, yaw) local r = CFrame.Angles(0, rad(yaw or 0), 0) P(m, "box", Vector3.new(s, s, s), CFrame.new(pos) * r, col) P(m, "box", Vector3.new(s * 1.02, s * 1.02, s * 0.22), CFrame.new(pos) * r, rib) P(m, "box", Vector3.new(s * 0.22, s * 1.02, s * 1.02), CFrame.new(pos) * r, rib) local top = (CFrame.new(pos) * r * CFrame.new(0, s / 2 + 0.2, 0)) P(m, "box", Vector3.new(s * 0.45, s * 0.3, 0.2), top * CFrame.new(-s * 0.2, 0, 0) * CFrame.Angles(0, 0, rad(25)), rib) P(m, "box", Vector3.new(s * 0.45, s * 0.3, 0.2), top * CFrame.new(s * 0.2, 0, 0) * CFrame.Angles(0, 0, rad(-25)), rib) end local built = {} local function done(m) m:PivotTo(CFrame.new(0, 0.1, 0)); m.Parent = D; table.insert(built, m.Name .. "(" .. #m:GetDescendants() .. ")") end ---------------------------------------------------------------- 1 Frosty Snowman do local m = model("FrostySnowman", 5, 5) box(m, Vector3.new(5, 0.3, 5), Vector3.new(0, 0.15, 0), WHITE, M.Snow) ball(m, 4.6, Vector3.new(0, 2.4, 0), WHITE, M.Snow) ball(m, 3.4, Vector3.new(0, 5.4, 0), WHITE, M.Snow) ball(m, 2.5, Vector3.new(0, 7.9, 0), WHITE, M.Snow) for _, x in { -0.45, 0.45 } do ball(m, 0.35, Vector3.new(x, 8.25, -1.1), BLACK) end P(m, "cyl", Vector3.new(1.1, 0.35, 0.35), CFrame.new(0, 7.85, -1.65) * CFrame.Angles(0, rad(90), 0), C(255, 130, 30)) for i = -2, 2 do ball(m, 0.2, Vector3.new(i * 0.25, 7.4 + math.abs(i) * 0.08, -1.12), BLACK) end for i, y in { 4.7, 5.4, 6.1 } do ball(m, 0.32, Vector3.new(0, y, -1.65 + math.abs(i - 2) * 0.08), BLACK) end vcyl(m, 2.95, 0.55, Vector3.new(0, 6.75, 0), RED) box(m, Vector3.new(0.65, 1.7, 0.25), Vector3.new(0.85, 5.95, -1.45), RED, nil, CFrame.Angles(rad(-10), 0, rad(-8))) vcyl(m, 3, 0.25, Vector3.new(0, 9.05, 0), BLACK) vcyl(m, 1.9, 1.8, Vector3.new(0, 10.05, 0), BLACK) vcyl(m, 1.95, 0.3, Vector3.new(0, 9.35, 0), RED) for _, s in { -1, 1 } do box(m, Vector3.new(2.6, 0.22, 0.22), Vector3.new(s * 2.5, 5.8, 0), BROWN, M.Wood, CFrame.Angles(0, 0, rad(s * 28))) box(m, Vector3.new(0.7, 0.16, 0.16), Vector3.new(s * 3.65, 6.65, 0), BROWN, M.Wood, CFrame.Angles(0, 0, rad(s * 70))) end done(m) end ---------------------------------------------------------------- 2 Gingerbread House do local m = model("GingerbreadHouse", 7, 6) local G = C(170, 100, 50) box(m, Vector3.new(7, 0.3, 6), Vector3.new(0, 0.15, 0), WHITE, M.Snow) box(m, Vector3.new(6, 4.2, 5), Vector3.new(0, 2.4, 0), G) P(m, "wedge", Vector3.new(6.8, 2.6, 3), CFrame.new(0, 5.8, -1.5), WHITE) P(m, "wedge", Vector3.new(6.8, 2.6, 3), CFrame.new(0, 5.8, 1.5) * CFrame.Angles(0, rad(180), 0), WHITE) for i = -3, 3 do ball(m, 0.35, Vector3.new(i, 4.45, -3.0), WHITE) end local gum = { RED, GREEN, GOLD, C(255, 120, 200), C(80, 170, 255) } for i = -2, 2 do ball(m, 0.55, Vector3.new(i * 1.25, 7.15, 0), gum[i + 3], M.Neon) end box(m, Vector3.new(1.4, 2.4, 0.2), Vector3.new(0, 1.5, -2.55), C(95, 50, 25)) ball(m, 0.22, Vector3.new(0.45, 1.5, -2.7), GOLD, M.Metal) for _, x in { -1.9, 1.9 } do local w = box(m, Vector3.new(1.1, 1.1, 0.2), Vector3.new(x, 2.9, -2.55), C(255, 210, 90), M.Neon) box(m, Vector3.new(1.25, 0.15, 0.25), Vector3.new(x, 2.9, -2.62), WHITE) box(m, Vector3.new(0.15, 1.25, 0.25), Vector3.new(x, 2.9, -2.62), WHITE) if x > 0 then light(w, C(255, 200, 120), 10, 1) end end box(m, Vector3.new(0.9, 1.6, 0.9), Vector3.new(1.8, 6.6, 1.1), G) box(m, Vector3.new(1.05, 0.3, 1.05), Vector3.new(1.8, 7.45, 1.1), WHITE, M.Snow) for _, x in { -1.1, 1.1 } do vcyl(m, 0.35, 2, Vector3.new(x, 1.3, -3.0), WHITE) for k = 0, 3 do vcyl(m, 0.38, 0.18, Vector3.new(x, 0.55 + k * 0.5, -3.0), RED) end box(m, Vector3.new(0.6, 0.3, 0.3), Vector3.new(x + (x > 0 and -0.2 or 0.2), 2.35, -3.0), RED) end done(m) end ---------------------------------------------------------------- 3 Candy Cane Arch do local m = model("CandyCaneArch", 8, 2) for _, x in { -3, 3 } do vcyl(m, 1.4, 0.3, Vector3.new(x, 0.15, 0), WHITE, M.Snow) for k = 0, 9 do vcyl(m, 0.9, 0.62, Vector3.new(x, 0.6 + k * 0.6, 0), k % 2 == 0 and RED or WHITE) end end local R, cy, n = 3, 6.3, 12 for i = 0, n - 1 do local a = math.pi * (i + 0.5) / n local pos = Vector3.new(-math.cos(a) * R, cy + math.sin(a) * R, 0) P(m, "cyl", Vector3.new(0.95, 0.9, 0.9), CFrame.new(pos) * CFrame.Angles(0, 0, a + math.pi / 2), i % 2 == 0 and WHITE or RED) end bow(m, Vector3.new(0, 9.3, -0.5), RED) box(m, Vector3.new(0.3, 1.1, 0.15), Vector3.new(-0.25, 8.6, -0.55), RED, nil, CFrame.Angles(0, 0, rad(-15))) box(m, Vector3.new(0.3, 1.1, 0.15), Vector3.new(0.25, 8.6, -0.55), RED, nil, CFrame.Angles(0, 0, rad(15))) done(m) end ---------------------------------------------------------------- 4 Reindeer Statue do local m = model("ReindeerStatue", 6, 4) local F, DB = C(150, 95, 55), C(70, 40, 20) box(m, Vector3.new(5, 0.8, 3), Vector3.new(0, 0.4, 0), GOLD, M.Foil) box(m, Vector3.new(5.2, 0.15, 3.2), Vector3.new(0, 0.85, 0), C(255, 220, 120), M.Foil) box(m, Vector3.new(3.4, 1.6, 1.4), Vector3.new(-0.2, 3.1, 0), F) for _, x in { -1.4, 1.0 } do for _, z in { -0.45, 0.45 } do box(m, Vector3.new(0.45, 1.8, 0.45), Vector3.new(x, 1.8, z), F) box(m, Vector3.new(0.5, 0.35, 0.5), Vector3.new(x, 1.05, z), DB) end end box(m, Vector3.new(0.75, 1.7, 0.75), Vector3.new(1.55, 4.3, 0), F, nil, CFrame.Angles(0, 0, rad(-25))) vcyl(m, 0.95, 0.3, Vector3.new(1.45, 4.05, 0), RED) box(m, Vector3.new(1.4, 0.9, 0.9), Vector3.new(2.25, 5.1, 0), F) ball(m, 0.5, Vector3.new(3.0, 5.05, 0), C(255, 40, 40), M.Neon) for _, z in { -0.35, 0.35 } do ball(m, 0.18, Vector3.new(2.6, 5.35, z * 1.3), BLACK) box(m, Vector3.new(0.18, 1.4, 0.18), Vector3.new(2.0, 6.1, z), DB, nil, CFrame.Angles(rad(z * 40), 0, rad(15))) box(m, Vector3.new(0.6, 0.15, 0.15), Vector3.new(1.75, 6.35, z * 1.6), DB, nil, CFrame.Angles(0, 0, rad(40))) end ball(m, 0.55, Vector3.new(-2.0, 3.6, 0), WHITE) light(m:FindFirstChildWhichIsA("Part"), C(255, 60, 60), 6, 0.6) done(m) end ---------------------------------------------------------------- 5 Ice Lantern Post do local m = model("IceLanternPost", 2.5, 2.5) local IRON = C(45, 50, 65) vcyl(m, 1.6, 0.5, Vector3.new(0, 0.25, 0), IRON, M.Metal) vcyl(m, 0.4, 6, Vector3.new(0, 3.5, 0), IRON, M.Metal) box(m, Vector3.new(1.4, 0.15, 1.4), Vector3.new(0, 6.55, 0), IRON, M.Metal) box(m, Vector3.new(1.1, 1.4, 1.1), Vector3.new(0, 7.35, 0), C(190, 230, 255), M.Glass).Transparency = 0.35 for _, x in { -0.6, 0.6 } do for _, z in { -0.6, 0.6 } do box(m, Vector3.new(0.12, 1.5, 0.12), Vector3.new(x, 7.35, z), IRON, M.Metal) end end local core = ball(m, 0.7, Vector3.new(0, 7.35, 0), C(255, 215, 120), M.Neon) light(core, C(255, 205, 140), 16, 1.6) box(m, Vector3.new(1.6, 0.2, 1.6), Vector3.new(0, 8.15, 0), IRON, M.Metal) box(m, Vector3.new(1.7, 0.25, 1.7), Vector3.new(0, 8.35, 0), WHITE, M.Snow) ball(m, 0.4, Vector3.new(0, 8.65, 0), IRON, M.Metal) for i = 0, 9 do local a = i / 10 * math.pi * 2 ball(m, 0.42, Vector3.new(math.cos(a) * 0.5, 4.6, math.sin(a) * 0.5), i % 2 == 0 and GREEN or DGREEN) end bow(m, Vector3.new(0, 4.3, -0.75), RED) done(m) end ---------------------------------------------------------------- 6 Pile of Gifts do local m = model("GiftPile", 6, 5) box(m, Vector3.new(6, 0.3, 5), Vector3.new(0, 0.15, 0), WHITE, M.Snow) gift(m, 2.2, Vector3.new(-1.0, 1.4, 0.3), RED, GOLD, 10) gift(m, 1.7, Vector3.new(1.3, 1.15, -0.6), C(40, 110, 230), WHITE, -15) gift(m, 1.4, Vector3.new(1.0, 1.0, 1.5), GREEN, RED, 30) gift(m, 1.2, Vector3.new(-1.0, 3.1, 0.3), C(150, 70, 230), GOLD, -20) gift(m, 1.0, Vector3.new(-2.4, 0.8, -1.4), GOLD, RED, 45) gift(m, 1.3, Vector3.new(2.4, 0.95, 1.2), WHITE, C(40, 110, 230), 5) done(m) end ---------------------------------------------------------------- 7 Santa's Sleigh do local m = model("SantaSleigh", 7, 4) for _, z in { -1.3, 1.3 } do box(m, Vector3.new(6, 0.2, 0.25), Vector3.new(0, 0.3, z), GOLD, M.Foil) box(m, Vector3.new(0.25, 1.3, 0.25), Vector3.new(3.05, 0.9, z), GOLD, M.Foil, CFrame.Angles(0, 0, rad(-20))) ball(m, 0.45, Vector3.new(3.3, 1.55, z), GOLD, M.Foil) for _, x in { -1.8, 0, 1.8 } do box(m, Vector3.new(0.2, 0.7, 0.2), Vector3.new(x, 0.7, z), GOLD, M.Foil) end end box(m, Vector3.new(4.5, 1.6, 2.4), Vector3.new(-0.2, 1.85, 0), RED) P(m, "wedge", Vector3.new(2.4, 1.6, 1.4), CFrame.new(2.75, 1.85, 0) * CFrame.Angles(0, rad(-90), 0), RED) box(m, Vector3.new(0.5, 1.6, 2.4), Vector3.new(-2.2, 3.4, 0), RED) box(m, Vector3.new(1.6, 0.4, 2.2), Vector3.new(-1.5, 2.8, 0), C(130, 20, 30)) for _, z in { -1.22, 1.22 } do box(m, Vector3.new(4.6, 0.18, 0.12), Vector3.new(-0.2, 2.6, z), GOLD, M.Foil) end box(m, Vector3.new(0.6, 0.18, 2.5), Vector3.new(-2.2, 4.25, 0), GOLD, M.Foil) ball(m, 2.0, Vector3.new(0.4, 3.4, 0), C(150, 95, 50)) vcyl(m, 0.55, 0.4, Vector3.new(0.4, 4.45, 0), GOLD, M.Foil) gift(m, 0.9, Vector3.new(1.6, 3.1, 0.5), C(40, 110, 230), WHITE, 20) gift(m, 0.8, Vector3.new(1.5, 3.05, -0.6), GREEN, RED, -10) done(m) end ---------------------------------------------------------------- 8 Giant Snow Globe do local m = model("GiantSnowGlobe", 5, 5) vcyl(m, 4.4, 1.2, Vector3.new(0, 0.6, 0), C(110, 60, 30), M.Wood) vcyl(m, 4.5, 0.25, Vector3.new(0, 1.25, 0), GOLD, M.Foil) vcyl(m, 3.8, 0.3, Vector3.new(0, 1.45, 0), WHITE, M.Snow) vcyl(m, 0.35, 0.6, Vector3.new(0, 1.85, 0), BROWN) vcyl(m, 1.9, 0.7, Vector3.new(0, 2.4, 0), GREEN) vcyl(m, 1.4, 0.7, Vector3.new(0, 3.0, 0), GREEN) vcyl(m, 0.85, 0.6, Vector3.new(0, 3.55, 0), GREEN) local star = ball(m, 0.45, Vector3.new(0, 4.05, 0), C(255, 225, 90), M.Neon) light(star, C(255, 230, 150), 10, 1.2) for i, col in { RED, GOLD, C(80, 170, 255), C(255, 120, 200) } do local a = i / 4 * math.pi * 2 ball(m, 0.25, Vector3.new(math.cos(a) * 0.75, 2.5 + (i % 2) * 0.55, math.sin(a) * 0.75), col, M.Neon) end for i = 1, 8 do ball(m, 0.15, Vector3.new(math.cos(i * 2.3) * 1.4, 2.5 + (i % 4) * 0.6, math.sin(i * 2.3) * 1.4), WHITE) end local g = ball(m, 4.6, Vector3.new(0, 3.55, 0), C(200, 235, 255), M.Glass) g.Transparency = 0.65; g.CanCollide = true done(m) end ---------------------------------------------------------------- 9 Nutcracker Guard do local m = model("NutcrackerGuard", 3, 3) box(m, Vector3.new(2.6, 0.6, 2.6), Vector3.new(0, 0.3, 0), GOLD, M.Foil) for _, x in { -0.45, 0.45 } do box(m, Vector3.new(0.7, 1.0, 0.9), Vector3.new(x, 1.1, -0.05), BLACK) box(m, Vector3.new(0.6, 1.6, 0.6), Vector3.new(x, 2.4, 0), WHITE) end box(m, Vector3.new(1.8, 2.2, 1.1), Vector3.new(0, 4.3, 0), RED) box(m, Vector3.new(1.85, 0.3, 1.15), Vector3.new(0, 3.5, 0), BLACK) box(m, Vector3.new(0.4, 0.35, 0.1), Vector3.new(0, 3.5, -0.6), GOLD, M.Foil) for _, y in { 4.1, 4.6, 5.1 } do ball(m, 0.2, Vector3.new(0, y, -0.58), GOLD, M.Foil) end box(m, Vector3.new(0.25, 2.1, 0.08), Vector3.new(0, 4.35, -0.56), WHITE, nil, CFrame.Angles(0, 0, rad(22))) for _, x in { -1, 1 } do ball(m, 0.6, Vector3.new(x, 5.3, 0), GOLD, M.Foil) box(m, Vector3.new(0.5, 2.0, 0.5), Vector3.new(x * 1.15, 4.3, 0), RED) ball(m, 0.5, Vector3.new(x * 1.15, 3.2, 0), WHITE) end box(m, Vector3.new(0.12, 2.6, 0.12), Vector3.new(1.15, 4.4, -0.45), C(210, 215, 225), M.Metal) box(m, Vector3.new(0.5, 0.12, 0.3), Vector3.new(1.15, 3.35, -0.45), GOLD, M.Foil) box(m, Vector3.new(1.2, 1.3, 1.1), Vector3.new(0, 6.1, 0), SKIN) for _, x in { -0.27, 0.27 } do ball(m, 0.18, Vector3.new(x, 6.35, -0.56), BLACK) ball(m, 0.22, Vector3.new(x * 1.5, 5.95, -0.53), C(255, 140, 150)) end box(m, Vector3.new(1.25, 0.55, 0.3), Vector3.new(0, 5.6, -0.5), WHITE) box(m, Vector3.new(0.8, 0.18, 0.2), Vector3.new(0, 5.95, -0.6), WHITE) vcyl(m, 1.3, 1.8, Vector3.new(0, 7.65, 0), BLACK) vcyl(m, 1.35, 0.25, Vector3.new(0, 6.9, 0), GOLD, M.Foil) ball(m, 0.5, Vector3.new(0, 8.75, 0), RED) done(m) end ---------------------------------------------------------------- 10 Frozen Castle do local m = model("FrozenCastle", 8, 7) local ICE, ROOF = C(175, 225, 255), C(110, 130, 255) box(m, Vector3.new(7.5, 0.6, 6.5), Vector3.new(0, 0.3, 0), C(210, 240, 255), M.Ice) box(m, Vector3.new(4.4, 4, 3.6), Vector3.new(0, 2.6, 0.2), ICE, M.Ice) for i = -2, 2 do box(m, Vector3.new(0.55, 0.55, 0.55), Vector3.new(i * 0.95, 4.85, -1.55), ICE, M.Ice) end for _, x in { -3, 3 } do for _, z in { -2.4, 2.6 } do vcyl(m, 1.8, 5.4, Vector3.new(x, 3.3, z), ICE, M.Ice) stepRoof(m, Vector3.new(x, 6.0, z), 2.2, 2.2, 4, ROOF, C(120, 240, 255)) end end vcyl(m, 2.0, 3.0, Vector3.new(0, 6.1, 0.4), ICE, M.Ice) stepRoof(m, Vector3.new(0, 7.6, 0.4), 2.4, 2.6, 5, ROOF) local star = ball(m, 0.6, Vector3.new(0, 10.4, 0.4), C(255, 230, 100), M.Neon) light(star, C(255, 235, 150), 12, 1.2) local door = box(m, Vector3.new(1.3, 1.9, 0.2), Vector3.new(0, 1.55, -1.65), C(255, 235, 160), M.Neon) light(door, C(150, 220, 255), 14, 1.4) for _, x in { -1.4, 1.4 } do box(m, Vector3.new(0.6, 0.8, 0.15), Vector3.new(x, 3.2, -1.62), C(120, 230, 255), M.Neon) end for _, x in { -3, 3 } do box(m, Vector3.new(0.45, 0.7, 0.2), Vector3.new(x, 4.3, -3.3), C(120, 230, 255), M.Neon) end done(m) end return "built: " .. table.concat(built, ", ")