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