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