Loading model...
by Liks · 8/24/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: Windmill |
| 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 = "Windmill" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Black"] = "2022 Glue", |
| 25 | ["Bright blue"] = "2022 Universal", |
| 26 | ["Brown"] = "2022 Stud", |
| 27 | ["Dark stone grey"] = "2022 Stud", |
| 28 | ["Institutional white"] = "2022 Stud", |
| 29 | ["Medium stone grey"] = "2022 Inlet", |
| 30 | ["Reddish brown"] = "2022 Small Stud", |
| 31 | } |
| 32 | do |
| 33 | local p = Instance.new("Part") |
| 34 | p.Shape = Enum.PartType.Cylinder |
| 35 | p.Name = "StoneBase1" |
| 36 | p.Size = Vector3.new(2, 16, 16) |
| 37 | p.CFrame = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 38 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 39 | p.Material = Enum.Material.Glacier |
| 40 | p.MaterialVariant = "2022 Inlet" |
| 41 | p.Anchored = true |
| 42 | p.Parent = model |
| 43 | end |
| 44 | do |
| 45 | local p = Instance.new("Part") |
| 46 | p.Shape = Enum.PartType.Cylinder |
| 47 | p.Name = "StoneBase2" |
| 48 | p.Size = Vector3.new(2, 15.6, 15.6) |
| 49 | p.CFrame = CFrame.new(0, 3.04, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 50 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 51 | p.Material = Enum.Material.Glacier |
| 52 | p.MaterialVariant = "2022 Inlet" |
| 53 | p.Anchored = true |
| 54 | p.Parent = model |
| 55 | end |
| 56 | do |
| 57 | local p = Instance.new("Part") |
| 58 | p.Shape = Enum.PartType.Cylinder |
| 59 | p.Name = "StoneBase3" |
| 60 | p.Size = Vector3.new(2, 15.2, 15.2) |
| 61 | p.CFrame = CFrame.new(0, 5.08, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 62 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 63 | p.Material = Enum.Material.Glacier |
| 64 | p.MaterialVariant = "2022 Inlet" |
| 65 | p.Anchored = true |
| 66 | p.Parent = model |
| 67 | end |
| 68 | do |
| 69 | local p = Instance.new("Part") |
| 70 | p.Shape = Enum.PartType.Cylinder |
| 71 | p.Name = "StoneBase4" |
| 72 | p.Size = Vector3.new(2, 14.8, 14.8) |
| 73 | p.CFrame = CFrame.new(0, 7.12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 74 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 75 | p.Material = Enum.Material.Glacier |
| 76 | p.MaterialVariant = "2022 Inlet" |
| 77 | p.Anchored = true |
| 78 | p.Parent = model |
| 79 | end |
| 80 | do |
| 81 | local p = Instance.new("Part") |
| 82 | p.Name = "Door" |
| 83 | p.Size = Vector3.new(3, 4, 0.5) |
| 84 | p.CFrame = CFrame.new(0, 3.08, -7.6) |
| 85 | p.BrickColor = BrickColor.new("Brown") |
| 86 | p.Material = Enum.Material.Glacier |
| 87 | p.MaterialVariant = "2022 Stud" |
| 88 | p.Anchored = true |
| 89 | p.Parent = model |
| 90 | end |
| 91 | do |
| 92 | local p = Instance.new("Part") |
| 93 | p.Shape = Enum.PartType.Ball |
| 94 | p.Name = "DoorKnob" |
| 95 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 96 | p.CFrame = CFrame.new(0.8, 3, -7.9) |
| 97 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 98 | p.Material = Enum.Material.Glacier |
| 99 | p.MaterialVariant = "2022 Stud" |
| 100 | p.Anchored = true |
| 101 | p.Parent = model |
| 102 | end |
| 103 | do |
| 104 | local p = Instance.new("Part") |
| 105 | p.Name = "DoorFrameL" |
| 106 | p.Size = Vector3.new(0.5, 4, 0.6) |
| 107 | p.CFrame = CFrame.new(-1.83, 2.92, -7.7) |
| 108 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 109 | p.Material = Enum.Material.Glacier |
| 110 | p.MaterialVariant = "2022 Inlet" |
| 111 | p.Anchored = true |
| 112 | p.Parent = model |
| 113 | end |
| 114 | do |
| 115 | local p = Instance.new("Part") |
| 116 | p.Name = "DoorFrameR" |
| 117 | p.Size = Vector3.new(0.5, 4, 0.6) |
| 118 | p.CFrame = CFrame.new(1.83, 2.92, -7.7) |
| 119 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 120 | p.Material = Enum.Material.Glacier |
| 121 | p.MaterialVariant = "2022 Inlet" |
| 122 | p.Anchored = true |
| 123 | p.Parent = model |
| 124 | end |
| 125 | do |
| 126 | local p = Instance.new("Part") |
| 127 | p.Name = "Step1" |
| 128 | p.Size = Vector3.new(4, 1, 2) |
| 129 | p.CFrame = CFrame.new(0.04, 0.46, -8.54) |
| 130 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 131 | p.Material = Enum.Material.Glacier |
| 132 | p.MaterialVariant = "2022 Inlet" |
| 133 | p.Anchored = true |
| 134 | p.Parent = model |
| 135 | end |
| 136 | do |
| 137 | local p = Instance.new("Part") |
| 138 | p.Name = "Step2" |
| 139 | p.Size = Vector3.new(4, 1, 2) |
| 140 | p.CFrame = CFrame.new(0.04, 1.54, -7.46) |
| 141 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 142 | p.Material = Enum.Material.Glacier |
| 143 | p.MaterialVariant = "2022 Inlet" |
| 144 | p.Anchored = true |
| 145 | p.Parent = model |
| 146 | end |
| 147 | do |
| 148 | local p = Instance.new("Part") |
| 149 | p.Name = "StepWallL" |
| 150 | p.Size = Vector3.new(1, 3, 3) |
| 151 | p.CFrame = CFrame.new(-2.5, 1.58, -8) |
| 152 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 153 | p.Material = Enum.Material.Glacier |
| 154 | p.MaterialVariant = "2022 Inlet" |
| 155 | p.Anchored = true |
| 156 | p.Parent = model |
| 157 | end |
| 158 | do |
| 159 | local p = Instance.new("Part") |
| 160 | p.Name = "StepWallR" |
| 161 | p.Size = Vector3.new(1, 3, 3) |
| 162 | p.CFrame = CFrame.new(2.5, 1.58, -8) |
| 163 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 164 | p.Material = Enum.Material.Glacier |
| 165 | p.MaterialVariant = "2022 Inlet" |
| 166 | p.Anchored = true |
| 167 | p.Parent = model |
| 168 | end |
| 169 | do |
| 170 | local p = Instance.new("Part") |
| 171 | p.Shape = Enum.PartType.Cylinder |
| 172 | p.Name = "Band1" |
| 173 | p.Size = Vector3.new(1, 15.2, 15.2) |
| 174 | p.CFrame = CFrame.new(0, 8.66, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 175 | p.BrickColor = BrickColor.new("Reddish brown") |
| 176 | p.Material = Enum.Material.Glacier |
| 177 | p.MaterialVariant = "2022 Small Stud" |
| 178 | p.Anchored = true |
| 179 | p.Parent = model |
| 180 | end |
| 181 | do |
| 182 | local p = Instance.new("Part") |
| 183 | p.Shape = Enum.PartType.Cylinder |
| 184 | p.Name = "Wood1" |
| 185 | p.Size = Vector3.new(1, 14.2, 14.2) |
| 186 | p.CFrame = CFrame.new(0, 9.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 187 | p.BrickColor = BrickColor.new("Brown") |
| 188 | p.Material = Enum.Material.Glacier |
| 189 | p.MaterialVariant = "2022 Stud" |
| 190 | p.Anchored = true |
| 191 | p.Parent = model |
| 192 | end |
| 193 | do |
| 194 | local p = Instance.new("Part") |
| 195 | p.Shape = Enum.PartType.Cylinder |
| 196 | p.Name = "Wood2" |
| 197 | p.Size = Vector3.new(1, 14, 14) |
| 198 | p.CFrame = CFrame.new(0, 10.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 199 | p.BrickColor = BrickColor.new("Brown") |
| 200 | p.Material = Enum.Material.Glacier |
| 201 | p.MaterialVariant = "2022 Stud" |
| 202 | p.Anchored = true |
| 203 | p.Parent = model |
| 204 | end |
| 205 | do |
| 206 | local p = Instance.new("Part") |
| 207 | p.Shape = Enum.PartType.Cylinder |
| 208 | p.Name = "Wood3" |
| 209 | p.Size = Vector3.new(1, 13.8, 13.8) |
| 210 | p.CFrame = CFrame.new(0, 11.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 211 | p.BrickColor = BrickColor.new("Brown") |
| 212 | p.Material = Enum.Material.Glacier |
| 213 | p.MaterialVariant = "2022 Stud" |
| 214 | p.Anchored = true |
| 215 | p.Parent = model |
| 216 | end |
| 217 | do |
| 218 | local p = Instance.new("Part") |
| 219 | p.Shape = Enum.PartType.Cylinder |
| 220 | p.Name = "Wood4" |
| 221 | p.Size = Vector3.new(1, 13.6, 13.6) |
| 222 | p.CFrame = CFrame.new(0, 12.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 223 | p.BrickColor = BrickColor.new("Brown") |
| 224 | p.Material = Enum.Material.Glacier |
| 225 | p.MaterialVariant = "2022 Stud" |
| 226 | p.Anchored = true |
| 227 | p.Parent = model |
| 228 | end |
| 229 | do |
| 230 | local p = Instance.new("Part") |
| 231 | p.Shape = Enum.PartType.Cylinder |
| 232 | p.Name = "Wood5" |
| 233 | p.Size = Vector3.new(1, 13.4, 13.4) |
| 234 | p.CFrame = CFrame.new(0, 13.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 235 | p.BrickColor = BrickColor.new("Brown") |
| 236 | p.Material = Enum.Material.Glacier |
| 237 | p.MaterialVariant = "2022 Stud" |
| 238 | p.Anchored = true |
| 239 | p.Parent = model |
| 240 | end |
| 241 | do |
| 242 | local p = Instance.new("Part") |
| 243 | p.Name = "Beam_0" |
| 244 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 245 | p.CFrame = CFrame.new(0, 11.7, 7.1) |
| 246 | p.BrickColor = BrickColor.new("Reddish brown") |
| 247 | p.Material = Enum.Material.Glacier |
| 248 | p.MaterialVariant = "2022 Small Stud" |
| 249 | p.Anchored = true |
| 250 | p.Parent = model |
| 251 | end |
| 252 | do |
| 253 | local p = Instance.new("Part") |
| 254 | p.Name = "MetalAccent1_0" |
| 255 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 256 | p.CFrame = CFrame.new(0, 9.5, 7.1) |
| 257 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 258 | p.Material = Enum.Material.Glacier |
| 259 | p.MaterialVariant = "2022 Stud" |
| 260 | p.Anchored = true |
| 261 | p.Parent = model |
| 262 | end |
| 263 | do |
| 264 | local p = Instance.new("Part") |
| 265 | p.Name = "MetalAccent2_0" |
| 266 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 267 | p.CFrame = CFrame.new(0, 13.5, 7.1) |
| 268 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 269 | p.Material = Enum.Material.Glacier |
| 270 | p.MaterialVariant = "2022 Stud" |
| 271 | p.Anchored = true |
| 272 | p.Parent = model |
| 273 | end |
| 274 | do |
| 275 | local p = Instance.new("Part") |
| 276 | p.Name = "Beam_1" |
| 277 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 278 | p.CFrame = CFrame.new(5.02046, 11.7, 5.02046) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 279 | p.BrickColor = BrickColor.new("Reddish brown") |
| 280 | p.Material = Enum.Material.Glacier |
| 281 | p.MaterialVariant = "2022 Small Stud" |
| 282 | p.Anchored = true |
| 283 | p.Parent = model |
| 284 | end |
| 285 | do |
| 286 | local p = Instance.new("Part") |
| 287 | p.Name = "MetalAccent1_1" |
| 288 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 289 | p.CFrame = CFrame.new(5.02046, 9.5, 5.02046) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 290 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 291 | p.Material = Enum.Material.Glacier |
| 292 | p.MaterialVariant = "2022 Stud" |
| 293 | p.Anchored = true |
| 294 | p.Parent = model |
| 295 | end |
| 296 | do |
| 297 | local p = Instance.new("Part") |
| 298 | p.Name = "MetalAccent2_1" |
| 299 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 300 | p.CFrame = CFrame.new(5.02046, 13.5, 5.02046) * CFrame.Angles(math.rad(0), math.rad(45), 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 = "Beam_2" |
| 310 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 311 | p.CFrame = CFrame.new(7.1, 11.7, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 312 | p.BrickColor = BrickColor.new("Reddish brown") |
| 313 | p.Material = Enum.Material.Glacier |
| 314 | p.MaterialVariant = "2022 Small Stud" |
| 315 | p.Anchored = true |
| 316 | p.Parent = model |
| 317 | end |
| 318 | do |
| 319 | local p = Instance.new("Part") |
| 320 | p.Name = "MetalAccent1_2" |
| 321 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 322 | p.CFrame = CFrame.new(7.1, 9.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 323 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 324 | p.Material = Enum.Material.Glacier |
| 325 | p.MaterialVariant = "2022 Stud" |
| 326 | p.Anchored = true |
| 327 | p.Parent = model |
| 328 | end |
| 329 | do |
| 330 | local p = Instance.new("Part") |
| 331 | p.Name = "MetalAccent2_2" |
| 332 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 333 | p.CFrame = CFrame.new(7.1, 13.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 334 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 335 | p.Material = Enum.Material.Glacier |
| 336 | p.MaterialVariant = "2022 Stud" |
| 337 | p.Anchored = true |
| 338 | p.Parent = model |
| 339 | end |
| 340 | do |
| 341 | local p = Instance.new("Part") |
| 342 | p.Name = "Beam_3" |
| 343 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 344 | p.CFrame = CFrame.new(5.02046, 11.7, -5.02046) * CFrame.Angles(math.rad(0), math.rad(135), math.rad(0)) |
| 345 | p.BrickColor = BrickColor.new("Reddish brown") |
| 346 | p.Material = Enum.Material.Glacier |
| 347 | p.MaterialVariant = "2022 Small Stud" |
| 348 | p.Anchored = true |
| 349 | p.Parent = model |
| 350 | end |
| 351 | do |
| 352 | local p = Instance.new("Part") |
| 353 | p.Name = "MetalAccent1_3" |
| 354 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 355 | p.CFrame = CFrame.new(5.02046, 9.5, -5.02046) * CFrame.Angles(math.rad(0), math.rad(135), math.rad(0)) |
| 356 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 357 | p.Material = Enum.Material.Glacier |
| 358 | p.MaterialVariant = "2022 Stud" |
| 359 | p.Anchored = true |
| 360 | p.Parent = model |
| 361 | end |
| 362 | do |
| 363 | local p = Instance.new("Part") |
| 364 | p.Name = "MetalAccent2_3" |
| 365 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 366 | p.CFrame = CFrame.new(5.02046, 13.5, -5.02046) * CFrame.Angles(math.rad(0), math.rad(135), math.rad(0)) |
| 367 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 368 | p.Material = Enum.Material.Glacier |
| 369 | p.MaterialVariant = "2022 Stud" |
| 370 | p.Anchored = true |
| 371 | p.Parent = model |
| 372 | end |
| 373 | do |
| 374 | local p = Instance.new("Part") |
| 375 | p.Name = "Beam_4" |
| 376 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 377 | p.CFrame = CFrame.new(0, 11.7, -7.1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) |
| 378 | p.BrickColor = BrickColor.new("Reddish brown") |
| 379 | p.Material = Enum.Material.Glacier |
| 380 | p.MaterialVariant = "2022 Small Stud" |
| 381 | p.Anchored = true |
| 382 | p.Parent = model |
| 383 | end |
| 384 | do |
| 385 | local p = Instance.new("Part") |
| 386 | p.Name = "MetalAccent1_4" |
| 387 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 388 | p.CFrame = CFrame.new(0, 9.5, -7.1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) |
| 389 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 390 | p.Material = Enum.Material.Glacier |
| 391 | p.MaterialVariant = "2022 Stud" |
| 392 | p.Anchored = true |
| 393 | p.Parent = model |
| 394 | end |
| 395 | do |
| 396 | local p = Instance.new("Part") |
| 397 | p.Name = "MetalAccent2_4" |
| 398 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 399 | p.CFrame = CFrame.new(0, 13.5, -7.1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) |
| 400 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 401 | p.Material = Enum.Material.Glacier |
| 402 | p.MaterialVariant = "2022 Stud" |
| 403 | p.Anchored = true |
| 404 | p.Parent = model |
| 405 | end |
| 406 | do |
| 407 | local p = Instance.new("Part") |
| 408 | p.Name = "Beam_5" |
| 409 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 410 | p.CFrame = CFrame.new(-5.02046, 11.7, -5.02046) * CFrame.Angles(math.rad(0), math.rad(225), math.rad(0)) |
| 411 | p.BrickColor = BrickColor.new("Reddish brown") |
| 412 | p.Material = Enum.Material.Glacier |
| 413 | p.MaterialVariant = "2022 Small Stud" |
| 414 | p.Anchored = true |
| 415 | p.Parent = model |
| 416 | end |
| 417 | do |
| 418 | local p = Instance.new("Part") |
| 419 | p.Name = "MetalAccent1_5" |
| 420 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 421 | p.CFrame = CFrame.new(-5.02046, 9.5, -5.02046) * CFrame.Angles(math.rad(0), math.rad(225), math.rad(0)) |
| 422 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 423 | p.Material = Enum.Material.Glacier |
| 424 | p.MaterialVariant = "2022 Stud" |
| 425 | p.Anchored = true |
| 426 | p.Parent = model |
| 427 | end |
| 428 | do |
| 429 | local p = Instance.new("Part") |
| 430 | p.Name = "MetalAccent2_5" |
| 431 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 432 | p.CFrame = CFrame.new(-5.02046, 13.5, -5.02046) * CFrame.Angles(math.rad(0), math.rad(225), math.rad(0)) |
| 433 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 434 | p.Material = Enum.Material.Glacier |
| 435 | p.MaterialVariant = "2022 Stud" |
| 436 | p.Anchored = true |
| 437 | p.Parent = model |
| 438 | end |
| 439 | do |
| 440 | local p = Instance.new("Part") |
| 441 | p.Name = "Beam_6" |
| 442 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 443 | p.CFrame = CFrame.new(-7.1, 11.7, 0) * CFrame.Angles(math.rad(0), math.rad(270), math.rad(0)) |
| 444 | p.BrickColor = BrickColor.new("Reddish brown") |
| 445 | p.Material = Enum.Material.Glacier |
| 446 | p.MaterialVariant = "2022 Small Stud" |
| 447 | p.Anchored = true |
| 448 | p.Parent = model |
| 449 | end |
| 450 | do |
| 451 | local p = Instance.new("Part") |
| 452 | p.Name = "MetalAccent1_6" |
| 453 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 454 | p.CFrame = CFrame.new(-7.1, 9.5, 0) * CFrame.Angles(math.rad(0), math.rad(270), math.rad(0)) |
| 455 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 456 | p.Material = Enum.Material.Glacier |
| 457 | p.MaterialVariant = "2022 Stud" |
| 458 | p.Anchored = true |
| 459 | p.Parent = model |
| 460 | end |
| 461 | do |
| 462 | local p = Instance.new("Part") |
| 463 | p.Name = "MetalAccent2_6" |
| 464 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 465 | p.CFrame = CFrame.new(-7.1, 13.5, 0) * CFrame.Angles(math.rad(0), math.rad(270), math.rad(0)) |
| 466 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 467 | p.Material = Enum.Material.Glacier |
| 468 | p.MaterialVariant = "2022 Stud" |
| 469 | p.Anchored = true |
| 470 | p.Parent = model |
| 471 | end |
| 472 | do |
| 473 | local p = Instance.new("Part") |
| 474 | p.Name = "Beam_7" |
| 475 | p.Size = Vector3.new(1.2, 5, 1.2) |
| 476 | p.CFrame = CFrame.new(-5.02046, 11.7, 5.02046) * CFrame.Angles(math.rad(0), math.rad(315), math.rad(0)) |
| 477 | p.BrickColor = BrickColor.new("Reddish brown") |
| 478 | p.Material = Enum.Material.Glacier |
| 479 | p.MaterialVariant = "2022 Small Stud" |
| 480 | p.Anchored = true |
| 481 | p.Parent = model |
| 482 | end |
| 483 | do |
| 484 | local p = Instance.new("Part") |
| 485 | p.Name = "MetalAccent1_7" |
| 486 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 487 | p.CFrame = CFrame.new(-5.02046, 9.5, 5.02046) * CFrame.Angles(math.rad(0), math.rad(315), math.rad(0)) |
| 488 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 489 | p.Material = Enum.Material.Glacier |
| 490 | p.MaterialVariant = "2022 Stud" |
| 491 | p.Anchored = true |
| 492 | p.Parent = model |
| 493 | end |
| 494 | do |
| 495 | local p = Instance.new("Part") |
| 496 | p.Name = "MetalAccent2_7" |
| 497 | p.Size = Vector3.new(1.4, 0.6, 1.4) |
| 498 | p.CFrame = CFrame.new(-5.02046, 13.5, 5.02046) * CFrame.Angles(math.rad(0), math.rad(315), math.rad(0)) |
| 499 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 500 | p.Material = Enum.Material.Glacier |
| 501 | p.MaterialVariant = "2022 Stud" |
| 502 | p.Anchored = true |
| 503 | p.Parent = model |
| 504 | end |
| 505 | do |
| 506 | local p = Instance.new("Part") |
| 507 | p.Name = "WindowFrame" |
| 508 | p.Size = Vector3.new(0.4, 2, 2) |
| 509 | p.CFrame = CFrame.new(6.9, 11.5, 0) |
| 510 | p.BrickColor = BrickColor.new("Reddish brown") |
| 511 | p.Material = Enum.Material.Glacier |
| 512 | p.MaterialVariant = "2022 Small Stud" |
| 513 | p.Anchored = true |
| 514 | p.Parent = model |
| 515 | end |
| 516 | do |
| 517 | local p = Instance.new("Part") |
| 518 | p.Name = "WindowGlass" |
| 519 | p.Size = Vector3.new(0.2, 1.2, 1.2) |
| 520 | p.CFrame = CFrame.new(7.04, 11.5, 0.04) |
| 521 | p.BrickColor = BrickColor.new("Black") |
| 522 | p.Material = Enum.Material.Glacier |
| 523 | p.MaterialVariant = "2022 Glue" |
| 524 | p.Anchored = true |
| 525 | p.Parent = model |
| 526 | end |
| 527 | do |
| 528 | local p = Instance.new("Part") |
| 529 | p.Shape = Enum.PartType.Cylinder |
| 530 | p.Name = "Band2" |
| 531 | p.Size = Vector3.new(1, 14.8, 14.8) |
| 532 | p.CFrame = CFrame.new(0, 14, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 533 | p.BrickColor = BrickColor.new("Reddish brown") |
| 534 | p.Material = Enum.Material.Glacier |
| 535 | p.MaterialVariant = "2022 Small Stud" |
| 536 | p.Anchored = true |
| 537 | p.Parent = model |
| 538 | end |
| 539 | do |
| 540 | local p = Instance.new("Part") |
| 541 | p.Shape = Enum.PartType.Cylinder |
| 542 | p.Name = "RoofBase" |
| 543 | p.Size = Vector3.new(1, 14.5, 14.5) |
| 544 | p.CFrame = CFrame.new(0, 14.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 545 | p.BrickColor = BrickColor.new("Bright blue") |
| 546 | p.Material = Enum.Material.Glacier |
| 547 | p.MaterialVariant = "2022 Universal" |
| 548 | p.Anchored = true |
| 549 | p.Parent = model |
| 550 | end |
| 551 | do |
| 552 | local p = Instance.new("Part") |
| 553 | p.Shape = Enum.PartType.Cylinder |
| 554 | p.Name = "Roof1" |
| 555 | p.Size = Vector3.new(1, 12.6, 12.6) |
| 556 | p.CFrame = CFrame.new(0, 15.54, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 557 | p.BrickColor = BrickColor.new("Bright blue") |
| 558 | p.Material = Enum.Material.Glacier |
| 559 | p.MaterialVariant = "2022 Universal" |
| 560 | p.Anchored = true |
| 561 | p.Parent = model |
| 562 | end |
| 563 | do |
| 564 | local p = Instance.new("Part") |
| 565 | p.Shape = Enum.PartType.Cylinder |
| 566 | p.Name = "Roof2" |
| 567 | p.Size = Vector3.new(1, 10.8, 10.8) |
| 568 | p.CFrame = CFrame.new(0, 16.58, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 569 | p.BrickColor = BrickColor.new("Bright blue") |
| 570 | p.Material = Enum.Material.Glacier |
| 571 | p.MaterialVariant = "2022 Universal" |
| 572 | p.Anchored = true |
| 573 | p.Parent = model |
| 574 | end |
| 575 | do |
| 576 | local p = Instance.new("Part") |
| 577 | p.Shape = Enum.PartType.Cylinder |
| 578 | p.Name = "Roof3" |
| 579 | p.Size = Vector3.new(1, 8.9, 8.9) |
| 580 | p.CFrame = CFrame.new(0, 17.62, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 581 | p.BrickColor = BrickColor.new("Bright blue") |
| 582 | p.Material = Enum.Material.Glacier |
| 583 | p.MaterialVariant = "2022 Universal" |
| 584 | p.Anchored = true |
| 585 | p.Parent = model |
| 586 | end |
| 587 | do |
| 588 | local p = Instance.new("Part") |
| 589 | p.Shape = Enum.PartType.Cylinder |
| 590 | p.Name = "Roof4" |
| 591 | p.Size = Vector3.new(1, 7.1, 7.1) |
| 592 | p.CFrame = CFrame.new(0, 18.66, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 593 | p.BrickColor = BrickColor.new("Bright blue") |
| 594 | p.Material = Enum.Material.Glacier |
| 595 | p.MaterialVariant = "2022 Universal" |
| 596 | p.Anchored = true |
| 597 | p.Parent = model |
| 598 | end |
| 599 | do |
| 600 | local p = Instance.new("Part") |
| 601 | p.Shape = Enum.PartType.Cylinder |
| 602 | p.Name = "Roof5" |
| 603 | p.Size = Vector3.new(1, 5.2, 5.2) |
| 604 | p.CFrame = CFrame.new(0, 19.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 605 | p.BrickColor = BrickColor.new("Bright blue") |
| 606 | p.Material = Enum.Material.Glacier |
| 607 | p.MaterialVariant = "2022 Universal" |
| 608 | p.Anchored = true |
| 609 | p.Parent = model |
| 610 | end |
| 611 | do |
| 612 | local p = Instance.new("Part") |
| 613 | p.Shape = Enum.PartType.Cylinder |
| 614 | p.Name = "Roof6" |
| 615 | p.Size = Vector3.new(1, 3.4, 3.4) |
| 616 | p.CFrame = CFrame.new(0, 20.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 617 | p.BrickColor = BrickColor.new("Bright blue") |
| 618 | p.Material = Enum.Material.Glacier |
| 619 | p.MaterialVariant = "2022 Universal" |
| 620 | p.Anchored = true |
| 621 | p.Parent = model |
| 622 | end |
| 623 | do |
| 624 | local p = Instance.new("Part") |
| 625 | p.Shape = Enum.PartType.Cylinder |
| 626 | p.Name = "RoofTop" |
| 627 | p.Size = Vector3.new(1, 1.5, 1.5) |
| 628 | p.CFrame = CFrame.new(0, 21.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 629 | p.BrickColor = BrickColor.new("Reddish brown") |
| 630 | p.Material = Enum.Material.Glacier |
| 631 | p.MaterialVariant = "2022 Small Stud" |
| 632 | p.Anchored = true |
| 633 | p.Parent = model |
| 634 | end |
| 635 | do |
| 636 | local p = Instance.new("Part") |
| 637 | p.Name = "RoofBeam_0" |
| 638 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 639 | p.CFrame = CFrame.new(0, 18, 4) * CFrame.Angles(math.rad(47.1211), math.rad(90), math.rad(0)) |
| 640 | p.BrickColor = BrickColor.new("Reddish brown") |
| 641 | p.Material = Enum.Material.Glacier |
| 642 | p.MaterialVariant = "2022 Small Stud" |
| 643 | p.Anchored = true |
| 644 | p.Parent = model |
| 645 | end |
| 646 | do |
| 647 | local p = Instance.new("Part") |
| 648 | p.Name = "RoofBeam_1" |
| 649 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 650 | p.CFrame = CFrame.new(2.82843, 18, 2.82843) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(-132.879)) |
| 651 | p.BrickColor = BrickColor.new("Reddish brown") |
| 652 | p.Material = Enum.Material.Glacier |
| 653 | p.MaterialVariant = "2022 Small Stud" |
| 654 | p.Anchored = true |
| 655 | p.Parent = model |
| 656 | end |
| 657 | do |
| 658 | local p = Instance.new("Part") |
| 659 | p.Name = "RoofBeam_2" |
| 660 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 661 | p.CFrame = CFrame.new(4, 18, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(-132.879)) |
| 662 | p.BrickColor = BrickColor.new("Reddish brown") |
| 663 | p.Material = Enum.Material.Glacier |
| 664 | p.MaterialVariant = "2022 Small Stud" |
| 665 | p.Anchored = true |
| 666 | p.Parent = model |
| 667 | end |
| 668 | do |
| 669 | local p = Instance.new("Part") |
| 670 | p.Name = "RoofBeam_3" |
| 671 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 672 | p.CFrame = CFrame.new(2.82843, 18, -2.82843) * CFrame.Angles(math.rad(-180), math.rad(-45), math.rad(-132.879)) |
| 673 | p.BrickColor = BrickColor.new("Reddish brown") |
| 674 | p.Material = Enum.Material.Glacier |
| 675 | p.MaterialVariant = "2022 Small Stud" |
| 676 | p.Anchored = true |
| 677 | p.Parent = model |
| 678 | end |
| 679 | do |
| 680 | local p = Instance.new("Part") |
| 681 | p.Name = "RoofBeam_4" |
| 682 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 683 | p.CFrame = CFrame.new(0, 18, -4) * CFrame.Angles(math.rad(-47.1211), math.rad(-90), math.rad(0)) |
| 684 | p.BrickColor = BrickColor.new("Reddish brown") |
| 685 | p.Material = Enum.Material.Glacier |
| 686 | p.MaterialVariant = "2022 Small Stud" |
| 687 | p.Anchored = true |
| 688 | p.Parent = model |
| 689 | end |
| 690 | do |
| 691 | local p = Instance.new("Part") |
| 692 | p.Name = "RoofBeam_5" |
| 693 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 694 | p.CFrame = CFrame.new(-2.82843, 18, -2.82843) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(47.1211)) |
| 695 | p.BrickColor = BrickColor.new("Reddish brown") |
| 696 | p.Material = Enum.Material.Glacier |
| 697 | p.MaterialVariant = "2022 Small Stud" |
| 698 | p.Anchored = true |
| 699 | p.Parent = model |
| 700 | end |
| 701 | do |
| 702 | local p = Instance.new("Part") |
| 703 | p.Name = "RoofBeam_6" |
| 704 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 705 | p.CFrame = CFrame.new(-4, 18, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(47.1211)) |
| 706 | p.BrickColor = BrickColor.new("Reddish brown") |
| 707 | p.Material = Enum.Material.Glacier |
| 708 | p.MaterialVariant = "2022 Small Stud" |
| 709 | p.Anchored = true |
| 710 | p.Parent = model |
| 711 | end |
| 712 | do |
| 713 | local p = Instance.new("Part") |
| 714 | p.Name = "RoofBeam_7" |
| 715 | p.Size = Vector3.new(9.55249, 0.6, 0.6) |
| 716 | p.CFrame = CFrame.new(-2.82843, 18, 2.82843) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(47.1211)) |
| 717 | p.BrickColor = BrickColor.new("Reddish brown") |
| 718 | p.Material = Enum.Material.Glacier |
| 719 | p.MaterialVariant = "2022 Small Stud" |
| 720 | p.Anchored = true |
| 721 | p.Parent = model |
| 722 | end |
| 723 | do |
| 724 | local p = Instance.new("Part") |
| 725 | p.Shape = Enum.PartType.Cylinder |
| 726 | p.Name = "Axle" |
| 727 | p.Size = Vector3.new(3, 1.5, 1.5) |
| 728 | p.CFrame = CFrame.new(0, 12.5, -8.04) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 729 | p.BrickColor = BrickColor.new("Reddish brown") |
| 730 | p.Material = Enum.Material.Glacier |
| 731 | p.MaterialVariant = "2022 Small Stud" |
| 732 | p.Anchored = true |
| 733 | p.Parent = model |
| 734 | end |
| 735 | do |
| 736 | local p = Instance.new("Part") |
| 737 | p.Shape = Enum.PartType.Cylinder |
| 738 | p.Name = "Hub" |
| 739 | p.Size = Vector3.new(1, 2.5, 2.5) |
| 740 | p.CFrame = CFrame.new(0, 12.5, -9.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 741 | p.BrickColor = BrickColor.new("Reddish brown") |
| 742 | p.Material = Enum.Material.Glacier |
| 743 | p.MaterialVariant = "2022 Small Stud" |
| 744 | p.Anchored = true |
| 745 | p.Parent = model |
| 746 | end |
| 747 | do |
| 748 | local p = Instance.new("Part") |
| 749 | p.Shape = Enum.PartType.Cylinder |
| 750 | p.Name = "HubCap" |
| 751 | p.Size = Vector3.new(0.5, 1.5, 1.5) |
| 752 | p.CFrame = CFrame.new(0, 12.5, -10) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 753 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 754 | p.Material = Enum.Material.Glacier |
| 755 | p.MaterialVariant = "2022 Stud" |
| 756 | p.Anchored = true |
| 757 | p.Parent = model |
| 758 | end |
| 759 | do |
| 760 | local p = Instance.new("Part") |
| 761 | p.Name = "Spar_0" |
| 762 | p.Size = Vector3.new(12, 0.6, 0.6) |
| 763 | p.CFrame = CFrame.new(5.4016, 15.0188, -9.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 764 | p.BrickColor = BrickColor.new("Reddish brown") |
| 765 | p.Material = Enum.Material.Glacier |
| 766 | p.MaterialVariant = "2022 Small Stud" |
| 767 | p.Anchored = true |
| 768 | p.Parent = model |
| 769 | end |
| 770 | do |
| 771 | local p = Instance.new("Part") |
| 772 | p.Name = "Cloth_0" |
| 773 | p.Size = Vector3.new(10, 3, 0.2) |
| 774 | p.CFrame = CFrame.new(5.71023, 16.8178, -9.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 775 | p.BrickColor = BrickColor.new("Institutional white") |
| 776 | p.Material = Enum.Material.Glacier |
| 777 | p.MaterialVariant = "2022 Stud" |
| 778 | p.Anchored = true |
| 779 | p.Parent = model |
| 780 | end |
| 781 | do |
| 782 | local p = Instance.new("Part") |
| 783 | p.Name = "FrameOuter_0" |
| 784 | p.Size = Vector3.new(10, 0.4, 0.4) |
| 785 | p.CFrame = CFrame.new(5.11255, 18.1942, -9.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 786 | p.BrickColor = BrickColor.new("Reddish brown") |
| 787 | p.Material = Enum.Material.Glacier |
| 788 | p.MaterialVariant = "2022 Small Stud" |
| 789 | p.Anchored = true |
| 790 | p.Parent = model |
| 791 | end |
| 792 | do |
| 793 | local p = Instance.new("Part") |
| 794 | p.Name = "FrameBottom_0" |
| 795 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 796 | p.CFrame = CFrame.new(1.19559, 14.6684, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 797 | p.BrickColor = BrickColor.new("Reddish brown") |
| 798 | p.Material = Enum.Material.Glacier |
| 799 | p.MaterialVariant = "2022 Small Stud" |
| 800 | p.Anchored = true |
| 801 | p.Parent = model |
| 802 | end |
| 803 | do |
| 804 | local p = Instance.new("Part") |
| 805 | p.Name = "FrameTop_0" |
| 806 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 807 | p.CFrame = CFrame.new(10.2587, 18.8946, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 808 | p.BrickColor = BrickColor.new("Reddish brown") |
| 809 | p.Material = Enum.Material.Glacier |
| 810 | p.MaterialVariant = "2022 Small Stud" |
| 811 | p.Anchored = true |
| 812 | p.Parent = model |
| 813 | end |
| 814 | do |
| 815 | local p = Instance.new("Part") |
| 816 | p.Name = "Stud1_0" |
| 817 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 818 | p.CFrame = CFrame.new(0.544761, 16.0642, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 819 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 820 | p.Material = Enum.Material.Glacier |
| 821 | p.MaterialVariant = "2022 Stud" |
| 822 | p.Anchored = true |
| 823 | p.Parent = model |
| 824 | end |
| 825 | do |
| 826 | local p = Instance.new("Part") |
| 827 | p.Name = "Stud2_0" |
| 828 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 829 | p.CFrame = CFrame.new(9.60784, 20.2903, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 830 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 831 | p.Material = Enum.Material.Glacier |
| 832 | p.MaterialVariant = "2022 Stud" |
| 833 | p.Anchored = true |
| 834 | p.Parent = model |
| 835 | end |
| 836 | do |
| 837 | local p = Instance.new("Part") |
| 838 | p.Name = "Stud3_0" |
| 839 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 840 | p.CFrame = CFrame.new(1.82953, 13.3089, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 841 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 842 | p.Material = Enum.Material.Glacier |
| 843 | p.MaterialVariant = "2022 Stud" |
| 844 | p.Anchored = true |
| 845 | p.Parent = model |
| 846 | end |
| 847 | do |
| 848 | local p = Instance.new("Part") |
| 849 | p.Name = "Stud4_0" |
| 850 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 851 | p.CFrame = CFrame.new(10.8926, 17.5351, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 852 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 853 | p.Material = Enum.Material.Glacier |
| 854 | p.MaterialVariant = "2022 Stud" |
| 855 | p.Anchored = true |
| 856 | p.Parent = model |
| 857 | end |
| 858 | do |
| 859 | local p = Instance.new("Part") |
| 860 | p.Name = "Spar_1" |
| 861 | p.Size = Vector3.new(12, 0.6, 0.6) |
| 862 | p.CFrame = CFrame.new(-2.5188, 17.9015, -9.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 863 | p.BrickColor = BrickColor.new("Reddish brown") |
| 864 | p.Material = Enum.Material.Glacier |
| 865 | p.MaterialVariant = "2022 Small Stud" |
| 866 | p.Anchored = true |
| 867 | p.Parent = model |
| 868 | end |
| 869 | do |
| 870 | local p = Instance.new("Part") |
| 871 | p.Name = "Cloth_1" |
| 872 | p.Size = Vector3.new(10, 3, 0.2) |
| 873 | p.CFrame = CFrame.new(-4.31779, 18.2102, -9.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 874 | p.BrickColor = BrickColor.new("Institutional white") |
| 875 | p.Material = Enum.Material.Glacier |
| 876 | p.MaterialVariant = "2022 Stud" |
| 877 | p.Anchored = true |
| 878 | p.Parent = model |
| 879 | end |
| 880 | do |
| 881 | local p = Instance.new("Part") |
| 882 | p.Name = "FrameOuter_1" |
| 883 | p.Size = Vector3.new(10, 0.4, 0.4) |
| 884 | p.CFrame = CFrame.new(-5.69416, 17.6126, -9.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 885 | p.BrickColor = BrickColor.new("Reddish brown") |
| 886 | p.Material = Enum.Material.Glacier |
| 887 | p.MaterialVariant = "2022 Small Stud" |
| 888 | p.Anchored = true |
| 889 | p.Parent = model |
| 890 | end |
| 891 | do |
| 892 | local p = Instance.new("Part") |
| 893 | p.Name = "FrameBottom_1" |
| 894 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 895 | p.CFrame = CFrame.new(-2.16845, 13.6956, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 896 | p.BrickColor = BrickColor.new("Reddish brown") |
| 897 | p.Material = Enum.Material.Glacier |
| 898 | p.MaterialVariant = "2022 Small Stud" |
| 899 | p.Anchored = true |
| 900 | p.Parent = model |
| 901 | end |
| 902 | do |
| 903 | local p = Instance.new("Part") |
| 904 | p.Name = "FrameTop_1" |
| 905 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 906 | p.CFrame = CFrame.new(-6.39463, 22.7587, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 907 | p.BrickColor = BrickColor.new("Reddish brown") |
| 908 | p.Material = Enum.Material.Glacier |
| 909 | p.MaterialVariant = "2022 Small Stud" |
| 910 | p.Anchored = true |
| 911 | p.Parent = model |
| 912 | end |
| 913 | do |
| 914 | local p = Instance.new("Part") |
| 915 | p.Name = "Stud1_1" |
| 916 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 917 | p.CFrame = CFrame.new(-3.56416, 13.0448, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 918 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 919 | p.Material = Enum.Material.Glacier |
| 920 | p.MaterialVariant = "2022 Stud" |
| 921 | p.Anchored = true |
| 922 | p.Parent = model |
| 923 | end |
| 924 | do |
| 925 | local p = Instance.new("Part") |
| 926 | p.Name = "Stud2_1" |
| 927 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 928 | p.CFrame = CFrame.new(-7.79034, 22.1078, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 929 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 930 | p.Material = Enum.Material.Glacier |
| 931 | p.MaterialVariant = "2022 Stud" |
| 932 | p.Anchored = true |
| 933 | p.Parent = model |
| 934 | end |
| 935 | do |
| 936 | local p = Instance.new("Part") |
| 937 | p.Name = "Stud3_1" |
| 938 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 939 | p.CFrame = CFrame.new(-0.808985, 14.3295, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 940 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 941 | p.Material = Enum.Material.Glacier |
| 942 | p.MaterialVariant = "2022 Stud" |
| 943 | p.Anchored = true |
| 944 | p.Parent = model |
| 945 | end |
| 946 | do |
| 947 | local p = Instance.new("Part") |
| 948 | p.Name = "Stud4_1" |
| 949 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 950 | p.CFrame = CFrame.new(-5.03517, 23.3926, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(115)) |
| 951 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 952 | p.Material = Enum.Material.Glacier |
| 953 | p.MaterialVariant = "2022 Stud" |
| 954 | p.Anchored = true |
| 955 | p.Parent = model |
| 956 | end |
| 957 | do |
| 958 | local p = Instance.new("Part") |
| 959 | p.Name = "Spar_2" |
| 960 | p.Size = Vector3.new(12, 0.6, 0.6) |
| 961 | p.CFrame = CFrame.new(-5.4016, 9.98119, -9.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 962 | p.BrickColor = BrickColor.new("Reddish brown") |
| 963 | p.Material = Enum.Material.Glacier |
| 964 | p.MaterialVariant = "2022 Small Stud" |
| 965 | p.Anchored = true |
| 966 | p.Parent = model |
| 967 | end |
| 968 | do |
| 969 | local p = Instance.new("Part") |
| 970 | p.Name = "Cloth_2" |
| 971 | p.Size = Vector3.new(10, 3, 0.2) |
| 972 | p.CFrame = CFrame.new(-5.71023, 8.18221, -9.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 973 | p.BrickColor = BrickColor.new("Institutional white") |
| 974 | p.Material = Enum.Material.Glacier |
| 975 | p.MaterialVariant = "2022 Stud" |
| 976 | p.Anchored = true |
| 977 | p.Parent = model |
| 978 | end |
| 979 | do |
| 980 | local p = Instance.new("Part") |
| 981 | p.Name = "FrameOuter_2" |
| 982 | p.Size = Vector3.new(10, 0.4, 0.4) |
| 983 | p.CFrame = CFrame.new(-5.04005, 6.83965, -9.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 984 | p.BrickColor = BrickColor.new("Reddish brown") |
| 985 | p.Material = Enum.Material.Glacier |
| 986 | p.MaterialVariant = "2022 Small Stud" |
| 987 | p.Anchored = true |
| 988 | p.Parent = model |
| 989 | end |
| 990 | do |
| 991 | local p = Instance.new("Part") |
| 992 | p.Name = "FrameBottom_2" |
| 993 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 994 | p.CFrame = CFrame.new(-1.16179, 10.259, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 995 | p.BrickColor = BrickColor.new("Reddish brown") |
| 996 | p.Material = Enum.Material.Glacier |
| 997 | p.MaterialVariant = "2022 Small Stud" |
| 998 | p.Anchored = true |
| 999 | p.Parent = model |
| 1000 | end |
| 1001 | do |
| 1002 | local p = Instance.new("Part") |
| 1003 | p.Name = "FrameTop_2" |
| 1004 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 1005 | p.CFrame = CFrame.new(-10.2587, 6.10537, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 1006 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1007 | p.Material = Enum.Material.Glacier |
| 1008 | p.MaterialVariant = "2022 Small Stud" |
| 1009 | p.Anchored = true |
| 1010 | p.Parent = model |
| 1011 | end |
| 1012 | do |
| 1013 | local p = Instance.new("Part") |
| 1014 | p.Name = "Stud1_2" |
| 1015 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1016 | p.CFrame = CFrame.new(-0.544761, 8.93584, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 1017 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1018 | p.Material = Enum.Material.Glacier |
| 1019 | p.MaterialVariant = "2022 Stud" |
| 1020 | p.Anchored = true |
| 1021 | p.Parent = model |
| 1022 | end |
| 1023 | do |
| 1024 | local p = Instance.new("Part") |
| 1025 | p.Name = "Stud2_2" |
| 1026 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1027 | p.CFrame = CFrame.new(-9.60784, 4.70966, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 1028 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1029 | p.Material = Enum.Material.Glacier |
| 1030 | p.MaterialVariant = "2022 Stud" |
| 1031 | p.Anchored = true |
| 1032 | p.Parent = model |
| 1033 | end |
| 1034 | do |
| 1035 | local p = Instance.new("Part") |
| 1036 | p.Name = "Stud3_2" |
| 1037 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1038 | p.CFrame = CFrame.new(-1.82953, 11.6911, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 1039 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1040 | p.Material = Enum.Material.Glacier |
| 1041 | p.MaterialVariant = "2022 Stud" |
| 1042 | p.Anchored = true |
| 1043 | p.Parent = model |
| 1044 | end |
| 1045 | do |
| 1046 | local p = Instance.new("Part") |
| 1047 | p.Name = "Stud4_2" |
| 1048 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1049 | p.CFrame = CFrame.new(-10.8926, 7.46483, -9.83) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(205)) |
| 1050 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1051 | p.Material = Enum.Material.Glacier |
| 1052 | p.MaterialVariant = "2022 Stud" |
| 1053 | p.Anchored = true |
| 1054 | p.Parent = model |
| 1055 | end |
| 1056 | do |
| 1057 | local p = Instance.new("Part") |
| 1058 | p.Name = "Spar_3" |
| 1059 | p.Size = Vector3.new(12, 0.6, 0.6) |
| 1060 | p.CFrame = CFrame.new(2.5188, 7.0984, -9.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1061 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1062 | p.Material = Enum.Material.Glacier |
| 1063 | p.MaterialVariant = "2022 Small Stud" |
| 1064 | p.Anchored = true |
| 1065 | p.Parent = model |
| 1066 | end |
| 1067 | do |
| 1068 | local p = Instance.new("Part") |
| 1069 | p.Name = "Cloth_3" |
| 1070 | p.Size = Vector3.new(10, 3, 0.2) |
| 1071 | p.CFrame = CFrame.new(4.31779, 6.78977, -9.64) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1072 | p.BrickColor = BrickColor.new("Institutional white") |
| 1073 | p.Material = Enum.Material.Glacier |
| 1074 | p.MaterialVariant = "2022 Stud" |
| 1075 | p.Anchored = true |
| 1076 | p.Parent = model |
| 1077 | end |
| 1078 | do |
| 1079 | local p = Instance.new("Part") |
| 1080 | p.Name = "FrameOuter_3" |
| 1081 | p.Size = Vector3.new(10, 0.4, 0.4) |
| 1082 | p.CFrame = CFrame.new(5.66035, 7.45995, -9.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1083 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1084 | p.Material = Enum.Material.Glacier |
| 1085 | p.MaterialVariant = "2022 Small Stud" |
| 1086 | p.Anchored = true |
| 1087 | p.Parent = model |
| 1088 | end |
| 1089 | do |
| 1090 | local p = Instance.new("Part") |
| 1091 | p.Name = "FrameBottom_3" |
| 1092 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 1093 | p.CFrame = CFrame.new(2.16845, 11.3044, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1094 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1095 | p.Material = Enum.Material.Glacier |
| 1096 | p.MaterialVariant = "2022 Small Stud" |
| 1097 | p.Anchored = true |
| 1098 | p.Parent = model |
| 1099 | end |
| 1100 | do |
| 1101 | local p = Instance.new("Part") |
| 1102 | p.Name = "FrameTop_3" |
| 1103 | p.Size = Vector3.new(0.4, 3, 0.4) |
| 1104 | p.CFrame = CFrame.new(6.39463, 2.24132, -9.61) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1105 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1106 | p.Material = Enum.Material.Glacier |
| 1107 | p.MaterialVariant = "2022 Small Stud" |
| 1108 | p.Anchored = true |
| 1109 | p.Parent = model |
| 1110 | end |
| 1111 | do |
| 1112 | local p = Instance.new("Part") |
| 1113 | p.Name = "Stud1_3" |
| 1114 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1115 | p.CFrame = CFrame.new(3.56416, 11.9552, -9.79) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1116 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1117 | p.Material = Enum.Material.Glacier |
| 1118 | p.MaterialVariant = "2022 Stud" |
| 1119 | p.Anchored = true |
| 1120 | p.Parent = model |
| 1121 | end |
| 1122 | do |
| 1123 | local p = Instance.new("Part") |
| 1124 | p.Name = "Stud2_3" |
| 1125 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1126 | p.CFrame = CFrame.new(7.79034, 2.89216, -9.79) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1127 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1128 | p.Material = Enum.Material.Glacier |
| 1129 | p.MaterialVariant = "2022 Stud" |
| 1130 | p.Anchored = true |
| 1131 | p.Parent = model |
| 1132 | end |
| 1133 | do |
| 1134 | local p = Instance.new("Part") |
| 1135 | p.Name = "Stud3_3" |
| 1136 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1137 | p.CFrame = CFrame.new(0.881489, 10.7043, -9.79) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1138 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1139 | p.Material = Enum.Material.Glacier |
| 1140 | p.MaterialVariant = "2022 Stud" |
| 1141 | p.Anchored = true |
| 1142 | p.Parent = model |
| 1143 | end |
| 1144 | do |
| 1145 | local p = Instance.new("Part") |
| 1146 | p.Name = "Stud4_3" |
| 1147 | p.Size = Vector3.new(0.6, 0.6, 0.2) |
| 1148 | p.CFrame = CFrame.new(5.10767, 1.64122, -9.79) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(295)) |
| 1149 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 1150 | p.Material = Enum.Material.Glacier |
| 1151 | p.MaterialVariant = "2022 Stud" |
| 1152 | p.Anchored = true |
| 1153 | p.Parent = model |
| 1154 | end |
| 1155 | do |
| 1156 | local rightV = Vector3.new(1,0,0).Unit |
| 1157 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1158 | local normalV = upV:Cross(rightV) |
| 1159 | local pos = Vector3.new(0, 5.12, -7.6) |
| 1160 | local cyl = Instance.new("Part") |
| 1161 | cyl.Shape = Enum.PartType.Cylinder |
| 1162 | cyl.Size = Vector3.new(0.5, 3, 3) |
| 1163 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1164 | cyl.BrickColor = BrickColor.new("Brown") |
| 1165 | cyl.Material = Enum.Material.Glacier |
| 1166 | cyl.MaterialVariant = "2022 Stud" |
| 1167 | cyl.Anchored = true; cyl.Parent = workspace |
| 1168 | local cuts = {} |
| 1169 | local angBoxes = {} |
| 1170 | do |
| 1171 | local edgeDir = 1*rightV + 0*upV |
| 1172 | local edgePerp = 0*rightV + 1*upV |
| 1173 | local cut = Instance.new("Part") |
| 1174 | cut.Size = Vector3.new(6, 0.7, 6) |
| 1175 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3 * edgePerp, edgeDir, normalV) |
| 1176 | cut.BrickColor = BrickColor.new("Brown") |
| 1177 | cut.Material = Enum.Material.Glacier |
| 1178 | cut.MaterialVariant = "2022 Stud" |
| 1179 | cut.Anchored = true; cut.Parent = workspace |
| 1180 | table.insert(angBoxes, cut) |
| 1181 | end |
| 1182 | do |
| 1183 | local edgeDir = -1*rightV + 0*upV |
| 1184 | local edgePerp = 0*rightV + -1*upV |
| 1185 | local cut = Instance.new("Part") |
| 1186 | cut.Size = Vector3.new(6, 0.7, 6) |
| 1187 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3 * edgePerp, edgeDir, normalV) |
| 1188 | cut.BrickColor = BrickColor.new("Brown") |
| 1189 | cut.Material = Enum.Material.Glacier |
| 1190 | cut.MaterialVariant = "2022 Stud" |
| 1191 | cut.Anchored = true; cut.Parent = workspace |
| 1192 | table.insert(angBoxes, cut) |
| 1193 | end |
| 1194 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1195 | if #cuts > 0 then |
| 1196 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1197 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1198 | if ok and result then |
| 1199 | cyl:Destroy() |
| 1200 | result.Name = "DoorArch"; result.Anchored = true; result.Parent = model |
| 1201 | else |
| 1202 | cyl.Name = "DoorArch"; cyl.Parent = model |
| 1203 | end |
| 1204 | else |
| 1205 | cyl.Name = "DoorArch"; cyl.Parent = model |
| 1206 | end |
| 1207 | end |
| 1208 | do |
| 1209 | local rightV = Vector3.new(1,0,0).Unit |
| 1210 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1211 | local normalV = upV:Cross(rightV) |
| 1212 | local pos = Vector3.new(0, 5, -7.7) |
| 1213 | local cyl = Instance.new("Part") |
| 1214 | cyl.Shape = Enum.PartType.Cylinder |
| 1215 | cyl.Size = Vector3.new(0.6, 4, 4) |
| 1216 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1217 | cyl.BrickColor = BrickColor.new("Medium stone grey") |
| 1218 | cyl.Material = Enum.Material.Glacier |
| 1219 | cyl.MaterialVariant = "2022 Inlet" |
| 1220 | cyl.Anchored = true; cyl.Parent = workspace |
| 1221 | local cuts = {} |
| 1222 | local hole = Instance.new("Part") |
| 1223 | hole.Shape = Enum.PartType.Cylinder |
| 1224 | hole.Size = Vector3.new(0.8, 3, 3) |
| 1225 | hole.CFrame = cyl.CFrame |
| 1226 | hole.BrickColor = BrickColor.new("Medium stone grey") |
| 1227 | hole.Material = Enum.Material.Glacier |
| 1228 | hole.MaterialVariant = "2022 Inlet" |
| 1229 | hole.Anchored = true; hole.Parent = workspace |
| 1230 | table.insert(cuts, hole) |
| 1231 | local angBoxes = {} |
| 1232 | do |
| 1233 | local edgeDir = 1*rightV + 0*upV |
| 1234 | local edgePerp = 0*rightV + 1*upV |
| 1235 | local cut = Instance.new("Part") |
| 1236 | cut.Size = Vector3.new(8, 0.8, 8) |
| 1237 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 4 * edgePerp, edgeDir, normalV) |
| 1238 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 1239 | cut.Material = Enum.Material.Glacier |
| 1240 | cut.MaterialVariant = "2022 Inlet" |
| 1241 | cut.Anchored = true; cut.Parent = workspace |
| 1242 | table.insert(angBoxes, cut) |
| 1243 | end |
| 1244 | do |
| 1245 | local edgeDir = -1*rightV + 0*upV |
| 1246 | local edgePerp = 0*rightV + -1*upV |
| 1247 | local cut = Instance.new("Part") |
| 1248 | cut.Size = Vector3.new(8, 0.8, 8) |
| 1249 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 4 * edgePerp, edgeDir, normalV) |
| 1250 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 1251 | cut.Material = Enum.Material.Glacier |
| 1252 | cut.MaterialVariant = "2022 Inlet" |
| 1253 | cut.Anchored = true; cut.Parent = workspace |
| 1254 | table.insert(angBoxes, cut) |
| 1255 | end |
| 1256 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1257 | if #cuts > 0 then |
| 1258 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1259 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1260 | if ok and result then |
| 1261 | cyl:Destroy() |
| 1262 | result.Name = "DoorFrameArch"; result.Anchored = true; result.Parent = model |
| 1263 | else |
| 1264 | cyl.Name = "DoorFrameArch"; cyl.Parent = model |
| 1265 | end |
| 1266 | else |
| 1267 | cyl.Name = "DoorFrameArch"; cyl.Parent = model |
| 1268 | end |
| 1269 | end |
| 1270 | model.PrimaryPart = model:FindFirstChild("StoneBase1") |
| 1271 | print("Windmill built: " .. #model:GetChildren() .. " parts") |
Loading comments...