Loading model...
by Mini Gamertjuh · 3/26/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: BlueCannon |
| 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 = "BlueCannon" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Really black"] = "2022 Universal", |
| 26 | ["Reddish brown"] = "2022 Small Stud", |
| 27 | } |
| 28 | do |
| 29 | local p = Instance.new("Part") |
| 30 | p.Name = "BaseBottom" |
| 31 | p.Size = Vector3.new(10, 1, 10) |
| 32 | p.CFrame = CFrame.new(0, 0.5, 0) |
| 33 | p.BrickColor = BrickColor.new("Reddish brown") |
| 34 | p.Material = Enum.Material.Glacier |
| 35 | p.MaterialVariant = "2022 Small Stud" |
| 36 | p.Anchored = true |
| 37 | p.Parent = model |
| 38 | end |
| 39 | do |
| 40 | local p = Instance.new("Part") |
| 41 | p.Name = "BaseMid" |
| 42 | p.Size = Vector3.new(8, 1, 8) |
| 43 | p.CFrame = CFrame.new(0, 1.54, 0) |
| 44 | p.BrickColor = BrickColor.new("Reddish brown") |
| 45 | p.Material = Enum.Material.Glacier |
| 46 | p.MaterialVariant = "2022 Small Stud" |
| 47 | p.Anchored = true |
| 48 | p.Parent = model |
| 49 | end |
| 50 | do |
| 51 | local p = Instance.new("Part") |
| 52 | p.Name = "BaseTop" |
| 53 | p.Size = Vector3.new(6, 1, 6) |
| 54 | p.CFrame = CFrame.new(0, 2.58, 0) |
| 55 | p.BrickColor = BrickColor.new("Reddish brown") |
| 56 | p.Material = Enum.Material.Glacier |
| 57 | p.MaterialVariant = "2022 Small Stud" |
| 58 | p.Anchored = true |
| 59 | p.Parent = model |
| 60 | end |
| 61 | do |
| 62 | local p = Instance.new("Part") |
| 63 | p.Name = "BaseCorner_0" |
| 64 | p.Size = Vector3.new(3, 2, 3) |
| 65 | p.CFrame = CFrame.new(2.82843, 1.04, 2.82843) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) |
| 66 | p.BrickColor = BrickColor.new("Reddish brown") |
| 67 | p.Material = Enum.Material.Glacier |
| 68 | p.MaterialVariant = "2022 Small Stud" |
| 69 | p.Anchored = true |
| 70 | p.Parent = model |
| 71 | end |
| 72 | do |
| 73 | local p = Instance.new("Part") |
| 74 | p.Name = "BaseCorner_1" |
| 75 | p.Size = Vector3.new(3, 2, 3) |
| 76 | p.CFrame = CFrame.new(-2.82843, 1.04, 2.82843) * CFrame.Angles(math.rad(0), math.rad(-135), math.rad(0)) |
| 77 | p.BrickColor = BrickColor.new("Reddish brown") |
| 78 | p.Material = Enum.Material.Glacier |
| 79 | p.MaterialVariant = "2022 Small Stud" |
| 80 | p.Anchored = true |
| 81 | p.Parent = model |
| 82 | end |
| 83 | do |
| 84 | local p = Instance.new("Part") |
| 85 | p.Name = "BaseCorner_2" |
| 86 | p.Size = Vector3.new(3, 2, 3) |
| 87 | p.CFrame = CFrame.new(-2.82843, 1.04, -2.82843) * CFrame.Angles(math.rad(0), math.rad(-225), math.rad(0)) |
| 88 | p.BrickColor = BrickColor.new("Reddish brown") |
| 89 | p.Material = Enum.Material.Glacier |
| 90 | p.MaterialVariant = "2022 Small Stud" |
| 91 | p.Anchored = true |
| 92 | p.Parent = model |
| 93 | end |
| 94 | do |
| 95 | local p = Instance.new("Part") |
| 96 | p.Name = "BaseCorner_3" |
| 97 | p.Size = Vector3.new(3, 2, 3) |
| 98 | p.CFrame = CFrame.new(2.82843, 1.04, -2.82843) * CFrame.Angles(math.rad(0), math.rad(-315), math.rad(0)) |
| 99 | p.BrickColor = BrickColor.new("Reddish brown") |
| 100 | p.Material = Enum.Material.Glacier |
| 101 | p.MaterialVariant = "2022 Small Stud" |
| 102 | p.Anchored = true |
| 103 | p.Parent = model |
| 104 | end |
| 105 | do |
| 106 | local p = Instance.new("Part") |
| 107 | p.Shape = Enum.PartType.Cylinder |
| 108 | p.Name = "MountBase" |
| 109 | p.Size = Vector3.new(1, 4, 4) |
| 110 | p.CFrame = CFrame.new(0, 3.62, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 111 | p.BrickColor = BrickColor.new("Bright blue") |
| 112 | p.Material = Enum.Material.Glacier |
| 113 | p.MaterialVariant = "2022 Universal" |
| 114 | p.Anchored = true |
| 115 | p.Parent = model |
| 116 | end |
| 117 | do |
| 118 | local p = Instance.new("Part") |
| 119 | p.Shape = Enum.PartType.Cylinder |
| 120 | p.Name = "MountPillar" |
| 121 | p.Size = Vector3.new(2, 2, 2) |
| 122 | p.CFrame = CFrame.new(0, 4.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 123 | p.BrickColor = BrickColor.new("Bright blue") |
| 124 | p.Material = Enum.Material.Glacier |
| 125 | p.MaterialVariant = "2022 Universal" |
| 126 | p.Anchored = true |
| 127 | p.Parent = model |
| 128 | end |
| 129 | do |
| 130 | local p = Instance.new("Part") |
| 131 | p.Shape = Enum.PartType.Cylinder |
| 132 | p.Name = "CannonBack" |
| 133 | p.Size = Vector3.new(4, 5, 5) |
| 134 | p.CFrame = CFrame.new(0, 8, 2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 135 | p.BrickColor = BrickColor.new("Bright blue") |
| 136 | p.Material = Enum.Material.Glacier |
| 137 | p.MaterialVariant = "2022 Universal" |
| 138 | p.Anchored = true |
| 139 | p.Parent = model |
| 140 | end |
| 141 | do |
| 142 | local p = Instance.new("Part") |
| 143 | p.Shape = Enum.PartType.Cylinder |
| 144 | p.Name = "CannonMid" |
| 145 | p.Size = Vector3.new(4, 5.5, 5.5) |
| 146 | p.CFrame = CFrame.new(0, 8, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 147 | p.BrickColor = BrickColor.new("Bright blue") |
| 148 | p.Material = Enum.Material.Glacier |
| 149 | p.MaterialVariant = "2022 Universal" |
| 150 | p.Anchored = true |
| 151 | p.Parent = model |
| 152 | end |
| 153 | do |
| 154 | local p = Instance.new("Part") |
| 155 | p.Shape = Enum.PartType.Cylinder |
| 156 | p.Name = "CannonFront" |
| 157 | p.Size = Vector3.new(3, 6, 6) |
| 158 | p.CFrame = CFrame.new(0, 8, -4.54) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 159 | p.BrickColor = BrickColor.new("Bright blue") |
| 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.Shape = Enum.PartType.Cylinder |
| 168 | p.Name = "MuzzleHole" |
| 169 | p.Size = Vector3.new(0.2, 4, 4) |
| 170 | p.CFrame = CFrame.new(0, 8, -5.98) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 171 | p.BrickColor = BrickColor.new("Really black") |
| 172 | p.Material = Enum.Material.Glacier |
| 173 | p.MaterialVariant = "2022 Universal" |
| 174 | p.Anchored = true |
| 175 | p.Parent = model |
| 176 | end |
| 177 | do |
| 178 | local p = Instance.new("Part") |
| 179 | p.Shape = Enum.PartType.Cylinder |
| 180 | p.Name = "GearCore" |
| 181 | p.Size = Vector3.new(0.5, 4.5, 4.5) |
| 182 | p.CFrame = CFrame.new(0, 8, 4) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 183 | p.BrickColor = BrickColor.new("Bright blue") |
| 184 | p.Material = Enum.Material.Glacier |
| 185 | p.MaterialVariant = "2022 Universal" |
| 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 = "GearHole" |
| 193 | p.Size = Vector3.new(0.2, 1.5, 1.5) |
| 194 | p.CFrame = CFrame.new(0, 8, 4.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 195 | p.BrickColor = BrickColor.new("Really black") |
| 196 | p.Material = Enum.Material.Glacier |
| 197 | p.MaterialVariant = "2022 Universal" |
| 198 | p.Anchored = true |
| 199 | p.Parent = model |
| 200 | end |
| 201 | do |
| 202 | local p = Instance.new("Part") |
| 203 | p.Name = "GearTooth_0" |
| 204 | p.Size = Vector3.new(1, 1, 0.5) |
| 205 | p.CFrame = CFrame.new(2.2, 8, 3.96) |
| 206 | p.BrickColor = BrickColor.new("Bright blue") |
| 207 | p.Material = Enum.Material.Glacier |
| 208 | p.MaterialVariant = "2022 Universal" |
| 209 | p.Anchored = true |
| 210 | p.Parent = model |
| 211 | end |
| 212 | do |
| 213 | local p = Instance.new("Part") |
| 214 | p.Name = "GearTooth_1" |
| 215 | p.Size = Vector3.new(1, 1, 0.5) |
| 216 | p.CFrame = CFrame.new(1.55564, 9.55564, 3.96) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 217 | p.BrickColor = BrickColor.new("Bright blue") |
| 218 | p.Material = Enum.Material.Glacier |
| 219 | p.MaterialVariant = "2022 Universal" |
| 220 | p.Anchored = true |
| 221 | p.Parent = model |
| 222 | end |
| 223 | do |
| 224 | local p = Instance.new("Part") |
| 225 | p.Name = "GearTooth_2" |
| 226 | p.Size = Vector3.new(1, 1, 0.5) |
| 227 | p.CFrame = CFrame.new(0, 10.2, 4.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 228 | p.BrickColor = BrickColor.new("Bright blue") |
| 229 | p.Material = Enum.Material.Glacier |
| 230 | p.MaterialVariant = "2022 Universal" |
| 231 | p.Anchored = true |
| 232 | p.Parent = model |
| 233 | end |
| 234 | do |
| 235 | local p = Instance.new("Part") |
| 236 | p.Name = "GearTooth_3" |
| 237 | p.Size = Vector3.new(1, 1, 0.5) |
| 238 | p.CFrame = CFrame.new(-1.55564, 9.55564, 4.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(135)) |
| 239 | p.BrickColor = BrickColor.new("Bright blue") |
| 240 | p.Material = Enum.Material.Glacier |
| 241 | p.MaterialVariant = "2022 Universal" |
| 242 | p.Anchored = true |
| 243 | p.Parent = model |
| 244 | end |
| 245 | do |
| 246 | local p = Instance.new("Part") |
| 247 | p.Name = "GearTooth_4" |
| 248 | p.Size = Vector3.new(1, 1, 0.5) |
| 249 | p.CFrame = CFrame.new(-2.2, 8, 4.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)) |
| 250 | p.BrickColor = BrickColor.new("Bright blue") |
| 251 | p.Material = Enum.Material.Glacier |
| 252 | p.MaterialVariant = "2022 Universal" |
| 253 | p.Anchored = true |
| 254 | p.Parent = model |
| 255 | end |
| 256 | do |
| 257 | local p = Instance.new("Part") |
| 258 | p.Name = "GearTooth_5" |
| 259 | p.Size = Vector3.new(1, 1, 0.5) |
| 260 | p.CFrame = CFrame.new(-1.55564, 6.44437, 4.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(225)) |
| 261 | p.BrickColor = BrickColor.new("Bright blue") |
| 262 | p.Material = Enum.Material.Glacier |
| 263 | p.MaterialVariant = "2022 Universal" |
| 264 | p.Anchored = true |
| 265 | p.Parent = model |
| 266 | end |
| 267 | do |
| 268 | local p = Instance.new("Part") |
| 269 | p.Name = "GearTooth_6" |
| 270 | p.Size = Vector3.new(1, 1, 0.5) |
| 271 | p.CFrame = CFrame.new(0, 5.8, 4.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(270)) |
| 272 | p.BrickColor = BrickColor.new("Bright blue") |
| 273 | p.Material = Enum.Material.Glacier |
| 274 | p.MaterialVariant = "2022 Universal" |
| 275 | p.Anchored = true |
| 276 | p.Parent = model |
| 277 | end |
| 278 | do |
| 279 | local p = Instance.new("Part") |
| 280 | p.Name = "GearTooth_7" |
| 281 | p.Size = Vector3.new(1, 1, 0.5) |
| 282 | p.CFrame = CFrame.new(1.55564, 6.44437, 3.96) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(315)) |
| 283 | p.BrickColor = BrickColor.new("Bright blue") |
| 284 | p.Material = Enum.Material.Glacier |
| 285 | p.MaterialVariant = "2022 Universal" |
| 286 | p.Anchored = true |
| 287 | p.Parent = model |
| 288 | end |
| 289 | do |
| 290 | local p = Instance.new("Part") |
| 291 | p.Name = "HandleBase1" |
| 292 | p.Size = Vector3.new(0.4, 1, 0.4) |
| 293 | p.CFrame = CFrame.new(-0.84, 11.25, 1.04) |
| 294 | p.BrickColor = BrickColor.new("Bright blue") |
| 295 | p.Material = Enum.Material.Glacier |
| 296 | p.MaterialVariant = "2022 Universal" |
| 297 | p.Anchored = true |
| 298 | p.Parent = model |
| 299 | end |
| 300 | do |
| 301 | local p = Instance.new("Part") |
| 302 | p.Name = "HandleBase2" |
| 303 | p.Size = Vector3.new(0.4, 1, 0.4) |
| 304 | p.CFrame = CFrame.new(0.84, 11.25, 1.04) |
| 305 | p.BrickColor = BrickColor.new("Bright blue") |
| 306 | p.Material = Enum.Material.Glacier |
| 307 | p.MaterialVariant = "2022 Universal" |
| 308 | p.Anchored = true |
| 309 | p.Parent = model |
| 310 | end |
| 311 | do |
| 312 | local p = Instance.new("Part") |
| 313 | p.Name = "HandleTop" |
| 314 | p.Size = Vector3.new(2, 0.4, 0.4) |
| 315 | p.CFrame = CFrame.new(0, 11.75, 1) |
| 316 | p.BrickColor = BrickColor.new("Bright blue") |
| 317 | p.Material = Enum.Material.Glacier |
| 318 | p.MaterialVariant = "2022 Universal" |
| 319 | p.Anchored = true |
| 320 | p.Parent = model |
| 321 | end |
| 322 | model.PrimaryPart = model:FindFirstChild("CannonMid") |
| 323 | print("BlueCannon built: " .. #model:GetChildren() .. " parts") |
Loading comments...