Loading model...
by Julio Lopez · 7/23/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: SecurityCamera |
| 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 = "SecurityCamera" |
| 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.Name = "Base" |
| 30 | p.Size = Vector3.new(4, 1, 4) |
| 31 | p.CFrame = CFrame.new(0, 0, 0) |
| 32 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 33 | p.Material = Enum.Material.Glacier |
| 34 | p.MaterialVariant = "2022 Inlet" |
| 35 | p.Anchored = true |
| 36 | p.Parent = model |
| 37 | end |
| 38 | do |
| 39 | local p = Instance.new("Part") |
| 40 | p.Shape = Enum.PartType.Cylinder |
| 41 | p.Name = "Neck" |
| 42 | p.Size = Vector3.new(2.23607, 1, 1) |
| 43 | p.CFrame = CFrame.new(0, 1.5, -0.5) * CFrame.Angles(math.rad(63.4349), math.rad(90), math.rad(0)) |
| 44 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 45 | p.Material = Enum.Material.Glacier |
| 46 | p.MaterialVariant = "2022 Inlet" |
| 47 | p.Anchored = true |
| 48 | p.Parent = model |
| 49 | end |
| 50 | do |
| 51 | local p = Instance.new("Part") |
| 52 | p.Name = "Body" |
| 53 | p.Size = Vector3.new(4, 4, 6) |
| 54 | p.CFrame = CFrame.new(0, 4, -1) |
| 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.Name = "SidePanel" |
| 64 | p.Size = Vector3.new(0.4, 2, 1.5) |
| 65 | p.CFrame = CFrame.new(-2.24, 4.5, -3) |
| 66 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 67 | p.Material = Enum.Material.Glacier |
| 68 | p.MaterialVariant = "2022 Inlet" |
| 69 | p.Anchored = true |
| 70 | p.Parent = model |
| 71 | end |
| 72 | do |
| 73 | local p = Instance.new("Part") |
| 74 | p.Shape = Enum.PartType.Cylinder |
| 75 | p.Name = "RedLight" |
| 76 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 77 | p.CFrame = CFrame.new(-2.2, 4.5, -3.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 78 | p.BrickColor = BrickColor.new("Bright red") |
| 79 | p.Material = Enum.Material.Neon |
| 80 | p.Anchored = true |
| 81 | p.Parent = model |
| 82 | end |
| 83 | do |
| 84 | local p = Instance.new("Part") |
| 85 | p.Shape = Enum.PartType.Cylinder |
| 86 | p.Name = "LensRing" |
| 87 | p.Size = Vector3.new(0.4, 3.6, 3.6) |
| 88 | p.CFrame = CFrame.new(0, 4, -4.24) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 89 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Inlet" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Shape = Enum.PartType.Cylinder |
| 98 | p.Name = "LensInner" |
| 99 | p.Size = Vector3.new(0.2, 3.2, 3.2) |
| 100 | p.CFrame = CFrame.new(0, 4, -4.4) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 101 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 102 | p.Material = Enum.Material.Glacier |
| 103 | p.MaterialVariant = "2022 Inlet" |
| 104 | p.Anchored = true |
| 105 | p.Parent = model |
| 106 | end |
| 107 | do |
| 108 | local p = Instance.new("Part") |
| 109 | p.Shape = Enum.PartType.Cylinder |
| 110 | p.Name = "LensGlass" |
| 111 | p.Size = Vector3.new(0.1, 3, 3) |
| 112 | p.CFrame = CFrame.new(0, 4, -4.58) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 113 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 114 | p.Material = Enum.Material.Glacier |
| 115 | p.MaterialVariant = "2022 Stud" |
| 116 | p.Anchored = true |
| 117 | p.Parent = model |
| 118 | end |
| 119 | do |
| 120 | local p = Instance.new("Part") |
| 121 | p.Name = "SideDetail" |
| 122 | p.Size = Vector3.new(0.1, 0.2, 5) |
| 123 | p.CFrame = CFrame.new(2.09, 2.5, -1) |
| 124 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 125 | p.Material = Enum.Material.Glacier |
| 126 | p.MaterialVariant = "2022 Inlet" |
| 127 | p.Anchored = true |
| 128 | p.Parent = model |
| 129 | end |
| 130 | model.PrimaryPart = model:FindFirstChild("Body") |
| 131 | print("SecurityCamera built: " .. #model:GetChildren() .. " parts") |
Loading comments...