Loading model...
by Ahmet · 5/22/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: BlueSodaCan |
| 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 = "BlueSodaCan" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Bright red"] = "2022 Stud", |
| 26 | ["Dark stone grey"] = "2022 Stud", |
| 27 | ["Institutional white"] = "2022 Stud", |
| 28 | ["Light stone grey"] = "2022 Glue", |
| 29 | ["Medium stone grey"] = "2022 Inlet", |
| 30 | ["Navy blue"] = "2022 Stud", |
| 31 | ["Pastel Blue"] = "2022 Stud", |
| 32 | ["Really black"] = "2022 Universal", |
| 33 | } |
| 34 | do |
| 35 | local p = Instance.new("Part") |
| 36 | p.Shape = Enum.PartType.Cylinder |
| 37 | p.Name = "Body" |
| 38 | p.Size = Vector3.new(14, 6, 6) |
| 39 | p.CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 40 | p.BrickColor = BrickColor.new("Bright blue") |
| 41 | p.Material = Enum.Material.Glacier |
| 42 | p.MaterialVariant = "2022 Universal" |
| 43 | p.Anchored = true |
| 44 | p.Parent = model |
| 45 | end |
| 46 | do |
| 47 | local p = Instance.new("Part") |
| 48 | p.Shape = Enum.PartType.Cylinder |
| 49 | p.Name = "BottomRim" |
| 50 | p.Size = Vector3.new(0.4, 5.6, 5.6) |
| 51 | p.CFrame = CFrame.new(0, -7.24, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 52 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 53 | p.Material = Enum.Material.Glacier |
| 54 | p.MaterialVariant = "2022 Inlet" |
| 55 | p.Anchored = true |
| 56 | p.Parent = model |
| 57 | end |
| 58 | do |
| 59 | local p = Instance.new("Part") |
| 60 | p.Shape = Enum.PartType.Cylinder |
| 61 | p.Name = "BottomBase" |
| 62 | p.Size = Vector3.new(0.2, 5, 5) |
| 63 | p.CFrame = CFrame.new(0, -7.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 64 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 65 | p.Material = Enum.Material.Glacier |
| 66 | p.MaterialVariant = "2022 Stud" |
| 67 | p.Anchored = true |
| 68 | p.Parent = model |
| 69 | end |
| 70 | do |
| 71 | local p = Instance.new("Part") |
| 72 | p.Shape = Enum.PartType.Cylinder |
| 73 | p.Name = "TopRim" |
| 74 | p.Size = Vector3.new(0.4, 5.8, 5.8) |
| 75 | p.CFrame = CFrame.new(0, 7.24, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 76 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 77 | p.Material = Enum.Material.Glacier |
| 78 | p.MaterialVariant = "2022 Inlet" |
| 79 | p.Anchored = true |
| 80 | p.Parent = model |
| 81 | end |
| 82 | do |
| 83 | local p = Instance.new("Part") |
| 84 | p.Shape = Enum.PartType.Cylinder |
| 85 | p.Name = "TopCap" |
| 86 | p.Size = Vector3.new(0.1, 5.4, 5.4) |
| 87 | p.CFrame = CFrame.new(0, 7.43, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 88 | p.BrickColor = BrickColor.new("Light stone grey") |
| 89 | p.Material = Enum.Material.Glacier |
| 90 | p.MaterialVariant = "2022 Glue" |
| 91 | p.Anchored = true |
| 92 | p.Parent = model |
| 93 | end |
| 94 | do |
| 95 | local p = Instance.new("Part") |
| 96 | p.Name = "Tab" |
| 97 | p.Size = Vector3.new(1.4, 0.1, 0.8) |
| 98 | p.CFrame = CFrame.new(0, 7.57, 0.8) |
| 99 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 100 | p.Material = Enum.Material.Glacier |
| 101 | p.MaterialVariant = "2022 Stud" |
| 102 | p.Anchored = true |
| 103 | p.Parent = model |
| 104 | end |
| 105 | do |
| 106 | local p = Instance.new("Part") |
| 107 | p.Name = "TabHole" |
| 108 | p.Size = Vector3.new(0.5, 0.1, 0.4) |
| 109 | p.CFrame = CFrame.new(0, 7.62, 1.1) |
| 110 | p.BrickColor = BrickColor.new("Really black") |
| 111 | p.Material = Enum.Material.Glacier |
| 112 | p.MaterialVariant = "2022 Universal" |
| 113 | p.Anchored = true |
| 114 | p.Parent = model |
| 115 | end |
| 116 | do |
| 117 | local p = Instance.new("Part") |
| 118 | p.Shape = Enum.PartType.Cylinder |
| 119 | p.Name = "MouthHole" |
| 120 | p.Size = Vector3.new(0.1, 1.5, 1.5) |
| 121 | p.CFrame = CFrame.new(0, 7.56, -1.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 122 | p.BrickColor = BrickColor.new("Really black") |
| 123 | p.Material = Enum.Material.Glacier |
| 124 | p.MaterialVariant = "2022 Universal" |
| 125 | p.Anchored = true |
| 126 | p.Parent = model |
| 127 | end |
| 128 | do |
| 129 | local p = Instance.new("Part") |
| 130 | p.Shape = Enum.PartType.Cylinder |
| 131 | p.Name = "LogoWhiteBase" |
| 132 | p.Size = Vector3.new(0.2, 4.6, 4.6) |
| 133 | p.CFrame = CFrame.new(0, 1, -2.9) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 134 | p.BrickColor = BrickColor.new("Institutional white") |
| 135 | p.Material = Enum.Material.Glacier |
| 136 | p.MaterialVariant = "2022 Stud" |
| 137 | p.Anchored = true |
| 138 | p.Parent = model |
| 139 | end |
| 140 | do |
| 141 | local p = Instance.new("Part") |
| 142 | p.Name = "LogoWave" |
| 143 | p.Size = Vector3.new(4.5, 1.4, 0.15) |
| 144 | p.CFrame = CFrame.new(0, 1, -3) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(8)) |
| 145 | p.BrickColor = BrickColor.new("Institutional white") |
| 146 | p.Material = Enum.Material.Glacier |
| 147 | p.MaterialVariant = "2022 Stud" |
| 148 | p.Anchored = true |
| 149 | p.Parent = model |
| 150 | end |
| 151 | do |
| 152 | local p = Instance.new("Part") |
| 153 | p.Name = "Text_S" |
| 154 | p.Size = Vector3.new(0.5, 0.6, 0.1) |
| 155 | p.CFrame = CFrame.new(-1.2, 0.85, -3.17) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(8)) |
| 156 | p.BrickColor = BrickColor.new("Really black") |
| 157 | p.Material = Enum.Material.Glacier |
| 158 | p.MaterialVariant = "2022 Universal" |
| 159 | p.Anchored = true |
| 160 | p.Parent = model |
| 161 | end |
| 162 | do |
| 163 | local p = Instance.new("Part") |
| 164 | p.Name = "Text_O" |
| 165 | p.Size = Vector3.new(0.5, 0.6, 0.1) |
| 166 | p.CFrame = CFrame.new(-0.4, 0.95, -3.17) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(8)) |
| 167 | p.BrickColor = BrickColor.new("Really black") |
| 168 | p.Material = Enum.Material.Glacier |
| 169 | p.MaterialVariant = "2022 Universal" |
| 170 | p.Anchored = true |
| 171 | p.Parent = model |
| 172 | end |
| 173 | do |
| 174 | local p = Instance.new("Part") |
| 175 | p.Name = "Text_D" |
| 176 | p.Size = Vector3.new(0.5, 0.6, 0.1) |
| 177 | p.CFrame = CFrame.new(0.4, 1.05, -3.17) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(8)) |
| 178 | p.BrickColor = BrickColor.new("Really black") |
| 179 | p.Material = Enum.Material.Glacier |
| 180 | p.MaterialVariant = "2022 Universal" |
| 181 | p.Anchored = true |
| 182 | p.Parent = model |
| 183 | end |
| 184 | do |
| 185 | local p = Instance.new("Part") |
| 186 | p.Name = "Text_A" |
| 187 | p.Size = Vector3.new(0.5, 0.6, 0.1) |
| 188 | p.CFrame = CFrame.new(1.2, 1.15, -3.17) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(8)) |
| 189 | p.BrickColor = BrickColor.new("Really black") |
| 190 | p.Material = Enum.Material.Glacier |
| 191 | p.MaterialVariant = "2022 Universal" |
| 192 | p.Anchored = true |
| 193 | p.Parent = model |
| 194 | end |
| 195 | do |
| 196 | local p = Instance.new("Part") |
| 197 | p.Shape = Enum.PartType.Ball |
| 198 | p.Name = "Drop_0" |
| 199 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 200 | p.CFrame = CFrame.new(1.5, 4, -2.8) |
| 201 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 202 | p.Material = Enum.Material.Glacier |
| 203 | p.MaterialVariant = "2022 Stud" |
| 204 | p.Anchored = true |
| 205 | p.Parent = model |
| 206 | end |
| 207 | do |
| 208 | local p = Instance.new("Part") |
| 209 | p.Shape = Enum.PartType.Ball |
| 210 | p.Name = "Drop_1" |
| 211 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 212 | p.CFrame = CFrame.new(-2, 3.5, -2.5) |
| 213 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Stud" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Shape = Enum.PartType.Ball |
| 222 | p.Name = "Drop_2" |
| 223 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 224 | p.CFrame = CFrame.new(2.5, -2, -2) |
| 225 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 226 | p.Material = Enum.Material.Glacier |
| 227 | p.MaterialVariant = "2022 Stud" |
| 228 | p.Anchored = true |
| 229 | p.Parent = model |
| 230 | end |
| 231 | do |
| 232 | local p = Instance.new("Part") |
| 233 | p.Shape = Enum.PartType.Ball |
| 234 | p.Name = "Drop_3" |
| 235 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 236 | p.CFrame = CFrame.new(-1.5, -3, -2.7) |
| 237 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 238 | p.Material = Enum.Material.Glacier |
| 239 | p.MaterialVariant = "2022 Stud" |
| 240 | p.Anchored = true |
| 241 | p.Parent = model |
| 242 | end |
| 243 | do |
| 244 | local p = Instance.new("Part") |
| 245 | p.Shape = Enum.PartType.Ball |
| 246 | p.Name = "Drop_4" |
| 247 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 248 | p.CFrame = CFrame.new(0.5, -4.5, -2.9) |
| 249 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 250 | p.Material = Enum.Material.Glacier |
| 251 | p.MaterialVariant = "2022 Stud" |
| 252 | p.Anchored = true |
| 253 | p.Parent = model |
| 254 | end |
| 255 | do |
| 256 | local p = Instance.new("Part") |
| 257 | p.Shape = Enum.PartType.Ball |
| 258 | p.Name = "Drop_5" |
| 259 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 260 | p.CFrame = CFrame.new(-2.8, 0, -1.5) |
| 261 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 262 | p.Material = Enum.Material.Glacier |
| 263 | p.MaterialVariant = "2022 Stud" |
| 264 | p.Anchored = true |
| 265 | p.Parent = model |
| 266 | end |
| 267 | do |
| 268 | local p = Instance.new("Part") |
| 269 | p.Shape = Enum.PartType.Ball |
| 270 | p.Name = "Drop_6" |
| 271 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 272 | p.CFrame = CFrame.new(2.8, 1.5, -1) |
| 273 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 274 | p.Material = Enum.Material.Glacier |
| 275 | p.MaterialVariant = "2022 Stud" |
| 276 | p.Anchored = true |
| 277 | p.Parent = model |
| 278 | end |
| 279 | do |
| 280 | local p = Instance.new("Part") |
| 281 | p.Shape = Enum.PartType.Ball |
| 282 | p.Name = "Drop_7" |
| 283 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 284 | p.CFrame = CFrame.new(-1, 5.5, -2.6) |
| 285 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 286 | p.Material = Enum.Material.Glacier |
| 287 | p.MaterialVariant = "2022 Stud" |
| 288 | p.Anchored = true |
| 289 | p.Parent = model |
| 290 | end |
| 291 | do |
| 292 | local p = Instance.new("Part") |
| 293 | p.Shape = Enum.PartType.Ball |
| 294 | p.Name = "Drop_8" |
| 295 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 296 | p.CFrame = CFrame.new(1, -6, -2.7) |
| 297 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 298 | p.Material = Enum.Material.Glacier |
| 299 | p.MaterialVariant = "2022 Stud" |
| 300 | p.Anchored = true |
| 301 | p.Parent = model |
| 302 | end |
| 303 | do |
| 304 | local rightV = Vector3.new(1,0,0).Unit |
| 305 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 306 | local normalV = upV:Cross(rightV) |
| 307 | local pos = Vector3.new(0, 1.04, -2.99) |
| 308 | local cyl = Instance.new("Part") |
| 309 | cyl.Shape = Enum.PartType.Cylinder |
| 310 | cyl.Size = Vector3.new(0.1, 4.4, 4.4) |
| 311 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 312 | cyl.BrickColor = BrickColor.new("Bright red") |
| 313 | cyl.Material = Enum.Material.Glacier |
| 314 | cyl.MaterialVariant = "2022 Stud" |
| 315 | cyl.Anchored = true; cyl.Parent = workspace |
| 316 | local cuts = {} |
| 317 | local angBoxes = {} |
| 318 | do |
| 319 | local edgeDir = 1*rightV + 0*upV |
| 320 | local edgePerp = 0*rightV + 1*upV |
| 321 | local cut = Instance.new("Part") |
| 322 | cut.Size = Vector3.new(8.8, 0.3, 8.8) |
| 323 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 4.4 * edgePerp, edgeDir, normalV) |
| 324 | cut.BrickColor = BrickColor.new("Bright red") |
| 325 | cut.Material = Enum.Material.Glacier |
| 326 | cut.MaterialVariant = "2022 Stud" |
| 327 | cut.Anchored = true; cut.Parent = workspace |
| 328 | table.insert(angBoxes, cut) |
| 329 | end |
| 330 | do |
| 331 | local edgeDir = -1*rightV + 0*upV |
| 332 | local edgePerp = 0*rightV + -1*upV |
| 333 | local cut = Instance.new("Part") |
| 334 | cut.Size = Vector3.new(8.8, 0.3, 8.8) |
| 335 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 4.4 * edgePerp, edgeDir, normalV) |
| 336 | cut.BrickColor = BrickColor.new("Bright red") |
| 337 | cut.Material = Enum.Material.Glacier |
| 338 | cut.MaterialVariant = "2022 Stud" |
| 339 | cut.Anchored = true; cut.Parent = workspace |
| 340 | table.insert(angBoxes, cut) |
| 341 | end |
| 342 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 343 | if #cuts > 0 then |
| 344 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 345 | for _, c in ipairs(cuts) do c:Destroy() end |
| 346 | if ok and result then |
| 347 | cyl:Destroy() |
| 348 | result.Name = "LogoRed"; result.Anchored = true; result.Parent = model |
| 349 | else |
| 350 | cyl.Name = "LogoRed"; cyl.Parent = model |
| 351 | end |
| 352 | else |
| 353 | cyl.Name = "LogoRed"; cyl.Parent = model |
| 354 | end |
| 355 | end |
| 356 | do |
| 357 | local rightV = Vector3.new(1,0,0).Unit |
| 358 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 359 | local normalV = upV:Cross(rightV) |
| 360 | local pos = Vector3.new(0, 1, -2.99) |
| 361 | local cyl = Instance.new("Part") |
| 362 | cyl.Shape = Enum.PartType.Cylinder |
| 363 | cyl.Size = Vector3.new(0.1, 4.4, 4.4) |
| 364 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 365 | cyl.BrickColor = BrickColor.new("Navy blue") |
| 366 | cyl.Material = Enum.Material.Glacier |
| 367 | cyl.MaterialVariant = "2022 Stud" |
| 368 | cyl.Anchored = true; cyl.Parent = workspace |
| 369 | local cuts = {} |
| 370 | local angBoxes = {} |
| 371 | do |
| 372 | local edgeDir = -1*rightV + 0*upV |
| 373 | local edgePerp = 0*rightV + -1*upV |
| 374 | local cut = Instance.new("Part") |
| 375 | cut.Size = Vector3.new(8.8, 0.3, 8.8) |
| 376 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 4.4 * edgePerp, edgeDir, normalV) |
| 377 | cut.BrickColor = BrickColor.new("Navy blue") |
| 378 | cut.Material = Enum.Material.Glacier |
| 379 | cut.MaterialVariant = "2022 Stud" |
| 380 | cut.Anchored = true; cut.Parent = workspace |
| 381 | table.insert(angBoxes, cut) |
| 382 | end |
| 383 | do |
| 384 | local edgeDir = 1*rightV + 0*upV |
| 385 | local edgePerp = 0*rightV + 1*upV |
| 386 | local cut = Instance.new("Part") |
| 387 | cut.Size = Vector3.new(8.8, 0.3, 8.8) |
| 388 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 4.4 * edgePerp, edgeDir, normalV) |
| 389 | cut.BrickColor = BrickColor.new("Navy blue") |
| 390 | cut.Material = Enum.Material.Glacier |
| 391 | cut.MaterialVariant = "2022 Stud" |
| 392 | cut.Anchored = true; cut.Parent = workspace |
| 393 | table.insert(angBoxes, cut) |
| 394 | end |
| 395 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 396 | if #cuts > 0 then |
| 397 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 398 | for _, c in ipairs(cuts) do c:Destroy() end |
| 399 | if ok and result then |
| 400 | cyl:Destroy() |
| 401 | result.Name = "LogoBlue"; result.Anchored = true; result.Parent = model |
| 402 | else |
| 403 | cyl.Name = "LogoBlue"; cyl.Parent = model |
| 404 | end |
| 405 | else |
| 406 | cyl.Name = "LogoBlue"; cyl.Parent = model |
| 407 | end |
| 408 | end |
| 409 | model.PrimaryPart = model:FindFirstChild("Body") |
| 410 | print("BlueSodaCan built: " .. #model:GetChildren() .. " parts") |
Loading comments...