Loading model...
by Alex Collins · 3/31/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: VoxelSniper |
| 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 = "VoxelSniper" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Dark stone grey"] = "2022 Universal", |
| 25 | ["Maroon"] = "2022 Small Stud", |
| 26 | ["Medium stone grey"] = "2022 Inlet", |
| 27 | ["Rust"] = "2022 Weld", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "StandBase" |
| 32 | p.Size = Vector3.new(4, 0.5, 14) |
| 33 | p.CFrame = CFrame.new(0, 0.25, 0) |
| 34 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Inlet" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "StandPillar" |
| 43 | p.Size = Vector3.new(1.5, 7, 2) |
| 44 | p.CFrame = CFrame.new(0, 4.04, 0) |
| 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.Name = "ReceiverMain" |
| 54 | p.Size = Vector3.new(2.2, 2.5, 8) |
| 55 | p.CFrame = CFrame.new(0, 9, 0) |
| 56 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 57 | p.Material = Enum.Material.Glacier |
| 58 | p.MaterialVariant = "2022 Inlet" |
| 59 | p.Anchored = true |
| 60 | p.Parent = model |
| 61 | end |
| 62 | do |
| 63 | local p = Instance.new("Part") |
| 64 | p.Name = "ReceiverTop" |
| 65 | p.Size = Vector3.new(2, 0.5, 9) |
| 66 | p.CFrame = CFrame.new(0, 10.54, -0.5) |
| 67 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 68 | p.Material = Enum.Material.Glacier |
| 69 | p.MaterialVariant = "2022 Inlet" |
| 70 | p.Anchored = true |
| 71 | p.Parent = model |
| 72 | end |
| 73 | do |
| 74 | local p = Instance.new("Part") |
| 75 | p.Name = "ReceiverFront" |
| 76 | p.Size = Vector3.new(2.4, 3, 1) |
| 77 | p.CFrame = CFrame.new(0, 9, -4.54) |
| 78 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 79 | p.Material = Enum.Material.Glacier |
| 80 | p.MaterialVariant = "2022 Inlet" |
| 81 | p.Anchored = true |
| 82 | p.Parent = model |
| 83 | end |
| 84 | do |
| 85 | local p = Instance.new("Part") |
| 86 | p.Name = "BarrelBase" |
| 87 | p.Size = Vector3.new(1.2, 1.2, 5) |
| 88 | p.CFrame = CFrame.new(0, 9.5, -7.5) |
| 89 | p.BrickColor = BrickColor.new("Rust") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Weld" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Name = "BarrelExt" |
| 98 | p.Size = Vector3.new(0.8, 0.8, 5) |
| 99 | p.CFrame = CFrame.new(0, 9.5, -12.54) |
| 100 | p.BrickColor = BrickColor.new("Rust") |
| 101 | p.Material = Enum.Material.Glacier |
| 102 | p.MaterialVariant = "2022 Weld" |
| 103 | p.Anchored = true |
| 104 | p.Parent = model |
| 105 | end |
| 106 | do |
| 107 | local p = Instance.new("Part") |
| 108 | p.Name = "MuzzleBlock" |
| 109 | p.Size = Vector3.new(1.6, 1.6, 2.5) |
| 110 | p.CFrame = CFrame.new(0, 9.5, -16) |
| 111 | p.BrickColor = BrickColor.new("Rust") |
| 112 | p.Material = Enum.Material.Glacier |
| 113 | p.MaterialVariant = "2022 Weld" |
| 114 | p.Anchored = true |
| 115 | p.Parent = model |
| 116 | end |
| 117 | do |
| 118 | local p = Instance.new("Part") |
| 119 | p.Name = "MuzzleGlow1" |
| 120 | p.Size = Vector3.new(0.4, 0.8, 0.2) |
| 121 | p.CFrame = CFrame.new(1.5, 9.5, -15.5) |
| 122 | p.BrickColor = BrickColor.new("Institutional white") |
| 123 | p.Material = Enum.Material.Neon |
| 124 | p.Anchored = true |
| 125 | p.Parent = model |
| 126 | end |
| 127 | do |
| 128 | local p = Instance.new("Part") |
| 129 | p.Name = "MuzzleGlow2" |
| 130 | p.Size = Vector3.new(0.4, 0.8, 0.2) |
| 131 | p.CFrame = CFrame.new(1.5, 9.5, -16) |
| 132 | p.BrickColor = BrickColor.new("Institutional white") |
| 133 | p.Material = Enum.Material.Neon |
| 134 | p.Anchored = true |
| 135 | p.Parent = model |
| 136 | end |
| 137 | do |
| 138 | local p = Instance.new("Part") |
| 139 | p.Name = "MuzzleGlow3" |
| 140 | p.Size = Vector3.new(0.4, 0.8, 0.2) |
| 141 | p.CFrame = CFrame.new(1.5, 9.5, -16.5) |
| 142 | p.BrickColor = BrickColor.new("Institutional white") |
| 143 | p.Material = Enum.Material.Neon |
| 144 | p.Anchored = true |
| 145 | p.Parent = model |
| 146 | end |
| 147 | do |
| 148 | local p = Instance.new("Part") |
| 149 | p.Name = "MuzzleGlow1L" |
| 150 | p.Size = Vector3.new(0.4, 0.8, 0.2) |
| 151 | p.CFrame = CFrame.new(-1.5, 9.5, -15.5) |
| 152 | p.BrickColor = BrickColor.new("Institutional white") |
| 153 | p.Material = Enum.Material.Neon |
| 154 | p.Anchored = true |
| 155 | p.Parent = model |
| 156 | end |
| 157 | do |
| 158 | local p = Instance.new("Part") |
| 159 | p.Name = "MuzzleGlow2L" |
| 160 | p.Size = Vector3.new(0.4, 0.8, 0.2) |
| 161 | p.CFrame = CFrame.new(-1.5, 9.5, -16) |
| 162 | p.BrickColor = BrickColor.new("Institutional white") |
| 163 | p.Material = Enum.Material.Neon |
| 164 | p.Anchored = true |
| 165 | p.Parent = model |
| 166 | end |
| 167 | do |
| 168 | local p = Instance.new("Part") |
| 169 | p.Name = "MuzzleGlow3L" |
| 170 | p.Size = Vector3.new(0.4, 0.8, 0.2) |
| 171 | p.CFrame = CFrame.new(-1.5, 9.5, -16.5) |
| 172 | p.BrickColor = BrickColor.new("Institutional white") |
| 173 | p.Material = Enum.Material.Neon |
| 174 | p.Anchored = true |
| 175 | p.Parent = model |
| 176 | end |
| 177 | do |
| 178 | local p = Instance.new("Part") |
| 179 | p.Name = "MuzzleFront" |
| 180 | p.Size = Vector3.new(0.8, 0.8, 0.2) |
| 181 | p.CFrame = CFrame.new(0, 9.5, -17.3) |
| 182 | p.BrickColor = BrickColor.new("Institutional white") |
| 183 | p.Material = Enum.Material.Neon |
| 184 | p.Anchored = true |
| 185 | p.Parent = model |
| 186 | end |
| 187 | do |
| 188 | local p = Instance.new("Part") |
| 189 | p.Name = "SidePanelR" |
| 190 | p.Size = Vector3.new(0.4, 1.2, 6.5) |
| 191 | p.CFrame = CFrame.new(1.2, 9.2, -1) |
| 192 | p.BrickColor = BrickColor.new("Maroon") |
| 193 | p.Material = Enum.Material.Glacier |
| 194 | p.MaterialVariant = "2022 Small Stud" |
| 195 | p.Anchored = true |
| 196 | p.Parent = model |
| 197 | end |
| 198 | do |
| 199 | local p = Instance.new("Part") |
| 200 | p.Name = "SideGlowR" |
| 201 | p.Size = Vector3.new(0.3, 0.4, 5.5) |
| 202 | p.CFrame = CFrame.new(1.3, 9.2, -1) |
| 203 | p.BrickColor = BrickColor.new("Institutional white") |
| 204 | p.Material = Enum.Material.Neon |
| 205 | p.Anchored = true |
| 206 | p.Parent = model |
| 207 | end |
| 208 | do |
| 209 | local p = Instance.new("Part") |
| 210 | p.Name = "SidePanelL" |
| 211 | p.Size = Vector3.new(0.4, 1.2, 6.5) |
| 212 | p.CFrame = CFrame.new(-1.2, 9.2, -1) |
| 213 | p.BrickColor = BrickColor.new("Maroon") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Small Stud" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Name = "SideGlowL" |
| 222 | p.Size = Vector3.new(0.3, 0.4, 5.5) |
| 223 | p.CFrame = CFrame.new(-1.3, 9.2, -1) |
| 224 | p.BrickColor = BrickColor.new("Institutional white") |
| 225 | p.Material = Enum.Material.Neon |
| 226 | p.Anchored = true |
| 227 | p.Parent = model |
| 228 | end |
| 229 | do |
| 230 | local p = Instance.new("Part") |
| 231 | p.Name = "Forend" |
| 232 | p.Size = Vector3.new(1.8, 0.8, 4) |
| 233 | p.CFrame = CFrame.new(0, 7.5, -2.04) |
| 234 | p.BrickColor = BrickColor.new("Maroon") |
| 235 | p.Material = Enum.Material.Glacier |
| 236 | p.MaterialVariant = "2022 Small Stud" |
| 237 | p.Anchored = true |
| 238 | p.Parent = model |
| 239 | end |
| 240 | do |
| 241 | local p = Instance.new("Part") |
| 242 | p.Name = "ForendDetail" |
| 243 | p.Size = Vector3.new(1.6, 0.2, 3.5) |
| 244 | p.CFrame = CFrame.new(0, 6.96, -2) |
| 245 | p.BrickColor = BrickColor.new("Rust") |
| 246 | p.Material = Enum.Material.Glacier |
| 247 | p.MaterialVariant = "2022 Weld" |
| 248 | p.Anchored = true |
| 249 | p.Parent = model |
| 250 | end |
| 251 | do |
| 252 | local p = Instance.new("Part") |
| 253 | p.Name = "MagWell" |
| 254 | p.Size = Vector3.new(1.8, 0.5, 2.5) |
| 255 | p.CFrame = CFrame.new(0, 7.46, 1.5) |
| 256 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 257 | p.Material = Enum.Material.Glacier |
| 258 | p.MaterialVariant = "2022 Inlet" |
| 259 | p.Anchored = true |
| 260 | p.Parent = model |
| 261 | end |
| 262 | do |
| 263 | local p = Instance.new("Part") |
| 264 | p.Name = "Magazine" |
| 265 | p.Size = Vector3.new(1.4, 2.5, 2) |
| 266 | p.CFrame = CFrame.new(0, 6, 1.5) |
| 267 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 268 | p.Material = Enum.Material.Glacier |
| 269 | p.MaterialVariant = "2022 Inlet" |
| 270 | p.Anchored = true |
| 271 | p.Parent = model |
| 272 | end |
| 273 | do |
| 274 | local p = Instance.new("Part") |
| 275 | p.Name = "MagStripe1" |
| 276 | p.Size = Vector3.new(0.1, 1, 0.3) |
| 277 | p.CFrame = CFrame.new(0.83, 5.5, 1) |
| 278 | p.BrickColor = BrickColor.new("Rust") |
| 279 | p.Material = Enum.Material.Glacier |
| 280 | p.MaterialVariant = "2022 Weld" |
| 281 | p.Anchored = true |
| 282 | p.Parent = model |
| 283 | end |
| 284 | do |
| 285 | local p = Instance.new("Part") |
| 286 | p.Name = "MagStripe2" |
| 287 | p.Size = Vector3.new(0.1, 1, 0.3) |
| 288 | p.CFrame = CFrame.new(0.79, 5.5, 2) |
| 289 | p.BrickColor = BrickColor.new("Rust") |
| 290 | p.Material = Enum.Material.Glacier |
| 291 | p.MaterialVariant = "2022 Weld" |
| 292 | p.Anchored = true |
| 293 | p.Parent = model |
| 294 | end |
| 295 | do |
| 296 | local p = Instance.new("Part") |
| 297 | p.Name = "TriggerGuard" |
| 298 | p.Size = Vector3.new(0.4, 0.2, 1.5) |
| 299 | p.CFrame = CFrame.new(0, 7.5, 3.54) |
| 300 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 301 | p.Material = Enum.Material.Glacier |
| 302 | p.MaterialVariant = "2022 Inlet" |
| 303 | p.Anchored = true |
| 304 | p.Parent = model |
| 305 | end |
| 306 | do |
| 307 | local p = Instance.new("Part") |
| 308 | p.Name = "Trigger" |
| 309 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 310 | p.CFrame = CFrame.new(0, 8, 3.2) |
| 311 | p.BrickColor = BrickColor.new("Rust") |
| 312 | p.Material = Enum.Material.Glacier |
| 313 | p.MaterialVariant = "2022 Weld" |
| 314 | p.Anchored = true |
| 315 | p.Parent = model |
| 316 | end |
| 317 | do |
| 318 | local p = Instance.new("Part") |
| 319 | p.Name = "PistolGrip" |
| 320 | p.Size = Vector3.new(1.2, 2.8, 1.5) |
| 321 | p.CFrame = CFrame.new(0, 6.5, 4.2) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 322 | p.BrickColor = BrickColor.new("Maroon") |
| 323 | p.Material = Enum.Material.Glacier |
| 324 | p.MaterialVariant = "2022 Small Stud" |
| 325 | p.Anchored = true |
| 326 | p.Parent = model |
| 327 | end |
| 328 | do |
| 329 | local p = Instance.new("Part") |
| 330 | p.Name = "ScopeMountF" |
| 331 | p.Size = Vector3.new(1, 1.5, 1) |
| 332 | p.CFrame = CFrame.new(0, 11.58, -1) |
| 333 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 334 | p.Material = Enum.Material.Glacier |
| 335 | p.MaterialVariant = "2022 Inlet" |
| 336 | p.Anchored = true |
| 337 | p.Parent = model |
| 338 | end |
| 339 | do |
| 340 | local p = Instance.new("Part") |
| 341 | p.Name = "ScopeMountR" |
| 342 | p.Size = Vector3.new(1, 1.5, 1) |
| 343 | p.CFrame = CFrame.new(0, 11.58, 2) |
| 344 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 345 | p.Material = Enum.Material.Glacier |
| 346 | p.MaterialVariant = "2022 Inlet" |
| 347 | p.Anchored = true |
| 348 | p.Parent = model |
| 349 | end |
| 350 | do |
| 351 | local p = Instance.new("Part") |
| 352 | p.Name = "ScopeTube" |
| 353 | p.Size = Vector3.new(2.2, 2.2, 8) |
| 354 | p.CFrame = CFrame.new(0, 12.8, 0.5) |
| 355 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 356 | p.Material = Enum.Material.Glacier |
| 357 | p.MaterialVariant = "2022 Inlet" |
| 358 | p.Anchored = true |
| 359 | p.Parent = model |
| 360 | end |
| 361 | do |
| 362 | local p = Instance.new("Part") |
| 363 | p.Name = "ScopeFrontRing" |
| 364 | p.Size = Vector3.new(2.4, 2.4, 1) |
| 365 | p.CFrame = CFrame.new(0, 12.8, -3.5) |
| 366 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 367 | p.Material = Enum.Material.Glacier |
| 368 | p.MaterialVariant = "2022 Universal" |
| 369 | p.Anchored = true |
| 370 | p.Parent = model |
| 371 | end |
| 372 | do |
| 373 | local p = Instance.new("Part") |
| 374 | p.Name = "ScopeLens" |
| 375 | p.Size = Vector3.new(1.8, 1.8, 0.2) |
| 376 | p.CFrame = CFrame.new(0, 12.8, -4.05) |
| 377 | p.BrickColor = BrickColor.new("Institutional white") |
| 378 | p.Material = Enum.Material.Neon |
| 379 | p.Anchored = true |
| 380 | p.Parent = model |
| 381 | end |
| 382 | do |
| 383 | local p = Instance.new("Part") |
| 384 | p.Name = "ScopeRearRing" |
| 385 | p.Size = Vector3.new(2.4, 2.4, 1) |
| 386 | p.CFrame = CFrame.new(0, 12.8, 4.5) |
| 387 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 388 | p.Material = Enum.Material.Glacier |
| 389 | p.MaterialVariant = "2022 Universal" |
| 390 | p.Anchored = true |
| 391 | p.Parent = model |
| 392 | end |
| 393 | do |
| 394 | local p = Instance.new("Part") |
| 395 | p.Name = "ScopeDialTop" |
| 396 | p.Size = Vector3.new(1.2, 0.4, 1.2) |
| 397 | p.CFrame = CFrame.new(0, 14, 1) |
| 398 | p.BrickColor = BrickColor.new("Rust") |
| 399 | p.Material = Enum.Material.Glacier |
| 400 | p.MaterialVariant = "2022 Weld" |
| 401 | p.Anchored = true |
| 402 | p.Parent = model |
| 403 | end |
| 404 | do |
| 405 | local p = Instance.new("Part") |
| 406 | p.Name = "ScopeDialSide" |
| 407 | p.Size = Vector3.new(0.4, 1.2, 1.2) |
| 408 | p.CFrame = CFrame.new(1.2, 12.8, 1) |
| 409 | p.BrickColor = BrickColor.new("Rust") |
| 410 | p.Material = Enum.Material.Glacier |
| 411 | p.MaterialVariant = "2022 Weld" |
| 412 | p.Anchored = true |
| 413 | p.Parent = model |
| 414 | end |
| 415 | do |
| 416 | local p = Instance.new("Part") |
| 417 | p.Name = "StockConn" |
| 418 | p.Size = Vector3.new(1.6, 2, 2) |
| 419 | p.CFrame = CFrame.new(0.04, 9.04, 4.5) |
| 420 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 421 | p.Material = Enum.Material.Glacier |
| 422 | p.MaterialVariant = "2022 Inlet" |
| 423 | p.Anchored = true |
| 424 | p.Parent = model |
| 425 | end |
| 426 | do |
| 427 | local p = Instance.new("Part") |
| 428 | p.Name = "StockTop" |
| 429 | p.Size = Vector3.new(1.6, 1, 5) |
| 430 | p.CFrame = CFrame.new(0, 10, 7.5) |
| 431 | p.BrickColor = BrickColor.new("Rust") |
| 432 | p.Material = Enum.Material.Glacier |
| 433 | p.MaterialVariant = "2022 Weld" |
| 434 | p.Anchored = true |
| 435 | p.Parent = model |
| 436 | end |
| 437 | do |
| 438 | local p = Instance.new("Part") |
| 439 | p.Name = "StockBottom" |
| 440 | p.Size = Vector3.new(1.6, 1, 5) |
| 441 | p.CFrame = CFrame.new(0, 7.5, 7.5) |
| 442 | p.BrickColor = BrickColor.new("Rust") |
| 443 | p.Material = Enum.Material.Glacier |
| 444 | p.MaterialVariant = "2022 Weld" |
| 445 | p.Anchored = true |
| 446 | p.Parent = model |
| 447 | end |
| 448 | do |
| 449 | local p = Instance.new("Part") |
| 450 | p.Name = "StockFrontVert" |
| 451 | p.Size = Vector3.new(1.6, 1.5, 1) |
| 452 | p.CFrame = CFrame.new(-0.04, 8.71, 5.46) |
| 453 | p.BrickColor = BrickColor.new("Rust") |
| 454 | p.Material = Enum.Material.Glacier |
| 455 | p.MaterialVariant = "2022 Weld" |
| 456 | p.Anchored = true |
| 457 | p.Parent = model |
| 458 | end |
| 459 | do |
| 460 | local p = Instance.new("Part") |
| 461 | p.Name = "StockBackVert" |
| 462 | p.Size = Vector3.new(1.6, 1.5, 1) |
| 463 | p.CFrame = CFrame.new(0.04, 8.79, 9.54) |
| 464 | p.BrickColor = BrickColor.new("Rust") |
| 465 | p.Material = Enum.Material.Glacier |
| 466 | p.MaterialVariant = "2022 Weld" |
| 467 | p.Anchored = true |
| 468 | p.Parent = model |
| 469 | end |
| 470 | do |
| 471 | local p = Instance.new("Part") |
| 472 | p.Name = "CheekRest" |
| 473 | p.Size = Vector3.new(1.8, 0.6, 3) |
| 474 | p.CFrame = CFrame.new(0, 10.84, 8) |
| 475 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 476 | p.Material = Enum.Material.Glacier |
| 477 | p.MaterialVariant = "2022 Universal" |
| 478 | p.Anchored = true |
| 479 | p.Parent = model |
| 480 | end |
| 481 | do |
| 482 | local p = Instance.new("Part") |
| 483 | p.Name = "ShoulderPad" |
| 484 | p.Size = Vector3.new(1.8, 4, 0.6) |
| 485 | p.CFrame = CFrame.new(0, 8.75, 10.2) |
| 486 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 487 | p.Material = Enum.Material.Glacier |
| 488 | p.MaterialVariant = "2022 Universal" |
| 489 | p.Anchored = true |
| 490 | p.Parent = model |
| 491 | end |
| 492 | model.PrimaryPart = model:FindFirstChild("ReceiverMain") |
| 493 | print("VoxelSniper built: " .. #model:GetChildren() .. " parts") |
Loading comments...