Loading model...
by Matei · 9/9/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: MilkJugBackpack |
| 3 | |
| 4 | local MS = game:GetService("MaterialService") |
| 5 | |
| 6 | local ok, roots = pcall(game.GetObjects, game, "rbxassetid://13386676607") |
| 7 | if not ok then return warn(roots) end |
| 8 | |
| 9 | local tmp = Instance.new("Folder") |
| 10 | for _, r in ipairs(roots) do r.Parent = tmp end |
| 11 | |
| 12 | for _, d in ipairs(tmp:GetDescendants()) do |
| 13 | if d:IsA("MaterialVariant") then |
| 14 | d.Parent = MS |
| 15 | end |
| 16 | end |
| 17 | tmp:Destroy() |
| 18 | |
| 19 | local model = Instance.new("Model") |
| 20 | model.Name = "MilkJugBackpack" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Dark stone grey"] = "2022 Stud", |
| 25 | ["Medium stone grey"] = "2022 Inlet", |
| 26 | } |
| 27 | do |
| 28 | local p = Instance.new("Part") |
| 29 | p.Shape = Enum.PartType.Cylinder |
| 30 | p.Name = "BaseRim" |
| 31 | p.Size = Vector3.new(1, 8.2, 8.2) |
| 32 | p.CFrame = CFrame.new(0, 0.46, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 33 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 34 | p.Material = Enum.Material.Glacier |
| 35 | p.MaterialVariant = "2022 Inlet" |
| 36 | p.Anchored = true |
| 37 | p.Parent = model |
| 38 | end |
| 39 | do |
| 40 | local p = Instance.new("Part") |
| 41 | p.Shape = Enum.PartType.Cylinder |
| 42 | p.Name = "MainBody" |
| 43 | p.Size = Vector3.new(8, 8, 8) |
| 44 | p.CFrame = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 45 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Inlet" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Shape = Enum.PartType.Cylinder |
| 54 | p.Name = "Shoulder1" |
| 55 | p.Size = Vector3.new(1, 7.5, 7.5) |
| 56 | p.CFrame = CFrame.new(0, 9.54, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 57 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Inlet" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Shape = Enum.PartType.Cylinder |
| 66 | p.Name = "Shoulder2" |
| 67 | p.Size = Vector3.new(1, 6.5, 6.5) |
| 68 | p.CFrame = CFrame.new(0, 10.58, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 69 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 70 | p.Material = Enum.Material.Glacier |
| 71 | p.MaterialVariant = "2022 Inlet" |
| 72 | p.Anchored = true |
| 73 | p.Parent = model |
| 74 | end |
| 75 | do |
| 76 | local p = Instance.new("Part") |
| 77 | p.Shape = Enum.PartType.Cylinder |
| 78 | p.Name = "Shoulder3" |
| 79 | p.Size = Vector3.new(1, 5.5, 5.5) |
| 80 | p.CFrame = CFrame.new(0, 11.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 81 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 82 | p.Material = Enum.Material.Glacier |
| 83 | p.MaterialVariant = "2022 Inlet" |
| 84 | p.Anchored = true |
| 85 | p.Parent = model |
| 86 | end |
| 87 | do |
| 88 | local p = Instance.new("Part") |
| 89 | p.Shape = Enum.PartType.Cylinder |
| 90 | p.Name = "Neck" |
| 91 | p.Size = Vector3.new(1.5, 4.8, 4.8) |
| 92 | p.CFrame = CFrame.new(0, 12.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 93 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 94 | p.Material = Enum.Material.Glacier |
| 95 | p.MaterialVariant = "2022 Inlet" |
| 96 | p.Anchored = true |
| 97 | p.Parent = model |
| 98 | end |
| 99 | do |
| 100 | local p = Instance.new("Part") |
| 101 | p.Shape = Enum.PartType.Cylinder |
| 102 | p.Name = "LidBase" |
| 103 | p.Size = Vector3.new(1, 5.5, 5.5) |
| 104 | p.CFrame = CFrame.new(0, 13.79, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 105 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 106 | p.Material = Enum.Material.Glacier |
| 107 | p.MaterialVariant = "2022 Stud" |
| 108 | p.Anchored = true |
| 109 | p.Parent = model |
| 110 | end |
| 111 | do |
| 112 | local p = Instance.new("Part") |
| 113 | p.Shape = Enum.PartType.Cylinder |
| 114 | p.Name = "LidTop" |
| 115 | p.Size = Vector3.new(0.5, 5, 5) |
| 116 | p.CFrame = CFrame.new(0, 14.58, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 117 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 118 | p.Material = Enum.Material.Glacier |
| 119 | p.MaterialVariant = "2022 Stud" |
| 120 | p.Anchored = true |
| 121 | p.Parent = model |
| 122 | end |
| 123 | do |
| 124 | local p = Instance.new("Part") |
| 125 | p.Name = "HandleL" |
| 126 | p.Size = Vector3.new(2.05183, 0.3, 1) |
| 127 | p.CFrame = CFrame.new(-3.1, 11.75, 0) * CFrame.Angles(math.rad(-90), math.rad(-46.9749), math.rad(-180)) |
| 128 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 129 | p.Material = Enum.Material.Glacier |
| 130 | p.MaterialVariant = "2022 Inlet" |
| 131 | p.Anchored = true |
| 132 | p.Parent = model |
| 133 | end |
| 134 | do |
| 135 | local p = Instance.new("Part") |
| 136 | p.Name = "HandleR" |
| 137 | p.Size = Vector3.new(2.05183, 0.3, 1) |
| 138 | p.CFrame = CFrame.new(3.1, 11.75, 0) * CFrame.Angles(math.rad(90), math.rad(-46.9749), math.rad(0)) |
| 139 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 140 | p.Material = Enum.Material.Glacier |
| 141 | p.MaterialVariant = "2022 Inlet" |
| 142 | p.Anchored = true |
| 143 | p.Parent = model |
| 144 | end |
| 145 | do |
| 146 | local p = Instance.new("Part") |
| 147 | p.Name = "LogoArmL" |
| 148 | p.Size = Vector3.new(0.7, 3, 0.2) |
| 149 | p.CFrame = CFrame.new(-1.85, 5.58, -4.05) |
| 150 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 151 | p.Material = Enum.Material.Glacier |
| 152 | p.MaterialVariant = "2022 Stud" |
| 153 | p.Anchored = true |
| 154 | p.Parent = model |
| 155 | end |
| 156 | do |
| 157 | local p = Instance.new("Part") |
| 158 | p.Name = "LogoArmR" |
| 159 | p.Size = Vector3.new(0.7, 3, 0.2) |
| 160 | p.CFrame = CFrame.new(1.85, 5.58, -4.05) |
| 161 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 162 | p.Material = Enum.Material.Glacier |
| 163 | p.MaterialVariant = "2022 Stud" |
| 164 | p.Anchored = true |
| 165 | p.Parent = model |
| 166 | end |
| 167 | do |
| 168 | local p = Instance.new("Part") |
| 169 | p.Name = "LogoFlareL" |
| 170 | p.Size = Vector3.new(1.2, 0.7, 0.2) |
| 171 | p.CFrame = CFrame.new(-2.14, 7, -4.01) |
| 172 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 173 | p.Material = Enum.Material.Glacier |
| 174 | p.MaterialVariant = "2022 Stud" |
| 175 | p.Anchored = true |
| 176 | p.Parent = model |
| 177 | end |
| 178 | do |
| 179 | local p = Instance.new("Part") |
| 180 | p.Name = "LogoFlareR" |
| 181 | p.Size = Vector3.new(1.2, 0.7, 0.2) |
| 182 | p.CFrame = CFrame.new(2.14, 7, -4.01) |
| 183 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 184 | p.Material = Enum.Material.Glacier |
| 185 | p.MaterialVariant = "2022 Stud" |
| 186 | p.Anchored = true |
| 187 | p.Parent = model |
| 188 | end |
| 189 | do |
| 190 | local p = Instance.new("Part") |
| 191 | p.Shape = Enum.PartType.Cylinder |
| 192 | p.Name = "LogoDot1" |
| 193 | p.Size = Vector3.new(0.1, 0.3, 0.3) |
| 194 | p.CFrame = CFrame.new(-1.85, 4.5, -4.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 195 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 196 | p.Material = Enum.Material.Glacier |
| 197 | p.MaterialVariant = "2022 Inlet" |
| 198 | p.Anchored = true |
| 199 | p.Parent = model |
| 200 | end |
| 201 | do |
| 202 | local p = Instance.new("Part") |
| 203 | p.Shape = Enum.PartType.Cylinder |
| 204 | p.Name = "LogoDot2" |
| 205 | p.Size = Vector3.new(0.1, 0.3, 0.3) |
| 206 | p.CFrame = CFrame.new(-1.2, 3, -4.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 207 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 208 | p.Material = Enum.Material.Glacier |
| 209 | p.MaterialVariant = "2022 Inlet" |
| 210 | p.Anchored = true |
| 211 | p.Parent = model |
| 212 | end |
| 213 | do |
| 214 | local p = Instance.new("Part") |
| 215 | p.Shape = Enum.PartType.Cylinder |
| 216 | p.Name = "LogoDot3" |
| 217 | p.Size = Vector3.new(0.1, 0.3, 0.3) |
| 218 | p.CFrame = CFrame.new(0, 2.6, -4.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 219 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 220 | p.Material = Enum.Material.Glacier |
| 221 | p.MaterialVariant = "2022 Inlet" |
| 222 | p.Anchored = true |
| 223 | p.Parent = model |
| 224 | end |
| 225 | do |
| 226 | local p = Instance.new("Part") |
| 227 | p.Shape = Enum.PartType.Cylinder |
| 228 | p.Name = "LogoDot4" |
| 229 | p.Size = Vector3.new(0.1, 0.3, 0.3) |
| 230 | p.CFrame = CFrame.new(1.2, 3, -4.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 231 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 232 | p.Material = Enum.Material.Glacier |
| 233 | p.MaterialVariant = "2022 Inlet" |
| 234 | p.Anchored = true |
| 235 | p.Parent = model |
| 236 | end |
| 237 | do |
| 238 | local p = Instance.new("Part") |
| 239 | p.Shape = Enum.PartType.Cylinder |
| 240 | p.Name = "LogoDot5" |
| 241 | p.Size = Vector3.new(0.1, 0.3, 0.3) |
| 242 | p.CFrame = CFrame.new(1.85, 4.5, -4.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 243 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 244 | p.Material = Enum.Material.Glacier |
| 245 | p.MaterialVariant = "2022 Inlet" |
| 246 | p.Anchored = true |
| 247 | p.Parent = model |
| 248 | end |
| 249 | do |
| 250 | local rightV = Vector3.new(1,0,0).Unit |
| 251 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 252 | local normalV = upV:Cross(rightV) |
| 253 | local pos = Vector3.new(0, 4, -4.05) |
| 254 | local cyl = Instance.new("Part") |
| 255 | cyl.Shape = Enum.PartType.Cylinder |
| 256 | cyl.Size = Vector3.new(0.2, 4.4, 4.4) |
| 257 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 258 | cyl.BrickColor = BrickColor.new("Dark stone grey") |
| 259 | cyl.Material = Enum.Material.Glacier |
| 260 | cyl.MaterialVariant = "2022 Stud" |
| 261 | cyl.Anchored = true; cyl.Parent = workspace |
| 262 | local cuts = {} |
| 263 | local hole = Instance.new("Part") |
| 264 | hole.Shape = Enum.PartType.Cylinder |
| 265 | hole.Size = Vector3.new(0.4, 3, 3) |
| 266 | hole.CFrame = cyl.CFrame |
| 267 | hole.BrickColor = BrickColor.new("Dark stone grey") |
| 268 | hole.Material = Enum.Material.Glacier |
| 269 | hole.MaterialVariant = "2022 Stud" |
| 270 | hole.Anchored = true; hole.Parent = workspace |
| 271 | table.insert(cuts, hole) |
| 272 | local angBoxes = {} |
| 273 | do |
| 274 | local edgeDir = -1*rightV + 0*upV |
| 275 | local edgePerp = 0*rightV + -1*upV |
| 276 | local cut = Instance.new("Part") |
| 277 | cut.Size = Vector3.new(8.8, 0.4, 8.8) |
| 278 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 4.4 * edgePerp, edgeDir, normalV) |
| 279 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 280 | cut.Material = Enum.Material.Glacier |
| 281 | cut.MaterialVariant = "2022 Stud" |
| 282 | cut.Anchored = true; cut.Parent = workspace |
| 283 | table.insert(angBoxes, cut) |
| 284 | end |
| 285 | do |
| 286 | local edgeDir = 1*rightV + 0*upV |
| 287 | local edgePerp = 0*rightV + 1*upV |
| 288 | local cut = Instance.new("Part") |
| 289 | cut.Size = Vector3.new(8.8, 0.4, 8.8) |
| 290 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 4.4 * edgePerp, edgeDir, normalV) |
| 291 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 292 | cut.Material = Enum.Material.Glacier |
| 293 | cut.MaterialVariant = "2022 Stud" |
| 294 | cut.Anchored = true; cut.Parent = workspace |
| 295 | table.insert(angBoxes, cut) |
| 296 | end |
| 297 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 298 | if #cuts > 0 then |
| 299 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 300 | for _, c in ipairs(cuts) do c:Destroy() end |
| 301 | if ok and result then |
| 302 | cyl:Destroy() |
| 303 | result.Name = "LogoU"; result.Anchored = true; result.Parent = model |
| 304 | else |
| 305 | cyl.Name = "LogoU"; cyl.Parent = model |
| 306 | end |
| 307 | else |
| 308 | cyl.Name = "LogoU"; cyl.Parent = model |
| 309 | end |
| 310 | end |
| 311 | model.PrimaryPart = model:FindFirstChild("MainBody") |
| 312 | print("MilkJugBackpack built: " .. #model:GetChildren() .. " parts") |
Loading comments...