Loading model...
by Dakota Lewis · 7/12/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: DinosaurSkeleton |
| 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 = "DinosaurSkeleton" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Fossil"] = "2022 Stud", |
| 25 | ["Really black"] = "2022 Universal", |
| 26 | } |
| 27 | do |
| 28 | local p = Instance.new("Part") |
| 29 | p.Shape = Enum.PartType.Cylinder |
| 30 | p.Name = "Base_Main" |
| 31 | p.Size = Vector3.new(1, 12, 12) |
| 32 | p.CFrame = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 33 | p.BrickColor = BrickColor.new("Really black") |
| 34 | p.Material = Enum.Material.Glacier |
| 35 | p.MaterialVariant = "2022 Universal" |
| 36 | p.Anchored = true |
| 37 | p.Parent = model |
| 38 | end |
| 39 | do |
| 40 | local p = Instance.new("Part") |
| 41 | p.Shape = Enum.PartType.Cylinder |
| 42 | p.Name = "Base_Top" |
| 43 | p.Size = Vector3.new(0.4, 10, 10) |
| 44 | p.CFrame = CFrame.new(0, 1.24, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 45 | p.BrickColor = BrickColor.new("Really black") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Universal" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Shape = Enum.PartType.Cylinder |
| 54 | p.Name = "Support_Main" |
| 55 | p.Size = Vector3.new(10.6, 0.4, 0.4) |
| 56 | p.CFrame = CFrame.new(0, 6.78, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 57 | p.BrickColor = BrickColor.new("Really black") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Universal" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Shape = Enum.PartType.Cylinder |
| 66 | p.Name = "Support_Front" |
| 67 | p.Size = Vector3.new(8.6, 0.3, 0.3) |
| 68 | p.CFrame = CFrame.new(0, 5.78, -4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 69 | p.BrickColor = BrickColor.new("Really black") |
| 70 | p.Material = Enum.Material.Glacier |
| 71 | p.MaterialVariant = "2022 Universal" |
| 72 | p.Anchored = true |
| 73 | p.Parent = model |
| 74 | end |
| 75 | do |
| 76 | local p = Instance.new("Part") |
| 77 | p.Name = "Pelvis_Center" |
| 78 | p.Size = Vector3.new(1.5, 2, 2.5) |
| 79 | p.CFrame = CFrame.new(0, 12, 0) |
| 80 | p.BrickColor = BrickColor.new("Fossil") |
| 81 | p.Material = Enum.Material.Glacier |
| 82 | p.MaterialVariant = "2022 Stud" |
| 83 | p.Anchored = true |
| 84 | p.Parent = model |
| 85 | end |
| 86 | do |
| 87 | local p = Instance.new("Part") |
| 88 | p.Name = "Pelvis_L" |
| 89 | p.Size = Vector3.new(1, 2.5, 3) |
| 90 | p.CFrame = CFrame.new(1.2, 12, 0) |
| 91 | p.BrickColor = BrickColor.new("Fossil") |
| 92 | p.Material = Enum.Material.Glacier |
| 93 | p.MaterialVariant = "2022 Stud" |
| 94 | p.Anchored = true |
| 95 | p.Parent = model |
| 96 | end |
| 97 | do |
| 98 | local p = Instance.new("Part") |
| 99 | p.Name = "Pelvis_R" |
| 100 | p.Size = Vector3.new(1, 2.5, 3) |
| 101 | p.CFrame = CFrame.new(-1.2, 12, 0) |
| 102 | p.BrickColor = BrickColor.new("Fossil") |
| 103 | p.Material = Enum.Material.Glacier |
| 104 | p.MaterialVariant = "2022 Stud" |
| 105 | p.Anchored = true |
| 106 | p.Parent = model |
| 107 | end |
| 108 | do |
| 109 | local p = Instance.new("Part") |
| 110 | p.Shape = Enum.PartType.Cylinder |
| 111 | p.Name = "Spine_0" |
| 112 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 113 | p.CFrame = CFrame.new(0, 11.925, 2.1) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 114 | p.BrickColor = BrickColor.new("Fossil") |
| 115 | p.Material = Enum.Material.Glacier |
| 116 | p.MaterialVariant = "2022 Stud" |
| 117 | p.Anchored = true |
| 118 | p.Parent = model |
| 119 | end |
| 120 | do |
| 121 | local p = Instance.new("Part") |
| 122 | p.Name = "Vert_0" |
| 123 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 124 | p.CFrame = CFrame.new(0, 12.6, 1.5) |
| 125 | p.BrickColor = BrickColor.new("Fossil") |
| 126 | p.Material = Enum.Material.Glacier |
| 127 | p.MaterialVariant = "2022 Stud" |
| 128 | p.Anchored = true |
| 129 | p.Parent = model |
| 130 | end |
| 131 | do |
| 132 | local p = Instance.new("Part") |
| 133 | p.Shape = Enum.PartType.Cylinder |
| 134 | p.Name = "Spine_1" |
| 135 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 136 | p.CFrame = CFrame.new(0, 11.775, 3.3) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 137 | p.BrickColor = BrickColor.new("Fossil") |
| 138 | p.Material = Enum.Material.Glacier |
| 139 | p.MaterialVariant = "2022 Stud" |
| 140 | p.Anchored = true |
| 141 | p.Parent = model |
| 142 | end |
| 143 | do |
| 144 | local p = Instance.new("Part") |
| 145 | p.Name = "Vert_1" |
| 146 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 147 | p.CFrame = CFrame.new(0, 12.45, 2.7) |
| 148 | p.BrickColor = BrickColor.new("Fossil") |
| 149 | p.Material = Enum.Material.Glacier |
| 150 | p.MaterialVariant = "2022 Stud" |
| 151 | p.Anchored = true |
| 152 | p.Parent = model |
| 153 | end |
| 154 | do |
| 155 | local p = Instance.new("Part") |
| 156 | p.Shape = Enum.PartType.Cylinder |
| 157 | p.Name = "Spine_2" |
| 158 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 159 | p.CFrame = CFrame.new(0, 11.625, 4.5) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 160 | p.BrickColor = BrickColor.new("Fossil") |
| 161 | p.Material = Enum.Material.Glacier |
| 162 | p.MaterialVariant = "2022 Stud" |
| 163 | p.Anchored = true |
| 164 | p.Parent = model |
| 165 | end |
| 166 | do |
| 167 | local p = Instance.new("Part") |
| 168 | p.Name = "Vert_2" |
| 169 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 170 | p.CFrame = CFrame.new(0, 12.3, 3.9) |
| 171 | p.BrickColor = BrickColor.new("Fossil") |
| 172 | p.Material = Enum.Material.Glacier |
| 173 | p.MaterialVariant = "2022 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 = "Spine_3" |
| 181 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 182 | p.CFrame = CFrame.new(0, 11.475, 5.7) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 183 | p.BrickColor = BrickColor.new("Fossil") |
| 184 | p.Material = Enum.Material.Glacier |
| 185 | p.MaterialVariant = "2022 Stud" |
| 186 | p.Anchored = true |
| 187 | p.Parent = model |
| 188 | end |
| 189 | do |
| 190 | local p = Instance.new("Part") |
| 191 | p.Name = "Vert_3" |
| 192 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 193 | p.CFrame = CFrame.new(0, 12.15, 5.1) |
| 194 | p.BrickColor = BrickColor.new("Fossil") |
| 195 | p.Material = Enum.Material.Glacier |
| 196 | p.MaterialVariant = "2022 Stud" |
| 197 | p.Anchored = true |
| 198 | p.Parent = model |
| 199 | end |
| 200 | do |
| 201 | local p = Instance.new("Part") |
| 202 | p.Shape = Enum.PartType.Cylinder |
| 203 | p.Name = "Spine_4" |
| 204 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 205 | p.CFrame = CFrame.new(0, 11.325, 6.9) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 206 | p.BrickColor = BrickColor.new("Fossil") |
| 207 | p.Material = Enum.Material.Glacier |
| 208 | p.MaterialVariant = "2022 Stud" |
| 209 | p.Anchored = true |
| 210 | p.Parent = model |
| 211 | end |
| 212 | do |
| 213 | local p = Instance.new("Part") |
| 214 | p.Name = "Vert_4" |
| 215 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 216 | p.CFrame = CFrame.new(0, 12, 6.3) |
| 217 | p.BrickColor = BrickColor.new("Fossil") |
| 218 | p.Material = Enum.Material.Glacier |
| 219 | p.MaterialVariant = "2022 Stud" |
| 220 | p.Anchored = true |
| 221 | p.Parent = model |
| 222 | end |
| 223 | do |
| 224 | local p = Instance.new("Part") |
| 225 | p.Shape = Enum.PartType.Cylinder |
| 226 | p.Name = "Spine_5" |
| 227 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 228 | p.CFrame = CFrame.new(0, 11.175, 8.1) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 229 | p.BrickColor = BrickColor.new("Fossil") |
| 230 | p.Material = Enum.Material.Glacier |
| 231 | p.MaterialVariant = "2022 Stud" |
| 232 | p.Anchored = true |
| 233 | p.Parent = model |
| 234 | end |
| 235 | do |
| 236 | local p = Instance.new("Part") |
| 237 | p.Name = "Vert_5" |
| 238 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 239 | p.CFrame = CFrame.new(0, 11.85, 7.5) |
| 240 | p.BrickColor = BrickColor.new("Fossil") |
| 241 | p.Material = Enum.Material.Glacier |
| 242 | p.MaterialVariant = "2022 Stud" |
| 243 | p.Anchored = true |
| 244 | p.Parent = model |
| 245 | end |
| 246 | do |
| 247 | local p = Instance.new("Part") |
| 248 | p.Shape = Enum.PartType.Cylinder |
| 249 | p.Name = "Spine_6" |
| 250 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 251 | p.CFrame = CFrame.new(0, 11.025, 9.3) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 252 | p.BrickColor = BrickColor.new("Fossil") |
| 253 | p.Material = Enum.Material.Glacier |
| 254 | p.MaterialVariant = "2022 Stud" |
| 255 | p.Anchored = true |
| 256 | p.Parent = model |
| 257 | end |
| 258 | do |
| 259 | local p = Instance.new("Part") |
| 260 | p.Name = "Vert_6" |
| 261 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 262 | p.CFrame = CFrame.new(0, 11.7, 8.7) |
| 263 | p.BrickColor = BrickColor.new("Fossil") |
| 264 | p.Material = Enum.Material.Glacier |
| 265 | p.MaterialVariant = "2022 Stud" |
| 266 | p.Anchored = true |
| 267 | p.Parent = model |
| 268 | end |
| 269 | do |
| 270 | local p = Instance.new("Part") |
| 271 | p.Shape = Enum.PartType.Cylinder |
| 272 | p.Name = "Spine_7" |
| 273 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 274 | p.CFrame = CFrame.new(0, 10.875, 10.5) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 275 | p.BrickColor = BrickColor.new("Fossil") |
| 276 | p.Material = Enum.Material.Glacier |
| 277 | p.MaterialVariant = "2022 Stud" |
| 278 | p.Anchored = true |
| 279 | p.Parent = model |
| 280 | end |
| 281 | do |
| 282 | local p = Instance.new("Part") |
| 283 | p.Name = "Vert_7" |
| 284 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 285 | p.CFrame = CFrame.new(0, 11.55, 9.9) |
| 286 | p.BrickColor = BrickColor.new("Fossil") |
| 287 | p.Material = Enum.Material.Glacier |
| 288 | p.MaterialVariant = "2022 Stud" |
| 289 | p.Anchored = true |
| 290 | p.Parent = model |
| 291 | end |
| 292 | do |
| 293 | local p = Instance.new("Part") |
| 294 | p.Shape = Enum.PartType.Cylinder |
| 295 | p.Name = "Spine_8" |
| 296 | p.Size = Vector3.new(1.20934, 0.6, 0.6) |
| 297 | p.CFrame = CFrame.new(0, 10.725, 11.7) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 298 | p.BrickColor = BrickColor.new("Fossil") |
| 299 | p.Material = Enum.Material.Glacier |
| 300 | p.MaterialVariant = "2022 Stud" |
| 301 | p.Anchored = true |
| 302 | p.Parent = model |
| 303 | end |
| 304 | do |
| 305 | local p = Instance.new("Part") |
| 306 | p.Name = "Vert_8" |
| 307 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 308 | p.CFrame = CFrame.new(0, 11.4, 11.1) |
| 309 | p.BrickColor = BrickColor.new("Fossil") |
| 310 | p.Material = Enum.Material.Glacier |
| 311 | p.MaterialVariant = "2022 Stud" |
| 312 | p.Anchored = true |
| 313 | p.Parent = model |
| 314 | end |
| 315 | do |
| 316 | local p = Instance.new("Part") |
| 317 | p.Shape = Enum.PartType.Cylinder |
| 318 | p.Name = "Spine_9" |
| 319 | p.Size = Vector3.new(1.20934, 0.64, 0.64) |
| 320 | p.CFrame = CFrame.new(0, 10.575, 12.9) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 321 | p.BrickColor = BrickColor.new("Fossil") |
| 322 | p.Material = Enum.Material.Glacier |
| 323 | p.MaterialVariant = "2022 Stud" |
| 324 | p.Anchored = true |
| 325 | p.Parent = model |
| 326 | end |
| 327 | do |
| 328 | local p = Instance.new("Part") |
| 329 | p.Name = "Vert_9" |
| 330 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 331 | p.CFrame = CFrame.new(0, 11.25, 12.3) |
| 332 | p.BrickColor = BrickColor.new("Fossil") |
| 333 | p.Material = Enum.Material.Glacier |
| 334 | p.MaterialVariant = "2022 Stud" |
| 335 | p.Anchored = true |
| 336 | p.Parent = model |
| 337 | end |
| 338 | do |
| 339 | local p = Instance.new("Part") |
| 340 | p.Shape = Enum.PartType.Cylinder |
| 341 | p.Name = "Spine_10" |
| 342 | p.Size = Vector3.new(1.20934, 0.68, 0.68) |
| 343 | p.CFrame = CFrame.new(0, 10.425, 14.1) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 344 | p.BrickColor = BrickColor.new("Fossil") |
| 345 | p.Material = Enum.Material.Glacier |
| 346 | p.MaterialVariant = "2022 Stud" |
| 347 | p.Anchored = true |
| 348 | p.Parent = model |
| 349 | end |
| 350 | do |
| 351 | local p = Instance.new("Part") |
| 352 | p.Name = "Vert_10" |
| 353 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 354 | p.CFrame = CFrame.new(0, 11.1, 13.5) |
| 355 | p.BrickColor = BrickColor.new("Fossil") |
| 356 | p.Material = Enum.Material.Glacier |
| 357 | p.MaterialVariant = "2022 Stud" |
| 358 | p.Anchored = true |
| 359 | p.Parent = model |
| 360 | end |
| 361 | do |
| 362 | local p = Instance.new("Part") |
| 363 | p.Shape = Enum.PartType.Cylinder |
| 364 | p.Name = "Spine_11" |
| 365 | p.Size = Vector3.new(1.20934, 0.72, 0.72) |
| 366 | p.CFrame = CFrame.new(0, 10.275, 15.3) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 367 | p.BrickColor = BrickColor.new("Fossil") |
| 368 | p.Material = Enum.Material.Glacier |
| 369 | p.MaterialVariant = "2022 Stud" |
| 370 | p.Anchored = true |
| 371 | p.Parent = model |
| 372 | end |
| 373 | do |
| 374 | local p = Instance.new("Part") |
| 375 | p.Name = "Vert_11" |
| 376 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 377 | p.CFrame = CFrame.new(0, 10.95, 14.7) |
| 378 | p.BrickColor = BrickColor.new("Fossil") |
| 379 | p.Material = Enum.Material.Glacier |
| 380 | p.MaterialVariant = "2022 Stud" |
| 381 | p.Anchored = true |
| 382 | p.Parent = model |
| 383 | end |
| 384 | do |
| 385 | local p = Instance.new("Part") |
| 386 | p.Shape = Enum.PartType.Cylinder |
| 387 | p.Name = "Spine_12" |
| 388 | p.Size = Vector3.new(1.20934, 0.76, 0.76) |
| 389 | p.CFrame = CFrame.new(0, 10.125, 16.5) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 390 | p.BrickColor = BrickColor.new("Fossil") |
| 391 | p.Material = Enum.Material.Glacier |
| 392 | p.MaterialVariant = "2022 Stud" |
| 393 | p.Anchored = true |
| 394 | p.Parent = model |
| 395 | end |
| 396 | do |
| 397 | local p = Instance.new("Part") |
| 398 | p.Name = "Vert_12" |
| 399 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 400 | p.CFrame = CFrame.new(0, 10.8, 15.9) |
| 401 | p.BrickColor = BrickColor.new("Fossil") |
| 402 | p.Material = Enum.Material.Glacier |
| 403 | p.MaterialVariant = "2022 Stud" |
| 404 | p.Anchored = true |
| 405 | p.Parent = model |
| 406 | end |
| 407 | do |
| 408 | local p = Instance.new("Part") |
| 409 | p.Shape = Enum.PartType.Cylinder |
| 410 | p.Name = "Spine_13" |
| 411 | p.Size = Vector3.new(1.20934, 0.8, 0.8) |
| 412 | p.CFrame = CFrame.new(0, 9.975, 17.7) * CFrame.Angles(math.rad(7.12502), math.rad(-90), math.rad(0)) |
| 413 | p.BrickColor = BrickColor.new("Fossil") |
| 414 | p.Material = Enum.Material.Glacier |
| 415 | p.MaterialVariant = "2022 Stud" |
| 416 | p.Anchored = true |
| 417 | p.Parent = model |
| 418 | end |
| 419 | do |
| 420 | local p = Instance.new("Part") |
| 421 | p.Name = "Vert_13" |
| 422 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 423 | p.CFrame = CFrame.new(0, 10.65, 17.1) |
| 424 | p.BrickColor = BrickColor.new("Fossil") |
| 425 | p.Material = Enum.Material.Glacier |
| 426 | p.MaterialVariant = "2022 Stud" |
| 427 | p.Anchored = true |
| 428 | p.Parent = model |
| 429 | end |
| 430 | do |
| 431 | local p = Instance.new("Part") |
| 432 | p.Shape = Enum.PartType.Cylinder |
| 433 | p.Name = "Spine_14" |
| 434 | p.Size = Vector3.new(19.9111, 0.6, 0.6) |
| 435 | p.CFrame = CFrame.new(0, 10.95, 8.4) * CFrame.Angles(math.rad(6.05419), math.rad(90), math.rad(0)) |
| 436 | p.BrickColor = BrickColor.new("Fossil") |
| 437 | p.Material = Enum.Material.Glacier |
| 438 | p.MaterialVariant = "2022 Stud" |
| 439 | p.Anchored = true |
| 440 | p.Parent = model |
| 441 | end |
| 442 | do |
| 443 | local p = Instance.new("Part") |
| 444 | p.Name = "Vert_14" |
| 445 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 446 | p.CFrame = CFrame.new(0, 10.5, 18.3) |
| 447 | p.BrickColor = BrickColor.new("Fossil") |
| 448 | p.Material = Enum.Material.Glacier |
| 449 | p.MaterialVariant = "2022 Stud" |
| 450 | p.Anchored = true |
| 451 | p.Parent = model |
| 452 | end |
| 453 | do |
| 454 | local p = Instance.new("Part") |
| 455 | p.Shape = Enum.PartType.Cylinder |
| 456 | p.Name = "Spine_15" |
| 457 | p.Size = Vector3.new(1.27926, 0.6, 0.6) |
| 458 | p.CFrame = CFrame.new(0, 12.2216, -2.1) * CFrame.Angles(math.rad(20.2742), math.rad(90), math.rad(0)) |
| 459 | p.BrickColor = BrickColor.new("Fossil") |
| 460 | p.Material = Enum.Material.Glacier |
| 461 | p.MaterialVariant = "2022 Stud" |
| 462 | p.Anchored = true |
| 463 | p.Parent = model |
| 464 | end |
| 465 | do |
| 466 | local p = Instance.new("Part") |
| 467 | p.Name = "Vert_15" |
| 468 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 469 | p.CFrame = CFrame.new(0, 12.6, -1.5) |
| 470 | p.BrickColor = BrickColor.new("Fossil") |
| 471 | p.Material = Enum.Material.Glacier |
| 472 | p.MaterialVariant = "2022 Stud" |
| 473 | p.Anchored = true |
| 474 | p.Parent = model |
| 475 | end |
| 476 | do |
| 477 | local p = Instance.new("Part") |
| 478 | p.Shape = Enum.PartType.Cylinder |
| 479 | p.Name = "Spine_16" |
| 480 | p.Size = Vector3.new(1.26608, 0.64, 0.64) |
| 481 | p.CFrame = CFrame.new(0, 12.6451, -3.3) * CFrame.Angles(math.rad(18.5931), math.rad(90), math.rad(0)) |
| 482 | p.BrickColor = BrickColor.new("Fossil") |
| 483 | p.Material = Enum.Material.Glacier |
| 484 | p.MaterialVariant = "2022 Stud" |
| 485 | p.Anchored = true |
| 486 | p.Parent = model |
| 487 | end |
| 488 | do |
| 489 | local p = Instance.new("Part") |
| 490 | p.Name = "Vert_16" |
| 491 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 492 | p.CFrame = CFrame.new(0, 13.0433, -2.7) |
| 493 | p.BrickColor = BrickColor.new("Fossil") |
| 494 | p.Material = Enum.Material.Glacier |
| 495 | p.MaterialVariant = "2022 Stud" |
| 496 | p.Anchored = true |
| 497 | p.Parent = model |
| 498 | end |
| 499 | do |
| 500 | local p = Instance.new("Part") |
| 501 | p.Shape = Enum.PartType.Cylinder |
| 502 | p.Name = "Spine_17" |
| 503 | p.Size = Vector3.new(1.24403, 0.68, 0.68) |
| 504 | p.CFrame = CFrame.new(0, 13.011, -4.5) * CFrame.Angles(math.rad(15.2886), math.rad(90), math.rad(0)) |
| 505 | p.BrickColor = BrickColor.new("Fossil") |
| 506 | p.Material = Enum.Material.Glacier |
| 507 | p.MaterialVariant = "2022 Stud" |
| 508 | p.Anchored = true |
| 509 | p.Parent = model |
| 510 | end |
| 511 | do |
| 512 | local p = Instance.new("Part") |
| 513 | p.Name = "Vert_17" |
| 514 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 515 | p.CFrame = CFrame.new(0, 13.447, -3.9) |
| 516 | p.BrickColor = BrickColor.new("Fossil") |
| 517 | p.Material = Enum.Material.Glacier |
| 518 | p.MaterialVariant = "2022 Stud" |
| 519 | p.Anchored = true |
| 520 | p.Parent = model |
| 521 | end |
| 522 | do |
| 523 | local p = Instance.new("Part") |
| 524 | p.Shape = Enum.PartType.Cylinder |
| 525 | p.Name = "Spine_18" |
| 526 | p.Size = Vector3.new(1.22056, 0.72, 0.72) |
| 527 | p.CFrame = CFrame.new(0, 13.2865, -5.7) * CFrame.Angles(math.rad(10.5305), math.rad(90), math.rad(0)) |
| 528 | p.BrickColor = BrickColor.new("Fossil") |
| 529 | p.Material = Enum.Material.Glacier |
| 530 | p.MaterialVariant = "2022 Stud" |
| 531 | p.Anchored = true |
| 532 | p.Parent = model |
| 533 | end |
| 534 | do |
| 535 | local p = Instance.new("Part") |
| 536 | p.Name = "Vert_18" |
| 537 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 538 | p.CFrame = CFrame.new(0, 13.775, -5.1) |
| 539 | p.BrickColor = BrickColor.new("Fossil") |
| 540 | p.Material = Enum.Material.Glacier |
| 541 | p.MaterialVariant = "2022 Stud" |
| 542 | p.Anchored = true |
| 543 | p.Parent = model |
| 544 | end |
| 545 | do |
| 546 | local p = Instance.new("Part") |
| 547 | p.Shape = Enum.PartType.Cylinder |
| 548 | p.Name = "Spine_19" |
| 549 | p.Size = Vector3.new(1.20401, 0.76, 0.76) |
| 550 | p.CFrame = CFrame.new(0, 13.4472, -6.9) * CFrame.Angles(math.rad(4.67751), math.rad(90), math.rad(0)) |
| 551 | p.BrickColor = BrickColor.new("Fossil") |
| 552 | p.Material = Enum.Material.Glacier |
| 553 | p.MaterialVariant = "2022 Stud" |
| 554 | p.Anchored = true |
| 555 | p.Parent = model |
| 556 | end |
| 557 | do |
| 558 | local p = Instance.new("Part") |
| 559 | p.Name = "Vert_19" |
| 560 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 561 | p.CFrame = CFrame.new(0, 13.9981, -6.3) |
| 562 | p.BrickColor = BrickColor.new("Fossil") |
| 563 | p.Material = Enum.Material.Glacier |
| 564 | p.MaterialVariant = "2022 Stud" |
| 565 | p.Anchored = true |
| 566 | p.Parent = model |
| 567 | end |
| 568 | do |
| 569 | local p = Instance.new("Part") |
| 570 | p.Shape = Enum.PartType.Cylinder |
| 571 | p.Name = "Spine_20" |
| 572 | p.Size = Vector3.new(1.20052, 0.8, 0.8) |
| 573 | p.CFrame = CFrame.new(0, 13.4785, -8.1) * CFrame.Angles(math.rad(-1.69312), math.rad(90), math.rad(0)) |
| 574 | p.BrickColor = BrickColor.new("Fossil") |
| 575 | p.Material = Enum.Material.Glacier |
| 576 | p.MaterialVariant = "2022 Stud" |
| 577 | p.Anchored = true |
| 578 | p.Parent = model |
| 579 | end |
| 580 | do |
| 581 | local p = Instance.new("Part") |
| 582 | p.Name = "Vert_20" |
| 583 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 584 | p.CFrame = CFrame.new(0, 14.0962, -7.5) |
| 585 | p.BrickColor = BrickColor.new("Fossil") |
| 586 | p.Material = Enum.Material.Glacier |
| 587 | p.MaterialVariant = "2022 Stud" |
| 588 | p.Anchored = true |
| 589 | p.Parent = model |
| 590 | end |
| 591 | do |
| 592 | local p = Instance.new("Part") |
| 593 | p.Shape = Enum.PartType.Cylinder |
| 594 | p.Name = "Spine_21" |
| 595 | p.Size = Vector3.new(1.21142, 0.72, 0.72) |
| 596 | p.CFrame = CFrame.new(0, 13.3778, -9.3) * CFrame.Angles(math.rad(-7.87394), math.rad(90), math.rad(0)) |
| 597 | p.BrickColor = BrickColor.new("Fossil") |
| 598 | p.Material = Enum.Material.Glacier |
| 599 | p.MaterialVariant = "2022 Stud" |
| 600 | p.Anchored = true |
| 601 | p.Parent = model |
| 602 | end |
| 603 | do |
| 604 | local p = Instance.new("Part") |
| 605 | p.Name = "Vert_21" |
| 606 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 607 | p.CFrame = CFrame.new(0, 14.0608, -8.7) |
| 608 | p.BrickColor = BrickColor.new("Fossil") |
| 609 | p.Material = Enum.Material.Glacier |
| 610 | p.MaterialVariant = "2022 Stud" |
| 611 | p.Anchored = true |
| 612 | p.Parent = model |
| 613 | end |
| 614 | do |
| 615 | local p = Instance.new("Part") |
| 616 | p.Shape = Enum.PartType.Cylinder |
| 617 | p.Name = "Spine_22" |
| 618 | p.Size = Vector3.new(1.2326, 0.76, 0.76) |
| 619 | p.CFrame = CFrame.new(0, 13.154, -10.5) * CFrame.Angles(math.rad(-13.2073), math.rad(90), math.rad(0)) |
| 620 | p.BrickColor = BrickColor.new("Fossil") |
| 621 | p.Material = Enum.Material.Glacier |
| 622 | p.MaterialVariant = "2022 Stud" |
| 623 | p.Anchored = true |
| 624 | p.Parent = model |
| 625 | end |
| 626 | do |
| 627 | local p = Instance.new("Part") |
| 628 | p.Name = "Vert_22" |
| 629 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 630 | p.CFrame = CFrame.new(0, 13.8948, -9.9) |
| 631 | p.BrickColor = BrickColor.new("Fossil") |
| 632 | p.Material = Enum.Material.Glacier |
| 633 | p.MaterialVariant = "2022 Stud" |
| 634 | p.Anchored = true |
| 635 | p.Parent = model |
| 636 | end |
| 637 | do |
| 638 | local p = Instance.new("Part") |
| 639 | p.Shape = Enum.PartType.Cylinder |
| 640 | p.Name = "Spine_23" |
| 641 | p.Size = Vector3.new(1.25638, 0.72, 0.72) |
| 642 | p.CFrame = CFrame.new(0, 12.8271, -11.7) * CFrame.Angles(math.rad(-17.2289), math.rad(90), math.rad(0)) |
| 643 | p.BrickColor = BrickColor.new("Fossil") |
| 644 | p.Material = Enum.Material.Glacier |
| 645 | p.MaterialVariant = "2022 Stud" |
| 646 | p.Anchored = true |
| 647 | p.Parent = model |
| 648 | end |
| 649 | do |
| 650 | local p = Instance.new("Part") |
| 651 | p.Name = "Vert_23" |
| 652 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 653 | p.CFrame = CFrame.new(0, 13.6132, -11.1) |
| 654 | p.BrickColor = BrickColor.new("Fossil") |
| 655 | p.Material = Enum.Material.Glacier |
| 656 | p.MaterialVariant = "2022 Stud" |
| 657 | p.Anchored = true |
| 658 | p.Parent = model |
| 659 | end |
| 660 | do |
| 661 | local p = Instance.new("Part") |
| 662 | p.Shape = Enum.PartType.Cylinder |
| 663 | p.Name = "Spine_24" |
| 664 | p.Size = Vector3.new(1.27451, 0.68, 0.68) |
| 665 | p.CFrame = CFrame.new(0, 12.4264, -12.9) * CFrame.Angles(math.rad(-19.6885), math.rad(90), math.rad(0)) |
| 666 | p.BrickColor = BrickColor.new("Fossil") |
| 667 | p.Material = Enum.Material.Glacier |
| 668 | p.MaterialVariant = "2022 Stud" |
| 669 | p.Anchored = true |
| 670 | p.Parent = model |
| 671 | end |
| 672 | do |
| 673 | local p = Instance.new("Part") |
| 674 | p.Name = "Vert_24" |
| 675 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 676 | p.CFrame = CFrame.new(0, 13.2411, -12.3) |
| 677 | p.BrickColor = BrickColor.new("Fossil") |
| 678 | p.Material = Enum.Material.Glacier |
| 679 | p.MaterialVariant = "2022 Stud" |
| 680 | p.Anchored = true |
| 681 | p.Parent = model |
| 682 | end |
| 683 | do |
| 684 | local p = Instance.new("Part") |
| 685 | p.Shape = Enum.PartType.Cylinder |
| 686 | p.Name = "Spine_25" |
| 687 | p.Size = Vector3.new(1.281, 0.64, 0.64) |
| 688 | p.CFrame = CFrame.new(0, 11.9875, -14.1) * CFrame.Angles(math.rad(-20.4848), math.rad(90), math.rad(0)) |
| 689 | p.BrickColor = BrickColor.new("Fossil") |
| 690 | p.Material = Enum.Material.Glacier |
| 691 | p.MaterialVariant = "2022 Stud" |
| 692 | p.Anchored = true |
| 693 | p.Parent = model |
| 694 | end |
| 695 | do |
| 696 | local p = Instance.new("Part") |
| 697 | p.Name = "Vert_25" |
| 698 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 699 | p.CFrame = CFrame.new(0, 12.8117, -13.5) |
| 700 | p.BrickColor = BrickColor.new("Fossil") |
| 701 | p.Material = Enum.Material.Glacier |
| 702 | p.MaterialVariant = "2022 Stud" |
| 703 | p.Anchored = true |
| 704 | p.Parent = model |
| 705 | end |
| 706 | do |
| 707 | local p = Instance.new("Part") |
| 708 | p.Name = "Skull_Top" |
| 709 | p.Size = Vector3.new(2.5, 1.5, 4) |
| 710 | p.CFrame = CFrame.new(0, 13.7634, -16.7) |
| 711 | p.BrickColor = BrickColor.new("Fossil") |
| 712 | p.Material = Enum.Material.Glacier |
| 713 | p.MaterialVariant = "2022 Stud" |
| 714 | p.Anchored = true |
| 715 | p.Parent = model |
| 716 | end |
| 717 | do |
| 718 | local p = Instance.new("Part") |
| 719 | p.Name = "Skull_Snout" |
| 720 | p.Size = Vector3.new(2, 1.5, 3) |
| 721 | p.CFrame = CFrame.new(0, 13.2634, -19.7) |
| 722 | p.BrickColor = BrickColor.new("Fossil") |
| 723 | p.Material = Enum.Material.Glacier |
| 724 | p.MaterialVariant = "2022 Stud" |
| 725 | p.Anchored = true |
| 726 | p.Parent = model |
| 727 | end |
| 728 | do |
| 729 | local p = Instance.new("Part") |
| 730 | p.Name = "Skull_Jaw" |
| 731 | p.Size = Vector3.new(1.8, 1, 4) |
| 732 | p.CFrame = CFrame.new(0, 11.7634, -19.2) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 733 | p.BrickColor = BrickColor.new("Fossil") |
| 734 | p.Material = Enum.Material.Glacier |
| 735 | p.MaterialVariant = "2022 Stud" |
| 736 | p.Anchored = true |
| 737 | p.Parent = model |
| 738 | end |
| 739 | do |
| 740 | local p = Instance.new("WedgePart") |
| 741 | p.Name = "Tooth_U_0" |
| 742 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 743 | p.CFrame = CFrame.new(0.84, 12.2634, -20.7) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 744 | p.BrickColor = BrickColor.new("Fossil") |
| 745 | p.Material = Enum.Material.Glacier |
| 746 | p.MaterialVariant = "2022 Stud" |
| 747 | p.Anchored = true |
| 748 | p.Parent = model |
| 749 | end |
| 750 | do |
| 751 | local p = Instance.new("WedgePart") |
| 752 | p.Name = "Tooth_U_R_0" |
| 753 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 754 | p.CFrame = CFrame.new(-0.84, 12.2634, -20.7) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 755 | p.BrickColor = BrickColor.new("Fossil") |
| 756 | p.Material = Enum.Material.Glacier |
| 757 | p.MaterialVariant = "2022 Stud" |
| 758 | p.Anchored = true |
| 759 | p.Parent = model |
| 760 | end |
| 761 | do |
| 762 | local p = Instance.new("WedgePart") |
| 763 | p.Name = "Tooth_L_0" |
| 764 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 765 | p.CFrame = CFrame.new(0.7, 12.2634, -20.7) |
| 766 | p.BrickColor = BrickColor.new("Fossil") |
| 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 = "Tooth_L_R_0" |
| 775 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 776 | p.CFrame = CFrame.new(-0.7, 12.2634, -20.7) |
| 777 | p.BrickColor = BrickColor.new("Fossil") |
| 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("WedgePart") |
| 785 | p.Name = "Tooth_U_1" |
| 786 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 787 | p.CFrame = CFrame.new(0.84, 12.2634, -20.2) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 788 | p.BrickColor = BrickColor.new("Fossil") |
| 789 | p.Material = Enum.Material.Glacier |
| 790 | p.MaterialVariant = "2022 Stud" |
| 791 | p.Anchored = true |
| 792 | p.Parent = model |
| 793 | end |
| 794 | do |
| 795 | local p = Instance.new("WedgePart") |
| 796 | p.Name = "Tooth_U_R_1" |
| 797 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 798 | p.CFrame = CFrame.new(-0.84, 12.2634, -20.2) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 799 | p.BrickColor = BrickColor.new("Fossil") |
| 800 | p.Material = Enum.Material.Glacier |
| 801 | p.MaterialVariant = "2022 Stud" |
| 802 | p.Anchored = true |
| 803 | p.Parent = model |
| 804 | end |
| 805 | do |
| 806 | local p = Instance.new("WedgePart") |
| 807 | p.Name = "Tooth_L_1" |
| 808 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 809 | p.CFrame = CFrame.new(0.7, 12.2634, -20.2) |
| 810 | p.BrickColor = BrickColor.new("Fossil") |
| 811 | p.Material = Enum.Material.Glacier |
| 812 | p.MaterialVariant = "2022 Stud" |
| 813 | p.Anchored = true |
| 814 | p.Parent = model |
| 815 | end |
| 816 | do |
| 817 | local p = Instance.new("WedgePart") |
| 818 | p.Name = "Tooth_L_R_1" |
| 819 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 820 | p.CFrame = CFrame.new(-0.7, 12.2634, -20.2) |
| 821 | p.BrickColor = BrickColor.new("Fossil") |
| 822 | p.Material = Enum.Material.Glacier |
| 823 | p.MaterialVariant = "2022 Stud" |
| 824 | p.Anchored = true |
| 825 | p.Parent = model |
| 826 | end |
| 827 | do |
| 828 | local p = Instance.new("WedgePart") |
| 829 | p.Name = "Tooth_U_2" |
| 830 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 831 | p.CFrame = CFrame.new(0.84, 12.2634, -19.7) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 832 | p.BrickColor = BrickColor.new("Fossil") |
| 833 | p.Material = Enum.Material.Glacier |
| 834 | p.MaterialVariant = "2022 Stud" |
| 835 | p.Anchored = true |
| 836 | p.Parent = model |
| 837 | end |
| 838 | do |
| 839 | local p = Instance.new("WedgePart") |
| 840 | p.Name = "Tooth_U_R_2" |
| 841 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 842 | p.CFrame = CFrame.new(-0.84, 12.2634, -19.7) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 843 | p.BrickColor = BrickColor.new("Fossil") |
| 844 | p.Material = Enum.Material.Glacier |
| 845 | p.MaterialVariant = "2022 Stud" |
| 846 | p.Anchored = true |
| 847 | p.Parent = model |
| 848 | end |
| 849 | do |
| 850 | local p = Instance.new("WedgePart") |
| 851 | p.Name = "Tooth_L_2" |
| 852 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 853 | p.CFrame = CFrame.new(0.7, 12.2634, -19.7) |
| 854 | p.BrickColor = BrickColor.new("Fossil") |
| 855 | p.Material = Enum.Material.Glacier |
| 856 | p.MaterialVariant = "2022 Stud" |
| 857 | p.Anchored = true |
| 858 | p.Parent = model |
| 859 | end |
| 860 | do |
| 861 | local p = Instance.new("WedgePart") |
| 862 | p.Name = "Tooth_L_R_2" |
| 863 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 864 | p.CFrame = CFrame.new(-0.7, 12.2634, -19.7) |
| 865 | p.BrickColor = BrickColor.new("Fossil") |
| 866 | p.Material = Enum.Material.Glacier |
| 867 | p.MaterialVariant = "2022 Stud" |
| 868 | p.Anchored = true |
| 869 | p.Parent = model |
| 870 | end |
| 871 | do |
| 872 | local p = Instance.new("WedgePart") |
| 873 | p.Name = "Tooth_U_3" |
| 874 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 875 | p.CFrame = CFrame.new(0.84, 12.2634, -19.2) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 876 | p.BrickColor = BrickColor.new("Fossil") |
| 877 | p.Material = Enum.Material.Glacier |
| 878 | p.MaterialVariant = "2022 Stud" |
| 879 | p.Anchored = true |
| 880 | p.Parent = model |
| 881 | end |
| 882 | do |
| 883 | local p = Instance.new("WedgePart") |
| 884 | p.Name = "Tooth_U_R_3" |
| 885 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 886 | p.CFrame = CFrame.new(-0.84, 12.2634, -19.2) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 887 | p.BrickColor = BrickColor.new("Fossil") |
| 888 | p.Material = Enum.Material.Glacier |
| 889 | p.MaterialVariant = "2022 Stud" |
| 890 | p.Anchored = true |
| 891 | p.Parent = model |
| 892 | end |
| 893 | do |
| 894 | local p = Instance.new("WedgePart") |
| 895 | p.Name = "Tooth_L_3" |
| 896 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 897 | p.CFrame = CFrame.new(0.7, 12.2634, -19.2) |
| 898 | p.BrickColor = BrickColor.new("Fossil") |
| 899 | p.Material = Enum.Material.Glacier |
| 900 | p.MaterialVariant = "2022 Stud" |
| 901 | p.Anchored = true |
| 902 | p.Parent = model |
| 903 | end |
| 904 | do |
| 905 | local p = Instance.new("WedgePart") |
| 906 | p.Name = "Tooth_L_R_3" |
| 907 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 908 | p.CFrame = CFrame.new(-0.7, 12.2634, -19.2) |
| 909 | p.BrickColor = BrickColor.new("Fossil") |
| 910 | p.Material = Enum.Material.Glacier |
| 911 | p.MaterialVariant = "2022 Stud" |
| 912 | p.Anchored = true |
| 913 | p.Parent = model |
| 914 | end |
| 915 | do |
| 916 | local p = Instance.new("WedgePart") |
| 917 | p.Name = "Tooth_U_4" |
| 918 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 919 | p.CFrame = CFrame.new(0.84, 12.2634, -18.7) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 920 | p.BrickColor = BrickColor.new("Fossil") |
| 921 | p.Material = Enum.Material.Glacier |
| 922 | p.MaterialVariant = "2022 Stud" |
| 923 | p.Anchored = true |
| 924 | p.Parent = model |
| 925 | end |
| 926 | do |
| 927 | local p = Instance.new("WedgePart") |
| 928 | p.Name = "Tooth_U_R_4" |
| 929 | p.Size = Vector3.new(0.2, 0.8, 0.2) |
| 930 | p.CFrame = CFrame.new(-0.84, 12.2634, -18.7) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 931 | p.BrickColor = BrickColor.new("Fossil") |
| 932 | p.Material = Enum.Material.Glacier |
| 933 | p.MaterialVariant = "2022 Stud" |
| 934 | p.Anchored = true |
| 935 | p.Parent = model |
| 936 | end |
| 937 | do |
| 938 | local p = Instance.new("WedgePart") |
| 939 | p.Name = "Tooth_L_4" |
| 940 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 941 | p.CFrame = CFrame.new(0.7, 12.2634, -18.7) |
| 942 | p.BrickColor = BrickColor.new("Fossil") |
| 943 | p.Material = Enum.Material.Glacier |
| 944 | p.MaterialVariant = "2022 Stud" |
| 945 | p.Anchored = true |
| 946 | p.Parent = model |
| 947 | end |
| 948 | do |
| 949 | local p = Instance.new("WedgePart") |
| 950 | p.Name = "Tooth_L_R_4" |
| 951 | p.Size = Vector3.new(0.2, 0.6, 0.2) |
| 952 | p.CFrame = CFrame.new(-0.7, 12.2634, -18.7) |
| 953 | p.BrickColor = BrickColor.new("Fossil") |
| 954 | p.Material = Enum.Material.Glacier |
| 955 | p.MaterialVariant = "2022 Stud" |
| 956 | p.Anchored = true |
| 957 | p.Parent = model |
| 958 | end |
| 959 | do |
| 960 | local p = Instance.new("Part") |
| 961 | p.Shape = Enum.PartType.Cylinder |
| 962 | p.Name = "Femur_L" |
| 963 | p.Size = Vector3.new(4.06202, 1.2, 1.2) |
| 964 | p.CFrame = CFrame.new(1.75, 9.75, 1) * CFrame.Angles(math.rad(0), math.rad(-75.9638), math.rad(-59.5013)) |
| 965 | p.BrickColor = BrickColor.new("Fossil") |
| 966 | p.Material = Enum.Material.Glacier |
| 967 | p.MaterialVariant = "2022 Stud" |
| 968 | p.Anchored = true |
| 969 | p.Parent = model |
| 970 | end |
| 971 | do |
| 972 | local p = Instance.new("Part") |
| 973 | p.Shape = Enum.PartType.Cylinder |
| 974 | p.Name = "Tibia_L" |
| 975 | p.Size = Vector3.new(4.47661, 0.8, 0.8) |
| 976 | p.CFrame = CFrame.new(1.9, 6, 1) * CFrame.Angles(math.rad(-180), math.rad(84.2894), math.rad(116.679)) |
| 977 | p.BrickColor = BrickColor.new("Fossil") |
| 978 | p.Material = Enum.Material.Glacier |
| 979 | p.MaterialVariant = "2022 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 = "Metatarsal_L" |
| 987 | p.Size = Vector3.new(2.5, 0.6, 0.6) |
| 988 | p.CFrame = CFrame.new(1.8, 3, -0.75) * CFrame.Angles(math.rad(-53.1301), math.rad(90), math.rad(0)) |
| 989 | p.BrickColor = BrickColor.new("Fossil") |
| 990 | p.Material = Enum.Material.Glacier |
| 991 | p.MaterialVariant = "2022 Stud" |
| 992 | p.Anchored = true |
| 993 | p.Parent = model |
| 994 | end |
| 995 | do |
| 996 | local p = Instance.new("Part") |
| 997 | p.Shape = Enum.PartType.Cylinder |
| 998 | p.Name = "Femur_R" |
| 999 | p.Size = Vector3.new(4.06202, 1.2, 1.2) |
| 1000 | p.CFrame = CFrame.new(-1.75, 9.75, 1) * CFrame.Angles(math.rad(-180), math.rad(-75.9638), math.rad(120.499)) |
| 1001 | p.BrickColor = BrickColor.new("Fossil") |
| 1002 | p.Material = Enum.Material.Glacier |
| 1003 | p.MaterialVariant = "2022 Stud" |
| 1004 | p.Anchored = true |
| 1005 | p.Parent = model |
| 1006 | end |
| 1007 | do |
| 1008 | local p = Instance.new("Part") |
| 1009 | p.Shape = Enum.PartType.Cylinder |
| 1010 | p.Name = "Tibia_R" |
| 1011 | p.Size = Vector3.new(4.47661, 0.8, 0.8) |
| 1012 | p.CFrame = CFrame.new(-1.9, 6, 1) * CFrame.Angles(math.rad(0), math.rad(84.2894), math.rad(-63.3208)) |
| 1013 | p.BrickColor = BrickColor.new("Fossil") |
| 1014 | p.Material = Enum.Material.Glacier |
| 1015 | p.MaterialVariant = "2022 Stud" |
| 1016 | p.Anchored = true |
| 1017 | p.Parent = model |
| 1018 | end |
| 1019 | do |
| 1020 | local p = Instance.new("Part") |
| 1021 | p.Shape = Enum.PartType.Cylinder |
| 1022 | p.Name = "Metatarsal_R" |
| 1023 | p.Size = Vector3.new(2.5, 0.6, 0.6) |
| 1024 | p.CFrame = CFrame.new(-1.8, 3, -0.75) * CFrame.Angles(math.rad(-53.1301), math.rad(90), math.rad(0)) |
| 1025 | p.BrickColor = BrickColor.new("Fossil") |
| 1026 | p.Material = Enum.Material.Glacier |
| 1027 | p.MaterialVariant = "2022 Stud" |
| 1028 | p.Anchored = true |
| 1029 | p.Parent = model |
| 1030 | end |
| 1031 | do |
| 1032 | local p = Instance.new("Part") |
| 1033 | p.Shape = Enum.PartType.Cylinder |
| 1034 | p.Name = "Toe_L_0" |
| 1035 | p.Size = Vector3.new(1.69115, 0.24, 0.24) |
| 1036 | p.CFrame = CFrame.new(1.5, 1.75, -2.25) * CFrame.Angles(math.rad(-180), math.rad(68.1986), math.rad(162.803)) |
| 1037 | p.BrickColor = BrickColor.new("Fossil") |
| 1038 | p.Material = Enum.Material.Glacier |
| 1039 | p.MaterialVariant = "2022 Stud" |
| 1040 | p.Anchored = true |
| 1041 | p.Parent = model |
| 1042 | end |
| 1043 | do |
| 1044 | local p = Instance.new("Part") |
| 1045 | p.Shape = Enum.PartType.Cylinder |
| 1046 | p.Name = "Toe_R_0" |
| 1047 | p.Size = Vector3.new(1.69115, 0.24, 0.24) |
| 1048 | p.CFrame = CFrame.new(-2.1, 1.75, -2.25) * CFrame.Angles(math.rad(-180), math.rad(68.1986), math.rad(162.803)) |
| 1049 | p.BrickColor = BrickColor.new("Fossil") |
| 1050 | p.Material = Enum.Material.Glacier |
| 1051 | p.MaterialVariant = "2022 Stud" |
| 1052 | p.Anchored = true |
| 1053 | p.Parent = model |
| 1054 | end |
| 1055 | do |
| 1056 | local p = Instance.new("Part") |
| 1057 | p.Shape = Enum.PartType.Cylinder |
| 1058 | p.Name = "Toe_L_1" |
| 1059 | p.Size = Vector3.new(1.58114, 0.28, 0.28) |
| 1060 | p.CFrame = CFrame.new(1.8, 1.75, -2.25) * CFrame.Angles(math.rad(-18.4349), math.rad(90), math.rad(0)) |
| 1061 | p.BrickColor = BrickColor.new("Fossil") |
| 1062 | p.Material = Enum.Material.Glacier |
| 1063 | p.MaterialVariant = "2022 Stud" |
| 1064 | p.Anchored = true |
| 1065 | p.Parent = model |
| 1066 | end |
| 1067 | do |
| 1068 | local p = Instance.new("Part") |
| 1069 | p.Shape = Enum.PartType.Cylinder |
| 1070 | p.Name = "Toe_R_1" |
| 1071 | p.Size = Vector3.new(1.58114, 0.28, 0.28) |
| 1072 | p.CFrame = CFrame.new(-1.8, 1.75, -2.25) * CFrame.Angles(math.rad(-18.4349), math.rad(90), math.rad(0)) |
| 1073 | p.BrickColor = BrickColor.new("Fossil") |
| 1074 | p.Material = Enum.Material.Glacier |
| 1075 | p.MaterialVariant = "2022 Stud" |
| 1076 | p.Anchored = true |
| 1077 | p.Parent = model |
| 1078 | end |
| 1079 | do |
| 1080 | local p = Instance.new("Part") |
| 1081 | p.Shape = Enum.PartType.Cylinder |
| 1082 | p.Name = "Toe_L_2" |
| 1083 | p.Size = Vector3.new(1.69115, 0.28, 0.28) |
| 1084 | p.CFrame = CFrame.new(2.1, 1.75, -2.25) * CFrame.Angles(math.rad(0), math.rad(68.1986), math.rad(-17.1969)) |
| 1085 | p.BrickColor = BrickColor.new("Fossil") |
| 1086 | p.Material = Enum.Material.Glacier |
| 1087 | p.MaterialVariant = "2022 Stud" |
| 1088 | p.Anchored = true |
| 1089 | p.Parent = model |
| 1090 | end |
| 1091 | do |
| 1092 | local p = Instance.new("Part") |
| 1093 | p.Shape = Enum.PartType.Cylinder |
| 1094 | p.Name = "Toe_R_2" |
| 1095 | p.Size = Vector3.new(1.69115, 0.28, 0.28) |
| 1096 | p.CFrame = CFrame.new(-1.5, 1.75, -2.25) * CFrame.Angles(math.rad(0), math.rad(68.1986), math.rad(-17.1969)) |
| 1097 | p.BrickColor = BrickColor.new("Fossil") |
| 1098 | p.Material = Enum.Material.Glacier |
| 1099 | p.MaterialVariant = "2022 Stud" |
| 1100 | p.Anchored = true |
| 1101 | p.Parent = model |
| 1102 | end |
| 1103 | do |
| 1104 | local p = Instance.new("Part") |
| 1105 | p.Shape = Enum.PartType.Cylinder |
| 1106 | p.Name = "Humerus_L" |
| 1107 | p.Size = Vector3.new(2.23607, 0.5, 0.5) |
| 1108 | p.CFrame = CFrame.new(1.5, 9, -6.5) * CFrame.Angles(math.rad(63.4349), math.rad(-90), math.rad(0)) |
| 1109 | p.BrickColor = BrickColor.new("Fossil") |
| 1110 | p.Material = Enum.Material.Glacier |
| 1111 | p.MaterialVariant = "2022 Stud" |
| 1112 | p.Anchored = true |
| 1113 | p.Parent = model |
| 1114 | end |
| 1115 | do |
| 1116 | local p = Instance.new("Part") |
| 1117 | p.Shape = Enum.PartType.Cylinder |
| 1118 | p.Name = "Radius_L" |
| 1119 | p.Size = Vector3.new(1.44568, 0.4, 0.4) |
| 1120 | p.CFrame = CFrame.new(1.35, 7.5, -6.5) * CFrame.Angles(math.rad(-180), math.rad(73.3008), math.rad(136.234)) |
| 1121 | p.BrickColor = BrickColor.new("Fossil") |
| 1122 | p.Material = Enum.Material.Glacier |
| 1123 | p.MaterialVariant = "2022 Stud" |
| 1124 | p.Anchored = true |
| 1125 | p.Parent = model |
| 1126 | end |
| 1127 | do |
| 1128 | local p = Instance.new("Part") |
| 1129 | p.Shape = Enum.PartType.Cylinder |
| 1130 | p.Name = "Humerus_R" |
| 1131 | p.Size = Vector3.new(2.23607, 0.5, 0.5) |
| 1132 | p.CFrame = CFrame.new(-1.5, 9, -6.5) * CFrame.Angles(math.rad(63.4349), math.rad(-90), math.rad(0)) |
| 1133 | p.BrickColor = BrickColor.new("Fossil") |
| 1134 | p.Material = Enum.Material.Glacier |
| 1135 | p.MaterialVariant = "2022 Stud" |
| 1136 | p.Anchored = true |
| 1137 | p.Parent = model |
| 1138 | end |
| 1139 | do |
| 1140 | local p = Instance.new("Part") |
| 1141 | p.Shape = Enum.PartType.Cylinder |
| 1142 | p.Name = "Radius_R" |
| 1143 | p.Size = Vector3.new(1.44568, 0.4, 0.4) |
| 1144 | p.CFrame = CFrame.new(-1.35, 7.5, -6.5) * CFrame.Angles(math.rad(0), math.rad(73.3008), math.rad(-43.766)) |
| 1145 | p.BrickColor = BrickColor.new("Fossil") |
| 1146 | p.Material = Enum.Material.Glacier |
| 1147 | p.MaterialVariant = "2022 Stud" |
| 1148 | p.Anchored = true |
| 1149 | p.Parent = model |
| 1150 | end |
| 1151 | do |
| 1152 | local rightV = Vector3.new(1,0,0).Unit |
| 1153 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1154 | local normalV = upV:Cross(rightV) |
| 1155 | local pos = Vector3.new(1.5, 11.387, -2.96) |
| 1156 | local cyl = Instance.new("Part") |
| 1157 | cyl.Shape = Enum.PartType.Cylinder |
| 1158 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1159 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1160 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1161 | cyl.Material = Enum.Material.Glacier |
| 1162 | cyl.MaterialVariant = "2022 Stud" |
| 1163 | cyl.Anchored = true; cyl.Parent = workspace |
| 1164 | local cuts = {} |
| 1165 | local hole = Instance.new("Part") |
| 1166 | hole.Shape = Enum.PartType.Cylinder |
| 1167 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1168 | hole.CFrame = cyl.CFrame |
| 1169 | hole.BrickColor = BrickColor.new("Fossil") |
| 1170 | hole.Material = Enum.Material.Glacier |
| 1171 | hole.MaterialVariant = "2022 Stud" |
| 1172 | hole.Anchored = true; hole.Parent = workspace |
| 1173 | table.insert(cuts, hole) |
| 1174 | local angBoxes = {} |
| 1175 | do |
| 1176 | local edgeDir = 1*rightV + 0*upV |
| 1177 | local edgePerp = 0*rightV + 1*upV |
| 1178 | local cut = Instance.new("Part") |
| 1179 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1180 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1181 | cut.BrickColor = BrickColor.new("Fossil") |
| 1182 | cut.Material = Enum.Material.Glacier |
| 1183 | cut.MaterialVariant = "2022 Stud" |
| 1184 | cut.Anchored = true; cut.Parent = workspace |
| 1185 | table.insert(angBoxes, cut) |
| 1186 | end |
| 1187 | do |
| 1188 | local edgeDir = -1*rightV + 0*upV |
| 1189 | local edgePerp = 0*rightV + -1*upV |
| 1190 | local cut = Instance.new("Part") |
| 1191 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1192 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1193 | cut.BrickColor = BrickColor.new("Fossil") |
| 1194 | cut.Material = Enum.Material.Glacier |
| 1195 | cut.MaterialVariant = "2022 Stud" |
| 1196 | cut.Anchored = true; cut.Parent = workspace |
| 1197 | table.insert(angBoxes, cut) |
| 1198 | end |
| 1199 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1200 | if #cuts > 0 then |
| 1201 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1202 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1203 | if ok and result then |
| 1204 | cyl:Destroy() |
| 1205 | result.Name = "Rib_L_0"; result.Anchored = true; result.Parent = model |
| 1206 | else |
| 1207 | cyl.Name = "Rib_L_0"; cyl.Parent = model |
| 1208 | end |
| 1209 | else |
| 1210 | cyl.Name = "Rib_L_0"; cyl.Parent = model |
| 1211 | end |
| 1212 | end |
| 1213 | do |
| 1214 | local rightV = Vector3.new(-1,0,0).Unit |
| 1215 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1216 | local normalV = upV:Cross(rightV) |
| 1217 | local pos = Vector3.new(-1.5, 11.347, -3) |
| 1218 | local cyl = Instance.new("Part") |
| 1219 | cyl.Shape = Enum.PartType.Cylinder |
| 1220 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1221 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1222 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1223 | cyl.Material = Enum.Material.Glacier |
| 1224 | cyl.MaterialVariant = "2022 Stud" |
| 1225 | cyl.Anchored = true; cyl.Parent = workspace |
| 1226 | local cuts = {} |
| 1227 | local hole = Instance.new("Part") |
| 1228 | hole.Shape = Enum.PartType.Cylinder |
| 1229 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1230 | hole.CFrame = cyl.CFrame |
| 1231 | hole.BrickColor = BrickColor.new("Fossil") |
| 1232 | hole.Material = Enum.Material.Glacier |
| 1233 | hole.MaterialVariant = "2022 Stud" |
| 1234 | hole.Anchored = true; hole.Parent = workspace |
| 1235 | table.insert(cuts, hole) |
| 1236 | local angBoxes = {} |
| 1237 | do |
| 1238 | local edgeDir = 1*rightV + 0*upV |
| 1239 | local edgePerp = 0*rightV + 1*upV |
| 1240 | local cut = Instance.new("Part") |
| 1241 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1242 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1243 | cut.BrickColor = BrickColor.new("Fossil") |
| 1244 | cut.Material = Enum.Material.Glacier |
| 1245 | cut.MaterialVariant = "2022 Stud" |
| 1246 | cut.Anchored = true; cut.Parent = workspace |
| 1247 | table.insert(angBoxes, cut) |
| 1248 | end |
| 1249 | do |
| 1250 | local edgeDir = -1*rightV + 0*upV |
| 1251 | local edgePerp = 0*rightV + -1*upV |
| 1252 | local cut = Instance.new("Part") |
| 1253 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1254 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1255 | cut.BrickColor = BrickColor.new("Fossil") |
| 1256 | cut.Material = Enum.Material.Glacier |
| 1257 | cut.MaterialVariant = "2022 Stud" |
| 1258 | cut.Anchored = true; cut.Parent = workspace |
| 1259 | table.insert(angBoxes, cut) |
| 1260 | end |
| 1261 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1262 | if #cuts > 0 then |
| 1263 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1264 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1265 | if ok and result then |
| 1266 | cyl:Destroy() |
| 1267 | result.Name = "Rib_R_0"; result.Anchored = true; result.Parent = model |
| 1268 | else |
| 1269 | cyl.Name = "Rib_R_0"; cyl.Parent = model |
| 1270 | end |
| 1271 | else |
| 1272 | cyl.Name = "Rib_R_0"; cyl.Parent = model |
| 1273 | end |
| 1274 | end |
| 1275 | do |
| 1276 | local rightV = Vector3.new(1,0,0).Unit |
| 1277 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1278 | local normalV = upV:Cross(rightV) |
| 1279 | local pos = Vector3.new(1.5, 11.715, -4.16) |
| 1280 | local cyl = Instance.new("Part") |
| 1281 | cyl.Shape = Enum.PartType.Cylinder |
| 1282 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1283 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1284 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1285 | cyl.Material = Enum.Material.Glacier |
| 1286 | cyl.MaterialVariant = "2022 Stud" |
| 1287 | cyl.Anchored = true; cyl.Parent = workspace |
| 1288 | local cuts = {} |
| 1289 | local hole = Instance.new("Part") |
| 1290 | hole.Shape = Enum.PartType.Cylinder |
| 1291 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1292 | hole.CFrame = cyl.CFrame |
| 1293 | hole.BrickColor = BrickColor.new("Fossil") |
| 1294 | hole.Material = Enum.Material.Glacier |
| 1295 | hole.MaterialVariant = "2022 Stud" |
| 1296 | hole.Anchored = true; hole.Parent = workspace |
| 1297 | table.insert(cuts, hole) |
| 1298 | local angBoxes = {} |
| 1299 | do |
| 1300 | local edgeDir = 1*rightV + 0*upV |
| 1301 | local edgePerp = 0*rightV + 1*upV |
| 1302 | local cut = Instance.new("Part") |
| 1303 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1304 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1305 | cut.BrickColor = BrickColor.new("Fossil") |
| 1306 | cut.Material = Enum.Material.Glacier |
| 1307 | cut.MaterialVariant = "2022 Stud" |
| 1308 | cut.Anchored = true; cut.Parent = workspace |
| 1309 | table.insert(angBoxes, cut) |
| 1310 | end |
| 1311 | do |
| 1312 | local edgeDir = -1*rightV + 0*upV |
| 1313 | local edgePerp = 0*rightV + -1*upV |
| 1314 | local cut = Instance.new("Part") |
| 1315 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1316 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1317 | cut.BrickColor = BrickColor.new("Fossil") |
| 1318 | cut.Material = Enum.Material.Glacier |
| 1319 | cut.MaterialVariant = "2022 Stud" |
| 1320 | cut.Anchored = true; cut.Parent = workspace |
| 1321 | table.insert(angBoxes, cut) |
| 1322 | end |
| 1323 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1324 | if #cuts > 0 then |
| 1325 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1326 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1327 | if ok and result then |
| 1328 | cyl:Destroy() |
| 1329 | result.Name = "Rib_L_1"; result.Anchored = true; result.Parent = model |
| 1330 | else |
| 1331 | cyl.Name = "Rib_L_1"; cyl.Parent = model |
| 1332 | end |
| 1333 | else |
| 1334 | cyl.Name = "Rib_L_1"; cyl.Parent = model |
| 1335 | end |
| 1336 | end |
| 1337 | do |
| 1338 | local rightV = Vector3.new(-1,0,0).Unit |
| 1339 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1340 | local normalV = upV:Cross(rightV) |
| 1341 | local pos = Vector3.new(-1.5, 11.675, -4.2) |
| 1342 | local cyl = Instance.new("Part") |
| 1343 | cyl.Shape = Enum.PartType.Cylinder |
| 1344 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1345 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1346 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1347 | cyl.Material = Enum.Material.Glacier |
| 1348 | cyl.MaterialVariant = "2022 Stud" |
| 1349 | cyl.Anchored = true; cyl.Parent = workspace |
| 1350 | local cuts = {} |
| 1351 | local hole = Instance.new("Part") |
| 1352 | hole.Shape = Enum.PartType.Cylinder |
| 1353 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1354 | hole.CFrame = cyl.CFrame |
| 1355 | hole.BrickColor = BrickColor.new("Fossil") |
| 1356 | hole.Material = Enum.Material.Glacier |
| 1357 | hole.MaterialVariant = "2022 Stud" |
| 1358 | hole.Anchored = true; hole.Parent = workspace |
| 1359 | table.insert(cuts, hole) |
| 1360 | local angBoxes = {} |
| 1361 | do |
| 1362 | local edgeDir = 1*rightV + 0*upV |
| 1363 | local edgePerp = 0*rightV + 1*upV |
| 1364 | local cut = Instance.new("Part") |
| 1365 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1366 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1367 | cut.BrickColor = BrickColor.new("Fossil") |
| 1368 | cut.Material = Enum.Material.Glacier |
| 1369 | cut.MaterialVariant = "2022 Stud" |
| 1370 | cut.Anchored = true; cut.Parent = workspace |
| 1371 | table.insert(angBoxes, cut) |
| 1372 | end |
| 1373 | do |
| 1374 | local edgeDir = -1*rightV + 0*upV |
| 1375 | local edgePerp = 0*rightV + -1*upV |
| 1376 | local cut = Instance.new("Part") |
| 1377 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1378 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1379 | cut.BrickColor = BrickColor.new("Fossil") |
| 1380 | cut.Material = Enum.Material.Glacier |
| 1381 | cut.MaterialVariant = "2022 Stud" |
| 1382 | cut.Anchored = true; cut.Parent = workspace |
| 1383 | table.insert(angBoxes, cut) |
| 1384 | end |
| 1385 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1386 | if #cuts > 0 then |
| 1387 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1388 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1389 | if ok and result then |
| 1390 | cyl:Destroy() |
| 1391 | result.Name = "Rib_R_1"; result.Anchored = true; result.Parent = model |
| 1392 | else |
| 1393 | cyl.Name = "Rib_R_1"; cyl.Parent = model |
| 1394 | end |
| 1395 | else |
| 1396 | cyl.Name = "Rib_R_1"; cyl.Parent = model |
| 1397 | end |
| 1398 | end |
| 1399 | do |
| 1400 | local rightV = Vector3.new(1,0,0).Unit |
| 1401 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1402 | local normalV = upV:Cross(rightV) |
| 1403 | local pos = Vector3.new(1.5, 11.9381, -5.36) |
| 1404 | local cyl = Instance.new("Part") |
| 1405 | cyl.Shape = Enum.PartType.Cylinder |
| 1406 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1407 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1408 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1409 | cyl.Material = Enum.Material.Glacier |
| 1410 | cyl.MaterialVariant = "2022 Stud" |
| 1411 | cyl.Anchored = true; cyl.Parent = workspace |
| 1412 | local cuts = {} |
| 1413 | local hole = Instance.new("Part") |
| 1414 | hole.Shape = Enum.PartType.Cylinder |
| 1415 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1416 | hole.CFrame = cyl.CFrame |
| 1417 | hole.BrickColor = BrickColor.new("Fossil") |
| 1418 | hole.Material = Enum.Material.Glacier |
| 1419 | hole.MaterialVariant = "2022 Stud" |
| 1420 | hole.Anchored = true; hole.Parent = workspace |
| 1421 | table.insert(cuts, hole) |
| 1422 | local angBoxes = {} |
| 1423 | do |
| 1424 | local edgeDir = 1*rightV + 0*upV |
| 1425 | local edgePerp = 0*rightV + 1*upV |
| 1426 | local cut = Instance.new("Part") |
| 1427 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1428 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1429 | cut.BrickColor = BrickColor.new("Fossil") |
| 1430 | cut.Material = Enum.Material.Glacier |
| 1431 | cut.MaterialVariant = "2022 Stud" |
| 1432 | cut.Anchored = true; cut.Parent = workspace |
| 1433 | table.insert(angBoxes, cut) |
| 1434 | end |
| 1435 | do |
| 1436 | local edgeDir = -1*rightV + 0*upV |
| 1437 | local edgePerp = 0*rightV + -1*upV |
| 1438 | local cut = Instance.new("Part") |
| 1439 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1440 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1441 | cut.BrickColor = BrickColor.new("Fossil") |
| 1442 | cut.Material = Enum.Material.Glacier |
| 1443 | cut.MaterialVariant = "2022 Stud" |
| 1444 | cut.Anchored = true; cut.Parent = workspace |
| 1445 | table.insert(angBoxes, cut) |
| 1446 | end |
| 1447 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1448 | if #cuts > 0 then |
| 1449 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1450 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1451 | if ok and result then |
| 1452 | cyl:Destroy() |
| 1453 | result.Name = "Rib_L_2"; result.Anchored = true; result.Parent = model |
| 1454 | else |
| 1455 | cyl.Name = "Rib_L_2"; cyl.Parent = model |
| 1456 | end |
| 1457 | else |
| 1458 | cyl.Name = "Rib_L_2"; cyl.Parent = model |
| 1459 | end |
| 1460 | end |
| 1461 | do |
| 1462 | local rightV = Vector3.new(-1,0,0).Unit |
| 1463 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1464 | local normalV = upV:Cross(rightV) |
| 1465 | local pos = Vector3.new(-1.5, 11.8981, -5.4) |
| 1466 | local cyl = Instance.new("Part") |
| 1467 | cyl.Shape = Enum.PartType.Cylinder |
| 1468 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1469 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1470 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1471 | cyl.Material = Enum.Material.Glacier |
| 1472 | cyl.MaterialVariant = "2022 Stud" |
| 1473 | cyl.Anchored = true; cyl.Parent = workspace |
| 1474 | local cuts = {} |
| 1475 | local hole = Instance.new("Part") |
| 1476 | hole.Shape = Enum.PartType.Cylinder |
| 1477 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1478 | hole.CFrame = cyl.CFrame |
| 1479 | hole.BrickColor = BrickColor.new("Fossil") |
| 1480 | hole.Material = Enum.Material.Glacier |
| 1481 | hole.MaterialVariant = "2022 Stud" |
| 1482 | hole.Anchored = true; hole.Parent = workspace |
| 1483 | table.insert(cuts, hole) |
| 1484 | local angBoxes = {} |
| 1485 | do |
| 1486 | local edgeDir = 1*rightV + 0*upV |
| 1487 | local edgePerp = 0*rightV + 1*upV |
| 1488 | local cut = Instance.new("Part") |
| 1489 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1490 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1491 | cut.BrickColor = BrickColor.new("Fossil") |
| 1492 | cut.Material = Enum.Material.Glacier |
| 1493 | cut.MaterialVariant = "2022 Stud" |
| 1494 | cut.Anchored = true; cut.Parent = workspace |
| 1495 | table.insert(angBoxes, cut) |
| 1496 | end |
| 1497 | do |
| 1498 | local edgeDir = -1*rightV + 0*upV |
| 1499 | local edgePerp = 0*rightV + -1*upV |
| 1500 | local cut = Instance.new("Part") |
| 1501 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1502 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1503 | cut.BrickColor = BrickColor.new("Fossil") |
| 1504 | cut.Material = Enum.Material.Glacier |
| 1505 | cut.MaterialVariant = "2022 Stud" |
| 1506 | cut.Anchored = true; cut.Parent = workspace |
| 1507 | table.insert(angBoxes, cut) |
| 1508 | end |
| 1509 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1510 | if #cuts > 0 then |
| 1511 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1512 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1513 | if ok and result then |
| 1514 | cyl:Destroy() |
| 1515 | result.Name = "Rib_R_2"; result.Anchored = true; result.Parent = model |
| 1516 | else |
| 1517 | cyl.Name = "Rib_R_2"; cyl.Parent = model |
| 1518 | end |
| 1519 | else |
| 1520 | cyl.Name = "Rib_R_2"; cyl.Parent = model |
| 1521 | end |
| 1522 | end |
| 1523 | do |
| 1524 | local rightV = Vector3.new(1,0,0).Unit |
| 1525 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1526 | local normalV = upV:Cross(rightV) |
| 1527 | local pos = Vector3.new(1.5, 12.0362, -6.56) |
| 1528 | local cyl = Instance.new("Part") |
| 1529 | cyl.Shape = Enum.PartType.Cylinder |
| 1530 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1531 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1532 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1533 | cyl.Material = Enum.Material.Glacier |
| 1534 | cyl.MaterialVariant = "2022 Stud" |
| 1535 | cyl.Anchored = true; cyl.Parent = workspace |
| 1536 | local cuts = {} |
| 1537 | local hole = Instance.new("Part") |
| 1538 | hole.Shape = Enum.PartType.Cylinder |
| 1539 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1540 | hole.CFrame = cyl.CFrame |
| 1541 | hole.BrickColor = BrickColor.new("Fossil") |
| 1542 | hole.Material = Enum.Material.Glacier |
| 1543 | hole.MaterialVariant = "2022 Stud" |
| 1544 | hole.Anchored = true; hole.Parent = workspace |
| 1545 | table.insert(cuts, hole) |
| 1546 | local angBoxes = {} |
| 1547 | do |
| 1548 | local edgeDir = 1*rightV + 0*upV |
| 1549 | local edgePerp = 0*rightV + 1*upV |
| 1550 | local cut = Instance.new("Part") |
| 1551 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1552 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1553 | cut.BrickColor = BrickColor.new("Fossil") |
| 1554 | cut.Material = Enum.Material.Glacier |
| 1555 | cut.MaterialVariant = "2022 Stud" |
| 1556 | cut.Anchored = true; cut.Parent = workspace |
| 1557 | table.insert(angBoxes, cut) |
| 1558 | end |
| 1559 | do |
| 1560 | local edgeDir = -1*rightV + 0*upV |
| 1561 | local edgePerp = 0*rightV + -1*upV |
| 1562 | local cut = Instance.new("Part") |
| 1563 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1564 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1565 | cut.BrickColor = BrickColor.new("Fossil") |
| 1566 | cut.Material = Enum.Material.Glacier |
| 1567 | cut.MaterialVariant = "2022 Stud" |
| 1568 | cut.Anchored = true; cut.Parent = workspace |
| 1569 | table.insert(angBoxes, cut) |
| 1570 | end |
| 1571 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1572 | if #cuts > 0 then |
| 1573 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1574 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1575 | if ok and result then |
| 1576 | cyl:Destroy() |
| 1577 | result.Name = "Rib_L_3"; result.Anchored = true; result.Parent = model |
| 1578 | else |
| 1579 | cyl.Name = "Rib_L_3"; cyl.Parent = model |
| 1580 | end |
| 1581 | else |
| 1582 | cyl.Name = "Rib_L_3"; cyl.Parent = model |
| 1583 | end |
| 1584 | end |
| 1585 | do |
| 1586 | local rightV = Vector3.new(-1,0,0).Unit |
| 1587 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1588 | local normalV = upV:Cross(rightV) |
| 1589 | local pos = Vector3.new(-1.5, 11.9962, -6.6) |
| 1590 | local cyl = Instance.new("Part") |
| 1591 | cyl.Shape = Enum.PartType.Cylinder |
| 1592 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1593 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1594 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1595 | cyl.Material = Enum.Material.Glacier |
| 1596 | cyl.MaterialVariant = "2022 Stud" |
| 1597 | cyl.Anchored = true; cyl.Parent = workspace |
| 1598 | local cuts = {} |
| 1599 | local hole = Instance.new("Part") |
| 1600 | hole.Shape = Enum.PartType.Cylinder |
| 1601 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1602 | hole.CFrame = cyl.CFrame |
| 1603 | hole.BrickColor = BrickColor.new("Fossil") |
| 1604 | hole.Material = Enum.Material.Glacier |
| 1605 | hole.MaterialVariant = "2022 Stud" |
| 1606 | hole.Anchored = true; hole.Parent = workspace |
| 1607 | table.insert(cuts, hole) |
| 1608 | local angBoxes = {} |
| 1609 | do |
| 1610 | local edgeDir = 1*rightV + 0*upV |
| 1611 | local edgePerp = 0*rightV + 1*upV |
| 1612 | local cut = Instance.new("Part") |
| 1613 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1614 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1615 | cut.BrickColor = BrickColor.new("Fossil") |
| 1616 | cut.Material = Enum.Material.Glacier |
| 1617 | cut.MaterialVariant = "2022 Stud" |
| 1618 | cut.Anchored = true; cut.Parent = workspace |
| 1619 | table.insert(angBoxes, cut) |
| 1620 | end |
| 1621 | do |
| 1622 | local edgeDir = -1*rightV + 0*upV |
| 1623 | local edgePerp = 0*rightV + -1*upV |
| 1624 | local cut = Instance.new("Part") |
| 1625 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1626 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1627 | cut.BrickColor = BrickColor.new("Fossil") |
| 1628 | cut.Material = Enum.Material.Glacier |
| 1629 | cut.MaterialVariant = "2022 Stud" |
| 1630 | cut.Anchored = true; cut.Parent = workspace |
| 1631 | table.insert(angBoxes, cut) |
| 1632 | end |
| 1633 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1634 | if #cuts > 0 then |
| 1635 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1636 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1637 | if ok and result then |
| 1638 | cyl:Destroy() |
| 1639 | result.Name = "Rib_R_3"; result.Anchored = true; result.Parent = model |
| 1640 | else |
| 1641 | cyl.Name = "Rib_R_3"; cyl.Parent = model |
| 1642 | end |
| 1643 | else |
| 1644 | cyl.Name = "Rib_R_3"; cyl.Parent = model |
| 1645 | end |
| 1646 | end |
| 1647 | do |
| 1648 | local rightV = Vector3.new(1,0,0).Unit |
| 1649 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1650 | local normalV = upV:Cross(rightV) |
| 1651 | local pos = Vector3.new(1.5, 12.0008, -7.76) |
| 1652 | local cyl = Instance.new("Part") |
| 1653 | cyl.Shape = Enum.PartType.Cylinder |
| 1654 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1655 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1656 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1657 | cyl.Material = Enum.Material.Glacier |
| 1658 | cyl.MaterialVariant = "2022 Stud" |
| 1659 | cyl.Anchored = true; cyl.Parent = workspace |
| 1660 | local cuts = {} |
| 1661 | local hole = Instance.new("Part") |
| 1662 | hole.Shape = Enum.PartType.Cylinder |
| 1663 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1664 | hole.CFrame = cyl.CFrame |
| 1665 | hole.BrickColor = BrickColor.new("Fossil") |
| 1666 | hole.Material = Enum.Material.Glacier |
| 1667 | hole.MaterialVariant = "2022 Stud" |
| 1668 | hole.Anchored = true; hole.Parent = workspace |
| 1669 | table.insert(cuts, hole) |
| 1670 | local angBoxes = {} |
| 1671 | do |
| 1672 | local edgeDir = 1*rightV + 0*upV |
| 1673 | local edgePerp = 0*rightV + 1*upV |
| 1674 | local cut = Instance.new("Part") |
| 1675 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1676 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1677 | cut.BrickColor = BrickColor.new("Fossil") |
| 1678 | cut.Material = Enum.Material.Glacier |
| 1679 | cut.MaterialVariant = "2022 Stud" |
| 1680 | cut.Anchored = true; cut.Parent = workspace |
| 1681 | table.insert(angBoxes, cut) |
| 1682 | end |
| 1683 | do |
| 1684 | local edgeDir = -1*rightV + 0*upV |
| 1685 | local edgePerp = 0*rightV + -1*upV |
| 1686 | local cut = Instance.new("Part") |
| 1687 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1688 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1689 | cut.BrickColor = BrickColor.new("Fossil") |
| 1690 | cut.Material = Enum.Material.Glacier |
| 1691 | cut.MaterialVariant = "2022 Stud" |
| 1692 | cut.Anchored = true; cut.Parent = workspace |
| 1693 | table.insert(angBoxes, cut) |
| 1694 | end |
| 1695 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1696 | if #cuts > 0 then |
| 1697 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1698 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1699 | if ok and result then |
| 1700 | cyl:Destroy() |
| 1701 | result.Name = "Rib_L_4"; result.Anchored = true; result.Parent = model |
| 1702 | else |
| 1703 | cyl.Name = "Rib_L_4"; cyl.Parent = model |
| 1704 | end |
| 1705 | else |
| 1706 | cyl.Name = "Rib_L_4"; cyl.Parent = model |
| 1707 | end |
| 1708 | end |
| 1709 | do |
| 1710 | local rightV = Vector3.new(-1,0,0).Unit |
| 1711 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1712 | local normalV = upV:Cross(rightV) |
| 1713 | local pos = Vector3.new(-1.5, 11.9608, -7.8) |
| 1714 | local cyl = Instance.new("Part") |
| 1715 | cyl.Shape = Enum.PartType.Cylinder |
| 1716 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1717 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1718 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1719 | cyl.Material = Enum.Material.Glacier |
| 1720 | cyl.MaterialVariant = "2022 Stud" |
| 1721 | cyl.Anchored = true; cyl.Parent = workspace |
| 1722 | local cuts = {} |
| 1723 | local hole = Instance.new("Part") |
| 1724 | hole.Shape = Enum.PartType.Cylinder |
| 1725 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1726 | hole.CFrame = cyl.CFrame |
| 1727 | hole.BrickColor = BrickColor.new("Fossil") |
| 1728 | hole.Material = Enum.Material.Glacier |
| 1729 | hole.MaterialVariant = "2022 Stud" |
| 1730 | hole.Anchored = true; hole.Parent = workspace |
| 1731 | table.insert(cuts, hole) |
| 1732 | local angBoxes = {} |
| 1733 | do |
| 1734 | local edgeDir = 1*rightV + 0*upV |
| 1735 | local edgePerp = 0*rightV + 1*upV |
| 1736 | local cut = Instance.new("Part") |
| 1737 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1738 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1739 | cut.BrickColor = BrickColor.new("Fossil") |
| 1740 | cut.Material = Enum.Material.Glacier |
| 1741 | cut.MaterialVariant = "2022 Stud" |
| 1742 | cut.Anchored = true; cut.Parent = workspace |
| 1743 | table.insert(angBoxes, cut) |
| 1744 | end |
| 1745 | do |
| 1746 | local edgeDir = -1*rightV + 0*upV |
| 1747 | local edgePerp = 0*rightV + -1*upV |
| 1748 | local cut = Instance.new("Part") |
| 1749 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1750 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1751 | cut.BrickColor = BrickColor.new("Fossil") |
| 1752 | cut.Material = Enum.Material.Glacier |
| 1753 | cut.MaterialVariant = "2022 Stud" |
| 1754 | cut.Anchored = true; cut.Parent = workspace |
| 1755 | table.insert(angBoxes, cut) |
| 1756 | end |
| 1757 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1758 | if #cuts > 0 then |
| 1759 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1760 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1761 | if ok and result then |
| 1762 | cyl:Destroy() |
| 1763 | result.Name = "Rib_R_4"; result.Anchored = true; result.Parent = model |
| 1764 | else |
| 1765 | cyl.Name = "Rib_R_4"; cyl.Parent = model |
| 1766 | end |
| 1767 | else |
| 1768 | cyl.Name = "Rib_R_4"; cyl.Parent = model |
| 1769 | end |
| 1770 | end |
| 1771 | do |
| 1772 | local rightV = Vector3.new(1,0,0).Unit |
| 1773 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1774 | local normalV = upV:Cross(rightV) |
| 1775 | local pos = Vector3.new(1.5, 11.8348, -8.96) |
| 1776 | local cyl = Instance.new("Part") |
| 1777 | cyl.Shape = Enum.PartType.Cylinder |
| 1778 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1779 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1780 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1781 | cyl.Material = Enum.Material.Glacier |
| 1782 | cyl.MaterialVariant = "2022 Stud" |
| 1783 | cyl.Anchored = true; cyl.Parent = workspace |
| 1784 | local cuts = {} |
| 1785 | local hole = Instance.new("Part") |
| 1786 | hole.Shape = Enum.PartType.Cylinder |
| 1787 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1788 | hole.CFrame = cyl.CFrame |
| 1789 | hole.BrickColor = BrickColor.new("Fossil") |
| 1790 | hole.Material = Enum.Material.Glacier |
| 1791 | hole.MaterialVariant = "2022 Stud" |
| 1792 | hole.Anchored = true; hole.Parent = workspace |
| 1793 | table.insert(cuts, hole) |
| 1794 | local angBoxes = {} |
| 1795 | do |
| 1796 | local edgeDir = 1*rightV + 0*upV |
| 1797 | local edgePerp = 0*rightV + 1*upV |
| 1798 | local cut = Instance.new("Part") |
| 1799 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1800 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1801 | cut.BrickColor = BrickColor.new("Fossil") |
| 1802 | cut.Material = Enum.Material.Glacier |
| 1803 | cut.MaterialVariant = "2022 Stud" |
| 1804 | cut.Anchored = true; cut.Parent = workspace |
| 1805 | table.insert(angBoxes, cut) |
| 1806 | end |
| 1807 | do |
| 1808 | local edgeDir = -1*rightV + 0*upV |
| 1809 | local edgePerp = 0*rightV + -1*upV |
| 1810 | local cut = Instance.new("Part") |
| 1811 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1812 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1813 | cut.BrickColor = BrickColor.new("Fossil") |
| 1814 | cut.Material = Enum.Material.Glacier |
| 1815 | cut.MaterialVariant = "2022 Stud" |
| 1816 | cut.Anchored = true; cut.Parent = workspace |
| 1817 | table.insert(angBoxes, cut) |
| 1818 | end |
| 1819 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1820 | if #cuts > 0 then |
| 1821 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1822 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1823 | if ok and result then |
| 1824 | cyl:Destroy() |
| 1825 | result.Name = "Rib_L_5"; result.Anchored = true; result.Parent = model |
| 1826 | else |
| 1827 | cyl.Name = "Rib_L_5"; cyl.Parent = model |
| 1828 | end |
| 1829 | else |
| 1830 | cyl.Name = "Rib_L_5"; cyl.Parent = model |
| 1831 | end |
| 1832 | end |
| 1833 | do |
| 1834 | local rightV = Vector3.new(-1,0,0).Unit |
| 1835 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1836 | local normalV = upV:Cross(rightV) |
| 1837 | local pos = Vector3.new(-1.5, 11.7948, -9) |
| 1838 | local cyl = Instance.new("Part") |
| 1839 | cyl.Shape = Enum.PartType.Cylinder |
| 1840 | cyl.Size = Vector3.new(0.4, 3.2, 3.2) |
| 1841 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1842 | cyl.BrickColor = BrickColor.new("Fossil") |
| 1843 | cyl.Material = Enum.Material.Glacier |
| 1844 | cyl.MaterialVariant = "2022 Stud" |
| 1845 | cyl.Anchored = true; cyl.Parent = workspace |
| 1846 | local cuts = {} |
| 1847 | local hole = Instance.new("Part") |
| 1848 | hole.Shape = Enum.PartType.Cylinder |
| 1849 | hole.Size = Vector3.new(0.6, 2.4, 2.4) |
| 1850 | hole.CFrame = cyl.CFrame |
| 1851 | hole.BrickColor = BrickColor.new("Fossil") |
| 1852 | hole.Material = Enum.Material.Glacier |
| 1853 | hole.MaterialVariant = "2022 Stud" |
| 1854 | hole.Anchored = true; hole.Parent = workspace |
| 1855 | table.insert(cuts, hole) |
| 1856 | local angBoxes = {} |
| 1857 | do |
| 1858 | local edgeDir = 1*rightV + 0*upV |
| 1859 | local edgePerp = 0*rightV + 1*upV |
| 1860 | local cut = Instance.new("Part") |
| 1861 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1862 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1863 | cut.BrickColor = BrickColor.new("Fossil") |
| 1864 | cut.Material = Enum.Material.Glacier |
| 1865 | cut.MaterialVariant = "2022 Stud" |
| 1866 | cut.Anchored = true; cut.Parent = workspace |
| 1867 | table.insert(angBoxes, cut) |
| 1868 | end |
| 1869 | do |
| 1870 | local edgeDir = -1*rightV + 0*upV |
| 1871 | local edgePerp = 0*rightV + -1*upV |
| 1872 | local cut = Instance.new("Part") |
| 1873 | cut.Size = Vector3.new(6.4, 0.6, 6.4) |
| 1874 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 1875 | cut.BrickColor = BrickColor.new("Fossil") |
| 1876 | cut.Material = Enum.Material.Glacier |
| 1877 | cut.MaterialVariant = "2022 Stud" |
| 1878 | cut.Anchored = true; cut.Parent = workspace |
| 1879 | table.insert(angBoxes, cut) |
| 1880 | end |
| 1881 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1882 | if #cuts > 0 then |
| 1883 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1884 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1885 | if ok and result then |
| 1886 | cyl:Destroy() |
| 1887 | result.Name = "Rib_R_5"; result.Anchored = true; result.Parent = model |
| 1888 | else |
| 1889 | cyl.Name = "Rib_R_5"; cyl.Parent = model |
| 1890 | end |
| 1891 | else |
| 1892 | cyl.Name = "Rib_R_5"; cyl.Parent = model |
| 1893 | end |
| 1894 | end |
| 1895 | model.PrimaryPart = model:FindFirstChild("Base_Main") |
| 1896 | print("DinosaurSkeleton built: " .. #model:GetChildren() .. " parts") |
Loading comments...