Loading model...
by Obesida Dev · 6/20/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: SciFiControlPanel |
| 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 = "SciFiControlPanel" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Black"] = "2022 Glue", |
| 25 | ["Dark Curry"] = "2022 Stud", |
| 26 | ["Dark green"] = "2022 Stud", |
| 27 | ["Dark grey"] = "2022 Stud", |
| 28 | ["Dark indigo"] = "2022 Stud", |
| 29 | ["Dark stone grey"] = "2022 Stud", |
| 30 | ["Navy blue"] = "2022 Stud", |
| 31 | } |
| 32 | do |
| 33 | local p = Instance.new("Part") |
| 34 | p.Name = "BaseMain" |
| 35 | p.Size = Vector3.new(16, 2, 14) |
| 36 | p.CFrame = CFrame.new(0, 1, 0) |
| 37 | p.BrickColor = BrickColor.new("Dark grey") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Stud" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Name = "BaseTrim" |
| 46 | p.Size = Vector3.new(17, 0.4, 15) |
| 47 | p.CFrame = CFrame.new(0, 0.16, 0) |
| 48 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Stud" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Name = "BaseNeonFront" |
| 57 | p.Size = Vector3.new(8, 0.6, 0.2) |
| 58 | p.CFrame = CFrame.new(0, 1, -7.14) |
| 59 | p.BrickColor = BrickColor.new("Lime green") |
| 60 | p.Material = Enum.Material.Neon |
| 61 | p.Anchored = true |
| 62 | p.Parent = model |
| 63 | end |
| 64 | do |
| 65 | local p = Instance.new("Part") |
| 66 | p.Name = "BaseNeonSideL" |
| 67 | p.Size = Vector3.new(0.2, 0.6, 10) |
| 68 | p.CFrame = CFrame.new(-8.18, 1, 0) |
| 69 | p.BrickColor = BrickColor.new("Lime green") |
| 70 | p.Material = Enum.Material.Neon |
| 71 | p.Anchored = true |
| 72 | p.Parent = model |
| 73 | end |
| 74 | do |
| 75 | local p = Instance.new("Part") |
| 76 | p.Name = "BaseNeonSideR" |
| 77 | p.Size = Vector3.new(0.2, 0.6, 10) |
| 78 | p.CFrame = CFrame.new(8.18, 1, 0) |
| 79 | p.BrickColor = BrickColor.new("Lime green") |
| 80 | p.Material = Enum.Material.Neon |
| 81 | p.Anchored = true |
| 82 | p.Parent = model |
| 83 | end |
| 84 | do |
| 85 | local p = Instance.new("Part") |
| 86 | p.Name = "CornerFL" |
| 87 | p.Size = Vector3.new(2.5, 2.2, 2.5) |
| 88 | p.CFrame = CFrame.new(-7.5, 1, -6.5) |
| 89 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Stud" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Name = "CornerNeonFL" |
| 98 | p.Size = Vector3.new(1, 1, 0.2) |
| 99 | p.CFrame = CFrame.new(-7.5, 1, -7.8) |
| 100 | p.BrickColor = BrickColor.new("Lime green") |
| 101 | p.Material = Enum.Material.Neon |
| 102 | p.Anchored = true |
| 103 | p.Parent = model |
| 104 | end |
| 105 | do |
| 106 | local p = Instance.new("Part") |
| 107 | p.Name = "CornerFR" |
| 108 | p.Size = Vector3.new(2.5, 2.2, 2.5) |
| 109 | p.CFrame = CFrame.new(7.5, 1, -6.5) |
| 110 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 111 | p.Material = Enum.Material.Glacier |
| 112 | p.MaterialVariant = "2022 Stud" |
| 113 | p.Anchored = true |
| 114 | p.Parent = model |
| 115 | end |
| 116 | do |
| 117 | local p = Instance.new("Part") |
| 118 | p.Name = "CornerNeonFR" |
| 119 | p.Size = Vector3.new(1, 1, 0.2) |
| 120 | p.CFrame = CFrame.new(7.5, 1, -7.8) |
| 121 | p.BrickColor = BrickColor.new("Lime green") |
| 122 | p.Material = Enum.Material.Neon |
| 123 | p.Anchored = true |
| 124 | p.Parent = model |
| 125 | end |
| 126 | do |
| 127 | local p = Instance.new("Part") |
| 128 | p.Name = "BaseMid" |
| 129 | p.Size = Vector3.new(12, 1, 10) |
| 130 | p.CFrame = CFrame.new(0, 2.54, 1) |
| 131 | p.BrickColor = BrickColor.new("Dark grey") |
| 132 | p.Material = Enum.Material.Glacier |
| 133 | p.MaterialVariant = "2022 Stud" |
| 134 | p.Anchored = true |
| 135 | p.Parent = model |
| 136 | end |
| 137 | do |
| 138 | local p = Instance.new("Part") |
| 139 | p.Name = "BaseMidNeon" |
| 140 | p.Size = Vector3.new(6, 0.4, 0.2) |
| 141 | p.CFrame = CFrame.new(0, 2.5, -4.14) |
| 142 | p.BrickColor = BrickColor.new("Lime green") |
| 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 = "BaseTop" |
| 150 | p.Size = Vector3.new(10, 1, 8) |
| 151 | p.CFrame = CFrame.new(0, 3.58, 2) |
| 152 | p.BrickColor = BrickColor.new("Dark grey") |
| 153 | p.Material = Enum.Material.Glacier |
| 154 | p.MaterialVariant = "2022 Stud" |
| 155 | p.Anchored = true |
| 156 | p.Parent = model |
| 157 | end |
| 158 | do |
| 159 | local p = Instance.new("Part") |
| 160 | p.Name = "BaseTopNeon" |
| 161 | p.Size = Vector3.new(4, 0.4, 0.2) |
| 162 | p.CFrame = CFrame.new(0, 3.5, -2.14) |
| 163 | p.BrickColor = BrickColor.new("Lime green") |
| 164 | p.Material = Enum.Material.Neon |
| 165 | p.Anchored = true |
| 166 | p.Parent = model |
| 167 | end |
| 168 | do |
| 169 | local p = Instance.new("Part") |
| 170 | p.Name = "ArmL" |
| 171 | p.Size = Vector3.new(1.5, 8, 4) |
| 172 | p.CFrame = CFrame.new(-6.5, 7, 4) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 173 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 174 | p.Material = Enum.Material.Glacier |
| 175 | p.MaterialVariant = "2022 Stud" |
| 176 | p.Anchored = true |
| 177 | p.Parent = model |
| 178 | end |
| 179 | do |
| 180 | local p = Instance.new("Part") |
| 181 | p.Name = "ArmNeonL1" |
| 182 | p.Size = Vector3.new(0.2, 0.5, 2) |
| 183 | p.CFrame = CFrame.new(-7.3, 5, 4.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 184 | p.BrickColor = BrickColor.new("Lime green") |
| 185 | p.Material = Enum.Material.Neon |
| 186 | p.Anchored = true |
| 187 | p.Parent = model |
| 188 | end |
| 189 | do |
| 190 | local p = Instance.new("Part") |
| 191 | p.Name = "ArmNeonL2" |
| 192 | p.Size = Vector3.new(0.2, 0.5, 2) |
| 193 | p.CFrame = CFrame.new(-7.3, 7, 4) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 194 | p.BrickColor = BrickColor.new("Lime green") |
| 195 | p.Material = Enum.Material.Neon |
| 196 | p.Anchored = true |
| 197 | p.Parent = model |
| 198 | end |
| 199 | do |
| 200 | local p = Instance.new("Part") |
| 201 | p.Name = "ArmNeonL3" |
| 202 | p.Size = Vector3.new(0.2, 0.5, 2) |
| 203 | p.CFrame = CFrame.new(-7.3, 9, 3.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 204 | p.BrickColor = BrickColor.new("Lime green") |
| 205 | p.Material = Enum.Material.Neon |
| 206 | p.Anchored = true |
| 207 | p.Parent = model |
| 208 | end |
| 209 | do |
| 210 | local p = Instance.new("Part") |
| 211 | p.Name = "ArmR" |
| 212 | p.Size = Vector3.new(1.5, 8, 4) |
| 213 | p.CFrame = CFrame.new(6.5, 7, 4) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 214 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 215 | p.Material = Enum.Material.Glacier |
| 216 | p.MaterialVariant = "2022 Stud" |
| 217 | p.Anchored = true |
| 218 | p.Parent = model |
| 219 | end |
| 220 | do |
| 221 | local p = Instance.new("Part") |
| 222 | p.Name = "ArmNeonR1" |
| 223 | p.Size = Vector3.new(0.2, 0.5, 2) |
| 224 | p.CFrame = CFrame.new(7.3, 5, 4.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 225 | p.BrickColor = BrickColor.new("Lime green") |
| 226 | p.Material = Enum.Material.Neon |
| 227 | p.Anchored = true |
| 228 | p.Parent = model |
| 229 | end |
| 230 | do |
| 231 | local p = Instance.new("Part") |
| 232 | p.Name = "ArmNeonR2" |
| 233 | p.Size = Vector3.new(0.2, 0.5, 2) |
| 234 | p.CFrame = CFrame.new(7.3, 7, 4) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 235 | p.BrickColor = BrickColor.new("Lime green") |
| 236 | p.Material = Enum.Material.Neon |
| 237 | p.Anchored = true |
| 238 | p.Parent = model |
| 239 | end |
| 240 | do |
| 241 | local p = Instance.new("Part") |
| 242 | p.Name = "ArmNeonR3" |
| 243 | p.Size = Vector3.new(0.2, 0.5, 2) |
| 244 | p.CFrame = CFrame.new(7.3, 9, 3.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 245 | p.BrickColor = BrickColor.new("Lime green") |
| 246 | p.Material = Enum.Material.Neon |
| 247 | p.Anchored = true |
| 248 | p.Parent = model |
| 249 | end |
| 250 | do |
| 251 | local p = Instance.new("Part") |
| 252 | p.Shape = Enum.PartType.Cylinder |
| 253 | p.Name = "PivotL" |
| 254 | p.Size = Vector3.new(1, 3, 3) |
| 255 | p.CFrame = CFrame.new(-7.58, 10, 3) |
| 256 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 257 | p.Material = Enum.Material.Glacier |
| 258 | p.MaterialVariant = "2022 Stud" |
| 259 | p.Anchored = true |
| 260 | p.Parent = model |
| 261 | end |
| 262 | do |
| 263 | local p = Instance.new("Part") |
| 264 | p.Shape = Enum.PartType.Cylinder |
| 265 | p.Name = "PivotNeonL" |
| 266 | p.Size = Vector3.new(0.2, 1.5, 1.5) |
| 267 | p.CFrame = CFrame.new(-8.26, 10, 3) |
| 268 | p.BrickColor = BrickColor.new("Lime green") |
| 269 | p.Material = Enum.Material.Neon |
| 270 | p.Anchored = true |
| 271 | p.Parent = model |
| 272 | end |
| 273 | do |
| 274 | local p = Instance.new("Part") |
| 275 | p.Shape = Enum.PartType.Cylinder |
| 276 | p.Name = "PivotR" |
| 277 | p.Size = Vector3.new(1, 3, 3) |
| 278 | p.CFrame = CFrame.new(7.58, 10, 3) |
| 279 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 280 | p.Material = Enum.Material.Glacier |
| 281 | p.MaterialVariant = "2022 Stud" |
| 282 | p.Anchored = true |
| 283 | p.Parent = model |
| 284 | end |
| 285 | do |
| 286 | local p = Instance.new("Part") |
| 287 | p.Shape = Enum.PartType.Cylinder |
| 288 | p.Name = "PivotNeonR" |
| 289 | p.Size = Vector3.new(0.2, 1.5, 1.5) |
| 290 | p.CFrame = CFrame.new(8.26, 10, 3) |
| 291 | p.BrickColor = BrickColor.new("Lime green") |
| 292 | p.Material = Enum.Material.Neon |
| 293 | p.Anchored = true |
| 294 | p.Parent = model |
| 295 | end |
| 296 | do |
| 297 | local p = Instance.new("Part") |
| 298 | p.Name = "ScreenBody" |
| 299 | p.Size = Vector3.new(14, 16, 2) |
| 300 | p.CFrame = CFrame.new(0, 10, 3) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 301 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 302 | p.Material = Enum.Material.Glacier |
| 303 | p.MaterialVariant = "2022 Stud" |
| 304 | p.Anchored = true |
| 305 | p.Parent = model |
| 306 | end |
| 307 | do |
| 308 | local p = Instance.new("Part") |
| 309 | p.Name = "ScreenBG" |
| 310 | p.Size = Vector3.new(12, 14, 0.2) |
| 311 | p.CFrame = CFrame.new(0, 10.2588, 2.03407) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 312 | p.BrickColor = BrickColor.new("Black") |
| 313 | p.Material = Enum.Material.Glacier |
| 314 | p.MaterialVariant = "2022 Glue" |
| 315 | p.Anchored = true |
| 316 | p.Parent = model |
| 317 | end |
| 318 | do |
| 319 | local p = Instance.new("Part") |
| 320 | p.Name = "ScreenBorderTop" |
| 321 | p.Size = Vector3.new(11, 0.4, 0.2) |
| 322 | p.CFrame = CFrame.new(0, 16.7847, 1.93748) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 323 | p.BrickColor = BrickColor.new("Lime green") |
| 324 | p.Material = Enum.Material.Neon |
| 325 | p.Anchored = true |
| 326 | p.Parent = model |
| 327 | end |
| 328 | do |
| 329 | local p = Instance.new("Part") |
| 330 | p.Name = "ScreenBorderBot" |
| 331 | p.Size = Vector3.new(11, 0.4, 0.2) |
| 332 | p.CFrame = CFrame.new(0, 3.7847, 1.93748) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 333 | p.BrickColor = BrickColor.new("Lime green") |
| 334 | p.Material = Enum.Material.Neon |
| 335 | p.Anchored = true |
| 336 | p.Parent = model |
| 337 | end |
| 338 | do |
| 339 | local p = Instance.new("Part") |
| 340 | p.Name = "ScreenBorderL" |
| 341 | p.Size = Vector3.new(0.4, 13, 0.2) |
| 342 | p.CFrame = CFrame.new(-5.5, 10.326111, 1.782932) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 343 | p.BrickColor = BrickColor.new("Lime green") |
| 344 | p.Material = Enum.Material.Neon |
| 345 | p.Anchored = true |
| 346 | p.Parent = model |
| 347 | end |
| 348 | do |
| 349 | local p = Instance.new("Part") |
| 350 | p.Name = "ScreenBorderR" |
| 351 | p.Size = Vector3.new(0.4, 13, 0.2) |
| 352 | p.CFrame = CFrame.new(5.5, 10.326111, 1.782932) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 353 | p.BrickColor = BrickColor.new("Lime green") |
| 354 | p.Material = Enum.Material.Neon |
| 355 | p.Anchored = true |
| 356 | p.Parent = model |
| 357 | end |
| 358 | do |
| 359 | local p = Instance.new("Part") |
| 360 | p.Name = "HeaderNeon" |
| 361 | p.Size = Vector3.new(8, 0.8, 0.2) |
| 362 | p.CFrame = CFrame.new(0, 15.607653, 3.322353) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 363 | p.BrickColor = BrickColor.new("Lime green") |
| 364 | p.Material = Enum.Material.Neon |
| 365 | p.Anchored = true |
| 366 | p.Parent = model |
| 367 | end |
| 368 | do |
| 369 | local p = Instance.new("Part") |
| 370 | p.Name = "HeaderTrim" |
| 371 | p.Size = Vector3.new(8.4, 1.2, 0.1) |
| 372 | p.CFrame = CFrame.new(0, 15.633553, 3.225753) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 373 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 374 | p.Material = Enum.Material.Glacier |
| 375 | p.MaterialVariant = "2022 Stud" |
| 376 | p.Anchored = true |
| 377 | p.Parent = model |
| 378 | end |
| 379 | do |
| 380 | local p = Instance.new("Part") |
| 381 | p.Shape = Enum.PartType.Cylinder |
| 382 | p.Name = "TopHex" |
| 383 | p.Size = Vector3.new(0.5, 2, 2) |
| 384 | p.CFrame = CFrame.new(0, 17.5291, 3.87862) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(90)) |
| 385 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 386 | p.Material = Enum.Material.Glacier |
| 387 | p.MaterialVariant = "2022 Stud" |
| 388 | p.Anchored = true |
| 389 | p.Parent = model |
| 390 | end |
| 391 | do |
| 392 | local p = Instance.new("Part") |
| 393 | p.Shape = Enum.PartType.Cylinder |
| 394 | p.Name = "TopHexNeon" |
| 395 | p.Size = Vector3.new(0.2, 1, 1) |
| 396 | p.CFrame = CFrame.new(0, 17.6068, 3.58885) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(90)) |
| 397 | p.BrickColor = BrickColor.new("Lime green") |
| 398 | p.Material = Enum.Material.Neon |
| 399 | p.Anchored = true |
| 400 | p.Parent = model |
| 401 | end |
| 402 | do |
| 403 | local p = Instance.new("Part") |
| 404 | p.Name = "BtnTL_BG" |
| 405 | p.Size = Vector3.new(4.5, 4.5, 0.2) |
| 406 | p.CFrame = CFrame.new(-2.8, 12.226953, 2.416483) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 407 | p.BrickColor = BrickColor.new("Dark green") |
| 408 | p.Material = Enum.Material.Glacier |
| 409 | p.MaterialVariant = "2022 Stud" |
| 410 | p.Anchored = true |
| 411 | p.Parent = model |
| 412 | end |
| 413 | do |
| 414 | local p = Instance.new("Part") |
| 415 | p.Name = "BtnTL_BorderT" |
| 416 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 417 | p.CFrame = CFrame.new(-2.72, 14.3166, 2.35512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 418 | p.BrickColor = BrickColor.new("Lime green") |
| 419 | p.Material = Enum.Material.Neon |
| 420 | p.Anchored = true |
| 421 | p.Parent = model |
| 422 | end |
| 423 | do |
| 424 | local p = Instance.new("Part") |
| 425 | p.Name = "BtnTL_BorderB" |
| 426 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 427 | p.CFrame = CFrame.new(-2.72, 10.1166, 2.35512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 428 | p.BrickColor = BrickColor.new("Lime green") |
| 429 | p.Material = Enum.Material.Neon |
| 430 | p.Anchored = true |
| 431 | p.Parent = model |
| 432 | end |
| 433 | do |
| 434 | local p = Instance.new("Part") |
| 435 | p.Name = "BtnTL_BorderL" |
| 436 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 437 | p.CFrame = CFrame.new(-4.9, 12.258011, 2.200572) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 438 | p.BrickColor = BrickColor.new("Lime green") |
| 439 | p.Material = Enum.Material.Neon |
| 440 | p.Anchored = true |
| 441 | p.Parent = model |
| 442 | end |
| 443 | do |
| 444 | local p = Instance.new("Part") |
| 445 | p.Name = "BtnTL_BorderR" |
| 446 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 447 | p.CFrame = CFrame.new(-0.7, 12.258011, 2.200572) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 448 | p.BrickColor = BrickColor.new("Lime green") |
| 449 | p.Material = Enum.Material.Neon |
| 450 | p.Anchored = true |
| 451 | p.Parent = model |
| 452 | end |
| 453 | do |
| 454 | local p = Instance.new("Part") |
| 455 | p.Name = "IconArrowStem" |
| 456 | p.Size = Vector3.new(1, 2, 0.1) |
| 457 | p.CFrame = CFrame.new(-2.8, 11.737306, 2.177846) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 458 | p.BrickColor = BrickColor.new("Lime green") |
| 459 | p.Material = Enum.Material.Neon |
| 460 | p.Anchored = true |
| 461 | p.Parent = model |
| 462 | end |
| 463 | do |
| 464 | local p = Instance.new("WedgePart") |
| 465 | p.Name = "IconArrowHead" |
| 466 | p.Size = Vector3.new(2, 1.5, 0.1) |
| 467 | p.CFrame = CFrame.new(-2.8, 13.2166, 2.25512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 468 | p.BrickColor = BrickColor.new("Lime green") |
| 469 | p.Material = Enum.Material.Neon |
| 470 | p.Anchored = true |
| 471 | p.Parent = model |
| 472 | end |
| 473 | do |
| 474 | local p = Instance.new("Part") |
| 475 | p.Name = "BtnTL_Plate" |
| 476 | p.Size = Vector3.new(3, 0.8, 0.3) |
| 477 | p.CFrame = CFrame.new(-2.8, 10.7166, 2.25512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 478 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 479 | p.Material = Enum.Material.Glacier |
| 480 | p.MaterialVariant = "2022 Stud" |
| 481 | p.Anchored = true |
| 482 | p.Parent = model |
| 483 | end |
| 484 | do |
| 485 | local p = Instance.new("Part") |
| 486 | p.Name = "BtnTR_BG" |
| 487 | p.Size = Vector3.new(4.5, 4.5, 0.2) |
| 488 | p.CFrame = CFrame.new(2.8, 12.226953, 2.416483) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 489 | p.BrickColor = BrickColor.new("Navy blue") |
| 490 | p.Material = Enum.Material.Glacier |
| 491 | p.MaterialVariant = "2022 Stud" |
| 492 | p.Anchored = true |
| 493 | p.Parent = model |
| 494 | end |
| 495 | do |
| 496 | local p = Instance.new("Part") |
| 497 | p.Name = "BtnTR_BorderT" |
| 498 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 499 | p.CFrame = CFrame.new(2.88, 14.3166, 2.35512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 500 | p.BrickColor = BrickColor.new("Toothpaste") |
| 501 | p.Material = Enum.Material.Neon |
| 502 | p.Anchored = true |
| 503 | p.Parent = model |
| 504 | end |
| 505 | do |
| 506 | local p = Instance.new("Part") |
| 507 | p.Name = "BtnTR_BorderB" |
| 508 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 509 | p.CFrame = CFrame.new(2.88, 10.1166, 2.35512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 510 | p.BrickColor = BrickColor.new("Toothpaste") |
| 511 | p.Material = Enum.Material.Neon |
| 512 | p.Anchored = true |
| 513 | p.Parent = model |
| 514 | end |
| 515 | do |
| 516 | local p = Instance.new("Part") |
| 517 | p.Name = "BtnTR_BorderL" |
| 518 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 519 | p.CFrame = CFrame.new(0.7, 12.258011, 2.200572) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 520 | p.BrickColor = BrickColor.new("Toothpaste") |
| 521 | p.Material = Enum.Material.Neon |
| 522 | p.Anchored = true |
| 523 | p.Parent = model |
| 524 | end |
| 525 | do |
| 526 | local p = Instance.new("Part") |
| 527 | p.Name = "BtnTR_BorderR" |
| 528 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 529 | p.CFrame = CFrame.new(4.9, 12.258011, 2.200572) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 530 | p.BrickColor = BrickColor.new("Toothpaste") |
| 531 | p.Material = Enum.Material.Neon |
| 532 | p.Anchored = true |
| 533 | p.Parent = model |
| 534 | end |
| 535 | do |
| 536 | local p = Instance.new("Part") |
| 537 | p.Shape = Enum.PartType.Cylinder |
| 538 | p.Name = "IconBrainL" |
| 539 | p.Size = Vector3.new(0.1, 1.35, 1.35) |
| 540 | p.CFrame = CFrame.new(2, 12.7166, 2.25512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(90)) |
| 541 | p.BrickColor = BrickColor.new("Toothpaste") |
| 542 | p.Material = Enum.Material.Neon |
| 543 | p.Anchored = true |
| 544 | p.Parent = model |
| 545 | end |
| 546 | do |
| 547 | local p = Instance.new("Part") |
| 548 | p.Shape = Enum.PartType.Cylinder |
| 549 | p.Name = "IconBrainR" |
| 550 | p.Size = Vector3.new(0.1, 1.35, 1.35) |
| 551 | p.CFrame = CFrame.new(3.6, 12.7166, 2.25512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(90)) |
| 552 | p.BrickColor = BrickColor.new("Toothpaste") |
| 553 | p.Material = Enum.Material.Neon |
| 554 | p.Anchored = true |
| 555 | p.Parent = model |
| 556 | end |
| 557 | do |
| 558 | local p = Instance.new("Part") |
| 559 | p.Name = "IconBrainStem" |
| 560 | p.Size = Vector3.new(0.4, 1, 0.1) |
| 561 | p.CFrame = CFrame.new(2.8, 12.037306, 2.177846) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 562 | p.BrickColor = BrickColor.new("Toothpaste") |
| 563 | p.Material = Enum.Material.Neon |
| 564 | p.Anchored = true |
| 565 | p.Parent = model |
| 566 | end |
| 567 | do |
| 568 | local p = Instance.new("Part") |
| 569 | p.Name = "BtnTR_Plate" |
| 570 | p.Size = Vector3.new(3, 0.8, 0.3) |
| 571 | p.CFrame = CFrame.new(2.8, 10.7166, 2.25512) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 572 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 573 | p.Material = Enum.Material.Glacier |
| 574 | p.MaterialVariant = "2022 Stud" |
| 575 | p.Anchored = true |
| 576 | p.Parent = model |
| 577 | end |
| 578 | do |
| 579 | local p = Instance.new("Part") |
| 580 | p.Name = "BtnBL_BG" |
| 581 | p.Size = Vector3.new(4.5, 4.5, 0.2) |
| 582 | p.CFrame = CFrame.new(-2.8, 7.397273, 1.122383) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 583 | p.BrickColor = BrickColor.new("Dark Curry") |
| 584 | p.Material = Enum.Material.Glacier |
| 585 | p.MaterialVariant = "2022 Stud" |
| 586 | p.Anchored = true |
| 587 | p.Parent = model |
| 588 | end |
| 589 | do |
| 590 | local p = Instance.new("Part") |
| 591 | p.Name = "BtnBL_BorderT" |
| 592 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 593 | p.CFrame = CFrame.new(-2.72, 9.48692, 1.06102) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 594 | p.BrickColor = BrickColor.new("New Yeller") |
| 595 | p.Material = Enum.Material.Neon |
| 596 | p.Anchored = true |
| 597 | p.Parent = model |
| 598 | end |
| 599 | do |
| 600 | local p = Instance.new("Part") |
| 601 | p.Name = "BtnBL_BorderB" |
| 602 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 603 | p.CFrame = CFrame.new(-2.72, 5.28692, 1.06102) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 604 | p.BrickColor = BrickColor.new("New Yeller") |
| 605 | p.Material = Enum.Material.Neon |
| 606 | p.Anchored = true |
| 607 | p.Parent = model |
| 608 | end |
| 609 | do |
| 610 | local p = Instance.new("Part") |
| 611 | p.Name = "BtnBL_BorderL" |
| 612 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 613 | p.CFrame = CFrame.new(-4.9, 7.428331, 0.906472) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 614 | p.BrickColor = BrickColor.new("New Yeller") |
| 615 | p.Material = Enum.Material.Neon |
| 616 | p.Anchored = true |
| 617 | p.Parent = model |
| 618 | end |
| 619 | do |
| 620 | local p = Instance.new("Part") |
| 621 | p.Name = "BtnBL_BorderR" |
| 622 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 623 | p.CFrame = CFrame.new(-0.7, 7.428331, 0.906472) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 624 | p.BrickColor = BrickColor.new("New Yeller") |
| 625 | p.Material = Enum.Material.Neon |
| 626 | p.Anchored = true |
| 627 | p.Parent = model |
| 628 | end |
| 629 | do |
| 630 | local p = Instance.new("Part") |
| 631 | p.Name = "IconBatBody" |
| 632 | p.Size = Vector3.new(1.5, 2.5, 0.1) |
| 633 | p.CFrame = CFrame.new(-2.8, 7.88692, 0.961024) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 634 | p.BrickColor = BrickColor.new("New Yeller") |
| 635 | p.Material = Enum.Material.Neon |
| 636 | p.Anchored = true |
| 637 | p.Parent = model |
| 638 | end |
| 639 | do |
| 640 | local p = Instance.new("Part") |
| 641 | p.Name = "IconBatHole1" |
| 642 | p.Size = Vector3.new(1.1, 0.4, 0.2) |
| 643 | p.CFrame = CFrame.new(-2.8, 8.38692, 0.861024) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 644 | p.BrickColor = BrickColor.new("Dark Curry") |
| 645 | p.Material = Enum.Material.Glacier |
| 646 | p.MaterialVariant = "2022 Stud" |
| 647 | p.Anchored = true |
| 648 | p.Parent = model |
| 649 | end |
| 650 | do |
| 651 | local p = Instance.new("Part") |
| 652 | p.Name = "IconBatHole2" |
| 653 | p.Size = Vector3.new(1.1, 0.4, 0.2) |
| 654 | p.CFrame = CFrame.new(-2.8, 7.697273, 0.822387) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 655 | p.BrickColor = BrickColor.new("Dark Curry") |
| 656 | p.Material = Enum.Material.Glacier |
| 657 | p.MaterialVariant = "2022 Stud" |
| 658 | p.Anchored = true |
| 659 | p.Parent = model |
| 660 | end |
| 661 | do |
| 662 | local p = Instance.new("Part") |
| 663 | p.Name = "IconBatHole3" |
| 664 | p.Size = Vector3.new(1.1, 0.4, 0.2) |
| 665 | p.CFrame = CFrame.new(-2.8, 6.997273, 0.822387) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 666 | p.BrickColor = BrickColor.new("Dark Curry") |
| 667 | p.Material = Enum.Material.Glacier |
| 668 | p.MaterialVariant = "2022 Stud" |
| 669 | p.Anchored = true |
| 670 | p.Parent = model |
| 671 | end |
| 672 | do |
| 673 | local p = Instance.new("Part") |
| 674 | p.Name = "IconBatTip" |
| 675 | p.Size = Vector3.new(0.6, 0.4, 0.1) |
| 676 | p.CFrame = CFrame.new(-2.8, 9.38692, 0.961024) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 677 | p.BrickColor = BrickColor.new("New Yeller") |
| 678 | p.Material = Enum.Material.Neon |
| 679 | p.Anchored = true |
| 680 | p.Parent = model |
| 681 | end |
| 682 | do |
| 683 | local p = Instance.new("Part") |
| 684 | p.Name = "BtnBL_Plate" |
| 685 | p.Size = Vector3.new(3, 0.8, 0.3) |
| 686 | p.CFrame = CFrame.new(-2.8, 5.88692, 0.961024) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 687 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 688 | p.Material = Enum.Material.Glacier |
| 689 | p.MaterialVariant = "2022 Stud" |
| 690 | p.Anchored = true |
| 691 | p.Parent = model |
| 692 | end |
| 693 | do |
| 694 | local p = Instance.new("Part") |
| 695 | p.Name = "BtnBR_BG" |
| 696 | p.Size = Vector3.new(4.5, 4.5, 0.2) |
| 697 | p.CFrame = CFrame.new(2.8, 7.397273, 1.122383) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 698 | p.BrickColor = BrickColor.new("Dark indigo") |
| 699 | p.Material = Enum.Material.Glacier |
| 700 | p.MaterialVariant = "2022 Stud" |
| 701 | p.Anchored = true |
| 702 | p.Parent = model |
| 703 | end |
| 704 | do |
| 705 | local p = Instance.new("Part") |
| 706 | p.Name = "BtnBR_BorderT" |
| 707 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 708 | p.CFrame = CFrame.new(2.88, 9.48692, 1.06102) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 709 | p.BrickColor = BrickColor.new("Bright violet") |
| 710 | p.Material = Enum.Material.Neon |
| 711 | p.Anchored = true |
| 712 | p.Parent = model |
| 713 | end |
| 714 | do |
| 715 | local p = Instance.new("Part") |
| 716 | p.Name = "BtnBR_BorderB" |
| 717 | p.Size = Vector3.new(4.5, 0.2, 0.1) |
| 718 | p.CFrame = CFrame.new(2.88, 5.28692, 1.06102) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 719 | p.BrickColor = BrickColor.new("Bright violet") |
| 720 | p.Material = Enum.Material.Neon |
| 721 | p.Anchored = true |
| 722 | p.Parent = model |
| 723 | end |
| 724 | do |
| 725 | local p = Instance.new("Part") |
| 726 | p.Name = "BtnBR_BorderL" |
| 727 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 728 | p.CFrame = CFrame.new(0.7, 7.428331, 0.906472) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 729 | p.BrickColor = BrickColor.new("Bright violet") |
| 730 | p.Material = Enum.Material.Neon |
| 731 | p.Anchored = true |
| 732 | p.Parent = model |
| 733 | end |
| 734 | do |
| 735 | local p = Instance.new("Part") |
| 736 | p.Name = "BtnBR_BorderR" |
| 737 | p.Size = Vector3.new(0.2, 4.5, 0.1) |
| 738 | p.CFrame = CFrame.new(4.9, 7.428331, 0.906472) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 739 | p.BrickColor = BrickColor.new("Bright violet") |
| 740 | p.Material = Enum.Material.Neon |
| 741 | p.Anchored = true |
| 742 | p.Parent = model |
| 743 | end |
| 744 | do |
| 745 | local p = Instance.new("Part") |
| 746 | p.Name = "BtnBR_Plate" |
| 747 | p.Size = Vector3.new(3, 0.8, 0.3) |
| 748 | p.CFrame = CFrame.new(2.8, 5.88692, 0.961024) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 749 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 750 | p.Material = Enum.Material.Glacier |
| 751 | p.MaterialVariant = "2022 Stud" |
| 752 | p.Anchored = true |
| 753 | p.Parent = model |
| 754 | end |
| 755 | do |
| 756 | local rightV = Vector3.new(1,0,0).Unit |
| 757 | local upV = (Vector3.new(0,0.965926,0.258819) - Vector3.new(0,0.965926,0.258819):Dot(rightV)*rightV).Unit |
| 758 | local normalV = upV:Cross(rightV) |
| 759 | local pos = Vector3.new(2.8, 7.88692, 0.961024) |
| 760 | local cyl = Instance.new("Part") |
| 761 | cyl.Shape = Enum.PartType.Cylinder |
| 762 | cyl.Size = Vector3.new(0.1, 2.4, 2.4) |
| 763 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 764 | cyl.BrickColor = BrickColor.new("Bright violet") |
| 765 | cyl.Material = Enum.Material.Glacier |
| 766 | cyl.Anchored = true; cyl.Parent = workspace |
| 767 | local cuts = {} |
| 768 | local hole = Instance.new("Part") |
| 769 | hole.Shape = Enum.PartType.Cylinder |
| 770 | hole.Size = Vector3.new(0.3, 1.6, 1.6) |
| 771 | hole.CFrame = cyl.CFrame |
| 772 | hole.BrickColor = BrickColor.new("Bright violet") |
| 773 | hole.Material = Enum.Material.Glacier |
| 774 | hole.Anchored = true; hole.Parent = workspace |
| 775 | table.insert(cuts, hole) |
| 776 | local angBoxes = {} |
| 777 | do |
| 778 | local edgeDir = 0*rightV + 1*upV |
| 779 | local edgePerp = -1*rightV + 0*upV |
| 780 | local cut = Instance.new("Part") |
| 781 | cut.Size = Vector3.new(4.8, 0.3, 4.8) |
| 782 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.4 * edgePerp, edgeDir, normalV) |
| 783 | cut.BrickColor = BrickColor.new("Bright violet") |
| 784 | cut.Material = Enum.Material.Glacier |
| 785 | cut.Anchored = true; cut.Parent = workspace |
| 786 | table.insert(angBoxes, cut) |
| 787 | end |
| 788 | do |
| 789 | local edgeDir = 0*rightV + -1*upV |
| 790 | local edgePerp = 1*rightV + 0*upV |
| 791 | local cut = Instance.new("Part") |
| 792 | cut.Size = Vector3.new(4.8, 0.3, 4.8) |
| 793 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.4 * edgePerp, edgeDir, normalV) |
| 794 | cut.BrickColor = BrickColor.new("Bright violet") |
| 795 | cut.Material = Enum.Material.Glacier |
| 796 | cut.Anchored = true; cut.Parent = workspace |
| 797 | table.insert(angBoxes, cut) |
| 798 | end |
| 799 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 800 | if #cuts > 0 then |
| 801 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 802 | for _, c in ipairs(cuts) do c:Destroy() end |
| 803 | if ok and result then |
| 804 | cyl:Destroy() |
| 805 | result.Name = "IconMoonOuter"; result.Anchored = true; result.Parent = model |
| 806 | else |
| 807 | cyl.Name = "IconMoonOuter"; cyl.Parent = model |
| 808 | end |
| 809 | else |
| 810 | cyl.Name = "IconMoonOuter"; cyl.Parent = model |
| 811 | end |
| 812 | end |
| 813 | model.PrimaryPart = model:FindFirstChild("BaseMain") |
| 814 | print("SciFiControlPanel built: " .. #model:GetChildren() .. " parts") |
Loading comments...