Loading model...
by Sander Moi Thele · 5/15/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: MedievalVillageDiorama |
| 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 = "MedievalVillageDiorama" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Brown"] = "2022 Stud", |
| 26 | ["Dark stone grey"] = "2022 Inlet", |
| 27 | ["Earth green"] = "2022 Big Stud", |
| 28 | ["Fossil"] = "2022 Stud", |
| 29 | ["Medium stone grey"] = "2022 Inlet", |
| 30 | ["Pearl"] = "2022 Glue", |
| 31 | ["Pine Cone"] = "2022 Big Stud", |
| 32 | ["Reddish brown"] = "2022 Small Stud", |
| 33 | ["Storm blue"] = "2022 Stud", |
| 34 | ["Terra Cotta"] = "2022 Stud", |
| 35 | } |
| 36 | do |
| 37 | local p = Instance.new("Part") |
| 38 | p.Name = "BaseTop" |
| 39 | p.Size = Vector3.new(40, 2, 40) |
| 40 | p.CFrame = CFrame.new(0, 0, 0) |
| 41 | p.BrickColor = BrickColor.new("Earth green") |
| 42 | p.Material = Enum.Material.Glacier |
| 43 | p.MaterialVariant = "2022 Big Stud" |
| 44 | p.Anchored = true |
| 45 | p.Parent = model |
| 46 | end |
| 47 | do |
| 48 | local p = Instance.new("Part") |
| 49 | p.Name = "BaseMid" |
| 50 | p.Size = Vector3.new(38, 2, 38) |
| 51 | p.CFrame = CFrame.new(0, -2.04, 0) |
| 52 | p.BrickColor = BrickColor.new("Pine Cone") |
| 53 | p.Material = Enum.Material.Glacier |
| 54 | p.MaterialVariant = "2022 Big Stud" |
| 55 | p.Anchored = true |
| 56 | p.Parent = model |
| 57 | end |
| 58 | do |
| 59 | local p = Instance.new("Part") |
| 60 | p.Name = "BaseBot" |
| 61 | p.Size = Vector3.new(34, 2, 34) |
| 62 | p.CFrame = CFrame.new(0, -4.08, 0) |
| 63 | p.BrickColor = BrickColor.new("Pine Cone") |
| 64 | p.Material = Enum.Material.Glacier |
| 65 | p.MaterialVariant = "2022 Big Stud" |
| 66 | p.Anchored = true |
| 67 | p.Parent = model |
| 68 | end |
| 69 | do |
| 70 | local p = Instance.new("Part") |
| 71 | p.Name = "CastleHill1" |
| 72 | p.Size = Vector3.new(20, 2, 16) |
| 73 | p.CFrame = CFrame.new(0, 2.04, -10) |
| 74 | p.BrickColor = BrickColor.new("Earth green") |
| 75 | p.Material = Enum.Material.Glacier |
| 76 | p.MaterialVariant = "2022 Big Stud" |
| 77 | p.Anchored = true |
| 78 | p.Parent = model |
| 79 | end |
| 80 | do |
| 81 | local p = Instance.new("Part") |
| 82 | p.Name = "CastleHill2" |
| 83 | p.Size = Vector3.new(18, 2, 14) |
| 84 | p.CFrame = CFrame.new(0, 4.08, -12) |
| 85 | p.BrickColor = BrickColor.new("Earth green") |
| 86 | p.Material = Enum.Material.Glacier |
| 87 | p.MaterialVariant = "2022 Big Stud" |
| 88 | p.Anchored = true |
| 89 | p.Parent = model |
| 90 | end |
| 91 | do |
| 92 | local p = Instance.new("Part") |
| 93 | p.Name = "ChurchHill1" |
| 94 | p.Size = Vector3.new(12, 2, 12) |
| 95 | p.CFrame = CFrame.new(14, 2.04, 4.04) |
| 96 | p.BrickColor = BrickColor.new("Earth green") |
| 97 | p.Material = Enum.Material.Glacier |
| 98 | p.MaterialVariant = "2022 Big Stud" |
| 99 | p.Anchored = true |
| 100 | p.Parent = model |
| 101 | end |
| 102 | do |
| 103 | local p = Instance.new("Part") |
| 104 | p.Name = "WindmillHill1" |
| 105 | p.Size = Vector3.new(10, 2, 10) |
| 106 | p.CFrame = CFrame.new(-14, 2.08, -4) |
| 107 | p.BrickColor = BrickColor.new("Earth green") |
| 108 | p.Material = Enum.Material.Glacier |
| 109 | p.MaterialVariant = "2022 Big Stud" |
| 110 | p.Anchored = true |
| 111 | p.Parent = model |
| 112 | end |
| 113 | do |
| 114 | local p = Instance.new("Part") |
| 115 | p.Name = "CastleKeep" |
| 116 | p.Size = Vector3.new(8, 6, 6) |
| 117 | p.CFrame = CFrame.new(0, 8.12, -14) |
| 118 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 119 | p.Material = Enum.Material.Glacier |
| 120 | p.MaterialVariant = "2022 Inlet" |
| 121 | p.Anchored = true |
| 122 | p.Parent = model |
| 123 | end |
| 124 | do |
| 125 | local p = Instance.new("Part") |
| 126 | p.Name = "CastleKeepRoof" |
| 127 | p.Size = Vector3.new(8.4, 1, 6.4) |
| 128 | p.CFrame = CFrame.new(0, 11.66, -14) |
| 129 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 130 | p.Material = Enum.Material.Glacier |
| 131 | p.MaterialVariant = "2022 Inlet" |
| 132 | p.Anchored = true |
| 133 | p.Parent = model |
| 134 | end |
| 135 | do |
| 136 | local p = Instance.new("Part") |
| 137 | p.Name = "CastleKeepTower" |
| 138 | p.Size = Vector3.new(3, 4, 3) |
| 139 | p.CFrame = CFrame.new(0, 13.2, -14) |
| 140 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 141 | p.Material = Enum.Material.Glacier |
| 142 | p.MaterialVariant = "2022 Inlet" |
| 143 | p.Anchored = true |
| 144 | p.Parent = model |
| 145 | end |
| 146 | do |
| 147 | local p = Instance.new("WedgePart") |
| 148 | p.Name = "CastleKeepSpire" |
| 149 | p.Size = Vector3.new(3.4, 2, 3.4) |
| 150 | p.CFrame = CFrame.new(0, 16.2, -14) |
| 151 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 152 | p.Material = Enum.Material.Glacier |
| 153 | p.MaterialVariant = "2022 Inlet" |
| 154 | p.Anchored = true |
| 155 | p.Parent = model |
| 156 | end |
| 157 | do |
| 158 | local p = Instance.new("Part") |
| 159 | p.Name = "CastleWallFront" |
| 160 | p.Size = Vector3.new(12, 4, 1) |
| 161 | p.CFrame = CFrame.new(0, 7.12, -11) |
| 162 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 163 | p.Material = Enum.Material.Glacier |
| 164 | p.MaterialVariant = "2022 Inlet" |
| 165 | p.Anchored = true |
| 166 | p.Parent = model |
| 167 | end |
| 168 | do |
| 169 | local p = Instance.new("Part") |
| 170 | p.Name = "CastleWallLeft" |
| 171 | p.Size = Vector3.new(1, 4, 6) |
| 172 | p.CFrame = CFrame.new(-6, 7.12, -14) |
| 173 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 174 | p.Material = Enum.Material.Glacier |
| 175 | p.MaterialVariant = "2022 Inlet" |
| 176 | p.Anchored = true |
| 177 | p.Parent = model |
| 178 | end |
| 179 | do |
| 180 | local p = Instance.new("Part") |
| 181 | p.Name = "CastleWallRight" |
| 182 | p.Size = Vector3.new(1, 4, 6) |
| 183 | p.CFrame = CFrame.new(6, 7.12, -14) |
| 184 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 185 | p.Material = Enum.Material.Glacier |
| 186 | p.MaterialVariant = "2022 Inlet" |
| 187 | p.Anchored = true |
| 188 | p.Parent = model |
| 189 | end |
| 190 | do |
| 191 | local p = Instance.new("Part") |
| 192 | p.Name = "CastleTower_-6_3" |
| 193 | p.Size = Vector3.new(2.5, 6, 2.5) |
| 194 | p.CFrame = CFrame.new(-6, 8.16, -11) |
| 195 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 196 | p.Material = Enum.Material.Glacier |
| 197 | p.MaterialVariant = "2022 Inlet" |
| 198 | p.Anchored = true |
| 199 | p.Parent = model |
| 200 | end |
| 201 | do |
| 202 | local p = Instance.new("Part") |
| 203 | p.Name = "CastleTowerRoof_-6_3" |
| 204 | p.Size = Vector3.new(3, 1, 3) |
| 205 | p.CFrame = CFrame.new(-6, 11.7, -11) |
| 206 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 207 | p.Material = Enum.Material.Glacier |
| 208 | p.MaterialVariant = "2022 Inlet" |
| 209 | p.Anchored = true |
| 210 | p.Parent = model |
| 211 | end |
| 212 | do |
| 213 | local p = Instance.new("Part") |
| 214 | p.Shape = Enum.PartType.Cylinder |
| 215 | p.Name = "CastleFlagPole_-6" |
| 216 | p.Size = Vector3.new(3, 0.2, 0.2) |
| 217 | p.CFrame = CFrame.new(-6, 13, -11) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 218 | p.BrickColor = BrickColor.new("Reddish brown") |
| 219 | p.Material = Enum.Material.Glacier |
| 220 | p.MaterialVariant = "2022 Small Stud" |
| 221 | p.Anchored = true |
| 222 | p.Parent = model |
| 223 | end |
| 224 | do |
| 225 | local p = Instance.new("Part") |
| 226 | p.Name = "CastleFlag_-6" |
| 227 | p.Size = Vector3.new(1, 0.8, 0.1) |
| 228 | p.CFrame = CFrame.new(-5.4, 13.5, -11) |
| 229 | p.BrickColor = BrickColor.new("Bright blue") |
| 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 = "CastleTower_6_3" |
| 238 | p.Size = Vector3.new(2.5, 6, 2.5) |
| 239 | p.CFrame = CFrame.new(6, 8.2, -11) |
| 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.Name = "CastleTowerRoof_6_3" |
| 249 | p.Size = Vector3.new(3, 1, 3) |
| 250 | p.CFrame = CFrame.new(6, 11.7, -11) |
| 251 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 252 | p.Material = Enum.Material.Glacier |
| 253 | p.MaterialVariant = "2022 Inlet" |
| 254 | p.Anchored = true |
| 255 | p.Parent = model |
| 256 | end |
| 257 | do |
| 258 | local p = Instance.new("Part") |
| 259 | p.Shape = Enum.PartType.Cylinder |
| 260 | p.Name = "CastleFlagPole_6" |
| 261 | p.Size = Vector3.new(3, 0.2, 0.2) |
| 262 | p.CFrame = CFrame.new(6, 13, -11) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 263 | p.BrickColor = BrickColor.new("Reddish brown") |
| 264 | p.Material = Enum.Material.Glacier |
| 265 | p.MaterialVariant = "2022 Small Stud" |
| 266 | p.Anchored = true |
| 267 | p.Parent = model |
| 268 | end |
| 269 | do |
| 270 | local p = Instance.new("Part") |
| 271 | p.Name = "CastleFlag_6" |
| 272 | p.Size = Vector3.new(1, 0.8, 0.1) |
| 273 | p.CFrame = CFrame.new(6.6, 13.5, -11) |
| 274 | p.BrickColor = BrickColor.new("Bright blue") |
| 275 | p.Material = Enum.Material.Glacier |
| 276 | p.MaterialVariant = "2022 Universal" |
| 277 | p.Anchored = true |
| 278 | p.Parent = model |
| 279 | end |
| 280 | do |
| 281 | local p = Instance.new("Part") |
| 282 | p.Name = "CastleTower_-6_-3" |
| 283 | p.Size = Vector3.new(2.5, 6, 2.5) |
| 284 | p.CFrame = CFrame.new(-6, 8.12, -17) |
| 285 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 286 | p.Material = Enum.Material.Glacier |
| 287 | p.MaterialVariant = "2022 Inlet" |
| 288 | p.Anchored = true |
| 289 | p.Parent = model |
| 290 | end |
| 291 | do |
| 292 | local p = Instance.new("Part") |
| 293 | p.Name = "CastleTowerRoof_-6_-3" |
| 294 | p.Size = Vector3.new(3, 1, 3) |
| 295 | p.CFrame = CFrame.new(-6, 11.66, -17) |
| 296 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 297 | p.Material = Enum.Material.Glacier |
| 298 | p.MaterialVariant = "2022 Inlet" |
| 299 | p.Anchored = true |
| 300 | p.Parent = model |
| 301 | end |
| 302 | do |
| 303 | local p = Instance.new("Part") |
| 304 | p.Name = "CastleTower_6_-3" |
| 305 | p.Size = Vector3.new(2.5, 6, 2.5) |
| 306 | p.CFrame = CFrame.new(6, 8.12, -17) |
| 307 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 308 | p.Material = Enum.Material.Glacier |
| 309 | p.MaterialVariant = "2022 Inlet" |
| 310 | p.Anchored = true |
| 311 | p.Parent = model |
| 312 | end |
| 313 | do |
| 314 | local p = Instance.new("Part") |
| 315 | p.Name = "CastleTowerRoof_6_-3" |
| 316 | p.Size = Vector3.new(3, 1, 3) |
| 317 | p.CFrame = CFrame.new(6, 11.66, -17) |
| 318 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 319 | p.Material = Enum.Material.Glacier |
| 320 | p.MaterialVariant = "2022 Inlet" |
| 321 | p.Anchored = true |
| 322 | p.Parent = model |
| 323 | end |
| 324 | do |
| 325 | local p = Instance.new("Part") |
| 326 | p.Name = "CastleGate" |
| 327 | p.Size = Vector3.new(2, 3, 0.2) |
| 328 | p.CFrame = CFrame.new(0, 6.62, -10.86) |
| 329 | p.BrickColor = BrickColor.new("Reddish brown") |
| 330 | p.Material = Enum.Material.Glacier |
| 331 | p.MaterialVariant = "2022 Small Stud" |
| 332 | p.Anchored = true |
| 333 | p.Parent = model |
| 334 | end |
| 335 | do |
| 336 | local p = Instance.new("Part") |
| 337 | p.Name = "ChurchMain" |
| 338 | p.Size = Vector3.new(6, 4, 8) |
| 339 | p.CFrame = CFrame.new(14, 5.08, 4) |
| 340 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 341 | p.Material = Enum.Material.Glacier |
| 342 | p.MaterialVariant = "2022 Inlet" |
| 343 | p.Anchored = true |
| 344 | p.Parent = model |
| 345 | end |
| 346 | do |
| 347 | local p = Instance.new("WedgePart") |
| 348 | p.Name = "ChurchRoof1" |
| 349 | p.Size = Vector3.new(3, 2, 8.4) |
| 350 | p.CFrame = CFrame.new(12.5, 8.16, 4.04) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 351 | p.BrickColor = BrickColor.new("Storm blue") |
| 352 | p.Material = Enum.Material.Glacier |
| 353 | p.MaterialVariant = "2022 Stud" |
| 354 | p.Anchored = true |
| 355 | p.Parent = model |
| 356 | end |
| 357 | do |
| 358 | local p = Instance.new("WedgePart") |
| 359 | p.Name = "ChurchRoof2" |
| 360 | p.Size = Vector3.new(3, 2, 8.4) |
| 361 | p.CFrame = CFrame.new(15.5, 8.12, 4) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) |
| 362 | p.BrickColor = BrickColor.new("Storm blue") |
| 363 | p.Material = Enum.Material.Glacier |
| 364 | p.MaterialVariant = "2022 Stud" |
| 365 | p.Anchored = true |
| 366 | p.Parent = model |
| 367 | end |
| 368 | do |
| 369 | local p = Instance.new("Part") |
| 370 | p.Name = "ChurchTower" |
| 371 | p.Size = Vector3.new(4, 8, 4) |
| 372 | p.CFrame = CFrame.new(14, 7.12, 0) |
| 373 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 374 | p.Material = Enum.Material.Glacier |
| 375 | p.MaterialVariant = "2022 Inlet" |
| 376 | p.Anchored = true |
| 377 | p.Parent = model |
| 378 | end |
| 379 | do |
| 380 | local p = Instance.new("WedgePart") |
| 381 | p.Name = "ChurchSpire" |
| 382 | p.Size = Vector3.new(4.4, 4, 4.4) |
| 383 | p.CFrame = CFrame.new(14, 13.16, 0) |
| 384 | p.BrickColor = BrickColor.new("Storm blue") |
| 385 | p.Material = Enum.Material.Glacier |
| 386 | p.MaterialVariant = "2022 Stud" |
| 387 | p.Anchored = true |
| 388 | p.Parent = model |
| 389 | end |
| 390 | do |
| 391 | local p = Instance.new("Part") |
| 392 | p.Name = "ChurchWindow" |
| 393 | p.Size = Vector3.new(1, 1.5, 0.1) |
| 394 | p.CFrame = CFrame.new(14, 9, -0.1) |
| 395 | p.BrickColor = BrickColor.new("Cool yellow") |
| 396 | p.Material = Enum.Material.Neon |
| 397 | p.Anchored = true |
| 398 | p.Parent = model |
| 399 | end |
| 400 | do |
| 401 | local p = Instance.new("Part") |
| 402 | p.Name = "WindmillBase" |
| 403 | p.Size = Vector3.new(4, 4, 4) |
| 404 | p.CFrame = CFrame.new(-14, 5.12, -4.04) |
| 405 | p.BrickColor = BrickColor.new("Reddish brown") |
| 406 | p.Material = Enum.Material.Glacier |
| 407 | p.MaterialVariant = "2022 Small Stud" |
| 408 | p.Anchored = true |
| 409 | p.Parent = model |
| 410 | end |
| 411 | do |
| 412 | local p = Instance.new("Part") |
| 413 | p.Name = "WindmillMid" |
| 414 | p.Size = Vector3.new(3, 2, 3) |
| 415 | p.CFrame = CFrame.new(-14, 8.16, -4) |
| 416 | p.BrickColor = BrickColor.new("Pearl") |
| 417 | p.Material = Enum.Material.Glacier |
| 418 | p.MaterialVariant = "2022 Glue" |
| 419 | p.Anchored = true |
| 420 | p.Parent = model |
| 421 | end |
| 422 | do |
| 423 | local p = Instance.new("Part") |
| 424 | p.Name = "WindmillRoof" |
| 425 | p.Size = Vector3.new(3.4, 1.5, 3.4) |
| 426 | p.CFrame = CFrame.new(-14, 9.5, -4) |
| 427 | p.BrickColor = BrickColor.new("Terra Cotta") |
| 428 | p.Material = Enum.Material.Glacier |
| 429 | p.MaterialVariant = "2022 Stud" |
| 430 | p.Anchored = true |
| 431 | p.Parent = model |
| 432 | end |
| 433 | do |
| 434 | local p = Instance.new("Part") |
| 435 | p.Shape = Enum.PartType.Cylinder |
| 436 | p.Name = "WindmillAxle" |
| 437 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 438 | p.CFrame = CFrame.new(-14, 8, -2.44) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 439 | p.BrickColor = BrickColor.new("Reddish brown") |
| 440 | p.Material = Enum.Material.Glacier |
| 441 | p.MaterialVariant = "2022 Small Stud" |
| 442 | p.Anchored = true |
| 443 | p.Parent = model |
| 444 | end |
| 445 | do |
| 446 | local p = Instance.new("Part") |
| 447 | p.Name = "WindmillSail_0" |
| 448 | p.Size = Vector3.new(4, 0.8, 0.2) |
| 449 | p.CFrame = CFrame.new(-12.2322, 9.76777, -2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 450 | p.BrickColor = BrickColor.new("Pearl") |
| 451 | p.Material = Enum.Material.Glacier |
| 452 | p.MaterialVariant = "2022 Glue" |
| 453 | p.Anchored = true |
| 454 | p.Parent = model |
| 455 | end |
| 456 | do |
| 457 | local p = Instance.new("Part") |
| 458 | p.Name = "WindmillArm_0" |
| 459 | p.Size = Vector3.new(5, 0.2, 0.2) |
| 460 | p.CFrame = CFrame.new(-12.2322, 9.76777, -2.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 461 | p.BrickColor = BrickColor.new("Reddish brown") |
| 462 | p.Material = Enum.Material.Glacier |
| 463 | p.MaterialVariant = "2022 Small Stud" |
| 464 | p.Anchored = true |
| 465 | p.Parent = model |
| 466 | end |
| 467 | do |
| 468 | local p = Instance.new("Part") |
| 469 | p.Name = "WindmillSail_1" |
| 470 | p.Size = Vector3.new(4, 0.8, 0.2) |
| 471 | p.CFrame = CFrame.new(-15.7678, 9.76777, -2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(135)) |
| 472 | p.BrickColor = BrickColor.new("Pearl") |
| 473 | p.Material = Enum.Material.Glacier |
| 474 | p.MaterialVariant = "2022 Glue" |
| 475 | p.Anchored = true |
| 476 | p.Parent = model |
| 477 | end |
| 478 | do |
| 479 | local p = Instance.new("Part") |
| 480 | p.Name = "WindmillArm_1" |
| 481 | p.Size = Vector3.new(5, 0.2, 0.2) |
| 482 | p.CFrame = CFrame.new(-15.7678, 9.76777, -2.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(135)) |
| 483 | p.BrickColor = BrickColor.new("Reddish brown") |
| 484 | p.Material = Enum.Material.Glacier |
| 485 | p.MaterialVariant = "2022 Small Stud" |
| 486 | p.Anchored = true |
| 487 | p.Parent = model |
| 488 | end |
| 489 | do |
| 490 | local p = Instance.new("Part") |
| 491 | p.Name = "WindmillSail_2" |
| 492 | p.Size = Vector3.new(4, 0.8, 0.2) |
| 493 | p.CFrame = CFrame.new(-15.7678, 6.23223, -1.96) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(225)) |
| 494 | p.BrickColor = BrickColor.new("Pearl") |
| 495 | p.Material = Enum.Material.Glacier |
| 496 | p.MaterialVariant = "2022 Glue" |
| 497 | p.Anchored = true |
| 498 | p.Parent = model |
| 499 | end |
| 500 | do |
| 501 | local p = Instance.new("Part") |
| 502 | p.Name = "WindmillArm_2" |
| 503 | p.Size = Vector3.new(5, 0.2, 0.2) |
| 504 | p.CFrame = CFrame.new(-15.7678, 6.23223, -2.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(225)) |
| 505 | p.BrickColor = BrickColor.new("Reddish brown") |
| 506 | p.Material = Enum.Material.Glacier |
| 507 | p.MaterialVariant = "2022 Small Stud" |
| 508 | p.Anchored = true |
| 509 | p.Parent = model |
| 510 | end |
| 511 | do |
| 512 | local p = Instance.new("Part") |
| 513 | p.Name = "WindmillSail_3" |
| 514 | p.Size = Vector3.new(4, 0.8, 0.2) |
| 515 | p.CFrame = CFrame.new(-12.2322, 6.23223, -1.96) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(315)) |
| 516 | p.BrickColor = BrickColor.new("Pearl") |
| 517 | p.Material = Enum.Material.Glacier |
| 518 | p.MaterialVariant = "2022 Glue" |
| 519 | p.Anchored = true |
| 520 | p.Parent = model |
| 521 | end |
| 522 | do |
| 523 | local p = Instance.new("Part") |
| 524 | p.Name = "WindmillArm_3" |
| 525 | p.Size = Vector3.new(5, 0.2, 0.2) |
| 526 | p.CFrame = CFrame.new(-12.2322, 6.23223, -2.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(315)) |
| 527 | p.BrickColor = BrickColor.new("Reddish brown") |
| 528 | p.Material = Enum.Material.Glacier |
| 529 | p.MaterialVariant = "2022 Small Stud" |
| 530 | p.Anchored = true |
| 531 | p.Parent = model |
| 532 | end |
| 533 | do |
| 534 | local p = Instance.new("Part") |
| 535 | p.Name = "House1_Base" |
| 536 | p.Size = Vector3.new(5, 3, 4) |
| 537 | p.CFrame = CFrame.new(-6, 2.54, 4) |
| 538 | p.BrickColor = BrickColor.new("Pearl") |
| 539 | p.Material = Enum.Material.Glacier |
| 540 | p.MaterialVariant = "2022 Glue" |
| 541 | p.Anchored = true |
| 542 | p.Parent = model |
| 543 | end |
| 544 | do |
| 545 | local p = Instance.new("Part") |
| 546 | p.Name = "House1_Timber1" |
| 547 | p.Size = Vector3.new(5.1, 0.2, 0.1) |
| 548 | p.CFrame = CFrame.new(-6, 2.5, 6.09) |
| 549 | p.BrickColor = BrickColor.new("Reddish brown") |
| 550 | p.Material = Enum.Material.Glacier |
| 551 | p.MaterialVariant = "2022 Small Stud" |
| 552 | p.Anchored = true |
| 553 | p.Parent = model |
| 554 | end |
| 555 | do |
| 556 | local p = Instance.new("Part") |
| 557 | p.Name = "House1_Timber2" |
| 558 | p.Size = Vector3.new(5.1, 0.2, 0.1) |
| 559 | p.CFrame = CFrame.new(-6, 2.5, 1.91) |
| 560 | p.BrickColor = BrickColor.new("Reddish brown") |
| 561 | p.Material = Enum.Material.Glacier |
| 562 | p.MaterialVariant = "2022 Small Stud" |
| 563 | p.Anchored = true |
| 564 | p.Parent = model |
| 565 | end |
| 566 | do |
| 567 | local p = Instance.new("WedgePart") |
| 568 | p.Name = "House1_RoofL" |
| 569 | p.Size = Vector3.new(2.5, 1.5, 4.4) |
| 570 | p.CFrame = CFrame.new(-7.25, 4.7, 4) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 571 | p.BrickColor = BrickColor.new("Storm blue") |
| 572 | p.Material = Enum.Material.Glacier |
| 573 | p.MaterialVariant = "2022 Stud" |
| 574 | p.Anchored = true |
| 575 | p.Parent = model |
| 576 | end |
| 577 | do |
| 578 | local p = Instance.new("WedgePart") |
| 579 | p.Name = "House1_RoofR" |
| 580 | p.Size = Vector3.new(2.5, 1.5, 4.4) |
| 581 | p.CFrame = CFrame.new(-4.75, 4.7, 4) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) |
| 582 | p.BrickColor = BrickColor.new("Storm blue") |
| 583 | p.Material = Enum.Material.Glacier |
| 584 | p.MaterialVariant = "2022 Stud" |
| 585 | p.Anchored = true |
| 586 | p.Parent = model |
| 587 | end |
| 588 | do |
| 589 | local p = Instance.new("Part") |
| 590 | p.Name = "House1_Window" |
| 591 | p.Size = Vector3.new(1, 1, 0.1) |
| 592 | p.CFrame = CFrame.new(-6, 2.5, 6.14) |
| 593 | p.BrickColor = BrickColor.new("Cool yellow") |
| 594 | p.Material = Enum.Material.Neon |
| 595 | p.Anchored = true |
| 596 | p.Parent = model |
| 597 | end |
| 598 | do |
| 599 | local p = Instance.new("Part") |
| 600 | p.Name = "House2_Base" |
| 601 | p.Size = Vector3.new(6, 3, 5) |
| 602 | p.CFrame = CFrame.new(0, 2.54, 6) |
| 603 | p.BrickColor = BrickColor.new("Pearl") |
| 604 | p.Material = Enum.Material.Glacier |
| 605 | p.MaterialVariant = "2022 Glue" |
| 606 | p.Anchored = true |
| 607 | p.Parent = model |
| 608 | end |
| 609 | do |
| 610 | local p = Instance.new("Part") |
| 611 | p.Name = "House2_Timber1" |
| 612 | p.Size = Vector3.new(6.1, 0.2, 0.1) |
| 613 | p.CFrame = CFrame.new(0, 2.5, 8.59) |
| 614 | p.BrickColor = BrickColor.new("Reddish brown") |
| 615 | p.Material = Enum.Material.Glacier |
| 616 | p.MaterialVariant = "2022 Small Stud" |
| 617 | p.Anchored = true |
| 618 | p.Parent = model |
| 619 | end |
| 620 | do |
| 621 | local p = Instance.new("Part") |
| 622 | p.Name = "House2_Timber2" |
| 623 | p.Size = Vector3.new(6.1, 0.2, 0.1) |
| 624 | p.CFrame = CFrame.new(0, 2.5, 3.41) |
| 625 | p.BrickColor = BrickColor.new("Reddish brown") |
| 626 | p.Material = Enum.Material.Glacier |
| 627 | p.MaterialVariant = "2022 Small Stud" |
| 628 | p.Anchored = true |
| 629 | p.Parent = model |
| 630 | end |
| 631 | do |
| 632 | local p = Instance.new("WedgePart") |
| 633 | p.Name = "House2_RoofL" |
| 634 | p.Size = Vector3.new(3, 1.5, 5.4) |
| 635 | p.CFrame = CFrame.new(-1.5, 4.7, 6) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 636 | p.BrickColor = BrickColor.new("Brown") |
| 637 | p.Material = Enum.Material.Glacier |
| 638 | p.MaterialVariant = "2022 Stud" |
| 639 | p.Anchored = true |
| 640 | p.Parent = model |
| 641 | end |
| 642 | do |
| 643 | local p = Instance.new("WedgePart") |
| 644 | p.Name = "House2_RoofR" |
| 645 | p.Size = Vector3.new(3, 1.5, 5.4) |
| 646 | p.CFrame = CFrame.new(1.5, 4.7, 6) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) |
| 647 | p.BrickColor = BrickColor.new("Brown") |
| 648 | p.Material = Enum.Material.Glacier |
| 649 | p.MaterialVariant = "2022 Stud" |
| 650 | p.Anchored = true |
| 651 | p.Parent = model |
| 652 | end |
| 653 | do |
| 654 | local p = Instance.new("Part") |
| 655 | p.Name = "House2_Window" |
| 656 | p.Size = Vector3.new(1, 1, 0.1) |
| 657 | p.CFrame = CFrame.new(0, 2.5, 8.64) |
| 658 | p.BrickColor = BrickColor.new("Cool yellow") |
| 659 | p.Material = Enum.Material.Neon |
| 660 | p.Anchored = true |
| 661 | p.Parent = model |
| 662 | end |
| 663 | do |
| 664 | local p = Instance.new("Part") |
| 665 | p.Name = "House3_Base" |
| 666 | p.Size = Vector3.new(5, 3, 4) |
| 667 | p.CFrame = CFrame.new(6, 2.58, 8) |
| 668 | p.BrickColor = BrickColor.new("Pearl") |
| 669 | p.Material = Enum.Material.Glacier |
| 670 | p.MaterialVariant = "2022 Glue" |
| 671 | p.Anchored = true |
| 672 | p.Parent = model |
| 673 | end |
| 674 | do |
| 675 | local p = Instance.new("Part") |
| 676 | p.Name = "House3_Timber1" |
| 677 | p.Size = Vector3.new(5.1, 0.2, 0.1) |
| 678 | p.CFrame = CFrame.new(6, 2.5, 10.13) |
| 679 | p.BrickColor = BrickColor.new("Reddish brown") |
| 680 | p.Material = Enum.Material.Glacier |
| 681 | p.MaterialVariant = "2022 Small Stud" |
| 682 | p.Anchored = true |
| 683 | p.Parent = model |
| 684 | end |
| 685 | do |
| 686 | local p = Instance.new("Part") |
| 687 | p.Name = "House3_Timber2" |
| 688 | p.Size = Vector3.new(5.1, 0.2, 0.1) |
| 689 | p.CFrame = CFrame.new(6, 2.5, 5.91) |
| 690 | p.BrickColor = BrickColor.new("Reddish brown") |
| 691 | p.Material = Enum.Material.Glacier |
| 692 | p.MaterialVariant = "2022 Small Stud" |
| 693 | p.Anchored = true |
| 694 | p.Parent = model |
| 695 | end |
| 696 | do |
| 697 | local p = Instance.new("WedgePart") |
| 698 | p.Name = "House3_RoofL" |
| 699 | p.Size = Vector3.new(2.5, 1.5, 4.4) |
| 700 | p.CFrame = CFrame.new(4.75, 4.62, 8) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 701 | p.BrickColor = BrickColor.new("Terra Cotta") |
| 702 | p.Material = Enum.Material.Glacier |
| 703 | p.MaterialVariant = "2022 Stud" |
| 704 | p.Anchored = true |
| 705 | p.Parent = model |
| 706 | end |
| 707 | do |
| 708 | local p = Instance.new("WedgePart") |
| 709 | p.Name = "House3_RoofR" |
| 710 | p.Size = Vector3.new(2.5, 1.5, 4.4) |
| 711 | p.CFrame = CFrame.new(7.25, 4.62, 8) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) |
| 712 | p.BrickColor = BrickColor.new("Terra Cotta") |
| 713 | p.Material = Enum.Material.Glacier |
| 714 | p.MaterialVariant = "2022 Stud" |
| 715 | p.Anchored = true |
| 716 | p.Parent = model |
| 717 | end |
| 718 | do |
| 719 | local p = Instance.new("Part") |
| 720 | p.Name = "House3_Window" |
| 721 | p.Size = Vector3.new(1, 1, 0.1) |
| 722 | p.CFrame = CFrame.new(6, 2.5, 10.1) |
| 723 | p.BrickColor = BrickColor.new("Cool yellow") |
| 724 | p.Material = Enum.Material.Neon |
| 725 | p.Anchored = true |
| 726 | p.Parent = model |
| 727 | end |
| 728 | do |
| 729 | local p = Instance.new("Part") |
| 730 | p.Name = "House4_Base" |
| 731 | p.Size = Vector3.new(4, 3, 5) |
| 732 | p.CFrame = CFrame.new(8, 2.58, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 733 | p.BrickColor = BrickColor.new("Pearl") |
| 734 | p.Material = Enum.Material.Glacier |
| 735 | p.MaterialVariant = "2022 Glue" |
| 736 | p.Anchored = true |
| 737 | p.Parent = model |
| 738 | end |
| 739 | do |
| 740 | local p = Instance.new("Part") |
| 741 | p.Name = "House4_Timber1" |
| 742 | p.Size = Vector3.new(4.1, 0.2, 0.1) |
| 743 | p.CFrame = CFrame.new(7.92, 2.5, 2.55) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 744 | p.BrickColor = BrickColor.new("Reddish brown") |
| 745 | p.Material = Enum.Material.Glacier |
| 746 | p.MaterialVariant = "2022 Small Stud" |
| 747 | p.Anchored = true |
| 748 | p.Parent = model |
| 749 | end |
| 750 | do |
| 751 | local p = Instance.new("Part") |
| 752 | p.Name = "House4_Timber2" |
| 753 | p.Size = Vector3.new(4.1, 0.2, 0.1) |
| 754 | p.CFrame = CFrame.new(8, 2.5, -2.55) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 755 | p.BrickColor = BrickColor.new("Reddish brown") |
| 756 | p.Material = Enum.Material.Glacier |
| 757 | p.MaterialVariant = "2022 Small Stud" |
| 758 | p.Anchored = true |
| 759 | p.Parent = model |
| 760 | end |
| 761 | do |
| 762 | local p = Instance.new("WedgePart") |
| 763 | p.Name = "House4_RoofF" |
| 764 | p.Size = Vector3.new(5.4, 1.5, 2) |
| 765 | p.CFrame = CFrame.new(8, 4.5, -1.04) |
| 766 | p.BrickColor = BrickColor.new("Brown") |
| 767 | p.Material = Enum.Material.Glacier |
| 768 | p.MaterialVariant = "2022 Stud" |
| 769 | p.Anchored = true |
| 770 | p.Parent = model |
| 771 | end |
| 772 | do |
| 773 | local p = Instance.new("WedgePart") |
| 774 | p.Name = "House4_RoofB" |
| 775 | p.Size = Vector3.new(5.4, 1.5, 2) |
| 776 | p.CFrame = CFrame.new(8, 4.5, 1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) |
| 777 | p.BrickColor = BrickColor.new("Brown") |
| 778 | p.Material = Enum.Material.Glacier |
| 779 | p.MaterialVariant = "2022 Stud" |
| 780 | p.Anchored = true |
| 781 | p.Parent = model |
| 782 | end |
| 783 | do |
| 784 | local p = Instance.new("Part") |
| 785 | p.Name = "House4_Window" |
| 786 | p.Size = Vector3.new(1, 1, 0.1) |
| 787 | p.CFrame = CFrame.new(8, 2.58, 2.6) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 788 | p.BrickColor = BrickColor.new("Cool yellow") |
| 789 | p.Material = Enum.Material.Neon |
| 790 | p.Anchored = true |
| 791 | p.Parent = model |
| 792 | end |
| 793 | do |
| 794 | local p = Instance.new("Part") |
| 795 | p.Name = "FrontGateWall" |
| 796 | p.Size = Vector3.new(10, 4, 1) |
| 797 | p.CFrame = CFrame.new(0, 3.04, 16) |
| 798 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 799 | p.Material = Enum.Material.Glacier |
| 800 | p.MaterialVariant = "2022 Inlet" |
| 801 | p.Anchored = true |
| 802 | p.Parent = model |
| 803 | end |
| 804 | do |
| 805 | local p = Instance.new("Part") |
| 806 | p.Name = "FrontGateTowerL" |
| 807 | p.Size = Vector3.new(2, 6, 2) |
| 808 | p.CFrame = CFrame.new(-5, 4.08, 16) |
| 809 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 810 | p.Material = Enum.Material.Glacier |
| 811 | p.MaterialVariant = "2022 Inlet" |
| 812 | p.Anchored = true |
| 813 | p.Parent = model |
| 814 | end |
| 815 | do |
| 816 | local p = Instance.new("Part") |
| 817 | p.Name = "FrontGateTowerR" |
| 818 | p.Size = Vector3.new(2, 6, 2) |
| 819 | p.CFrame = CFrame.new(5, 4.08, 16) |
| 820 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 821 | p.Material = Enum.Material.Glacier |
| 822 | p.MaterialVariant = "2022 Inlet" |
| 823 | p.Anchored = true |
| 824 | p.Parent = model |
| 825 | end |
| 826 | do |
| 827 | local p = Instance.new("Part") |
| 828 | p.Name = "FrontGateBannerL" |
| 829 | p.Size = Vector3.new(1, 2, 0.1) |
| 830 | p.CFrame = CFrame.new(-5, 4, 17.1) |
| 831 | p.BrickColor = BrickColor.new("Bright blue") |
| 832 | p.Material = Enum.Material.Glacier |
| 833 | p.MaterialVariant = "2022 Universal" |
| 834 | p.Anchored = true |
| 835 | p.Parent = model |
| 836 | end |
| 837 | do |
| 838 | local p = Instance.new("Part") |
| 839 | p.Name = "FrontGateBannerR" |
| 840 | p.Size = Vector3.new(1, 2, 0.1) |
| 841 | p.CFrame = CFrame.new(5, 4, 17.1) |
| 842 | p.BrickColor = BrickColor.new("Bright blue") |
| 843 | p.Material = Enum.Material.Glacier |
| 844 | p.MaterialVariant = "2022 Universal" |
| 845 | p.Anchored = true |
| 846 | p.Parent = model |
| 847 | end |
| 848 | do |
| 849 | local p = Instance.new("Part") |
| 850 | p.Shape = Enum.PartType.Cylinder |
| 851 | p.Name = "Tree1_Trunk" |
| 852 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 853 | p.CFrame = CFrame.new(-10, 1.54, 10) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 854 | p.BrickColor = BrickColor.new("Reddish brown") |
| 855 | p.Material = Enum.Material.Glacier |
| 856 | p.MaterialVariant = "2022 Small Stud" |
| 857 | p.Anchored = true |
| 858 | p.Parent = model |
| 859 | end |
| 860 | do |
| 861 | local p = Instance.new("Part") |
| 862 | p.Name = "Tree1_Leaves1" |
| 863 | p.Size = Vector3.new(2, 1.5, 2) |
| 864 | p.CFrame = CFrame.new(-10, 2.5, 10) |
| 865 | p.BrickColor = BrickColor.new("Earth green") |
| 866 | p.Material = Enum.Material.Glacier |
| 867 | p.MaterialVariant = "2022 Big Stud" |
| 868 | p.Anchored = true |
| 869 | p.Parent = model |
| 870 | end |
| 871 | do |
| 872 | local p = Instance.new("Part") |
| 873 | p.Name = "Tree1_Leaves2" |
| 874 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 875 | p.CFrame = CFrame.new(-10, 3.5, 10) |
| 876 | p.BrickColor = BrickColor.new("Earth green") |
| 877 | p.Material = Enum.Material.Glacier |
| 878 | p.MaterialVariant = "2022 Big Stud" |
| 879 | p.Anchored = true |
| 880 | p.Parent = model |
| 881 | end |
| 882 | do |
| 883 | local p = Instance.new("Part") |
| 884 | p.Name = "Tree1_Leaves3" |
| 885 | p.Size = Vector3.new(1, 1, 1) |
| 886 | p.CFrame = CFrame.new(-10, 4.5, 10) |
| 887 | p.BrickColor = BrickColor.new("Earth green") |
| 888 | p.Material = Enum.Material.Glacier |
| 889 | p.MaterialVariant = "2022 Big Stud" |
| 890 | p.Anchored = true |
| 891 | p.Parent = model |
| 892 | end |
| 893 | do |
| 894 | local p = Instance.new("Part") |
| 895 | p.Shape = Enum.PartType.Cylinder |
| 896 | p.Name = "Tree2_Trunk" |
| 897 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 898 | p.CFrame = CFrame.new(-12, 1.54, 12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 899 | p.BrickColor = BrickColor.new("Reddish brown") |
| 900 | p.Material = Enum.Material.Glacier |
| 901 | p.MaterialVariant = "2022 Small Stud" |
| 902 | p.Anchored = true |
| 903 | p.Parent = model |
| 904 | end |
| 905 | do |
| 906 | local p = Instance.new("Part") |
| 907 | p.Name = "Tree2_Leaves1" |
| 908 | p.Size = Vector3.new(2, 1.5, 2) |
| 909 | p.CFrame = CFrame.new(-12, 2.5, 12) |
| 910 | p.BrickColor = BrickColor.new("Earth green") |
| 911 | p.Material = Enum.Material.Glacier |
| 912 | p.MaterialVariant = "2022 Big Stud" |
| 913 | p.Anchored = true |
| 914 | p.Parent = model |
| 915 | end |
| 916 | do |
| 917 | local p = Instance.new("Part") |
| 918 | p.Name = "Tree2_Leaves2" |
| 919 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 920 | p.CFrame = CFrame.new(-12, 3.5, 12) |
| 921 | p.BrickColor = BrickColor.new("Earth green") |
| 922 | p.Material = Enum.Material.Glacier |
| 923 | p.MaterialVariant = "2022 Big Stud" |
| 924 | p.Anchored = true |
| 925 | p.Parent = model |
| 926 | end |
| 927 | do |
| 928 | local p = Instance.new("Part") |
| 929 | p.Name = "Tree2_Leaves3" |
| 930 | p.Size = Vector3.new(1, 1, 1) |
| 931 | p.CFrame = CFrame.new(-12, 4.5, 12) |
| 932 | p.BrickColor = BrickColor.new("Earth green") |
| 933 | p.Material = Enum.Material.Glacier |
| 934 | p.MaterialVariant = "2022 Big Stud" |
| 935 | p.Anchored = true |
| 936 | p.Parent = model |
| 937 | end |
| 938 | do |
| 939 | local p = Instance.new("Part") |
| 940 | p.Shape = Enum.PartType.Cylinder |
| 941 | p.Name = "Tree3_Trunk" |
| 942 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 943 | p.CFrame = CFrame.new(10, 1.54, 14) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 944 | p.BrickColor = BrickColor.new("Reddish brown") |
| 945 | p.Material = Enum.Material.Glacier |
| 946 | p.MaterialVariant = "2022 Small Stud" |
| 947 | p.Anchored = true |
| 948 | p.Parent = model |
| 949 | end |
| 950 | do |
| 951 | local p = Instance.new("Part") |
| 952 | p.Name = "Tree3_Leaves1" |
| 953 | p.Size = Vector3.new(2, 1.5, 2) |
| 954 | p.CFrame = CFrame.new(10, 2.5, 14) |
| 955 | p.BrickColor = BrickColor.new("Earth green") |
| 956 | p.Material = Enum.Material.Glacier |
| 957 | p.MaterialVariant = "2022 Big Stud" |
| 958 | p.Anchored = true |
| 959 | p.Parent = model |
| 960 | end |
| 961 | do |
| 962 | local p = Instance.new("Part") |
| 963 | p.Name = "Tree3_Leaves2" |
| 964 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 965 | p.CFrame = CFrame.new(10, 3.5, 14) |
| 966 | p.BrickColor = BrickColor.new("Earth green") |
| 967 | p.Material = Enum.Material.Glacier |
| 968 | p.MaterialVariant = "2022 Big Stud" |
| 969 | p.Anchored = true |
| 970 | p.Parent = model |
| 971 | end |
| 972 | do |
| 973 | local p = Instance.new("Part") |
| 974 | p.Name = "Tree3_Leaves3" |
| 975 | p.Size = Vector3.new(1, 1, 1) |
| 976 | p.CFrame = CFrame.new(10, 4.5, 14) |
| 977 | p.BrickColor = BrickColor.new("Earth green") |
| 978 | p.Material = Enum.Material.Glacier |
| 979 | p.MaterialVariant = "2022 Big Stud" |
| 980 | p.Anchored = true |
| 981 | p.Parent = model |
| 982 | end |
| 983 | do |
| 984 | local p = Instance.new("Part") |
| 985 | p.Shape = Enum.PartType.Cylinder |
| 986 | p.Name = "Tree4_Trunk" |
| 987 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 988 | p.CFrame = CFrame.new(12, 1.54, 12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 989 | p.BrickColor = BrickColor.new("Reddish brown") |
| 990 | p.Material = Enum.Material.Glacier |
| 991 | p.MaterialVariant = "2022 Small Stud" |
| 992 | p.Anchored = true |
| 993 | p.Parent = model |
| 994 | end |
| 995 | do |
| 996 | local p = Instance.new("Part") |
| 997 | p.Name = "Tree4_Leaves1" |
| 998 | p.Size = Vector3.new(2, 1.5, 2) |
| 999 | p.CFrame = CFrame.new(12, 2.5, 12) |
| 1000 | p.BrickColor = BrickColor.new("Earth green") |
| 1001 | p.Material = Enum.Material.Glacier |
| 1002 | p.MaterialVariant = "2022 Big Stud" |
| 1003 | p.Anchored = true |
| 1004 | p.Parent = model |
| 1005 | end |
| 1006 | do |
| 1007 | local p = Instance.new("Part") |
| 1008 | p.Name = "Tree4_Leaves2" |
| 1009 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 1010 | p.CFrame = CFrame.new(12, 3.5, 12) |
| 1011 | p.BrickColor = BrickColor.new("Earth green") |
| 1012 | p.Material = Enum.Material.Glacier |
| 1013 | p.MaterialVariant = "2022 Big Stud" |
| 1014 | p.Anchored = true |
| 1015 | p.Parent = model |
| 1016 | end |
| 1017 | do |
| 1018 | local p = Instance.new("Part") |
| 1019 | p.Name = "Tree4_Leaves3" |
| 1020 | p.Size = Vector3.new(1, 1, 1) |
| 1021 | p.CFrame = CFrame.new(12, 4.5, 12) |
| 1022 | p.BrickColor = BrickColor.new("Earth green") |
| 1023 | p.Material = Enum.Material.Glacier |
| 1024 | p.MaterialVariant = "2022 Big Stud" |
| 1025 | p.Anchored = true |
| 1026 | p.Parent = model |
| 1027 | end |
| 1028 | do |
| 1029 | local p = Instance.new("Part") |
| 1030 | p.Shape = Enum.PartType.Cylinder |
| 1031 | p.Name = "Tree5_Trunk" |
| 1032 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 1033 | p.CFrame = CFrame.new(-8, 3.54, -6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 1034 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1035 | p.Material = Enum.Material.Glacier |
| 1036 | p.MaterialVariant = "2022 Small Stud" |
| 1037 | p.Anchored = true |
| 1038 | p.Parent = model |
| 1039 | end |
| 1040 | do |
| 1041 | local p = Instance.new("Part") |
| 1042 | p.Name = "Tree5_Leaves1" |
| 1043 | p.Size = Vector3.new(2, 1.5, 2) |
| 1044 | p.CFrame = CFrame.new(-8.04, 4.5, -5.96) |
| 1045 | p.BrickColor = BrickColor.new("Earth green") |
| 1046 | p.Material = Enum.Material.Glacier |
| 1047 | p.MaterialVariant = "2022 Big Stud" |
| 1048 | p.Anchored = true |
| 1049 | p.Parent = model |
| 1050 | end |
| 1051 | do |
| 1052 | local p = Instance.new("Part") |
| 1053 | p.Name = "Tree5_Leaves2" |
| 1054 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 1055 | p.CFrame = CFrame.new(-8, 5.5, -6) |
| 1056 | p.BrickColor = BrickColor.new("Earth green") |
| 1057 | p.Material = Enum.Material.Glacier |
| 1058 | p.MaterialVariant = "2022 Big Stud" |
| 1059 | p.Anchored = true |
| 1060 | p.Parent = model |
| 1061 | end |
| 1062 | do |
| 1063 | local p = Instance.new("Part") |
| 1064 | p.Name = "Tree5_Leaves3" |
| 1065 | p.Size = Vector3.new(1, 1, 1) |
| 1066 | p.CFrame = CFrame.new(-8, 6.5, -6) |
| 1067 | p.BrickColor = BrickColor.new("Earth green") |
| 1068 | p.Material = Enum.Material.Glacier |
| 1069 | p.MaterialVariant = "2022 Big Stud" |
| 1070 | p.Anchored = true |
| 1071 | p.Parent = model |
| 1072 | end |
| 1073 | do |
| 1074 | local p = Instance.new("Part") |
| 1075 | p.Shape = Enum.PartType.Cylinder |
| 1076 | p.Name = "Tree6_Trunk" |
| 1077 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 1078 | p.CFrame = CFrame.new(8, 3.54, -6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 1079 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1080 | p.Material = Enum.Material.Glacier |
| 1081 | p.MaterialVariant = "2022 Small Stud" |
| 1082 | p.Anchored = true |
| 1083 | p.Parent = model |
| 1084 | end |
| 1085 | do |
| 1086 | local p = Instance.new("Part") |
| 1087 | p.Name = "Tree6_Leaves1" |
| 1088 | p.Size = Vector3.new(2, 1.5, 2) |
| 1089 | p.CFrame = CFrame.new(8.04, 4.5, -5.96) |
| 1090 | p.BrickColor = BrickColor.new("Earth green") |
| 1091 | p.Material = Enum.Material.Glacier |
| 1092 | p.MaterialVariant = "2022 Big Stud" |
| 1093 | p.Anchored = true |
| 1094 | p.Parent = model |
| 1095 | end |
| 1096 | do |
| 1097 | local p = Instance.new("Part") |
| 1098 | p.Name = "Tree6_Leaves2" |
| 1099 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 1100 | p.CFrame = CFrame.new(8, 5.5, -6) |
| 1101 | p.BrickColor = BrickColor.new("Earth green") |
| 1102 | p.Material = Enum.Material.Glacier |
| 1103 | p.MaterialVariant = "2022 Big Stud" |
| 1104 | p.Anchored = true |
| 1105 | p.Parent = model |
| 1106 | end |
| 1107 | do |
| 1108 | local p = Instance.new("Part") |
| 1109 | p.Name = "Tree6_Leaves3" |
| 1110 | p.Size = Vector3.new(1, 1, 1) |
| 1111 | p.CFrame = CFrame.new(8, 6.5, -6) |
| 1112 | p.BrickColor = BrickColor.new("Earth green") |
| 1113 | p.Material = Enum.Material.Glacier |
| 1114 | p.MaterialVariant = "2022 Big Stud" |
| 1115 | p.Anchored = true |
| 1116 | p.Parent = model |
| 1117 | end |
| 1118 | do |
| 1119 | local p = Instance.new("Part") |
| 1120 | p.Shape = Enum.PartType.Cylinder |
| 1121 | p.Name = "Tree7_Trunk" |
| 1122 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 1123 | p.CFrame = CFrame.new(-16, 1.54, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 1124 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1125 | p.Material = Enum.Material.Glacier |
| 1126 | p.MaterialVariant = "2022 Small Stud" |
| 1127 | p.Anchored = true |
| 1128 | p.Parent = model |
| 1129 | end |
| 1130 | do |
| 1131 | local p = Instance.new("Part") |
| 1132 | p.Name = "Tree7_Leaves1" |
| 1133 | p.Size = Vector3.new(2, 1.5, 2) |
| 1134 | p.CFrame = CFrame.new(-16, 2.5, 0.04) |
| 1135 | p.BrickColor = BrickColor.new("Earth green") |
| 1136 | p.Material = Enum.Material.Glacier |
| 1137 | p.MaterialVariant = "2022 Big Stud" |
| 1138 | p.Anchored = true |
| 1139 | p.Parent = model |
| 1140 | end |
| 1141 | do |
| 1142 | local p = Instance.new("Part") |
| 1143 | p.Name = "Tree7_Leaves2" |
| 1144 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 1145 | p.CFrame = CFrame.new(-16, 3.5, 0) |
| 1146 | p.BrickColor = BrickColor.new("Earth green") |
| 1147 | p.Material = Enum.Material.Glacier |
| 1148 | p.MaterialVariant = "2022 Big Stud" |
| 1149 | p.Anchored = true |
| 1150 | p.Parent = model |
| 1151 | end |
| 1152 | do |
| 1153 | local p = Instance.new("Part") |
| 1154 | p.Name = "Tree7_Leaves3" |
| 1155 | p.Size = Vector3.new(1, 1, 1) |
| 1156 | p.CFrame = CFrame.new(-16, 4.5, 0) |
| 1157 | p.BrickColor = BrickColor.new("Earth green") |
| 1158 | p.Material = Enum.Material.Glacier |
| 1159 | p.MaterialVariant = "2022 Big Stud" |
| 1160 | p.Anchored = true |
| 1161 | p.Parent = model |
| 1162 | end |
| 1163 | do |
| 1164 | local p = Instance.new("Part") |
| 1165 | p.Shape = Enum.PartType.Cylinder |
| 1166 | p.Name = "Tree8_Trunk" |
| 1167 | p.Size = Vector3.new(1, 0.4, 0.4) |
| 1168 | p.CFrame = CFrame.new(16, 1.54, -2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 1169 | p.BrickColor = BrickColor.new("Reddish brown") |
| 1170 | p.Material = Enum.Material.Glacier |
| 1171 | p.MaterialVariant = "2022 Small Stud" |
| 1172 | p.Anchored = true |
| 1173 | p.Parent = model |
| 1174 | end |
| 1175 | do |
| 1176 | local p = Instance.new("Part") |
| 1177 | p.Name = "Tree8_Leaves1" |
| 1178 | p.Size = Vector3.new(2, 1.5, 2) |
| 1179 | p.CFrame = CFrame.new(16, 2.5, -2) |
| 1180 | p.BrickColor = BrickColor.new("Earth green") |
| 1181 | p.Material = Enum.Material.Glacier |
| 1182 | p.MaterialVariant = "2022 Big Stud" |
| 1183 | p.Anchored = true |
| 1184 | p.Parent = model |
| 1185 | end |
| 1186 | do |
| 1187 | local p = Instance.new("Part") |
| 1188 | p.Name = "Tree8_Leaves2" |
| 1189 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 1190 | p.CFrame = CFrame.new(16, 3.5, -2) |
| 1191 | p.BrickColor = BrickColor.new("Earth green") |
| 1192 | p.Material = Enum.Material.Glacier |
| 1193 | p.MaterialVariant = "2022 Big Stud" |
| 1194 | p.Anchored = true |
| 1195 | p.Parent = model |
| 1196 | end |
| 1197 | do |
| 1198 | local p = Instance.new("Part") |
| 1199 | p.Name = "Tree8_Leaves3" |
| 1200 | p.Size = Vector3.new(1, 1, 1) |
| 1201 | p.CFrame = CFrame.new(16, 4.5, -2) |
| 1202 | p.BrickColor = BrickColor.new("Earth green") |
| 1203 | p.Material = Enum.Material.Glacier |
| 1204 | p.MaterialVariant = "2022 Big Stud" |
| 1205 | p.Anchored = true |
| 1206 | p.Parent = model |
| 1207 | end |
| 1208 | do |
| 1209 | local p = Instance.new("Part") |
| 1210 | p.Name = "PathMain" |
| 1211 | p.Size = Vector3.new(3, 0.1, 12) |
| 1212 | p.CFrame = CFrame.new(0, 1.09, 10) |
| 1213 | p.BrickColor = BrickColor.new("Fossil") |
| 1214 | p.Material = Enum.Material.Glacier |
| 1215 | p.MaterialVariant = "2022 Stud" |
| 1216 | p.Anchored = true |
| 1217 | p.Parent = model |
| 1218 | end |
| 1219 | do |
| 1220 | local p = Instance.new("Part") |
| 1221 | p.Name = "PathCastle" |
| 1222 | p.Size = Vector3.new(2, 0.1, 8) |
| 1223 | p.CFrame = CFrame.new(0, 2.05, -2) |
| 1224 | p.BrickColor = BrickColor.new("Fossil") |
| 1225 | p.Material = Enum.Material.Glacier |
| 1226 | p.MaterialVariant = "2022 Stud" |
| 1227 | p.Anchored = true |
| 1228 | p.Parent = model |
| 1229 | end |
| 1230 | do |
| 1231 | local rightV = Vector3.new(1,0,0).Unit |
| 1232 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1233 | local normalV = upV:Cross(rightV) |
| 1234 | local pos = Vector3.new(0, 8.16, -10.9) |
| 1235 | local cyl = Instance.new("Part") |
| 1236 | cyl.Shape = Enum.PartType.Cylinder |
| 1237 | cyl.Size = Vector3.new(0.3, 2, 2) |
| 1238 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1239 | cyl.BrickColor = BrickColor.new("Reddish brown") |
| 1240 | cyl.Material = Enum.Material.Glacier |
| 1241 | cyl.MaterialVariant = "2022 Small Stud" |
| 1242 | cyl.Anchored = true; cyl.Parent = workspace |
| 1243 | local cuts = {} |
| 1244 | local angBoxes = {} |
| 1245 | do |
| 1246 | local edgeDir = 1*rightV + 0*upV |
| 1247 | local edgePerp = 0*rightV + 1*upV |
| 1248 | local cut = Instance.new("Part") |
| 1249 | cut.Size = Vector3.new(4, 0.5, 4) |
| 1250 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2 * edgePerp, edgeDir, normalV) |
| 1251 | cut.BrickColor = BrickColor.new("Reddish brown") |
| 1252 | cut.Material = Enum.Material.Glacier |
| 1253 | cut.MaterialVariant = "2022 Small Stud" |
| 1254 | cut.Anchored = true; cut.Parent = workspace |
| 1255 | table.insert(angBoxes, cut) |
| 1256 | end |
| 1257 | do |
| 1258 | local edgeDir = -1*rightV + 0*upV |
| 1259 | local edgePerp = 0*rightV + -1*upV |
| 1260 | local cut = Instance.new("Part") |
| 1261 | cut.Size = Vector3.new(4, 0.5, 4) |
| 1262 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2 * edgePerp, edgeDir, normalV) |
| 1263 | cut.BrickColor = BrickColor.new("Reddish brown") |
| 1264 | cut.Material = Enum.Material.Glacier |
| 1265 | cut.MaterialVariant = "2022 Small Stud" |
| 1266 | cut.Anchored = true; cut.Parent = workspace |
| 1267 | table.insert(angBoxes, cut) |
| 1268 | end |
| 1269 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1270 | if #cuts > 0 then |
| 1271 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1272 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1273 | if ok and result then |
| 1274 | cyl:Destroy() |
| 1275 | result.Name = "CastleGateArch"; result.Anchored = true; result.Parent = model |
| 1276 | else |
| 1277 | cyl.Name = "CastleGateArch"; cyl.Parent = model |
| 1278 | end |
| 1279 | else |
| 1280 | cyl.Name = "CastleGateArch"; cyl.Parent = model |
| 1281 | end |
| 1282 | end |
| 1283 | do |
| 1284 | local rightV = Vector3.new(1,0,0).Unit |
| 1285 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1286 | local normalV = upV:Cross(rightV) |
| 1287 | local pos = Vector3.new(0, 2.5, 16) |
| 1288 | local cyl = Instance.new("Part") |
| 1289 | cyl.Shape = Enum.PartType.Cylinder |
| 1290 | cyl.Size = Vector3.new(1.1, 3, 3) |
| 1291 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1292 | cyl.BrickColor = BrickColor.new("Earth green") |
| 1293 | cyl.Material = Enum.Material.Glacier |
| 1294 | cyl.MaterialVariant = "2022 Big Stud" |
| 1295 | cyl.Anchored = true; cyl.Parent = workspace |
| 1296 | local cuts = {} |
| 1297 | local angBoxes = {} |
| 1298 | do |
| 1299 | local edgeDir = 1*rightV + 0*upV |
| 1300 | local edgePerp = 0*rightV + 1*upV |
| 1301 | local cut = Instance.new("Part") |
| 1302 | cut.Size = Vector3.new(6, 1.3, 6) |
| 1303 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3 * edgePerp, edgeDir, normalV) |
| 1304 | cut.BrickColor = BrickColor.new("Earth green") |
| 1305 | cut.Material = Enum.Material.Glacier |
| 1306 | cut.MaterialVariant = "2022 Big Stud" |
| 1307 | cut.Anchored = true; cut.Parent = workspace |
| 1308 | table.insert(angBoxes, cut) |
| 1309 | end |
| 1310 | do |
| 1311 | local edgeDir = -1*rightV + 0*upV |
| 1312 | local edgePerp = 0*rightV + -1*upV |
| 1313 | local cut = Instance.new("Part") |
| 1314 | cut.Size = Vector3.new(6, 1.3, 6) |
| 1315 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3 * edgePerp, edgeDir, normalV) |
| 1316 | cut.BrickColor = BrickColor.new("Earth green") |
| 1317 | cut.Material = Enum.Material.Glacier |
| 1318 | cut.MaterialVariant = "2022 Big Stud" |
| 1319 | cut.Anchored = true; cut.Parent = workspace |
| 1320 | table.insert(angBoxes, cut) |
| 1321 | end |
| 1322 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1323 | if #cuts > 0 then |
| 1324 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1325 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1326 | if ok and result then |
| 1327 | cyl:Destroy() |
| 1328 | result.Name = "FrontGateArch"; result.Anchored = true; result.Parent = model |
| 1329 | else |
| 1330 | cyl.Name = "FrontGateArch"; cyl.Parent = model |
| 1331 | end |
| 1332 | else |
| 1333 | cyl.Name = "FrontGateArch"; cyl.Parent = model |
| 1334 | end |
| 1335 | end |
| 1336 | model.PrimaryPart = model:FindFirstChild("BaseTop") |
| 1337 | print("MedievalVillageDiorama built: " .. #model:GetChildren() .. " parts") |
Loading comments...