Loading model...
by Luke Fricke · 9/3/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: StandingFan |
| 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 = "StandingFan" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Dark stone grey"] = "2022 Stud", |
| 25 | ["Ghost grey"] = "2022 Stud", |
| 26 | ["Light stone grey"] = "2022 Glue", |
| 27 | ["Medium stone grey"] = "2022 Inlet", |
| 28 | ["Really black"] = "2022 Universal", |
| 29 | ["Silver"] = "2022 Stud", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Shape = Enum.PartType.Cylinder |
| 34 | p.Name = "BaseHub1" |
| 35 | p.Size = Vector3.new(0.4, 4, 4) |
| 36 | p.CFrame = CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 37 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Inlet" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Shape = Enum.PartType.Cylinder |
| 46 | p.Name = "BaseHub2" |
| 47 | p.Size = Vector3.new(0.4, 3, 3) |
| 48 | p.CFrame = CFrame.new(0, 0.68, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 49 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 50 | p.Material = Enum.Material.Glacier |
| 51 | p.MaterialVariant = "2022 Inlet" |
| 52 | p.Anchored = true |
| 53 | p.Parent = model |
| 54 | end |
| 55 | do |
| 56 | local p = Instance.new("Part") |
| 57 | p.Shape = Enum.PartType.Cylinder |
| 58 | p.Name = "BaseHub3" |
| 59 | p.Size = Vector3.new(0.4, 2, 2) |
| 60 | p.CFrame = CFrame.new(0, 1.12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 61 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 62 | p.Material = Enum.Material.Glacier |
| 63 | p.MaterialVariant = "2022 Inlet" |
| 64 | p.Anchored = true |
| 65 | p.Parent = model |
| 66 | end |
| 67 | do |
| 68 | local p = Instance.new("Part") |
| 69 | p.Name = "LegN" |
| 70 | p.Size = Vector3.new(2, 0.4, 7) |
| 71 | p.CFrame = CFrame.new(0, 0.24, -4.5) |
| 72 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 73 | p.Material = Enum.Material.Glacier |
| 74 | p.MaterialVariant = "2022 Inlet" |
| 75 | p.Anchored = true |
| 76 | p.Parent = model |
| 77 | end |
| 78 | do |
| 79 | local p = Instance.new("Part") |
| 80 | p.Name = "LegS" |
| 81 | p.Size = Vector3.new(2, 0.4, 7) |
| 82 | p.CFrame = CFrame.new(0, 0.24, 4.5) |
| 83 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 84 | p.Material = Enum.Material.Glacier |
| 85 | p.MaterialVariant = "2022 Inlet" |
| 86 | p.Anchored = true |
| 87 | p.Parent = model |
| 88 | end |
| 89 | do |
| 90 | local p = Instance.new("Part") |
| 91 | p.Name = "LegE" |
| 92 | p.Size = Vector3.new(7, 0.4, 2) |
| 93 | p.CFrame = CFrame.new(4.5, 0.24, 0) |
| 94 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 95 | p.Material = Enum.Material.Glacier |
| 96 | p.MaterialVariant = "2022 Inlet" |
| 97 | p.Anchored = true |
| 98 | p.Parent = model |
| 99 | end |
| 100 | do |
| 101 | local p = Instance.new("Part") |
| 102 | p.Name = "LegW" |
| 103 | p.Size = Vector3.new(7, 0.4, 2) |
| 104 | p.CFrame = CFrame.new(-4.5, 0.16, 0) |
| 105 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 106 | p.Material = Enum.Material.Glacier |
| 107 | p.MaterialVariant = "2022 Inlet" |
| 108 | p.Anchored = true |
| 109 | p.Parent = model |
| 110 | end |
| 111 | do |
| 112 | local p = Instance.new("Part") |
| 113 | p.Name = "RidgeN" |
| 114 | p.Size = Vector3.new(0.6, 0.2, 6) |
| 115 | p.CFrame = CFrame.new(0, 0.58, -4.5) |
| 116 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 117 | p.Material = Enum.Material.Glacier |
| 118 | p.MaterialVariant = "2022 Inlet" |
| 119 | p.Anchored = true |
| 120 | p.Parent = model |
| 121 | end |
| 122 | do |
| 123 | local p = Instance.new("Part") |
| 124 | p.Name = "RidgeS" |
| 125 | p.Size = Vector3.new(0.6, 0.2, 6) |
| 126 | p.CFrame = CFrame.new(0, 0.58, 4.5) |
| 127 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 128 | p.Material = Enum.Material.Glacier |
| 129 | p.MaterialVariant = "2022 Inlet" |
| 130 | p.Anchored = true |
| 131 | p.Parent = model |
| 132 | end |
| 133 | do |
| 134 | local p = Instance.new("Part") |
| 135 | p.Name = "RidgeE" |
| 136 | p.Size = Vector3.new(6, 0.2, 0.6) |
| 137 | p.CFrame = CFrame.new(4.5, 0.58, 0) |
| 138 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 139 | p.Material = Enum.Material.Glacier |
| 140 | p.MaterialVariant = "2022 Inlet" |
| 141 | p.Anchored = true |
| 142 | p.Parent = model |
| 143 | end |
| 144 | do |
| 145 | local p = Instance.new("Part") |
| 146 | p.Name = "RidgeW" |
| 147 | p.Size = Vector3.new(6, 0.2, 0.6) |
| 148 | p.CFrame = CFrame.new(-4.5, 0.54, 0) |
| 149 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 150 | p.Material = Enum.Material.Glacier |
| 151 | p.MaterialVariant = "2022 Inlet" |
| 152 | p.Anchored = true |
| 153 | p.Parent = model |
| 154 | end |
| 155 | do |
| 156 | local p = Instance.new("Part") |
| 157 | p.Name = "FootN" |
| 158 | p.Size = Vector3.new(1.5, 0.2, 1) |
| 159 | p.CFrame = CFrame.new(0, 0.06, -7.54) |
| 160 | p.BrickColor = BrickColor.new("Really black") |
| 161 | p.Material = Enum.Material.Glacier |
| 162 | p.MaterialVariant = "2022 Universal" |
| 163 | p.Anchored = true |
| 164 | p.Parent = model |
| 165 | end |
| 166 | do |
| 167 | local p = Instance.new("Part") |
| 168 | p.Name = "FootS" |
| 169 | p.Size = Vector3.new(1.5, 0.2, 1) |
| 170 | p.CFrame = CFrame.new(0, 0.06, 7.54) |
| 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.Name = "FootE" |
| 180 | p.Size = Vector3.new(1, 0.2, 1.5) |
| 181 | p.CFrame = CFrame.new(7.54, 0.06, 0) |
| 182 | p.BrickColor = BrickColor.new("Really black") |
| 183 | p.Material = Enum.Material.Glacier |
| 184 | p.MaterialVariant = "2022 Universal" |
| 185 | p.Anchored = true |
| 186 | p.Parent = model |
| 187 | end |
| 188 | do |
| 189 | local p = Instance.new("Part") |
| 190 | p.Name = "FootW" |
| 191 | p.Size = Vector3.new(1, 0.2, 1.5) |
| 192 | p.CFrame = CFrame.new(-7.54, 0.02, 0) |
| 193 | p.BrickColor = BrickColor.new("Really black") |
| 194 | p.Material = Enum.Material.Glacier |
| 195 | p.MaterialVariant = "2022 Universal" |
| 196 | p.Anchored = true |
| 197 | p.Parent = model |
| 198 | end |
| 199 | do |
| 200 | local p = Instance.new("Part") |
| 201 | p.Shape = Enum.PartType.Cylinder |
| 202 | p.Name = "LowerPole" |
| 203 | p.Size = Vector3.new(9.6, 1.2, 1.2) |
| 204 | p.CFrame = CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 205 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 206 | p.Material = Enum.Material.Glacier |
| 207 | p.MaterialVariant = "2022 Inlet" |
| 208 | p.Anchored = true |
| 209 | p.Parent = model |
| 210 | end |
| 211 | do |
| 212 | local p = Instance.new("Part") |
| 213 | p.Shape = Enum.PartType.Cylinder |
| 214 | p.Name = "Collar" |
| 215 | p.Size = Vector3.new(0.8, 1.6, 1.6) |
| 216 | p.CFrame = CFrame.new(0, 11.24, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 217 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 218 | p.Material = Enum.Material.Glacier |
| 219 | p.MaterialVariant = "2022 Inlet" |
| 220 | p.Anchored = true |
| 221 | p.Parent = model |
| 222 | end |
| 223 | do |
| 224 | local p = Instance.new("Part") |
| 225 | p.Shape = Enum.PartType.Cylinder |
| 226 | p.Name = "UpperPole" |
| 227 | p.Size = Vector3.new(3.4, 0.8, 0.8) |
| 228 | p.CFrame = CFrame.new(0, 13.3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 229 | p.BrickColor = BrickColor.new("Really black") |
| 230 | p.Material = Enum.Material.Glacier |
| 231 | p.MaterialVariant = "2022 Universal" |
| 232 | p.Anchored = true |
| 233 | p.Parent = model |
| 234 | end |
| 235 | do |
| 236 | local p = Instance.new("Part") |
| 237 | p.Name = "MotorJoint" |
| 238 | p.Size = Vector3.new(1.2, 1, 1.5) |
| 239 | p.CFrame = CFrame.new(0, 14.54, 0.5) |
| 240 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 241 | p.Material = Enum.Material.Glacier |
| 242 | p.MaterialVariant = "2022 Inlet" |
| 243 | p.Anchored = true |
| 244 | p.Parent = model |
| 245 | end |
| 246 | do |
| 247 | local p = Instance.new("Part") |
| 248 | p.Shape = Enum.PartType.Cylinder |
| 249 | p.Name = "MotorFront" |
| 250 | p.Size = Vector3.new(2, 2.5, 2.5) |
| 251 | p.CFrame = CFrame.new(0, 15.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 252 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 253 | p.Material = Enum.Material.Glacier |
| 254 | p.MaterialVariant = "2022 Inlet" |
| 255 | p.Anchored = true |
| 256 | p.Parent = model |
| 257 | end |
| 258 | do |
| 259 | local p = Instance.new("Part") |
| 260 | p.Shape = Enum.PartType.Cylinder |
| 261 | p.Name = "MotorBack" |
| 262 | p.Size = Vector3.new(1, 2.2, 2.2) |
| 263 | p.CFrame = CFrame.new(0, 15.5, 1.54) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 264 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 265 | p.Material = Enum.Material.Glacier |
| 266 | p.MaterialVariant = "2022 Inlet" |
| 267 | p.Anchored = true |
| 268 | p.Parent = model |
| 269 | end |
| 270 | do |
| 271 | local p = Instance.new("Part") |
| 272 | p.Shape = Enum.PartType.Cylinder |
| 273 | p.Name = "OscKnobStem" |
| 274 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 275 | p.CFrame = CFrame.new(0, 16.76, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 276 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 277 | p.Material = Enum.Material.Glacier |
| 278 | p.MaterialVariant = "2022 Inlet" |
| 279 | p.Anchored = true |
| 280 | p.Parent = model |
| 281 | end |
| 282 | do |
| 283 | local p = Instance.new("Part") |
| 284 | p.Shape = Enum.PartType.Cylinder |
| 285 | p.Name = "OscKnobTop" |
| 286 | p.Size = Vector3.new(0.2, 0.8, 0.8) |
| 287 | p.CFrame = CFrame.new(0, 17.1, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 288 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 289 | p.Material = Enum.Material.Glacier |
| 290 | p.MaterialVariant = "2022 Inlet" |
| 291 | p.Anchored = true |
| 292 | p.Parent = model |
| 293 | end |
| 294 | do |
| 295 | local p = Instance.new("Part") |
| 296 | p.Shape = Enum.PartType.Cylinder |
| 297 | p.Name = "FanHub" |
| 298 | p.Size = Vector3.new(0.5, 1.2, 1.2) |
| 299 | p.CFrame = CFrame.new(0, 15.5, -1.29) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 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 = "Blade_0" |
| 309 | p.Size = Vector3.new(4.5, 3.5, 0.1) |
| 310 | p.CFrame = CFrame.new(2.8, 15.5, -1.25) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 311 | p.BrickColor = BrickColor.new("Ghost grey") |
| 312 | p.Material = Enum.Material.Glacier |
| 313 | p.MaterialVariant = "2022 Stud" |
| 314 | p.Anchored = true |
| 315 | p.Parent = model |
| 316 | end |
| 317 | do |
| 318 | local p = Instance.new("Part") |
| 319 | p.Name = "Blade_1" |
| 320 | p.Size = Vector3.new(4.5, 3.5, 0.1) |
| 321 | p.CFrame = CFrame.new(-1.4, 17.9249, -1.25) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(120)) |
| 322 | p.BrickColor = BrickColor.new("Ghost grey") |
| 323 | p.Material = Enum.Material.Glacier |
| 324 | p.MaterialVariant = "2022 Stud" |
| 325 | p.Anchored = true |
| 326 | p.Parent = model |
| 327 | end |
| 328 | do |
| 329 | local p = Instance.new("Part") |
| 330 | p.Name = "Blade_2" |
| 331 | p.Size = Vector3.new(4.5, 3.5, 0.1) |
| 332 | p.CFrame = CFrame.new(-1.4, 13.0751, -1.25) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(240)) |
| 333 | p.BrickColor = BrickColor.new("Ghost grey") |
| 334 | p.Material = Enum.Material.Glacier |
| 335 | p.MaterialVariant = "2022 Stud" |
| 336 | p.Anchored = true |
| 337 | p.Parent = model |
| 338 | end |
| 339 | do |
| 340 | local p = Instance.new("Part") |
| 341 | p.Shape = Enum.PartType.Cylinder |
| 342 | p.Name = "CageBackAnchor" |
| 343 | p.Size = Vector3.new(0.2, 1, 1) |
| 344 | p.CFrame = CFrame.new(0, 15.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 345 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 346 | p.Material = Enum.Material.Glacier |
| 347 | p.MaterialVariant = "2022 Inlet" |
| 348 | p.Anchored = true |
| 349 | p.Parent = model |
| 350 | end |
| 351 | do |
| 352 | local p = Instance.new("Part") |
| 353 | p.Shape = Enum.PartType.Cylinder |
| 354 | p.Name = "CageFrontAnchor" |
| 355 | p.Size = Vector3.new(0.2, 1, 1) |
| 356 | p.CFrame = CFrame.new(0, 15.5, -2.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 357 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 358 | p.Material = Enum.Material.Glacier |
| 359 | p.MaterialVariant = "2022 Inlet" |
| 360 | p.Anchored = true |
| 361 | p.Parent = model |
| 362 | end |
| 363 | do |
| 364 | local p = Instance.new("Part") |
| 365 | p.Shape = Enum.PartType.Cylinder |
| 366 | p.Name = "CageCap" |
| 367 | p.Size = Vector3.new(0.1, 1.2, 1.2) |
| 368 | p.CFrame = CFrame.new(0, 15.5, -2.6) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 369 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 370 | p.Material = Enum.Material.Glacier |
| 371 | p.MaterialVariant = "2022 Inlet" |
| 372 | p.Anchored = true |
| 373 | p.Parent = model |
| 374 | end |
| 375 | do |
| 376 | local p = Instance.new("Part") |
| 377 | p.Name = "SpokeB_0" |
| 378 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 379 | p.CFrame = CFrame.new(2.75, 15.62, -0.725) * CFrame.Angles(math.rad(0), math.rad(10.8082), math.rad(0)) |
| 380 | p.BrickColor = BrickColor.new("Light stone grey") |
| 381 | p.Material = Enum.Material.Glacier |
| 382 | p.MaterialVariant = "2022 Glue" |
| 383 | p.Anchored = true |
| 384 | p.Parent = model |
| 385 | end |
| 386 | do |
| 387 | local p = Instance.new("Part") |
| 388 | p.Name = "SpokeF_0" |
| 389 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 390 | p.CFrame = CFrame.new(2.75, 15.42, -1.875) * CFrame.Angles(math.rad(-180), math.rad(12.8043), math.rad(-180)) |
| 391 | p.BrickColor = BrickColor.new("Light stone grey") |
| 392 | p.Material = Enum.Material.Glacier |
| 393 | p.MaterialVariant = "2022 Glue" |
| 394 | p.Anchored = true |
| 395 | p.Parent = model |
| 396 | end |
| 397 | do |
| 398 | local p = Instance.new("Part") |
| 399 | p.Name = "SpokeB_1" |
| 400 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 401 | p.CFrame = CFrame.new(2.38157, 16.875, -0.725) * CFrame.Angles(math.rad(0), math.rad(12.4316), math.rad(29.4149)) |
| 402 | p.BrickColor = BrickColor.new("Light stone grey") |
| 403 | p.Material = Enum.Material.Glacier |
| 404 | p.MaterialVariant = "2022 Glue" |
| 405 | p.Anchored = true |
| 406 | p.Parent = model |
| 407 | end |
| 408 | do |
| 409 | local p = Instance.new("Part") |
| 410 | p.Name = "SpokeF_1" |
| 411 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 412 | p.CFrame = CFrame.new(2.38157, 16.875, -1.875) * CFrame.Angles(math.rad(-180), math.rad(14.7047), math.rad(150.819)) |
| 413 | p.BrickColor = BrickColor.new("Light stone grey") |
| 414 | p.Material = Enum.Material.Glacier |
| 415 | p.MaterialVariant = "2022 Glue" |
| 416 | p.Anchored = true |
| 417 | p.Parent = model |
| 418 | end |
| 419 | do |
| 420 | local p = Instance.new("Part") |
| 421 | p.Name = "SpokeB_2" |
| 422 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 423 | p.CFrame = CFrame.new(1.375, 17.8816, -0.725) * CFrame.Angles(math.rad(0), math.rad(20.8978), math.rad(58.2838)) |
| 424 | p.BrickColor = BrickColor.new("Light stone grey") |
| 425 | p.Material = Enum.Material.Glacier |
| 426 | p.MaterialVariant = "2022 Glue" |
| 427 | p.Anchored = true |
| 428 | p.Parent = model |
| 429 | end |
| 430 | do |
| 431 | local p = Instance.new("Part") |
| 432 | p.Name = "SpokeF_2" |
| 433 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 434 | p.CFrame = CFrame.new(1.375, 17.8816, -1.875) * CFrame.Angles(math.rad(-180), math.rad(24.444), math.rad(122.383)) |
| 435 | p.BrickColor = BrickColor.new("Light stone grey") |
| 436 | p.Material = Enum.Material.Glacier |
| 437 | p.MaterialVariant = "2022 Glue" |
| 438 | p.Anchored = true |
| 439 | p.Parent = model |
| 440 | end |
| 441 | do |
| 442 | local p = Instance.new("Part") |
| 443 | p.Name = "SpokeB_3" |
| 444 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 445 | p.CFrame = CFrame.new(0.04, 18.25, -0.725) * CFrame.Angles(math.rad(79.1918), math.rad(90), math.rad(0)) |
| 446 | p.BrickColor = BrickColor.new("Light stone grey") |
| 447 | p.Material = Enum.Material.Glacier |
| 448 | p.MaterialVariant = "2022 Glue" |
| 449 | p.Anchored = true |
| 450 | p.Parent = model |
| 451 | end |
| 452 | do |
| 453 | local p = Instance.new("Part") |
| 454 | p.Name = "SpokeF_3" |
| 455 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 456 | p.CFrame = CFrame.new(0, 18.25, -1.875) * CFrame.Angles(math.rad(-77.1957), math.rad(90), math.rad(0)) |
| 457 | p.BrickColor = BrickColor.new("Light stone grey") |
| 458 | p.Material = Enum.Material.Glacier |
| 459 | p.MaterialVariant = "2022 Glue" |
| 460 | p.Anchored = true |
| 461 | p.Parent = model |
| 462 | end |
| 463 | do |
| 464 | local p = Instance.new("Part") |
| 465 | p.Name = "SpokeB_4" |
| 466 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 467 | p.CFrame = CFrame.new(-1.375, 17.8816, -0.725) * CFrame.Angles(math.rad(-180), math.rad(20.8978), math.rad(-121.716)) |
| 468 | p.BrickColor = BrickColor.new("Light stone grey") |
| 469 | p.Material = Enum.Material.Glacier |
| 470 | p.MaterialVariant = "2022 Glue" |
| 471 | p.Anchored = true |
| 472 | p.Parent = model |
| 473 | end |
| 474 | do |
| 475 | local p = Instance.new("Part") |
| 476 | p.Name = "SpokeF_4" |
| 477 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 478 | p.CFrame = CFrame.new(-1.375, 17.8816, -1.875) * CFrame.Angles(math.rad(0), math.rad(24.444), math.rad(-57.6173)) |
| 479 | p.BrickColor = BrickColor.new("Light stone grey") |
| 480 | p.Material = Enum.Material.Glacier |
| 481 | p.MaterialVariant = "2022 Glue" |
| 482 | p.Anchored = true |
| 483 | p.Parent = model |
| 484 | end |
| 485 | do |
| 486 | local p = Instance.new("Part") |
| 487 | p.Name = "SpokeB_5" |
| 488 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 489 | p.CFrame = CFrame.new(-2.38157, 16.875, -0.725) * CFrame.Angles(math.rad(-180), math.rad(12.4316), math.rad(-150.585)) |
| 490 | p.BrickColor = BrickColor.new("Light stone grey") |
| 491 | p.Material = Enum.Material.Glacier |
| 492 | p.MaterialVariant = "2022 Glue" |
| 493 | p.Anchored = true |
| 494 | p.Parent = model |
| 495 | end |
| 496 | do |
| 497 | local p = Instance.new("Part") |
| 498 | p.Name = "SpokeF_5" |
| 499 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 500 | p.CFrame = CFrame.new(-2.38157, 16.875, -1.875) * CFrame.Angles(math.rad(0), math.rad(14.7047), math.rad(-29.1808)) |
| 501 | p.BrickColor = BrickColor.new("Light stone grey") |
| 502 | p.Material = Enum.Material.Glacier |
| 503 | p.MaterialVariant = "2022 Glue" |
| 504 | p.Anchored = true |
| 505 | p.Parent = model |
| 506 | end |
| 507 | do |
| 508 | local p = Instance.new("Part") |
| 509 | p.Name = "SpokeB_6" |
| 510 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 511 | p.CFrame = CFrame.new(-2.75, 15.62, -0.725) * CFrame.Angles(math.rad(-180), math.rad(10.8082), math.rad(-180)) |
| 512 | p.BrickColor = BrickColor.new("Light stone grey") |
| 513 | p.Material = Enum.Material.Glacier |
| 514 | p.MaterialVariant = "2022 Glue" |
| 515 | p.Anchored = true |
| 516 | p.Parent = model |
| 517 | end |
| 518 | do |
| 519 | local p = Instance.new("Part") |
| 520 | p.Name = "SpokeF_6" |
| 521 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 522 | p.CFrame = CFrame.new(-2.75, 15.42, -1.875) * CFrame.Angles(math.rad(0), math.rad(12.8043), math.rad(0)) |
| 523 | p.BrickColor = BrickColor.new("Light stone grey") |
| 524 | p.Material = Enum.Material.Glacier |
| 525 | p.MaterialVariant = "2022 Glue" |
| 526 | p.Anchored = true |
| 527 | p.Parent = model |
| 528 | end |
| 529 | do |
| 530 | local p = Instance.new("Part") |
| 531 | p.Name = "SpokeB_7" |
| 532 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 533 | p.CFrame = CFrame.new(-2.38157, 14.125, -0.725) * CFrame.Angles(math.rad(-180), math.rad(12.4316), math.rad(150.585)) |
| 534 | p.BrickColor = BrickColor.new("Light stone grey") |
| 535 | p.Material = Enum.Material.Glacier |
| 536 | p.MaterialVariant = "2022 Glue" |
| 537 | p.Anchored = true |
| 538 | p.Parent = model |
| 539 | end |
| 540 | do |
| 541 | local p = Instance.new("Part") |
| 542 | p.Name = "SpokeF_7" |
| 543 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 544 | p.CFrame = CFrame.new(-2.38157, 14.125, -1.875) * CFrame.Angles(math.rad(0), math.rad(14.7047), math.rad(29.1808)) |
| 545 | p.BrickColor = BrickColor.new("Light stone grey") |
| 546 | p.Material = Enum.Material.Glacier |
| 547 | p.MaterialVariant = "2022 Glue" |
| 548 | p.Anchored = true |
| 549 | p.Parent = model |
| 550 | end |
| 551 | do |
| 552 | local p = Instance.new("Part") |
| 553 | p.Name = "SpokeB_8" |
| 554 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 555 | p.CFrame = CFrame.new(-1.375, 13.1184, -0.725) * CFrame.Angles(math.rad(-180), math.rad(20.8978), math.rad(121.716)) |
| 556 | p.BrickColor = BrickColor.new("Light stone grey") |
| 557 | p.Material = Enum.Material.Glacier |
| 558 | p.MaterialVariant = "2022 Glue" |
| 559 | p.Anchored = true |
| 560 | p.Parent = model |
| 561 | end |
| 562 | do |
| 563 | local p = Instance.new("Part") |
| 564 | p.Name = "SpokeF_8" |
| 565 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 566 | p.CFrame = CFrame.new(-1.375, 13.1184, -1.875) * CFrame.Angles(math.rad(0), math.rad(24.444), math.rad(57.6173)) |
| 567 | p.BrickColor = BrickColor.new("Light stone grey") |
| 568 | p.Material = Enum.Material.Glacier |
| 569 | p.MaterialVariant = "2022 Glue" |
| 570 | p.Anchored = true |
| 571 | p.Parent = model |
| 572 | end |
| 573 | do |
| 574 | local p = Instance.new("Part") |
| 575 | p.Name = "SpokeB_9" |
| 576 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 577 | p.CFrame = CFrame.new(0.04, 12.75, -0.725) * CFrame.Angles(math.rad(-79.1918), math.rad(90), math.rad(0)) |
| 578 | p.BrickColor = BrickColor.new("Light stone grey") |
| 579 | p.Material = Enum.Material.Glacier |
| 580 | p.MaterialVariant = "2022 Glue" |
| 581 | p.Anchored = true |
| 582 | p.Parent = model |
| 583 | end |
| 584 | do |
| 585 | local p = Instance.new("Part") |
| 586 | p.Name = "SpokeF_9" |
| 587 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 588 | p.CFrame = CFrame.new(0, 12.75, -1.875) * CFrame.Angles(math.rad(77.1957), math.rad(90), math.rad(0)) |
| 589 | p.BrickColor = BrickColor.new("Light stone grey") |
| 590 | p.Material = Enum.Material.Glacier |
| 591 | p.MaterialVariant = "2022 Glue" |
| 592 | p.Anchored = true |
| 593 | p.Parent = model |
| 594 | end |
| 595 | do |
| 596 | local p = Instance.new("Part") |
| 597 | p.Name = "SpokeB_10" |
| 598 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 599 | p.CFrame = CFrame.new(1.375, 13.1184, -0.725) * CFrame.Angles(math.rad(0), math.rad(20.8978), math.rad(-58.2838)) |
| 600 | p.BrickColor = BrickColor.new("Light stone grey") |
| 601 | p.Material = Enum.Material.Glacier |
| 602 | p.MaterialVariant = "2022 Glue" |
| 603 | p.Anchored = true |
| 604 | p.Parent = model |
| 605 | end |
| 606 | do |
| 607 | local p = Instance.new("Part") |
| 608 | p.Name = "SpokeF_10" |
| 609 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 610 | p.CFrame = CFrame.new(1.375, 13.1184, -1.875) * CFrame.Angles(math.rad(-180), math.rad(24.444), math.rad(-122.383)) |
| 611 | p.BrickColor = BrickColor.new("Light stone grey") |
| 612 | p.Material = Enum.Material.Glacier |
| 613 | p.MaterialVariant = "2022 Glue" |
| 614 | p.Anchored = true |
| 615 | p.Parent = model |
| 616 | end |
| 617 | do |
| 618 | local p = Instance.new("Part") |
| 619 | p.Name = "SpokeB_11" |
| 620 | p.Size = Vector3.new(5.59933, 0.1, 0.1) |
| 621 | p.CFrame = CFrame.new(2.38157, 14.125, -0.725) * CFrame.Angles(math.rad(0), math.rad(12.4316), math.rad(-29.4149)) |
| 622 | p.BrickColor = BrickColor.new("Light stone grey") |
| 623 | p.Material = Enum.Material.Glacier |
| 624 | p.MaterialVariant = "2022 Glue" |
| 625 | p.Anchored = true |
| 626 | p.Parent = model |
| 627 | end |
| 628 | do |
| 629 | local p = Instance.new("Part") |
| 630 | p.Name = "SpokeF_11" |
| 631 | p.Size = Vector3.new(5.64026, 0.1, 0.1) |
| 632 | p.CFrame = CFrame.new(2.38157, 14.125, -1.875) * CFrame.Angles(math.rad(-180), math.rad(14.7047), math.rad(-150.819)) |
| 633 | p.BrickColor = BrickColor.new("Light stone grey") |
| 634 | p.Material = Enum.Material.Glacier |
| 635 | p.MaterialVariant = "2022 Glue" |
| 636 | p.Anchored = true |
| 637 | p.Parent = model |
| 638 | end |
| 639 | do |
| 640 | local p = Instance.new("Part") |
| 641 | p.Name = "Cord_0" |
| 642 | p.Size = Vector3.new(2.54951, 0.15, 0.15) |
| 643 | p.CFrame = CFrame.new(0.25, 13.25, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-78.6901)) |
| 644 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 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 = "Cord_1" |
| 653 | p.Size = Vector3.new(3.05614, 0.15, 0.15) |
| 654 | p.CFrame = CFrame.new(0.65, 10.5, 1.25) * CFrame.Angles(math.rad(0), math.rad(59.0362), math.rad(-79.0008)) |
| 655 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 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 = "Cord_2" |
| 664 | p.Size = Vector3.new(3.05614, 0.15, 0.15) |
| 665 | p.CFrame = CFrame.new(0.65, 7.5, 0.75) * CFrame.Angles(math.rad(-180), math.rad(59.0362), math.rad(100.999)) |
| 666 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 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 = "Cord_3" |
| 675 | p.Size = Vector3.new(3.02985, 0.15, 0.15) |
| 676 | p.CFrame = CFrame.new(0.35, 4.5, 0.35) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(98.0495)) |
| 677 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 678 | p.Material = Enum.Material.Glacier |
| 679 | p.MaterialVariant = "2022 Stud" |
| 680 | p.Anchored = true |
| 681 | p.Parent = model |
| 682 | end |
| 683 | do |
| 684 | local p = Instance.new("Part") |
| 685 | p.Name = "Cord_4" |
| 686 | p.Size = Vector3.new(3.85876, 0.15, 0.15) |
| 687 | p.CFrame = CFrame.new(1.1, 1.55, 1.1) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-48.7237)) |
| 688 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 689 | p.Material = Enum.Material.Glacier |
| 690 | p.MaterialVariant = "2022 Stud" |
| 691 | p.Anchored = true |
| 692 | p.Parent = model |
| 693 | end |
| 694 | do |
| 695 | local p = Instance.new("Part") |
| 696 | p.Name = "Cord_5" |
| 697 | p.Size = Vector3.new(3.60555, 0.15, 0.15) |
| 698 | p.CFrame = CFrame.new(3.5, 0.1, 3) * CFrame.Angles(math.rad(0), math.rad(-33.6901), math.rad(0)) |
| 699 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 700 | p.Material = Enum.Material.Glacier |
| 701 | p.MaterialVariant = "2022 Stud" |
| 702 | p.Anchored = true |
| 703 | p.Parent = model |
| 704 | end |
| 705 | do |
| 706 | local p = Instance.new("Part") |
| 707 | p.Name = "Cord_6" |
| 708 | p.Size = Vector3.new(3.23265, 0.15, 0.15) |
| 709 | p.CFrame = CFrame.new(6.5, 0.15, 4.6) * CFrame.Angles(math.rad(0), math.rad(-21.8014), math.rad(1.77269)) |
| 710 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 711 | p.Material = Enum.Material.Glacier |
| 712 | p.MaterialVariant = "2022 Stud" |
| 713 | p.Anchored = true |
| 714 | p.Parent = model |
| 715 | end |
| 716 | do |
| 717 | local p = Instance.new("Part") |
| 718 | p.Name = "Plug" |
| 719 | p.Size = Vector3.new(1, 0.4, 0.8) |
| 720 | p.CFrame = CFrame.new(8.5, 0.2, 5.2) |
| 721 | p.BrickColor = BrickColor.new("Really black") |
| 722 | p.Material = Enum.Material.Glacier |
| 723 | p.MaterialVariant = "2022 Universal" |
| 724 | p.Anchored = true |
| 725 | p.Parent = model |
| 726 | end |
| 727 | do |
| 728 | local p = Instance.new("Part") |
| 729 | p.Name = "Prong1" |
| 730 | p.Size = Vector3.new(0.4, 0.1, 0.1) |
| 731 | p.CFrame = CFrame.new(9.1, 0.2, 5) |
| 732 | p.BrickColor = BrickColor.new("Silver") |
| 733 | p.Material = Enum.Material.Glacier |
| 734 | p.MaterialVariant = "2022 Stud" |
| 735 | p.Anchored = true |
| 736 | p.Parent = model |
| 737 | end |
| 738 | do |
| 739 | local p = Instance.new("Part") |
| 740 | p.Name = "Prong2" |
| 741 | p.Size = Vector3.new(0.4, 0.1, 0.1) |
| 742 | p.CFrame = CFrame.new(9.1, 0.2, 5.4) |
| 743 | p.BrickColor = BrickColor.new("Silver") |
| 744 | p.Material = Enum.Material.Glacier |
| 745 | p.MaterialVariant = "2022 Stud" |
| 746 | p.Anchored = true |
| 747 | p.Parent = model |
| 748 | end |
| 749 | do |
| 750 | local rightV = Vector3.new(1,0,0).Unit |
| 751 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 752 | local normalV = upV:Cross(rightV) |
| 753 | local pos = Vector3.new(0, 15.54, -1.25) |
| 754 | local cyl = Instance.new("Part") |
| 755 | cyl.Shape = Enum.PartType.Cylinder |
| 756 | cyl.Size = Vector3.new(0.15, 11.16, 11.16) |
| 757 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 758 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 759 | cyl.Material = Enum.Material.Glacier |
| 760 | cyl.MaterialVariant = "2022 Glue" |
| 761 | cyl.Anchored = true; cyl.Parent = workspace |
| 762 | local cuts = {} |
| 763 | local hole = Instance.new("Part") |
| 764 | hole.Shape = Enum.PartType.Cylinder |
| 765 | hole.Size = Vector3.new(0.35, 10.84, 10.84) |
| 766 | hole.CFrame = cyl.CFrame |
| 767 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 768 | hole.Material = Enum.Material.Glacier |
| 769 | hole.MaterialVariant = "2022 Glue" |
| 770 | hole.Anchored = true; hole.Parent = workspace |
| 771 | table.insert(cuts, hole) |
| 772 | local angBoxes = {} |
| 773 | do |
| 774 | local edgeDir = 1*rightV + 0*upV |
| 775 | local edgePerp = 0*rightV + 1*upV |
| 776 | local cut = Instance.new("Part") |
| 777 | cut.Size = Vector3.new(22.32, 0.35, 22.32) |
| 778 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 11.16 * edgePerp, edgeDir, normalV) |
| 779 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 780 | cut.Material = Enum.Material.Glacier |
| 781 | cut.MaterialVariant = "2022 Glue" |
| 782 | cut.Anchored = true; cut.Parent = workspace |
| 783 | table.insert(angBoxes, cut) |
| 784 | end |
| 785 | do |
| 786 | local edgeDir = -1*rightV + 0*upV |
| 787 | local edgePerp = 0*rightV + -1*upV |
| 788 | local cut = Instance.new("Part") |
| 789 | cut.Size = Vector3.new(22.32, 0.35, 22.32) |
| 790 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 11.16 * edgePerp, edgeDir, normalV) |
| 791 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 792 | cut.Material = Enum.Material.Glacier |
| 793 | cut.MaterialVariant = "2022 Glue" |
| 794 | cut.Anchored = true; cut.Parent = workspace |
| 795 | table.insert(angBoxes, cut) |
| 796 | end |
| 797 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 798 | if #cuts > 0 then |
| 799 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 800 | for _, c in ipairs(cuts) do c:Destroy() end |
| 801 | if ok and result then |
| 802 | cyl:Destroy() |
| 803 | result.Name = "RingMid_Top"; result.Anchored = true; result.Parent = model |
| 804 | else |
| 805 | cyl.Name = "RingMid_Top"; cyl.Parent = model |
| 806 | end |
| 807 | else |
| 808 | cyl.Name = "RingMid_Top"; cyl.Parent = model |
| 809 | end |
| 810 | end |
| 811 | do |
| 812 | local rightV = Vector3.new(1,0,0).Unit |
| 813 | local upV = (Vector3.new(0,-1,0) - Vector3.new(0,-1,0):Dot(rightV)*rightV).Unit |
| 814 | local normalV = upV:Cross(rightV) |
| 815 | local pos = Vector3.new(0, 15.5, -1.25) |
| 816 | local cyl = Instance.new("Part") |
| 817 | cyl.Shape = Enum.PartType.Cylinder |
| 818 | cyl.Size = Vector3.new(0.15, 11.16, 11.16) |
| 819 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 820 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 821 | cyl.Material = Enum.Material.Glacier |
| 822 | cyl.MaterialVariant = "2022 Glue" |
| 823 | cyl.Anchored = true; cyl.Parent = workspace |
| 824 | local cuts = {} |
| 825 | local hole = Instance.new("Part") |
| 826 | hole.Shape = Enum.PartType.Cylinder |
| 827 | hole.Size = Vector3.new(0.35, 10.84, 10.84) |
| 828 | hole.CFrame = cyl.CFrame |
| 829 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 830 | hole.Material = Enum.Material.Glacier |
| 831 | hole.MaterialVariant = "2022 Glue" |
| 832 | hole.Anchored = true; hole.Parent = workspace |
| 833 | table.insert(cuts, hole) |
| 834 | local angBoxes = {} |
| 835 | do |
| 836 | local edgeDir = 1*rightV + 0*upV |
| 837 | local edgePerp = 0*rightV + 1*upV |
| 838 | local cut = Instance.new("Part") |
| 839 | cut.Size = Vector3.new(22.32, 0.35, 22.32) |
| 840 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 11.16 * edgePerp, edgeDir, normalV) |
| 841 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 842 | cut.Material = Enum.Material.Glacier |
| 843 | cut.MaterialVariant = "2022 Glue" |
| 844 | cut.Anchored = true; cut.Parent = workspace |
| 845 | table.insert(angBoxes, cut) |
| 846 | end |
| 847 | do |
| 848 | local edgeDir = -1*rightV + 0*upV |
| 849 | local edgePerp = 0*rightV + -1*upV |
| 850 | local cut = Instance.new("Part") |
| 851 | cut.Size = Vector3.new(22.32, 0.35, 22.32) |
| 852 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 11.16 * edgePerp, edgeDir, normalV) |
| 853 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 854 | cut.Material = Enum.Material.Glacier |
| 855 | cut.MaterialVariant = "2022 Glue" |
| 856 | cut.Anchored = true; cut.Parent = workspace |
| 857 | table.insert(angBoxes, cut) |
| 858 | end |
| 859 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 860 | if #cuts > 0 then |
| 861 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 862 | for _, c in ipairs(cuts) do c:Destroy() end |
| 863 | if ok and result then |
| 864 | cyl:Destroy() |
| 865 | result.Name = "RingMid_Bot"; result.Anchored = true; result.Parent = model |
| 866 | else |
| 867 | cyl.Name = "RingMid_Bot"; cyl.Parent = model |
| 868 | end |
| 869 | else |
| 870 | cyl.Name = "RingMid_Bot"; cyl.Parent = model |
| 871 | end |
| 872 | end |
| 873 | do |
| 874 | local rightV = Vector3.new(1,0,0).Unit |
| 875 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 876 | local normalV = upV:Cross(rightV) |
| 877 | local pos = Vector3.new(0, 15.54, -0.7) |
| 878 | local cyl = Instance.new("Part") |
| 879 | cyl.Shape = Enum.PartType.Cylinder |
| 880 | cyl.Size = Vector3.new(0.15, 10.16, 10.16) |
| 881 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 882 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 883 | cyl.Material = Enum.Material.Glacier |
| 884 | cyl.MaterialVariant = "2022 Glue" |
| 885 | cyl.Anchored = true; cyl.Parent = workspace |
| 886 | local cuts = {} |
| 887 | local hole = Instance.new("Part") |
| 888 | hole.Shape = Enum.PartType.Cylinder |
| 889 | hole.Size = Vector3.new(0.35, 9.84, 9.84) |
| 890 | hole.CFrame = cyl.CFrame |
| 891 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 892 | hole.Material = Enum.Material.Glacier |
| 893 | hole.MaterialVariant = "2022 Glue" |
| 894 | hole.Anchored = true; hole.Parent = workspace |
| 895 | table.insert(cuts, hole) |
| 896 | local angBoxes = {} |
| 897 | do |
| 898 | local edgeDir = 1*rightV + 0*upV |
| 899 | local edgePerp = 0*rightV + 1*upV |
| 900 | local cut = Instance.new("Part") |
| 901 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 902 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10.16 * edgePerp, edgeDir, normalV) |
| 903 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 904 | cut.Material = Enum.Material.Glacier |
| 905 | cut.MaterialVariant = "2022 Glue" |
| 906 | cut.Anchored = true; cut.Parent = workspace |
| 907 | table.insert(angBoxes, cut) |
| 908 | end |
| 909 | do |
| 910 | local edgeDir = -1*rightV + 0*upV |
| 911 | local edgePerp = 0*rightV + -1*upV |
| 912 | local cut = Instance.new("Part") |
| 913 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 914 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10.16 * edgePerp, edgeDir, normalV) |
| 915 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 916 | cut.Material = Enum.Material.Glacier |
| 917 | cut.MaterialVariant = "2022 Glue" |
| 918 | cut.Anchored = true; cut.Parent = workspace |
| 919 | table.insert(angBoxes, cut) |
| 920 | end |
| 921 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 922 | if #cuts > 0 then |
| 923 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 924 | for _, c in ipairs(cuts) do c:Destroy() end |
| 925 | if ok and result then |
| 926 | cyl:Destroy() |
| 927 | result.Name = "RingBack1_Top"; result.Anchored = true; result.Parent = model |
| 928 | else |
| 929 | cyl.Name = "RingBack1_Top"; cyl.Parent = model |
| 930 | end |
| 931 | else |
| 932 | cyl.Name = "RingBack1_Top"; cyl.Parent = model |
| 933 | end |
| 934 | end |
| 935 | do |
| 936 | local rightV = Vector3.new(1,0,0).Unit |
| 937 | local upV = (Vector3.new(0,-1,0) - Vector3.new(0,-1,0):Dot(rightV)*rightV).Unit |
| 938 | local normalV = upV:Cross(rightV) |
| 939 | local pos = Vector3.new(0, 15.5, -0.7) |
| 940 | local cyl = Instance.new("Part") |
| 941 | cyl.Shape = Enum.PartType.Cylinder |
| 942 | cyl.Size = Vector3.new(0.15, 10.16, 10.16) |
| 943 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 944 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 945 | cyl.Material = Enum.Material.Glacier |
| 946 | cyl.MaterialVariant = "2022 Glue" |
| 947 | cyl.Anchored = true; cyl.Parent = workspace |
| 948 | local cuts = {} |
| 949 | local hole = Instance.new("Part") |
| 950 | hole.Shape = Enum.PartType.Cylinder |
| 951 | hole.Size = Vector3.new(0.35, 9.84, 9.84) |
| 952 | hole.CFrame = cyl.CFrame |
| 953 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 954 | hole.Material = Enum.Material.Glacier |
| 955 | hole.MaterialVariant = "2022 Glue" |
| 956 | hole.Anchored = true; hole.Parent = workspace |
| 957 | table.insert(cuts, hole) |
| 958 | local angBoxes = {} |
| 959 | do |
| 960 | local edgeDir = 1*rightV + 0*upV |
| 961 | local edgePerp = 0*rightV + 1*upV |
| 962 | local cut = Instance.new("Part") |
| 963 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 964 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10.16 * edgePerp, edgeDir, normalV) |
| 965 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 966 | cut.Material = Enum.Material.Glacier |
| 967 | cut.MaterialVariant = "2022 Glue" |
| 968 | cut.Anchored = true; cut.Parent = workspace |
| 969 | table.insert(angBoxes, cut) |
| 970 | end |
| 971 | do |
| 972 | local edgeDir = -1*rightV + 0*upV |
| 973 | local edgePerp = 0*rightV + -1*upV |
| 974 | local cut = Instance.new("Part") |
| 975 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 976 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10.16 * edgePerp, edgeDir, normalV) |
| 977 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 978 | cut.Material = Enum.Material.Glacier |
| 979 | cut.MaterialVariant = "2022 Glue" |
| 980 | cut.Anchored = true; cut.Parent = workspace |
| 981 | table.insert(angBoxes, cut) |
| 982 | end |
| 983 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 984 | if #cuts > 0 then |
| 985 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 986 | for _, c in ipairs(cuts) do c:Destroy() end |
| 987 | if ok and result then |
| 988 | cyl:Destroy() |
| 989 | result.Name = "RingBack1_Bot"; result.Anchored = true; result.Parent = model |
| 990 | else |
| 991 | cyl.Name = "RingBack1_Bot"; cyl.Parent = model |
| 992 | end |
| 993 | else |
| 994 | cyl.Name = "RingBack1_Bot"; cyl.Parent = model |
| 995 | end |
| 996 | end |
| 997 | do |
| 998 | local rightV = Vector3.new(1,0,0).Unit |
| 999 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1000 | local normalV = upV:Cross(rightV) |
| 1001 | local pos = Vector3.new(0, 15.54, -0.2) |
| 1002 | local cyl = Instance.new("Part") |
| 1003 | cyl.Shape = Enum.PartType.Cylinder |
| 1004 | cyl.Size = Vector3.new(0.15, 8.16, 8.16) |
| 1005 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1006 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 1007 | cyl.Material = Enum.Material.Glacier |
| 1008 | cyl.MaterialVariant = "2022 Glue" |
| 1009 | cyl.Anchored = true; cyl.Parent = workspace |
| 1010 | local cuts = {} |
| 1011 | local hole = Instance.new("Part") |
| 1012 | hole.Shape = Enum.PartType.Cylinder |
| 1013 | hole.Size = Vector3.new(0.35, 7.84, 7.84) |
| 1014 | hole.CFrame = cyl.CFrame |
| 1015 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 1016 | hole.Material = Enum.Material.Glacier |
| 1017 | hole.MaterialVariant = "2022 Glue" |
| 1018 | hole.Anchored = true; hole.Parent = workspace |
| 1019 | table.insert(cuts, hole) |
| 1020 | local angBoxes = {} |
| 1021 | do |
| 1022 | local edgeDir = 1*rightV + 0*upV |
| 1023 | local edgePerp = 0*rightV + 1*upV |
| 1024 | local cut = Instance.new("Part") |
| 1025 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1026 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1027 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1028 | cut.Material = Enum.Material.Glacier |
| 1029 | cut.MaterialVariant = "2022 Glue" |
| 1030 | cut.Anchored = true; cut.Parent = workspace |
| 1031 | table.insert(angBoxes, cut) |
| 1032 | end |
| 1033 | do |
| 1034 | local edgeDir = -1*rightV + 0*upV |
| 1035 | local edgePerp = 0*rightV + -1*upV |
| 1036 | local cut = Instance.new("Part") |
| 1037 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1038 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1039 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1040 | cut.Material = Enum.Material.Glacier |
| 1041 | cut.MaterialVariant = "2022 Glue" |
| 1042 | cut.Anchored = true; cut.Parent = workspace |
| 1043 | table.insert(angBoxes, cut) |
| 1044 | end |
| 1045 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1046 | if #cuts > 0 then |
| 1047 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1048 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1049 | if ok and result then |
| 1050 | cyl:Destroy() |
| 1051 | result.Name = "RingBack2_Top"; result.Anchored = true; result.Parent = model |
| 1052 | else |
| 1053 | cyl.Name = "RingBack2_Top"; cyl.Parent = model |
| 1054 | end |
| 1055 | else |
| 1056 | cyl.Name = "RingBack2_Top"; cyl.Parent = model |
| 1057 | end |
| 1058 | end |
| 1059 | do |
| 1060 | local rightV = Vector3.new(1,0,0).Unit |
| 1061 | local upV = (Vector3.new(0,-1,0) - Vector3.new(0,-1,0):Dot(rightV)*rightV).Unit |
| 1062 | local normalV = upV:Cross(rightV) |
| 1063 | local pos = Vector3.new(0, 15.5, -0.2) |
| 1064 | local cyl = Instance.new("Part") |
| 1065 | cyl.Shape = Enum.PartType.Cylinder |
| 1066 | cyl.Size = Vector3.new(0.15, 8.16, 8.16) |
| 1067 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1068 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 1069 | cyl.Material = Enum.Material.Glacier |
| 1070 | cyl.MaterialVariant = "2022 Glue" |
| 1071 | cyl.Anchored = true; cyl.Parent = workspace |
| 1072 | local cuts = {} |
| 1073 | local hole = Instance.new("Part") |
| 1074 | hole.Shape = Enum.PartType.Cylinder |
| 1075 | hole.Size = Vector3.new(0.35, 7.84, 7.84) |
| 1076 | hole.CFrame = cyl.CFrame |
| 1077 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 1078 | hole.Material = Enum.Material.Glacier |
| 1079 | hole.MaterialVariant = "2022 Glue" |
| 1080 | hole.Anchored = true; hole.Parent = workspace |
| 1081 | table.insert(cuts, hole) |
| 1082 | local angBoxes = {} |
| 1083 | do |
| 1084 | local edgeDir = 1*rightV + 0*upV |
| 1085 | local edgePerp = 0*rightV + 1*upV |
| 1086 | local cut = Instance.new("Part") |
| 1087 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1088 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1089 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1090 | cut.Material = Enum.Material.Glacier |
| 1091 | cut.MaterialVariant = "2022 Glue" |
| 1092 | cut.Anchored = true; cut.Parent = workspace |
| 1093 | table.insert(angBoxes, cut) |
| 1094 | end |
| 1095 | do |
| 1096 | local edgeDir = -1*rightV + 0*upV |
| 1097 | local edgePerp = 0*rightV + -1*upV |
| 1098 | local cut = Instance.new("Part") |
| 1099 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1100 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1101 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1102 | cut.Material = Enum.Material.Glacier |
| 1103 | cut.MaterialVariant = "2022 Glue" |
| 1104 | cut.Anchored = true; cut.Parent = workspace |
| 1105 | table.insert(angBoxes, cut) |
| 1106 | end |
| 1107 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1108 | if #cuts > 0 then |
| 1109 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1110 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1111 | if ok and result then |
| 1112 | cyl:Destroy() |
| 1113 | result.Name = "RingBack2_Bot"; result.Anchored = true; result.Parent = model |
| 1114 | else |
| 1115 | cyl.Name = "RingBack2_Bot"; cyl.Parent = model |
| 1116 | end |
| 1117 | else |
| 1118 | cyl.Name = "RingBack2_Bot"; cyl.Parent = model |
| 1119 | end |
| 1120 | end |
| 1121 | do |
| 1122 | local rightV = Vector3.new(1,0,0).Unit |
| 1123 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1124 | local normalV = upV:Cross(rightV) |
| 1125 | local pos = Vector3.new(0, 15.54, -1.8) |
| 1126 | local cyl = Instance.new("Part") |
| 1127 | cyl.Shape = Enum.PartType.Cylinder |
| 1128 | cyl.Size = Vector3.new(0.15, 10.16, 10.16) |
| 1129 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1130 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 1131 | cyl.Material = Enum.Material.Glacier |
| 1132 | cyl.MaterialVariant = "2022 Glue" |
| 1133 | cyl.Anchored = true; cyl.Parent = workspace |
| 1134 | local cuts = {} |
| 1135 | local hole = Instance.new("Part") |
| 1136 | hole.Shape = Enum.PartType.Cylinder |
| 1137 | hole.Size = Vector3.new(0.35, 9.84, 9.84) |
| 1138 | hole.CFrame = cyl.CFrame |
| 1139 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 1140 | hole.Material = Enum.Material.Glacier |
| 1141 | hole.MaterialVariant = "2022 Glue" |
| 1142 | hole.Anchored = true; hole.Parent = workspace |
| 1143 | table.insert(cuts, hole) |
| 1144 | local angBoxes = {} |
| 1145 | do |
| 1146 | local edgeDir = 1*rightV + 0*upV |
| 1147 | local edgePerp = 0*rightV + 1*upV |
| 1148 | local cut = Instance.new("Part") |
| 1149 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 1150 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10.16 * edgePerp, edgeDir, normalV) |
| 1151 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1152 | cut.Material = Enum.Material.Glacier |
| 1153 | cut.MaterialVariant = "2022 Glue" |
| 1154 | cut.Anchored = true; cut.Parent = workspace |
| 1155 | table.insert(angBoxes, cut) |
| 1156 | end |
| 1157 | do |
| 1158 | local edgeDir = -1*rightV + 0*upV |
| 1159 | local edgePerp = 0*rightV + -1*upV |
| 1160 | local cut = Instance.new("Part") |
| 1161 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 1162 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10.16 * edgePerp, edgeDir, normalV) |
| 1163 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1164 | cut.Material = Enum.Material.Glacier |
| 1165 | cut.MaterialVariant = "2022 Glue" |
| 1166 | cut.Anchored = true; cut.Parent = workspace |
| 1167 | table.insert(angBoxes, cut) |
| 1168 | end |
| 1169 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1170 | if #cuts > 0 then |
| 1171 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1172 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1173 | if ok and result then |
| 1174 | cyl:Destroy() |
| 1175 | result.Name = "RingFront1_Top"; result.Anchored = true; result.Parent = model |
| 1176 | else |
| 1177 | cyl.Name = "RingFront1_Top"; cyl.Parent = model |
| 1178 | end |
| 1179 | else |
| 1180 | cyl.Name = "RingFront1_Top"; cyl.Parent = model |
| 1181 | end |
| 1182 | end |
| 1183 | do |
| 1184 | local rightV = Vector3.new(1,0,0).Unit |
| 1185 | local upV = (Vector3.new(0,-1,0) - Vector3.new(0,-1,0):Dot(rightV)*rightV).Unit |
| 1186 | local normalV = upV:Cross(rightV) |
| 1187 | local pos = Vector3.new(0, 15.5, -1.8) |
| 1188 | local cyl = Instance.new("Part") |
| 1189 | cyl.Shape = Enum.PartType.Cylinder |
| 1190 | cyl.Size = Vector3.new(0.15, 10.16, 10.16) |
| 1191 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1192 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 1193 | cyl.Material = Enum.Material.Glacier |
| 1194 | cyl.MaterialVariant = "2022 Glue" |
| 1195 | cyl.Anchored = true; cyl.Parent = workspace |
| 1196 | local cuts = {} |
| 1197 | local hole = Instance.new("Part") |
| 1198 | hole.Shape = Enum.PartType.Cylinder |
| 1199 | hole.Size = Vector3.new(0.35, 9.84, 9.84) |
| 1200 | hole.CFrame = cyl.CFrame |
| 1201 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 1202 | hole.Material = Enum.Material.Glacier |
| 1203 | hole.MaterialVariant = "2022 Glue" |
| 1204 | hole.Anchored = true; hole.Parent = workspace |
| 1205 | table.insert(cuts, hole) |
| 1206 | local angBoxes = {} |
| 1207 | do |
| 1208 | local edgeDir = 1*rightV + 0*upV |
| 1209 | local edgePerp = 0*rightV + 1*upV |
| 1210 | local cut = Instance.new("Part") |
| 1211 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 1212 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10.16 * edgePerp, edgeDir, normalV) |
| 1213 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1214 | cut.Material = Enum.Material.Glacier |
| 1215 | cut.MaterialVariant = "2022 Glue" |
| 1216 | cut.Anchored = true; cut.Parent = workspace |
| 1217 | table.insert(angBoxes, cut) |
| 1218 | end |
| 1219 | do |
| 1220 | local edgeDir = -1*rightV + 0*upV |
| 1221 | local edgePerp = 0*rightV + -1*upV |
| 1222 | local cut = Instance.new("Part") |
| 1223 | cut.Size = Vector3.new(20.32, 0.35, 20.32) |
| 1224 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10.16 * edgePerp, edgeDir, normalV) |
| 1225 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1226 | cut.Material = Enum.Material.Glacier |
| 1227 | cut.MaterialVariant = "2022 Glue" |
| 1228 | cut.Anchored = true; cut.Parent = workspace |
| 1229 | table.insert(angBoxes, cut) |
| 1230 | end |
| 1231 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1232 | if #cuts > 0 then |
| 1233 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1234 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1235 | if ok and result then |
| 1236 | cyl:Destroy() |
| 1237 | result.Name = "RingFront1_Bot"; result.Anchored = true; result.Parent = model |
| 1238 | else |
| 1239 | cyl.Name = "RingFront1_Bot"; cyl.Parent = model |
| 1240 | end |
| 1241 | else |
| 1242 | cyl.Name = "RingFront1_Bot"; cyl.Parent = model |
| 1243 | end |
| 1244 | end |
| 1245 | do |
| 1246 | local rightV = Vector3.new(1,0,0).Unit |
| 1247 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1248 | local normalV = upV:Cross(rightV) |
| 1249 | local pos = Vector3.new(0, 15.54, -2.3) |
| 1250 | local cyl = Instance.new("Part") |
| 1251 | cyl.Shape = Enum.PartType.Cylinder |
| 1252 | cyl.Size = Vector3.new(0.15, 8.16, 8.16) |
| 1253 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1254 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 1255 | cyl.Material = Enum.Material.Glacier |
| 1256 | cyl.MaterialVariant = "2022 Glue" |
| 1257 | cyl.Anchored = true; cyl.Parent = workspace |
| 1258 | local cuts = {} |
| 1259 | local hole = Instance.new("Part") |
| 1260 | hole.Shape = Enum.PartType.Cylinder |
| 1261 | hole.Size = Vector3.new(0.35, 7.84, 7.84) |
| 1262 | hole.CFrame = cyl.CFrame |
| 1263 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 1264 | hole.Material = Enum.Material.Glacier |
| 1265 | hole.MaterialVariant = "2022 Glue" |
| 1266 | hole.Anchored = true; hole.Parent = workspace |
| 1267 | table.insert(cuts, hole) |
| 1268 | local angBoxes = {} |
| 1269 | do |
| 1270 | local edgeDir = 1*rightV + 0*upV |
| 1271 | local edgePerp = 0*rightV + 1*upV |
| 1272 | local cut = Instance.new("Part") |
| 1273 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1274 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1275 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1276 | cut.Material = Enum.Material.Glacier |
| 1277 | cut.MaterialVariant = "2022 Glue" |
| 1278 | cut.Anchored = true; cut.Parent = workspace |
| 1279 | table.insert(angBoxes, cut) |
| 1280 | end |
| 1281 | do |
| 1282 | local edgeDir = -1*rightV + 0*upV |
| 1283 | local edgePerp = 0*rightV + -1*upV |
| 1284 | local cut = Instance.new("Part") |
| 1285 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1286 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1287 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1288 | cut.Material = Enum.Material.Glacier |
| 1289 | cut.MaterialVariant = "2022 Glue" |
| 1290 | cut.Anchored = true; cut.Parent = workspace |
| 1291 | table.insert(angBoxes, cut) |
| 1292 | end |
| 1293 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1294 | if #cuts > 0 then |
| 1295 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1296 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1297 | if ok and result then |
| 1298 | cyl:Destroy() |
| 1299 | result.Name = "RingFront2_Top"; result.Anchored = true; result.Parent = model |
| 1300 | else |
| 1301 | cyl.Name = "RingFront2_Top"; cyl.Parent = model |
| 1302 | end |
| 1303 | else |
| 1304 | cyl.Name = "RingFront2_Top"; cyl.Parent = model |
| 1305 | end |
| 1306 | end |
| 1307 | do |
| 1308 | local rightV = Vector3.new(1,0,0).Unit |
| 1309 | local upV = (Vector3.new(0,-1,0) - Vector3.new(0,-1,0):Dot(rightV)*rightV).Unit |
| 1310 | local normalV = upV:Cross(rightV) |
| 1311 | local pos = Vector3.new(0, 15.5, -2.3) |
| 1312 | local cyl = Instance.new("Part") |
| 1313 | cyl.Shape = Enum.PartType.Cylinder |
| 1314 | cyl.Size = Vector3.new(0.15, 8.16, 8.16) |
| 1315 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1316 | cyl.BrickColor = BrickColor.new("Light stone grey") |
| 1317 | cyl.Material = Enum.Material.Glacier |
| 1318 | cyl.MaterialVariant = "2022 Glue" |
| 1319 | cyl.Anchored = true; cyl.Parent = workspace |
| 1320 | local cuts = {} |
| 1321 | local hole = Instance.new("Part") |
| 1322 | hole.Shape = Enum.PartType.Cylinder |
| 1323 | hole.Size = Vector3.new(0.35, 7.84, 7.84) |
| 1324 | hole.CFrame = cyl.CFrame |
| 1325 | hole.BrickColor = BrickColor.new("Light stone grey") |
| 1326 | hole.Material = Enum.Material.Glacier |
| 1327 | hole.MaterialVariant = "2022 Glue" |
| 1328 | hole.Anchored = true; hole.Parent = workspace |
| 1329 | table.insert(cuts, hole) |
| 1330 | local angBoxes = {} |
| 1331 | do |
| 1332 | local edgeDir = 1*rightV + 0*upV |
| 1333 | local edgePerp = 0*rightV + 1*upV |
| 1334 | local cut = Instance.new("Part") |
| 1335 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1336 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1337 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1338 | cut.Material = Enum.Material.Glacier |
| 1339 | cut.MaterialVariant = "2022 Glue" |
| 1340 | cut.Anchored = true; cut.Parent = workspace |
| 1341 | table.insert(angBoxes, cut) |
| 1342 | end |
| 1343 | do |
| 1344 | local edgeDir = -1*rightV + 0*upV |
| 1345 | local edgePerp = 0*rightV + -1*upV |
| 1346 | local cut = Instance.new("Part") |
| 1347 | cut.Size = Vector3.new(16.32, 0.35, 16.32) |
| 1348 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8.16 * edgePerp, edgeDir, normalV) |
| 1349 | cut.BrickColor = BrickColor.new("Light stone grey") |
| 1350 | cut.Material = Enum.Material.Glacier |
| 1351 | cut.MaterialVariant = "2022 Glue" |
| 1352 | cut.Anchored = true; cut.Parent = workspace |
| 1353 | table.insert(angBoxes, cut) |
| 1354 | end |
| 1355 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1356 | if #cuts > 0 then |
| 1357 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1358 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1359 | if ok and result then |
| 1360 | cyl:Destroy() |
| 1361 | result.Name = "RingFront2_Bot"; result.Anchored = true; result.Parent = model |
| 1362 | else |
| 1363 | cyl.Name = "RingFront2_Bot"; cyl.Parent = model |
| 1364 | end |
| 1365 | else |
| 1366 | cyl.Name = "RingFront2_Bot"; cyl.Parent = model |
| 1367 | end |
| 1368 | end |
| 1369 | do |
| 1370 | local upV = Vector3.new(0,0,1).Unit |
| 1371 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 1372 | local forwardV = rightV:Cross(upV) |
| 1373 | local pos = Vector3.new(0, 15.5, 2.08) |
| 1374 | local ball = Instance.new("Part") |
| 1375 | ball.Shape = Enum.PartType.Ball |
| 1376 | ball.Size = Vector3.new(2.2, 2.2, 2.2) |
| 1377 | ball.CFrame = CFrame.new(pos) |
| 1378 | ball.BrickColor = BrickColor.new("Medium stone grey") |
| 1379 | ball.Material = Enum.Material.Glacier |
| 1380 | ball.MaterialVariant = "2022 Inlet" |
| 1381 | ball.Anchored = true; ball.Parent = workspace |
| 1382 | local cuts = {} |
| 1383 | do |
| 1384 | local h = 0 |
| 1385 | local cut = Instance.new("Part") |
| 1386 | cut.Size = Vector3.new(4.4, 4.4, 4.4) |
| 1387 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-2.2), rightV, upV) |
| 1388 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 1389 | cut.Material = Enum.Material.Glacier |
| 1390 | cut.MaterialVariant = "2022 Inlet" |
| 1391 | cut.Anchored = true; cut.Parent = workspace |
| 1392 | table.insert(cuts, cut) |
| 1393 | end |
| 1394 | if #cuts > 0 then |
| 1395 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 1396 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1397 | if ok and result then |
| 1398 | ball:Destroy() |
| 1399 | result.Name = "MotorDome"; result.Anchored = true; result.Parent = model |
| 1400 | else |
| 1401 | ball.Name = "MotorDome"; ball.Parent = model |
| 1402 | end |
| 1403 | else |
| 1404 | ball.Name = "MotorDome"; ball.Parent = model |
| 1405 | end |
| 1406 | end |
| 1407 | do |
| 1408 | local upV = Vector3.new(0,0,-1).Unit |
| 1409 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 1410 | local forwardV = rightV:Cross(upV) |
| 1411 | local pos = Vector3.new(0, 15.5, -1.58) |
| 1412 | local ball = Instance.new("Part") |
| 1413 | ball.Shape = Enum.PartType.Ball |
| 1414 | ball.Size = Vector3.new(1.2, 1.2, 1.2) |
| 1415 | ball.CFrame = CFrame.new(pos) |
| 1416 | ball.BrickColor = BrickColor.new("Medium stone grey") |
| 1417 | ball.Material = Enum.Material.Glacier |
| 1418 | ball.MaterialVariant = "2022 Inlet" |
| 1419 | ball.Anchored = true; ball.Parent = workspace |
| 1420 | local cuts = {} |
| 1421 | do |
| 1422 | local h = 0 |
| 1423 | local cut = Instance.new("Part") |
| 1424 | cut.Size = Vector3.new(2.4, 2.4, 2.4) |
| 1425 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.2), rightV, upV) |
| 1426 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 1427 | cut.Material = Enum.Material.Glacier |
| 1428 | cut.MaterialVariant = "2022 Inlet" |
| 1429 | cut.Anchored = true; cut.Parent = workspace |
| 1430 | table.insert(cuts, cut) |
| 1431 | end |
| 1432 | if #cuts > 0 then |
| 1433 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 1434 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1435 | if ok and result then |
| 1436 | ball:Destroy() |
| 1437 | result.Name = "FanHubCap"; result.Anchored = true; result.Parent = model |
| 1438 | else |
| 1439 | ball.Name = "FanHubCap"; ball.Parent = model |
| 1440 | end |
| 1441 | else |
| 1442 | ball.Name = "FanHubCap"; ball.Parent = model |
| 1443 | end |
| 1444 | end |
| 1445 | model.PrimaryPart = model:FindFirstChild("MotorFront") |
| 1446 | print("StandingFan built: " .. #model:GetChildren() .. " parts") |
Loading comments...