Loading model...
by Gideon Bakare · 3/28/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: GraveyardMiniMap |
| 3 | |
| 4 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 5 | -- Model: GraveyardMiniMap |
| 6 | |
| 7 | local MS = game:GetService("MaterialService") |
| 8 | |
| 9 | local ok, roots = pcall(game.GetObjects, game, "rbxassetid://13386676607") |
| 10 | if not ok then return warn(roots) end |
| 11 | |
| 12 | local tmp = Instance.new("Folder") |
| 13 | for _, r in ipairs(roots) do r.Parent = tmp end |
| 14 | |
| 15 | for _, d in ipairs(tmp:GetDescendants()) do |
| 16 | if d:IsA("MaterialVariant") then |
| 17 | d.Parent = MS |
| 18 | end |
| 19 | end |
| 20 | tmp:Destroy() |
| 21 | |
| 22 | local model = Instance.new("Model") |
| 23 | model.Name = "GraveyardMiniMap" |
| 24 | model.Parent = workspace |
| 25 | |
| 26 | local variants = { |
| 27 | ["Dark green"] = "2022 Big Stud", |
| 28 | ["Dark stone grey"] = "2022 Inlet", |
| 29 | ["Earth green"] = "2022 Big Stud", |
| 30 | ["Medium stone grey"] = "2022 Inlet", |
| 31 | ["Pine Cone"] = "2022 Small Stud", |
| 32 | } |
| 33 | do |
| 34 | local p = Instance.new("Part") |
| 35 | p.Name = "TerrainBase" |
| 36 | p.Size = Vector3.new(60, 2, 60) |
| 37 | p.CFrame = CFrame.new(0, 0, 0) |
| 38 | p.BrickColor = BrickColor.new("Earth green") |
| 39 | p.Material = Enum.Material.Glacier |
| 40 | p.MaterialVariant = "2022 Big Stud" |
| 41 | p.Anchored = true |
| 42 | p.Parent = model |
| 43 | end |
| 44 | do |
| 45 | local p = Instance.new("Part") |
| 46 | p.Name = "TerrainHill1" |
| 47 | p.Size = Vector3.new(20, 2, 20) |
| 48 | p.CFrame = CFrame.new(-15, 1, -10) |
| 49 | p.BrickColor = BrickColor.new("Dark green") |
| 50 | p.Material = Enum.Material.Glacier |
| 51 | p.MaterialVariant = "2022 Big Stud" |
| 52 | p.Anchored = true |
| 53 | p.Parent = model |
| 54 | end |
| 55 | do |
| 56 | local p = Instance.new("Part") |
| 57 | p.Name = "TerrainHill2" |
| 58 | p.Size = Vector3.new(25, 2, 25) |
| 59 | p.CFrame = CFrame.new(15, 1, 10) |
| 60 | p.BrickColor = BrickColor.new("Earth green") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Big Stud" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Name = "TerrainPath" |
| 69 | p.Size = Vector3.new(8, 0.2, 60) |
| 70 | p.CFrame = CFrame.new(0, 1.14, 0) |
| 71 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 72 | p.Material = Enum.Material.Glacier |
| 73 | p.MaterialVariant = "2022 Inlet" |
| 74 | p.Anchored = true |
| 75 | p.Parent = model |
| 76 | end |
| 77 | do |
| 78 | local p = Instance.new("Part") |
| 79 | p.Name = "ChurchBase" |
| 80 | p.Size = Vector3.new(20, 15, 10) |
| 81 | p.CFrame = CFrame.new(0, 10, -25) |
| 82 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 83 | p.Material = Enum.Material.Glacier |
| 84 | p.MaterialVariant = "2022 Inlet" |
| 85 | p.Anchored = true |
| 86 | p.Parent = model |
| 87 | end |
| 88 | do |
| 89 | local p = Instance.new("Part") |
| 90 | p.Name = "ChurchRoofL" |
| 91 | p.Size = Vector3.new(12, 1, 11) |
| 92 | p.CFrame = CFrame.new(-5, 20, -24.76) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) |
| 93 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 94 | p.Material = Enum.Material.Glacier |
| 95 | p.MaterialVariant = "2022 Inlet" |
| 96 | p.Anchored = true |
| 97 | p.Parent = model |
| 98 | end |
| 99 | do |
| 100 | local p = Instance.new("Part") |
| 101 | p.Name = "ChurchRoofR" |
| 102 | p.Size = Vector3.new(12, 1, 11) |
| 103 | p.CFrame = CFrame.new(5, 20, -24.8) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)) |
| 104 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 105 | p.Material = Enum.Material.Glacier |
| 106 | p.MaterialVariant = "2022 Inlet" |
| 107 | p.Anchored = true |
| 108 | p.Parent = model |
| 109 | end |
| 110 | do |
| 111 | local p = Instance.new("Part") |
| 112 | p.Name = "ChurchCrossV" |
| 113 | p.Size = Vector3.new(1, 6, 1) |
| 114 | p.CFrame = CFrame.new(0, 25, -25) |
| 115 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 116 | p.Material = Enum.Material.Glacier |
| 117 | p.MaterialVariant = "2022 Inlet" |
| 118 | p.Anchored = true |
| 119 | p.Parent = model |
| 120 | end |
| 121 | do |
| 122 | local p = Instance.new("Part") |
| 123 | p.Name = "ChurchCrossH" |
| 124 | p.Size = Vector3.new(4, 1, 1) |
| 125 | p.CFrame = CFrame.new(0, 26, -24.96) |
| 126 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 127 | p.Material = Enum.Material.Glacier |
| 128 | p.MaterialVariant = "2022 Inlet" |
| 129 | p.Anchored = true |
| 130 | p.Parent = model |
| 131 | end |
| 132 | do |
| 133 | local p = Instance.new("Part") |
| 134 | p.Shape = Enum.PartType.Cylinder |
| 135 | p.Name = "TreeL_Trunk" |
| 136 | p.Size = Vector3.new(25, 2, 2) |
| 137 | p.CFrame = CFrame.new(-20, 12.54, -5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 138 | p.BrickColor = BrickColor.new("Pine Cone") |
| 139 | p.Material = Enum.Material.Glacier |
| 140 | p.MaterialVariant = "2022 Small Stud" |
| 141 | p.Anchored = true |
| 142 | p.Parent = model |
| 143 | end |
| 144 | do |
| 145 | local p = Instance.new("Part") |
| 146 | p.Shape = Enum.PartType.Cylinder |
| 147 | p.Name = "TreeL_Branch1" |
| 148 | p.Size = Vector3.new(9.5, 0.8, 0.8) |
| 149 | p.CFrame = CFrame.new(-22.5, 18.75, -6.5) * CFrame.Angles(math.rad(-180), math.rad(30.9638), math.rad(-127.864)) |
| 150 | p.BrickColor = BrickColor.new("Pine Cone") |
| 151 | p.Material = Enum.Material.Glacier |
| 152 | p.MaterialVariant = "2022 Small Stud" |
| 153 | p.Anchored = true |
| 154 | p.Parent = model |
| 155 | end |
| 156 | do |
| 157 | local p = Instance.new("Part") |
| 158 | p.Shape = Enum.PartType.Cylinder |
| 159 | p.Name = "TreeL_Branch2" |
| 160 | p.Size = Vector3.new(5.83631, 0.6, 0.6) |
| 161 | p.CFrame = CFrame.new(-18, 19.375, -4) * CFrame.Angles(math.rad(0), math.rad(-26.5651), math.rad(39.9807)) |
| 162 | p.BrickColor = BrickColor.new("Pine Cone") |
| 163 | p.Material = Enum.Material.Glacier |
| 164 | p.MaterialVariant = "2022 Small Stud" |
| 165 | p.Anchored = true |
| 166 | p.Parent = model |
| 167 | end |
| 168 | do |
| 169 | local p = Instance.new("Part") |
| 170 | p.Shape = Enum.PartType.Cylinder |
| 171 | p.Name = "TreeL_Branch3" |
| 172 | p.Size = Vector3.new(8.73212, 0.5, 0.5) |
| 173 | p.CFrame = CFrame.new(-21, 23.75, -3) * CFrame.Angles(math.rad(-180), math.rad(-63.4349), math.rad(-120.807)) |
| 174 | p.BrickColor = BrickColor.new("Pine Cone") |
| 175 | p.Material = Enum.Material.Glacier |
| 176 | p.MaterialVariant = "2022 Small Stud" |
| 177 | p.Anchored = true |
| 178 | p.Parent = model |
| 179 | end |
| 180 | do |
| 181 | local p = Instance.new("Part") |
| 182 | p.Shape = Enum.PartType.Cylinder |
| 183 | p.Name = "TreeR_Trunk" |
| 184 | p.Size = Vector3.new(30, 2, 2) |
| 185 | p.CFrame = CFrame.new(20, 15, -10) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 186 | p.BrickColor = BrickColor.new("Pine Cone") |
| 187 | p.Material = Enum.Material.Glacier |
| 188 | p.MaterialVariant = "2022 Small Stud" |
| 189 | p.Anchored = true |
| 190 | p.Parent = model |
| 191 | end |
| 192 | do |
| 193 | local p = Instance.new("Part") |
| 194 | p.Shape = Enum.PartType.Cylinder |
| 195 | p.Name = "TreeR_Branch1" |
| 196 | p.Size = Vector3.new(10.7238, 0.8, 0.8) |
| 197 | p.CFrame = CFrame.new(17.5, 22.5, -11.5) * CFrame.Angles(math.rad(-180), math.rad(30.9638), math.rad(-122.939)) |
| 198 | p.BrickColor = BrickColor.new("Pine Cone") |
| 199 | p.Material = Enum.Material.Glacier |
| 200 | p.MaterialVariant = "2022 Small Stud" |
| 201 | p.Anchored = true |
| 202 | p.Parent = model |
| 203 | end |
| 204 | do |
| 205 | local p = Instance.new("Part") |
| 206 | p.Shape = Enum.PartType.Cylinder |
| 207 | p.Name = "TreeR_Branch2" |
| 208 | p.Size = Vector3.new(6.34429, 0.6, 0.6) |
| 209 | p.CFrame = CFrame.new(22, 23.25, -9) * CFrame.Angles(math.rad(0), math.rad(-26.5651), math.rad(45.1779)) |
| 210 | p.BrickColor = BrickColor.new("Pine Cone") |
| 211 | p.Material = Enum.Material.Glacier |
| 212 | p.MaterialVariant = "2022 Small Stud" |
| 213 | p.Anchored = true |
| 214 | p.Parent = model |
| 215 | end |
| 216 | do |
| 217 | local p = Instance.new("Part") |
| 218 | p.Shape = Enum.PartType.Cylinder |
| 219 | p.Name = "TreeR_Branch3" |
| 220 | p.Size = Vector3.new(10.0499, 0.5, 0.5) |
| 221 | p.CFrame = CFrame.new(19, 28.5, -8) * CFrame.Angles(math.rad(-180), math.rad(-63.4349), math.rad(-116.423)) |
| 222 | p.BrickColor = BrickColor.new("Pine Cone") |
| 223 | p.Material = Enum.Material.Glacier |
| 224 | p.MaterialVariant = "2022 Small Stud" |
| 225 | p.Anchored = true |
| 226 | p.Parent = model |
| 227 | end |
| 228 | do |
| 229 | local p = Instance.new("Part") |
| 230 | p.Name = "GraveF1_Base" |
| 231 | p.Size = Vector3.new(3, 2, 1) |
| 232 | p.CFrame = CFrame.new(-10, 2.5, 15) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0)) |
| 233 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 234 | p.Material = Enum.Material.Glacier |
| 235 | p.MaterialVariant = "2022 Inlet" |
| 236 | p.Anchored = true |
| 237 | p.Parent = model |
| 238 | end |
| 239 | do |
| 240 | local p = Instance.new("Part") |
| 241 | p.Name = "GraveF1_Body" |
| 242 | p.Size = Vector3.new(2.5, 3, 0.8) |
| 243 | p.CFrame = CFrame.new(-10, 4.5, 15) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0)) |
| 244 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 245 | p.Material = Enum.Material.Glacier |
| 246 | p.MaterialVariant = "2022 Inlet" |
| 247 | p.Anchored = true |
| 248 | p.Parent = model |
| 249 | end |
| 250 | do |
| 251 | local p = Instance.new("Part") |
| 252 | p.Name = "GraveF2_Base" |
| 253 | p.Size = Vector3.new(3, 2, 1) |
| 254 | p.CFrame = CFrame.new(-2, 2.5, 12) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)) |
| 255 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 256 | p.Material = Enum.Material.Glacier |
| 257 | p.MaterialVariant = "2022 Inlet" |
| 258 | p.Anchored = true |
| 259 | p.Parent = model |
| 260 | end |
| 261 | do |
| 262 | local p = Instance.new("Part") |
| 263 | p.Name = "GraveF2_Body" |
| 264 | p.Size = Vector3.new(2.5, 3, 0.8) |
| 265 | p.CFrame = CFrame.new(-2, 4.5, 12) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)) |
| 266 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 267 | p.Material = Enum.Material.Glacier |
| 268 | p.MaterialVariant = "2022 Inlet" |
| 269 | p.Anchored = true |
| 270 | p.Parent = model |
| 271 | end |
| 272 | do |
| 273 | local p = Instance.new("Part") |
| 274 | p.Name = "GraveF3_Base" |
| 275 | p.Size = Vector3.new(3, 2, 1) |
| 276 | p.CFrame = CFrame.new(8, 2.5, 16) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 277 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 278 | p.Material = Enum.Material.Glacier |
| 279 | p.MaterialVariant = "2022 Inlet" |
| 280 | p.Anchored = true |
| 281 | p.Parent = model |
| 282 | end |
| 283 | do |
| 284 | local p = Instance.new("Part") |
| 285 | p.Name = "GraveF3_Body" |
| 286 | p.Size = Vector3.new(2.5, 3, 0.8) |
| 287 | p.CFrame = CFrame.new(8, 4.5, 16) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 288 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 289 | p.Material = Enum.Material.Glacier |
| 290 | p.MaterialVariant = "2022 Inlet" |
| 291 | p.Anchored = true |
| 292 | p.Parent = model |
| 293 | end |
| 294 | do |
| 295 | local p = Instance.new("Part") |
| 296 | p.Name = "GraveF4_Base" |
| 297 | p.Size = Vector3.new(3, 2, 1) |
| 298 | p.CFrame = CFrame.new(18, 2.5, 14) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)) |
| 299 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 300 | p.Material = Enum.Material.Glacier |
| 301 | p.MaterialVariant = "2022 Inlet" |
| 302 | p.Anchored = true |
| 303 | p.Parent = model |
| 304 | end |
| 305 | do |
| 306 | local p = Instance.new("Part") |
| 307 | p.Name = "GraveF4_V" |
| 308 | p.Size = Vector3.new(1, 5, 0.8) |
| 309 | p.CFrame = CFrame.new(18, 5.5, 14) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)) |
| 310 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 311 | p.Material = Enum.Material.Glacier |
| 312 | p.MaterialVariant = "2022 Inlet" |
| 313 | p.Anchored = true |
| 314 | p.Parent = model |
| 315 | end |
| 316 | do |
| 317 | local p = Instance.new("Part") |
| 318 | p.Name = "GraveF4_H" |
| 319 | p.Size = Vector3.new(4, 1, 0.8) |
| 320 | p.CFrame = CFrame.new(18.006946, 6, 13.960608) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)) |
| 321 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 322 | p.Material = Enum.Material.Glacier |
| 323 | p.MaterialVariant = "2022 Inlet" |
| 324 | p.Anchored = true |
| 325 | p.Parent = model |
| 326 | end |
| 327 | do |
| 328 | local p = Instance.new("Part") |
| 329 | p.Name = "GraveM1_Base" |
| 330 | p.Size = Vector3.new(2, 1, 1) |
| 331 | p.CFrame = CFrame.new(-15, 2, 5) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)) |
| 332 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 333 | p.Material = Enum.Material.Glacier |
| 334 | p.MaterialVariant = "2022 Inlet" |
| 335 | p.Anchored = true |
| 336 | p.Parent = model |
| 337 | end |
| 338 | do |
| 339 | local p = Instance.new("Part") |
| 340 | p.Name = "GraveM1_V" |
| 341 | p.Size = Vector3.new(0.8, 4, 0.6) |
| 342 | p.CFrame = CFrame.new(-15, 4.54, 5) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)) |
| 343 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 344 | p.Material = Enum.Material.Glacier |
| 345 | p.MaterialVariant = "2022 Inlet" |
| 346 | p.Anchored = true |
| 347 | p.Parent = model |
| 348 | end |
| 349 | do |
| 350 | local p = Instance.new("Part") |
| 351 | p.Name = "GraveM1_H" |
| 352 | p.Size = Vector3.new(3, 0.8, 0.6) |
| 353 | p.CFrame = CFrame.new(-14.996514, 5, 5.039848) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)) |
| 354 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 355 | p.Material = Enum.Material.Glacier |
| 356 | p.MaterialVariant = "2022 Inlet" |
| 357 | p.Anchored = true |
| 358 | p.Parent = model |
| 359 | end |
| 360 | do |
| 361 | local p = Instance.new("Part") |
| 362 | p.Name = "GraveM2_Base" |
| 363 | p.Size = Vector3.new(3, 2, 1) |
| 364 | p.CFrame = CFrame.new(-8, 2.5, 2) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)) |
| 365 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 366 | p.Material = Enum.Material.Glacier |
| 367 | p.MaterialVariant = "2022 Inlet" |
| 368 | p.Anchored = true |
| 369 | p.Parent = model |
| 370 | end |
| 371 | do |
| 372 | local p = Instance.new("Part") |
| 373 | p.Name = "GraveM2_Body" |
| 374 | p.Size = Vector3.new(2.5, 3, 0.8) |
| 375 | p.CFrame = CFrame.new(-8, 4.5, 2) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)) |
| 376 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 377 | p.Material = Enum.Material.Glacier |
| 378 | p.MaterialVariant = "2022 Inlet" |
| 379 | p.Anchored = true |
| 380 | p.Parent = model |
| 381 | end |
| 382 | do |
| 383 | local p = Instance.new("Part") |
| 384 | p.Name = "GraveM3_Base" |
| 385 | p.Size = Vector3.new(2, 1, 1) |
| 386 | p.CFrame = CFrame.new(5, 2, 4) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(0)) |
| 387 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 388 | p.Material = Enum.Material.Glacier |
| 389 | p.MaterialVariant = "2022 Inlet" |
| 390 | p.Anchored = true |
| 391 | p.Parent = model |
| 392 | end |
| 393 | do |
| 394 | local p = Instance.new("Part") |
| 395 | p.Name = "GraveM3_V" |
| 396 | p.Size = Vector3.new(0.8, 4, 0.6) |
| 397 | p.CFrame = CFrame.new(5, 4.54, 4) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(0)) |
| 398 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 399 | p.Material = Enum.Material.Glacier |
| 400 | p.MaterialVariant = "2022 Inlet" |
| 401 | p.Anchored = true |
| 402 | p.Parent = model |
| 403 | end |
| 404 | do |
| 405 | local p = Instance.new("Part") |
| 406 | p.Name = "GraveM3_H" |
| 407 | p.Size = Vector3.new(3, 0.8, 0.6) |
| 408 | p.CFrame = CFrame.new(5.005567, 5, 4.039611) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(0)) |
| 409 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 410 | p.Material = Enum.Material.Glacier |
| 411 | p.MaterialVariant = "2022 Inlet" |
| 412 | p.Anchored = true |
| 413 | p.Parent = model |
| 414 | end |
| 415 | do |
| 416 | local p = Instance.new("Part") |
| 417 | p.Name = "GraveM4_Base" |
| 418 | p.Size = Vector3.new(3, 2, 1) |
| 419 | p.CFrame = CFrame.new(12, 2.5, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)) |
| 420 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 421 | p.Material = Enum.Material.Glacier |
| 422 | p.MaterialVariant = "2022 Inlet" |
| 423 | p.Anchored = true |
| 424 | p.Parent = model |
| 425 | end |
| 426 | do |
| 427 | local p = Instance.new("Part") |
| 428 | p.Name = "GraveM4_Body" |
| 429 | p.Size = Vector3.new(2.5, 3, 0.8) |
| 430 | p.CFrame = CFrame.new(12, 4.5, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)) |
| 431 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 432 | p.Material = Enum.Material.Glacier |
| 433 | p.MaterialVariant = "2022 Inlet" |
| 434 | p.Anchored = true |
| 435 | p.Parent = model |
| 436 | end |
| 437 | do |
| 438 | local p = Instance.new("Part") |
| 439 | p.Name = "GraveB_-25" |
| 440 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 441 | p.CFrame = CFrame.new(-25, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)) |
| 442 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 443 | p.Material = Enum.Material.Glacier |
| 444 | p.MaterialVariant = "2022 Inlet" |
| 445 | p.Anchored = true |
| 446 | p.Parent = model |
| 447 | end |
| 448 | do |
| 449 | local p = Instance.new("Part") |
| 450 | p.Name = "GraveB_-19" |
| 451 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 452 | p.CFrame = CFrame.new(-19, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(11), math.rad(0)) |
| 453 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 454 | p.Material = Enum.Material.Glacier |
| 455 | p.MaterialVariant = "2022 Inlet" |
| 456 | p.Anchored = true |
| 457 | p.Parent = model |
| 458 | end |
| 459 | do |
| 460 | local p = Instance.new("Part") |
| 461 | p.Name = "GraveB_-13" |
| 462 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 463 | p.CFrame = CFrame.new(-13, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(0)) |
| 464 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 465 | p.Material = Enum.Material.Glacier |
| 466 | p.MaterialVariant = "2022 Inlet" |
| 467 | p.Anchored = true |
| 468 | p.Parent = model |
| 469 | end |
| 470 | do |
| 471 | local p = Instance.new("Part") |
| 472 | p.Name = "GraveB_-7" |
| 473 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 474 | p.CFrame = CFrame.new(-7, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(0)) |
| 475 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 476 | p.Material = Enum.Material.Glacier |
| 477 | p.MaterialVariant = "2022 Inlet" |
| 478 | p.Anchored = true |
| 479 | p.Parent = model |
| 480 | end |
| 481 | do |
| 482 | local p = Instance.new("Part") |
| 483 | p.Name = "GraveB_-1" |
| 484 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 485 | p.CFrame = CFrame.new(-1, 2.58, -15) * CFrame.Angles(math.rad(0), math.rad(14), math.rad(0)) |
| 486 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 487 | p.Material = Enum.Material.Glacier |
| 488 | p.MaterialVariant = "2022 Inlet" |
| 489 | p.Anchored = true |
| 490 | p.Parent = model |
| 491 | end |
| 492 | do |
| 493 | local p = Instance.new("Part") |
| 494 | p.Name = "GraveB_5" |
| 495 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 496 | p.CFrame = CFrame.new(5, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)) |
| 497 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 498 | p.Material = Enum.Material.Glacier |
| 499 | p.MaterialVariant = "2022 Inlet" |
| 500 | p.Anchored = true |
| 501 | p.Parent = model |
| 502 | end |
| 503 | do |
| 504 | local p = Instance.new("Part") |
| 505 | p.Name = "GraveB_11" |
| 506 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 507 | p.CFrame = CFrame.new(11, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(11), math.rad(0)) |
| 508 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 509 | p.Material = Enum.Material.Glacier |
| 510 | p.MaterialVariant = "2022 Inlet" |
| 511 | p.Anchored = true |
| 512 | p.Parent = model |
| 513 | end |
| 514 | do |
| 515 | local p = Instance.new("Part") |
| 516 | p.Name = "GraveB_17" |
| 517 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 518 | p.CFrame = CFrame.new(17, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(0)) |
| 519 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 520 | p.Material = Enum.Material.Glacier |
| 521 | p.MaterialVariant = "2022 Inlet" |
| 522 | p.Anchored = true |
| 523 | p.Parent = model |
| 524 | end |
| 525 | do |
| 526 | local p = Instance.new("Part") |
| 527 | p.Name = "GraveB_23" |
| 528 | p.Size = Vector3.new(1.5, 3, 0.5) |
| 529 | p.CFrame = CFrame.new(23, 2.54, -15) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(0)) |
| 530 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 531 | p.Material = Enum.Material.Glacier |
| 532 | p.MaterialVariant = "2022 Inlet" |
| 533 | p.Anchored = true |
| 534 | p.Parent = model |
| 535 | end |
| 536 | do |
| 537 | local p = Instance.new("Part") |
| 538 | p.Shape = Enum.PartType.Ball |
| 539 | p.Name = "Moon" |
| 540 | p.Size = Vector3.new(8, 8, 8) |
| 541 | p.CFrame = CFrame.new(-10, 40, -40) |
| 542 | p.BrickColor = BrickColor.new("Institutional white") |
| 543 | p.Material = Enum.Material.Neon |
| 544 | p.Anchored = true |
| 545 | p.Parent = model |
| 546 | end |
| 547 | do |
| 548 | local rightV = Vector3.new(1,0,0).Unit |
| 549 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 550 | local normalV = upV:Cross(rightV) |
| 551 | local pos = Vector3.new(-10, 6.04, 15) |
| 552 | local cyl = Instance.new("Part") |
| 553 | cyl.Shape = Enum.PartType.Cylinder |
| 554 | cyl.Size = Vector3.new(0.8, 2.5, 2.5) |
| 555 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 556 | cyl.BrickColor = BrickColor.new("Dark stone grey") |
| 557 | cyl.Material = Enum.Material.Glacier |
| 558 | cyl.MaterialVariant = "2022 Inlet" |
| 559 | cyl.Anchored = true; cyl.Parent = workspace |
| 560 | local cuts = {} |
| 561 | local angBoxes = {} |
| 562 | do |
| 563 | local edgeDir = 1*rightV + 0*upV |
| 564 | local edgePerp = 0*rightV + 1*upV |
| 565 | local cut = Instance.new("Part") |
| 566 | cut.Size = Vector3.new(5, 1, 5) |
| 567 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.5 * edgePerp, edgeDir, normalV) |
| 568 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 569 | cut.Material = Enum.Material.Glacier |
| 570 | cut.MaterialVariant = "2022 Inlet" |
| 571 | cut.Anchored = true; cut.Parent = workspace |
| 572 | table.insert(angBoxes, cut) |
| 573 | end |
| 574 | do |
| 575 | local edgeDir = -1*rightV + 0*upV |
| 576 | local edgePerp = 0*rightV + -1*upV |
| 577 | local cut = Instance.new("Part") |
| 578 | cut.Size = Vector3.new(5, 1, 5) |
| 579 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.5 * edgePerp, edgeDir, normalV) |
| 580 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 581 | cut.Material = Enum.Material.Glacier |
| 582 | cut.MaterialVariant = "2022 Inlet" |
| 583 | cut.Anchored = true; cut.Parent = workspace |
| 584 | table.insert(angBoxes, cut) |
| 585 | end |
| 586 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 587 | if #cuts > 0 then |
| 588 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 589 | for _, c in ipairs(cuts) do c:Destroy() end |
| 590 | if ok and result then |
| 591 | cyl:Destroy() |
| 592 | result.Name = "GraveF1_Top"; result.Anchored = true; result.Parent = model |
| 593 | else |
| 594 | cyl.Name = "GraveF1_Top"; cyl.Parent = model |
| 595 | end |
| 596 | else |
| 597 | cyl.Name = "GraveF1_Top"; cyl.Parent = model |
| 598 | end |
| 599 | end |
| 600 | do |
| 601 | local rightV = Vector3.new(1,0,0).Unit |
| 602 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 603 | local normalV = upV:Cross(rightV) |
| 604 | local pos = Vector3.new(-2, 6.04, 12) |
| 605 | local cyl = Instance.new("Part") |
| 606 | cyl.Shape = Enum.PartType.Cylinder |
| 607 | cyl.Size = Vector3.new(0.8, 2.5, 2.5) |
| 608 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 609 | cyl.BrickColor = BrickColor.new("Dark stone grey") |
| 610 | cyl.Material = Enum.Material.Glacier |
| 611 | cyl.MaterialVariant = "2022 Inlet" |
| 612 | cyl.Anchored = true; cyl.Parent = workspace |
| 613 | local cuts = {} |
| 614 | local angBoxes = {} |
| 615 | do |
| 616 | local edgeDir = 1*rightV + 0*upV |
| 617 | local edgePerp = 0*rightV + 1*upV |
| 618 | local cut = Instance.new("Part") |
| 619 | cut.Size = Vector3.new(5, 1, 5) |
| 620 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.5 * edgePerp, edgeDir, normalV) |
| 621 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 622 | cut.Material = Enum.Material.Glacier |
| 623 | cut.MaterialVariant = "2022 Inlet" |
| 624 | cut.Anchored = true; cut.Parent = workspace |
| 625 | table.insert(angBoxes, cut) |
| 626 | end |
| 627 | do |
| 628 | local edgeDir = -1*rightV + 0*upV |
| 629 | local edgePerp = 0*rightV + -1*upV |
| 630 | local cut = Instance.new("Part") |
| 631 | cut.Size = Vector3.new(5, 1, 5) |
| 632 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.5 * edgePerp, edgeDir, normalV) |
| 633 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 634 | cut.Material = Enum.Material.Glacier |
| 635 | cut.MaterialVariant = "2022 Inlet" |
| 636 | cut.Anchored = true; cut.Parent = workspace |
| 637 | table.insert(angBoxes, cut) |
| 638 | end |
| 639 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 640 | if #cuts > 0 then |
| 641 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 642 | for _, c in ipairs(cuts) do c:Destroy() end |
| 643 | if ok and result then |
| 644 | cyl:Destroy() |
| 645 | result.Name = "GraveF2_Top"; result.Anchored = true; result.Parent = model |
| 646 | else |
| 647 | cyl.Name = "GraveF2_Top"; cyl.Parent = model |
| 648 | end |
| 649 | else |
| 650 | cyl.Name = "GraveF2_Top"; cyl.Parent = model |
| 651 | end |
| 652 | end |
| 653 | do |
| 654 | local rightV = Vector3.new(1,0,0).Unit |
| 655 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 656 | local normalV = upV:Cross(rightV) |
| 657 | local pos = Vector3.new(8, 6.04, 16) |
| 658 | local cyl = Instance.new("Part") |
| 659 | cyl.Shape = Enum.PartType.Cylinder |
| 660 | cyl.Size = Vector3.new(0.8, 2.5, 2.5) |
| 661 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 662 | cyl.BrickColor = BrickColor.new("Dark stone grey") |
| 663 | cyl.Material = Enum.Material.Glacier |
| 664 | cyl.MaterialVariant = "2022 Inlet" |
| 665 | cyl.Anchored = true; cyl.Parent = workspace |
| 666 | local cuts = {} |
| 667 | local angBoxes = {} |
| 668 | do |
| 669 | local edgeDir = 1*rightV + 0*upV |
| 670 | local edgePerp = 0*rightV + 1*upV |
| 671 | local cut = Instance.new("Part") |
| 672 | cut.Size = Vector3.new(5, 1, 5) |
| 673 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.5 * edgePerp, edgeDir, normalV) |
| 674 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 675 | cut.Material = Enum.Material.Glacier |
| 676 | cut.MaterialVariant = "2022 Inlet" |
| 677 | cut.Anchored = true; cut.Parent = workspace |
| 678 | table.insert(angBoxes, cut) |
| 679 | end |
| 680 | do |
| 681 | local edgeDir = -1*rightV + 0*upV |
| 682 | local edgePerp = 0*rightV + -1*upV |
| 683 | local cut = Instance.new("Part") |
| 684 | cut.Size = Vector3.new(5, 1, 5) |
| 685 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.5 * edgePerp, edgeDir, normalV) |
| 686 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 687 | cut.Material = Enum.Material.Glacier |
| 688 | cut.MaterialVariant = "2022 Inlet" |
| 689 | cut.Anchored = true; cut.Parent = workspace |
| 690 | table.insert(angBoxes, cut) |
| 691 | end |
| 692 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 693 | if #cuts > 0 then |
| 694 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 695 | for _, c in ipairs(cuts) do c:Destroy() end |
| 696 | if ok and result then |
| 697 | cyl:Destroy() |
| 698 | result.Name = "GraveF3_Top"; result.Anchored = true; result.Parent = model |
| 699 | else |
| 700 | cyl.Name = "GraveF3_Top"; cyl.Parent = model |
| 701 | end |
| 702 | else |
| 703 | cyl.Name = "GraveF3_Top"; cyl.Parent = model |
| 704 | end |
| 705 | end |
| 706 | do |
| 707 | local rightV = Vector3.new(1,0,0).Unit |
| 708 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 709 | local normalV = upV:Cross(rightV) |
| 710 | local pos = Vector3.new(18, 6, 14) |
| 711 | local cyl = Instance.new("Part") |
| 712 | cyl.Shape = Enum.PartType.Cylinder |
| 713 | cyl.Size = Vector3.new(0.6, 3.6, 3.6) |
| 714 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 715 | cyl.BrickColor = BrickColor.new("Dark stone grey") |
| 716 | cyl.Material = Enum.Material.Glacier |
| 717 | cyl.MaterialVariant = "2022 Inlet" |
| 718 | cyl.Anchored = true; cyl.Parent = workspace |
| 719 | local cuts = {} |
| 720 | local hole = Instance.new("Part") |
| 721 | hole.Shape = Enum.PartType.Cylinder |
| 722 | hole.Size = Vector3.new(0.8, 2.4, 2.4) |
| 723 | hole.CFrame = cyl.CFrame |
| 724 | hole.BrickColor = BrickColor.new("Dark stone grey") |
| 725 | hole.Material = Enum.Material.Glacier |
| 726 | hole.MaterialVariant = "2022 Inlet" |
| 727 | hole.Anchored = true; hole.Parent = workspace |
| 728 | table.insert(cuts, hole) |
| 729 | if #cuts > 0 then |
| 730 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 731 | for _, c in ipairs(cuts) do c:Destroy() end |
| 732 | if ok and result then |
| 733 | cyl:Destroy() |
| 734 | result.Name = "GraveF4_Ring"; result.Anchored = true; result.Parent = model |
| 735 | else |
| 736 | cyl.Name = "GraveF4_Ring"; cyl.Parent = model |
| 737 | end |
| 738 | else |
| 739 | cyl.Name = "GraveF4_Ring"; cyl.Parent = model |
| 740 | end |
| 741 | end |
| 742 | do |
| 743 | local rightV = Vector3.new(1,0,0).Unit |
| 744 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 745 | local normalV = upV:Cross(rightV) |
| 746 | local pos = Vector3.new(-8, 6.04, 2) |
| 747 | local cyl = Instance.new("Part") |
| 748 | cyl.Shape = Enum.PartType.Cylinder |
| 749 | cyl.Size = Vector3.new(0.8, 2.5, 2.5) |
| 750 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 751 | cyl.BrickColor = BrickColor.new("Medium stone grey") |
| 752 | cyl.Material = Enum.Material.Glacier |
| 753 | cyl.MaterialVariant = "2022 Inlet" |
| 754 | cyl.Anchored = true; cyl.Parent = workspace |
| 755 | local cuts = {} |
| 756 | local angBoxes = {} |
| 757 | do |
| 758 | local edgeDir = 1*rightV + 0*upV |
| 759 | local edgePerp = 0*rightV + 1*upV |
| 760 | local cut = Instance.new("Part") |
| 761 | cut.Size = Vector3.new(5, 1, 5) |
| 762 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.5 * edgePerp, edgeDir, normalV) |
| 763 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 764 | cut.Material = Enum.Material.Glacier |
| 765 | cut.MaterialVariant = "2022 Inlet" |
| 766 | cut.Anchored = true; cut.Parent = workspace |
| 767 | table.insert(angBoxes, cut) |
| 768 | end |
| 769 | do |
| 770 | local edgeDir = -1*rightV + 0*upV |
| 771 | local edgePerp = 0*rightV + -1*upV |
| 772 | local cut = Instance.new("Part") |
| 773 | cut.Size = Vector3.new(5, 1, 5) |
| 774 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.5 * edgePerp, edgeDir, normalV) |
| 775 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 776 | cut.Material = Enum.Material.Glacier |
| 777 | cut.MaterialVariant = "2022 Inlet" |
| 778 | cut.Anchored = true; cut.Parent = workspace |
| 779 | table.insert(angBoxes, cut) |
| 780 | end |
| 781 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 782 | if #cuts > 0 then |
| 783 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 784 | for _, c in ipairs(cuts) do c:Destroy() end |
| 785 | if ok and result then |
| 786 | cyl:Destroy() |
| 787 | result.Name = "GraveM2_Top"; result.Anchored = true; result.Parent = model |
| 788 | else |
| 789 | cyl.Name = "GraveM2_Top"; cyl.Parent = model |
| 790 | end |
| 791 | else |
| 792 | cyl.Name = "GraveM2_Top"; cyl.Parent = model |
| 793 | end |
| 794 | end |
| 795 | do |
| 796 | local rightV = Vector3.new(1,0,0).Unit |
| 797 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 798 | local normalV = upV:Cross(rightV) |
| 799 | local pos = Vector3.new(12, 6.04, 0) |
| 800 | local cyl = Instance.new("Part") |
| 801 | cyl.Shape = Enum.PartType.Cylinder |
| 802 | cyl.Size = Vector3.new(0.8, 2.5, 2.5) |
| 803 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 804 | cyl.BrickColor = BrickColor.new("Medium stone grey") |
| 805 | cyl.Material = Enum.Material.Glacier |
| 806 | cyl.MaterialVariant = "2022 Inlet" |
| 807 | cyl.Anchored = true; cyl.Parent = workspace |
| 808 | local cuts = {} |
| 809 | local angBoxes = {} |
| 810 | do |
| 811 | local edgeDir = 1*rightV + 0*upV |
| 812 | local edgePerp = 0*rightV + 1*upV |
| 813 | local cut = Instance.new("Part") |
| 814 | cut.Size = Vector3.new(5, 1, 5) |
| 815 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.5 * edgePerp, edgeDir, normalV) |
| 816 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 817 | cut.Material = Enum.Material.Glacier |
| 818 | cut.MaterialVariant = "2022 Inlet" |
| 819 | cut.Anchored = true; cut.Parent = workspace |
| 820 | table.insert(angBoxes, cut) |
| 821 | end |
| 822 | do |
| 823 | local edgeDir = -1*rightV + 0*upV |
| 824 | local edgePerp = 0*rightV + -1*upV |
| 825 | local cut = Instance.new("Part") |
| 826 | cut.Size = Vector3.new(5, 1, 5) |
| 827 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.5 * edgePerp, edgeDir, normalV) |
| 828 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 829 | cut.Material = Enum.Material.Glacier |
| 830 | cut.MaterialVariant = "2022 Inlet" |
| 831 | cut.Anchored = true; cut.Parent = workspace |
| 832 | table.insert(angBoxes, cut) |
| 833 | end |
| 834 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 835 | if #cuts > 0 then |
| 836 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 837 | for _, c in ipairs(cuts) do c:Destroy() end |
| 838 | if ok and result then |
| 839 | cyl:Destroy() |
| 840 | result.Name = "GraveM4_Top"; result.Anchored = true; result.Parent = model |
| 841 | else |
| 842 | cyl.Name = "GraveM4_Top"; cyl.Parent = model |
| 843 | end |
| 844 | else |
| 845 | cyl.Name = "GraveM4_Top"; cyl.Parent = model |
| 846 | end |
| 847 | end |
| 848 | model.PrimaryPart = model:FindFirstChild("TerrainBase") |
| 849 | print("GraveyardMiniMap built: " .. #model:GetChildren() .. " parts") |
Loading comments...