Loading model...
by Roy Hill · 11/21/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: MasterDragon |
| 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 = "MasterDragon" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["New Yeller"] = "2022 Stud", |
| 26 | ["Really black"] = "2022 Universal", |
| 27 | } |
| 28 | do |
| 29 | local p = Instance.new("Part") |
| 30 | p.Name = "BodySeg_0" |
| 31 | p.Size = Vector3.new(3.162278, 3.5, 3.5) |
| 32 | p.CFrame = CFrame.new(0, 13.5, 0.5) * CFrame.Angles(math.rad(71.565051), math.rad(-90), math.rad(0)) |
| 33 | p.BrickColor = BrickColor.new("Bright red") |
| 34 | p.Material = Enum.Material.Glacier |
| 35 | p.MaterialVariant = "2022 Stud" |
| 36 | p.Anchored = true |
| 37 | p.Parent = model |
| 38 | end |
| 39 | do |
| 40 | local p = Instance.new("Part") |
| 41 | p.Name = "BellySeg_0" |
| 42 | p.Size = Vector3.new(3.162278, 2, 0.5) |
| 43 | p.CFrame = CFrame.new(0, 12.3, 0.5) * CFrame.Angles(math.rad(71.565051), math.rad(-90), math.rad(0)) |
| 44 | p.BrickColor = BrickColor.new("Really black") |
| 45 | p.Material = Enum.Material.Glacier |
| 46 | p.MaterialVariant = "2022 Universal" |
| 47 | p.Anchored = true |
| 48 | p.Parent = model |
| 49 | end |
| 50 | do |
| 51 | local p = Instance.new("WedgePart") |
| 52 | p.Name = "Spine_0" |
| 53 | p.Size = Vector3.new(0.4, 1.2, 0.8) |
| 54 | p.CFrame = CFrame.new(0, 15, 0.5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 55 | p.BrickColor = BrickColor.new("Really black") |
| 56 | p.Material = Enum.Material.Glacier |
| 57 | p.MaterialVariant = "2022 Universal" |
| 58 | p.Anchored = true |
| 59 | p.Parent = model |
| 60 | end |
| 61 | do |
| 62 | local p = Instance.new("Part") |
| 63 | p.Name = "BodySeg_1" |
| 64 | p.Size = Vector3.new(3.162278, 3.2, 3.2) |
| 65 | p.CFrame = CFrame.new(0, 10.5, 0.5) * CFrame.Angles(math.rad(-71.565051), math.rad(90), math.rad(0)) |
| 66 | p.BrickColor = BrickColor.new("Bright red") |
| 67 | p.Material = Enum.Material.Glacier |
| 68 | p.MaterialVariant = "2022 Stud" |
| 69 | p.Anchored = true |
| 70 | p.Parent = model |
| 71 | end |
| 72 | do |
| 73 | local p = Instance.new("Part") |
| 74 | p.Name = "BellySeg_1" |
| 75 | p.Size = Vector3.new(3.162278, 1.8, 0.5) |
| 76 | p.CFrame = CFrame.new(0, 9.3, 0.5) * CFrame.Angles(math.rad(-71.565051), math.rad(90), math.rad(0)) |
| 77 | p.BrickColor = BrickColor.new("Really black") |
| 78 | p.Material = Enum.Material.Glacier |
| 79 | p.MaterialVariant = "2022 Universal" |
| 80 | p.Anchored = true |
| 81 | p.Parent = model |
| 82 | end |
| 83 | do |
| 84 | local p = Instance.new("WedgePart") |
| 85 | p.Name = "Spine_1" |
| 86 | p.Size = Vector3.new(0.4, 1.2, 0.8) |
| 87 | p.CFrame = CFrame.new(0, 12, 0.5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 88 | p.BrickColor = BrickColor.new("Really black") |
| 89 | p.Material = Enum.Material.Glacier |
| 90 | p.MaterialVariant = "2022 Universal" |
| 91 | p.Anchored = true |
| 92 | p.Parent = model |
| 93 | end |
| 94 | do |
| 95 | local p = Instance.new("Part") |
| 96 | p.Name = "BodySeg_2" |
| 97 | p.Size = Vector3.new(3.605551, 2.9, 2.9) |
| 98 | p.CFrame = CFrame.new(0, 7.5, 1) * CFrame.Angles(math.rad(56.309932), math.rad(-90), math.rad(0)) |
| 99 | p.BrickColor = BrickColor.new("Bright red") |
| 100 | p.Material = Enum.Material.Glacier |
| 101 | p.MaterialVariant = "2022 Stud" |
| 102 | p.Anchored = true |
| 103 | p.Parent = model |
| 104 | end |
| 105 | do |
| 106 | local p = Instance.new("Part") |
| 107 | p.Name = "BellySeg_2" |
| 108 | p.Size = Vector3.new(3.605551, 1.6, 0.5) |
| 109 | p.CFrame = CFrame.new(0, 6.277812, 0.966718) * CFrame.Angles(math.rad(56.309932), math.rad(-90), math.rad(0)) |
| 110 | p.BrickColor = BrickColor.new("Really black") |
| 111 | p.Material = Enum.Material.Glacier |
| 112 | p.MaterialVariant = "2022 Universal" |
| 113 | p.Anchored = true |
| 114 | p.Parent = model |
| 115 | end |
| 116 | do |
| 117 | local p = Instance.new("WedgePart") |
| 118 | p.Name = "Spine_2" |
| 119 | p.Size = Vector3.new(0.4, 1.2, 0.8) |
| 120 | p.CFrame = CFrame.new(0, 9, 1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 121 | p.BrickColor = BrickColor.new("Really black") |
| 122 | p.Material = Enum.Material.Glacier |
| 123 | p.MaterialVariant = "2022 Universal" |
| 124 | p.Anchored = true |
| 125 | p.Parent = model |
| 126 | end |
| 127 | do |
| 128 | local p = Instance.new("Part") |
| 129 | p.Name = "BodySeg_3" |
| 130 | p.Size = Vector3.new(4.242641, 2.6, 2.6) |
| 131 | p.CFrame = CFrame.new(0, 4.5, 3.5) * CFrame.Angles(math.rad(45), math.rad(-90), math.rad(0)) |
| 132 | p.BrickColor = BrickColor.new("Bright red") |
| 133 | p.Material = Enum.Material.Glacier |
| 134 | p.MaterialVariant = "2022 Stud" |
| 135 | p.Anchored = true |
| 136 | p.Parent = model |
| 137 | end |
| 138 | do |
| 139 | local p = Instance.new("Part") |
| 140 | p.Name = "BellySeg_3" |
| 141 | p.Size = Vector3.new(4.242641, 1.4, 0.5) |
| 142 | p.CFrame = CFrame.new(0, 3.3, 3.5) * CFrame.Angles(math.rad(45), math.rad(-90), math.rad(0)) |
| 143 | p.BrickColor = BrickColor.new("Really black") |
| 144 | p.Material = Enum.Material.Glacier |
| 145 | p.MaterialVariant = "2022 Universal" |
| 146 | p.Anchored = true |
| 147 | p.Parent = model |
| 148 | end |
| 149 | do |
| 150 | local p = Instance.new("WedgePart") |
| 151 | p.Name = "Spine_3" |
| 152 | p.Size = Vector3.new(0.4, 1.2, 0.8) |
| 153 | p.CFrame = CFrame.new(0, 6, 3.5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 154 | p.BrickColor = BrickColor.new("Really black") |
| 155 | p.Material = Enum.Material.Glacier |
| 156 | p.MaterialVariant = "2022 Universal" |
| 157 | p.Anchored = true |
| 158 | p.Parent = model |
| 159 | end |
| 160 | do |
| 161 | local p = Instance.new("Part") |
| 162 | p.Name = "BodySeg_4" |
| 163 | p.Size = Vector3.new(3.605551, 2.3, 2.3) |
| 164 | p.CFrame = CFrame.new(0, 2, 6.5) * CFrame.Angles(math.rad(33.690068), math.rad(-90), math.rad(0)) |
| 165 | p.BrickColor = BrickColor.new("Bright red") |
| 166 | p.Material = Enum.Material.Glacier |
| 167 | p.MaterialVariant = "2022 Stud" |
| 168 | p.Anchored = true |
| 169 | p.Parent = model |
| 170 | end |
| 171 | do |
| 172 | local p = Instance.new("Part") |
| 173 | p.Name = "BellySeg_4" |
| 174 | p.Size = Vector3.new(3.605551, 1.2, 0.5) |
| 175 | p.CFrame = CFrame.new(0, 0.8, 6.5) * CFrame.Angles(math.rad(33.690068), math.rad(-90), math.rad(0)) |
| 176 | p.BrickColor = BrickColor.new("Really black") |
| 177 | p.Material = Enum.Material.Glacier |
| 178 | p.MaterialVariant = "2022 Universal" |
| 179 | p.Anchored = true |
| 180 | p.Parent = model |
| 181 | end |
| 182 | do |
| 183 | local p = Instance.new("WedgePart") |
| 184 | p.Name = "Spine_4" |
| 185 | p.Size = Vector3.new(0.4, 1.2, 0.8) |
| 186 | p.CFrame = CFrame.new(0, 3.5, 6.5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 187 | p.BrickColor = BrickColor.new("Really black") |
| 188 | p.Material = Enum.Material.Glacier |
| 189 | p.MaterialVariant = "2022 Universal" |
| 190 | p.Anchored = true |
| 191 | p.Parent = model |
| 192 | end |
| 193 | do |
| 194 | local p = Instance.new("Part") |
| 195 | p.Name = "BodySeg_5" |
| 196 | p.Size = Vector3.new(3.162278, 2, 2) |
| 197 | p.CFrame = CFrame.new(0, 1.5, 9.5) * CFrame.Angles(math.rad(-18.434949), math.rad(-90), math.rad(0)) |
| 198 | p.BrickColor = BrickColor.new("Bright red") |
| 199 | p.Material = Enum.Material.Glacier |
| 200 | p.MaterialVariant = "2022 Stud" |
| 201 | p.Anchored = true |
| 202 | p.Parent = model |
| 203 | end |
| 204 | do |
| 205 | local p = Instance.new("Part") |
| 206 | p.Name = "BellySeg_5" |
| 207 | p.Size = Vector3.new(3.162278, 1, 0.5) |
| 208 | p.CFrame = CFrame.new(0, 0.3, 9.5) * CFrame.Angles(math.rad(-18.434949), math.rad(-90), math.rad(0)) |
| 209 | p.BrickColor = BrickColor.new("Really black") |
| 210 | p.Material = Enum.Material.Glacier |
| 211 | p.MaterialVariant = "2022 Universal" |
| 212 | p.Anchored = true |
| 213 | p.Parent = model |
| 214 | end |
| 215 | do |
| 216 | local p = Instance.new("WedgePart") |
| 217 | p.Name = "Spine_5" |
| 218 | p.Size = Vector3.new(0.4, 1.2, 0.8) |
| 219 | p.CFrame = CFrame.new(0, 3, 9.5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 220 | p.BrickColor = BrickColor.new("Really black") |
| 221 | p.Material = Enum.Material.Glacier |
| 222 | p.MaterialVariant = "2022 Universal" |
| 223 | p.Anchored = true |
| 224 | p.Parent = model |
| 225 | end |
| 226 | do |
| 227 | local p = Instance.new("Part") |
| 228 | p.Name = "BodySeg_6" |
| 229 | p.Size = Vector3.new(3.162278, 1.7, 1.7) |
| 230 | p.CFrame = CFrame.new(0, 3.5, 10.5) * CFrame.Angles(math.rad(71.565051), math.rad(90), math.rad(0)) |
| 231 | p.BrickColor = BrickColor.new("Bright red") |
| 232 | p.Material = Enum.Material.Glacier |
| 233 | p.MaterialVariant = "2022 Stud" |
| 234 | p.Anchored = true |
| 235 | p.Parent = model |
| 236 | end |
| 237 | do |
| 238 | local p = Instance.new("Part") |
| 239 | p.Name = "BellySeg_6" |
| 240 | p.Size = Vector3.new(3.162278, 0.8, 0.5) |
| 241 | p.CFrame = CFrame.new(0, 2.3, 10.5) * CFrame.Angles(math.rad(71.565051), math.rad(90), math.rad(0)) |
| 242 | p.BrickColor = BrickColor.new("Really black") |
| 243 | p.Material = Enum.Material.Glacier |
| 244 | p.MaterialVariant = "2022 Universal" |
| 245 | p.Anchored = true |
| 246 | p.Parent = model |
| 247 | end |
| 248 | do |
| 249 | local p = Instance.new("Part") |
| 250 | p.Name = "HeadCore" |
| 251 | p.Size = Vector3.new(2.5, 2.2, 3) |
| 252 | p.CFrame = CFrame.new(0, 16.5, -1) |
| 253 | p.BrickColor = BrickColor.new("Bright red") |
| 254 | p.Material = Enum.Material.Glacier |
| 255 | p.MaterialVariant = "2022 Stud" |
| 256 | p.Anchored = true |
| 257 | p.Parent = model |
| 258 | end |
| 259 | do |
| 260 | local p = Instance.new("Part") |
| 261 | p.Name = "Snout" |
| 262 | p.Size = Vector3.new(1.8, 1.4, 2.5) |
| 263 | p.CFrame = CFrame.new(0, 16.2, -3.2) |
| 264 | p.BrickColor = BrickColor.new("Bright red") |
| 265 | p.Material = Enum.Material.Glacier |
| 266 | p.MaterialVariant = "2022 Stud" |
| 267 | p.Anchored = true |
| 268 | p.Parent = model |
| 269 | end |
| 270 | do |
| 271 | local p = Instance.new("Part") |
| 272 | p.Name = "JawLower" |
| 273 | p.Size = Vector3.new(1.4, 0.6, 2.2) |
| 274 | p.CFrame = CFrame.new(0, 15.5, -3) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)) |
| 275 | p.BrickColor = BrickColor.new("Bright red") |
| 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.Shape = Enum.PartType.Cylinder |
| 284 | p.Name = "HornL_Base" |
| 285 | p.Size = Vector3.new(2.233831, 0.6, 0.6) |
| 286 | p.CFrame = CFrame.new(1.15, 18.25, 0.25) * CFrame.Angles(math.rad(0), math.rad(-64.983107), math.rad(42.18234)) |
| 287 | p.BrickColor = BrickColor.new("Really black") |
| 288 | p.Material = Enum.Material.Glacier |
| 289 | p.MaterialVariant = "2022 Universal" |
| 290 | p.Anchored = true |
| 291 | p.Parent = model |
| 292 | end |
| 293 | do |
| 294 | local p = Instance.new("Part") |
| 295 | p.Shape = Enum.PartType.Cylinder |
| 296 | p.Name = "HornL_Tip" |
| 297 | p.Size = Vector3.new(2.54951, 0.4, 0.4) |
| 298 | p.CFrame = CFrame.new(1.75, 19.75, 2) * CFrame.Angles(math.rad(0), math.rad(-75.963757), math.rad(36.039893)) |
| 299 | p.BrickColor = BrickColor.new("Really black") |
| 300 | p.Material = Enum.Material.Glacier |
| 301 | p.MaterialVariant = "2022 Universal" |
| 302 | p.Anchored = true |
| 303 | p.Parent = model |
| 304 | end |
| 305 | do |
| 306 | local p = Instance.new("Part") |
| 307 | p.Shape = Enum.PartType.Cylinder |
| 308 | p.Name = "HornR_Base" |
| 309 | p.Size = Vector3.new(2.233831, 0.6, 0.6) |
| 310 | p.CFrame = CFrame.new(-1.15, 18.25, 0.25) * CFrame.Angles(math.rad(-180), math.rad(-64.983107), math.rad(-137.81766)) |
| 311 | p.BrickColor = BrickColor.new("Really black") |
| 312 | p.Material = Enum.Material.Glacier |
| 313 | p.MaterialVariant = "2022 Universal" |
| 314 | p.Anchored = true |
| 315 | p.Parent = model |
| 316 | end |
| 317 | do |
| 318 | local p = Instance.new("Part") |
| 319 | p.Shape = Enum.PartType.Cylinder |
| 320 | p.Name = "HornR_Tip" |
| 321 | p.Size = Vector3.new(2.54951, 0.4, 0.4) |
| 322 | p.CFrame = CFrame.new(-1.75, 19.75, 2) * CFrame.Angles(math.rad(-180), math.rad(-75.963757), math.rad(-143.960107)) |
| 323 | p.BrickColor = BrickColor.new("Really black") |
| 324 | p.Material = Enum.Material.Glacier |
| 325 | p.MaterialVariant = "2022 Universal" |
| 326 | p.Anchored = true |
| 327 | p.Parent = model |
| 328 | end |
| 329 | do |
| 330 | local p = Instance.new("Part") |
| 331 | p.Shape = Enum.PartType.Cylinder |
| 332 | p.Name = "EyeL" |
| 333 | p.Size = Vector3.new(0.3, 0.6, 0.6) |
| 334 | p.CFrame = CFrame.new(0.9, 16.8, -2.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 335 | p.BrickColor = BrickColor.new("New Yeller") |
| 336 | p.Material = Enum.Material.Glacier |
| 337 | p.MaterialVariant = "2022 Stud" |
| 338 | p.Anchored = true |
| 339 | p.Parent = model |
| 340 | end |
| 341 | do |
| 342 | local p = Instance.new("Part") |
| 343 | p.Shape = Enum.PartType.Cylinder |
| 344 | p.Name = "EyeR" |
| 345 | p.Size = Vector3.new(0.3, 0.6, 0.6) |
| 346 | p.CFrame = CFrame.new(-0.9, 16.8, -2.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 347 | p.BrickColor = BrickColor.new("New Yeller") |
| 348 | p.Material = Enum.Material.Glacier |
| 349 | p.MaterialVariant = "2022 Stud" |
| 350 | p.Anchored = true |
| 351 | p.Parent = model |
| 352 | end |
| 353 | do |
| 354 | local p = Instance.new("Part") |
| 355 | p.Shape = Enum.PartType.Cylinder |
| 356 | p.Name = "WingArmL_1" |
| 357 | p.Size = Vector3.new(8.261356, 1.2, 1.2) |
| 358 | p.CFrame = CFrame.new(4.75, 15.5, 1.5) * CFrame.Angles(math.rad(0), math.rad(-8.746162), math.rad(37.245217)) |
| 359 | p.BrickColor = BrickColor.new("Really black") |
| 360 | p.Material = Enum.Material.Glacier |
| 361 | p.MaterialVariant = "2022 Universal" |
| 362 | p.Anchored = true |
| 363 | p.Parent = model |
| 364 | end |
| 365 | do |
| 366 | local p = Instance.new("Part") |
| 367 | p.Shape = Enum.PartType.Cylinder |
| 368 | p.Name = "WingArmL_2" |
| 369 | p.Size = Vector3.new(6.403124, 0.8, 0.8) |
| 370 | p.CFrame = CFrame.new(10, 20, 3.5) * CFrame.Angles(math.rad(0), math.rad(-36.869898), math.rad(38.659808)) |
| 371 | p.BrickColor = BrickColor.new("Really black") |
| 372 | p.Material = Enum.Material.Glacier |
| 373 | p.MaterialVariant = "2022 Universal" |
| 374 | p.Anchored = true |
| 375 | p.Parent = model |
| 376 | end |
| 377 | do |
| 378 | local p = Instance.new("Part") |
| 379 | p.Shape = Enum.PartType.Cylinder |
| 380 | p.Name = "WingArmR_1" |
| 381 | p.Size = Vector3.new(8.261356, 1.2, 1.2) |
| 382 | p.CFrame = CFrame.new(-4.75, 15.5, 1.5) * CFrame.Angles(math.rad(-180), math.rad(-8.746162), math.rad(-142.754783)) |
| 383 | p.BrickColor = BrickColor.new("Really black") |
| 384 | p.Material = Enum.Material.Glacier |
| 385 | p.MaterialVariant = "2022 Universal" |
| 386 | p.Anchored = true |
| 387 | p.Parent = model |
| 388 | end |
| 389 | do |
| 390 | local p = Instance.new("Part") |
| 391 | p.Shape = Enum.PartType.Cylinder |
| 392 | p.Name = "WingArmR_2" |
| 393 | p.Size = Vector3.new(6.403124, 0.8, 0.8) |
| 394 | p.CFrame = CFrame.new(-10, 20, 3.5) * CFrame.Angles(math.rad(-180), math.rad(-36.869898), math.rad(-141.340192)) |
| 395 | p.BrickColor = BrickColor.new("Really black") |
| 396 | p.Material = Enum.Material.Glacier |
| 397 | p.MaterialVariant = "2022 Universal" |
| 398 | p.Anchored = true |
| 399 | p.Parent = model |
| 400 | end |
| 401 | do |
| 402 | local p = Instance.new("Part") |
| 403 | p.Name = "UpperArmL" |
| 404 | p.Size = Vector3.new(3, 1.2, 1.2) |
| 405 | p.CFrame = CFrame.new(2.5, 10.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-19.471221)) |
| 406 | p.BrickColor = BrickColor.new("Bright red") |
| 407 | p.Material = Enum.Material.Glacier |
| 408 | p.MaterialVariant = "2022 Stud" |
| 409 | p.Anchored = true |
| 410 | p.Parent = model |
| 411 | end |
| 412 | do |
| 413 | local p = Instance.new("Part") |
| 414 | p.Name = "ForeArmL" |
| 415 | p.Size = Vector3.new(2.345208, 1, 1) |
| 416 | p.CFrame = CFrame.new(4, 9.25, -2.25) * CFrame.Angles(math.rad(0), math.rad(56.309932), math.rad(-39.762159)) |
| 417 | p.BrickColor = BrickColor.new("Bright red") |
| 418 | p.Material = Enum.Material.Glacier |
| 419 | p.MaterialVariant = "2022 Stud" |
| 420 | p.Anchored = true |
| 421 | p.Parent = model |
| 422 | end |
| 423 | do |
| 424 | local p = Instance.new("Part") |
| 425 | p.Name = "HandL" |
| 426 | p.Size = Vector3.new(1.5, 0.8, 1.5) |
| 427 | p.CFrame = CFrame.new(4.5, 8.5, -3.5) |
| 428 | p.BrickColor = BrickColor.new("Bright red") |
| 429 | p.Material = Enum.Material.Glacier |
| 430 | p.MaterialVariant = "2022 Stud" |
| 431 | p.Anchored = true |
| 432 | p.Parent = model |
| 433 | end |
| 434 | do |
| 435 | local p = Instance.new("Part") |
| 436 | p.Name = "ClawL1" |
| 437 | p.Size = Vector3.new(0.3, 0.3, 1) |
| 438 | p.CFrame = CFrame.new(4.8, 8.2, -4.2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 439 | p.BrickColor = BrickColor.new("Really black") |
| 440 | p.Material = Enum.Material.Glacier |
| 441 | p.MaterialVariant = "2022 Universal" |
| 442 | p.Anchored = true |
| 443 | p.Parent = model |
| 444 | end |
| 445 | do |
| 446 | local p = Instance.new("Part") |
| 447 | p.Name = "ClawL2" |
| 448 | p.Size = Vector3.new(0.3, 0.3, 1) |
| 449 | p.CFrame = CFrame.new(4.2, 8.2, -4.2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 450 | p.BrickColor = BrickColor.new("Really black") |
| 451 | p.Material = Enum.Material.Glacier |
| 452 | p.MaterialVariant = "2022 Universal" |
| 453 | p.Anchored = true |
| 454 | p.Parent = model |
| 455 | end |
| 456 | do |
| 457 | local p = Instance.new("Part") |
| 458 | p.Name = "UpperArmR" |
| 459 | p.Size = Vector3.new(3, 1.2, 1.2) |
| 460 | p.CFrame = CFrame.new(-2.5, 10.5, -0.5) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(160.528779)) |
| 461 | p.BrickColor = BrickColor.new("Bright red") |
| 462 | p.Material = Enum.Material.Glacier |
| 463 | p.MaterialVariant = "2022 Stud" |
| 464 | p.Anchored = true |
| 465 | p.Parent = model |
| 466 | end |
| 467 | do |
| 468 | local p = Instance.new("Part") |
| 469 | p.Name = "ForeArmR" |
| 470 | p.Size = Vector3.new(2.345208, 1, 1) |
| 471 | p.CFrame = CFrame.new(-4, 9.25, -2.25) * CFrame.Angles(math.rad(-180), math.rad(56.309932), math.rad(140.237841)) |
| 472 | p.BrickColor = BrickColor.new("Bright red") |
| 473 | p.Material = Enum.Material.Glacier |
| 474 | p.MaterialVariant = "2022 Stud" |
| 475 | p.Anchored = true |
| 476 | p.Parent = model |
| 477 | end |
| 478 | do |
| 479 | local p = Instance.new("Part") |
| 480 | p.Name = "HandR" |
| 481 | p.Size = Vector3.new(1.5, 0.8, 1.5) |
| 482 | p.CFrame = CFrame.new(-4.5, 8.5, -3.5) |
| 483 | p.BrickColor = BrickColor.new("Bright red") |
| 484 | p.Material = Enum.Material.Glacier |
| 485 | p.MaterialVariant = "2022 Stud" |
| 486 | p.Anchored = true |
| 487 | p.Parent = model |
| 488 | end |
| 489 | do |
| 490 | local p = Instance.new("Part") |
| 491 | p.Name = "ClawR1" |
| 492 | p.Size = Vector3.new(0.3, 0.3, 1) |
| 493 | p.CFrame = CFrame.new(-4.8, 8.2, -4.2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 494 | p.BrickColor = BrickColor.new("Really black") |
| 495 | p.Material = Enum.Material.Glacier |
| 496 | p.MaterialVariant = "2022 Universal" |
| 497 | p.Anchored = true |
| 498 | p.Parent = model |
| 499 | end |
| 500 | do |
| 501 | local p = Instance.new("Part") |
| 502 | p.Name = "ClawR2" |
| 503 | p.Size = Vector3.new(0.3, 0.3, 1) |
| 504 | p.CFrame = CFrame.new(-4.2, 8.2, -4.2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 505 | p.BrickColor = BrickColor.new("Really black") |
| 506 | p.Material = Enum.Material.Glacier |
| 507 | p.MaterialVariant = "2022 Universal" |
| 508 | p.Anchored = true |
| 509 | p.Parent = model |
| 510 | end |
| 511 | do |
| 512 | local p = Instance.new("Part") |
| 513 | p.Name = "ThighL" |
| 514 | p.Size = Vector3.new(3, 1.8, 1.8) |
| 515 | p.CFrame = CFrame.new(2.5, 6, 2.5) * CFrame.Angles(math.rad(0), math.rad(-26.565051), math.rad(-41.810315)) |
| 516 | p.BrickColor = BrickColor.new("Bright red") |
| 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.Name = "CalfL" |
| 525 | p.Size = Vector3.new(3.201562, 1.4, 1.4) |
| 526 | p.CFrame = CFrame.new(3.25, 3.5, 3.5) * CFrame.Angles(math.rad(-180), math.rad(-63.434949), math.rad(110.439318)) |
| 527 | p.BrickColor = BrickColor.new("Bright red") |
| 528 | p.Material = Enum.Material.Glacier |
| 529 | p.MaterialVariant = "2022 Stud" |
| 530 | p.Anchored = true |
| 531 | p.Parent = model |
| 532 | end |
| 533 | do |
| 534 | local p = Instance.new("Part") |
| 535 | p.Name = "FootL" |
| 536 | p.Size = Vector3.new(1.8, 1, 2.5) |
| 537 | p.CFrame = CFrame.new(3, 1.5, 4.5) |
| 538 | p.BrickColor = BrickColor.new("Bright red") |
| 539 | p.Material = Enum.Material.Glacier |
| 540 | p.MaterialVariant = "2022 Stud" |
| 541 | p.Anchored = true |
| 542 | p.Parent = model |
| 543 | end |
| 544 | do |
| 545 | local p = Instance.new("Part") |
| 546 | p.Name = "FootClawL" |
| 547 | p.Size = Vector3.new(0.5, 0.5, 1.2) |
| 548 | p.CFrame = CFrame.new(3, 1.2, 5.8) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 549 | p.BrickColor = BrickColor.new("Really black") |
| 550 | p.Material = Enum.Material.Glacier |
| 551 | p.MaterialVariant = "2022 Universal" |
| 552 | p.Anchored = true |
| 553 | p.Parent = model |
| 554 | end |
| 555 | do |
| 556 | local p = Instance.new("Part") |
| 557 | p.Name = "ThighR" |
| 558 | p.Size = Vector3.new(3, 1.8, 1.8) |
| 559 | p.CFrame = CFrame.new(-2.5, 6, 2.5) * CFrame.Angles(math.rad(-180), math.rad(-26.565051), math.rad(138.189685)) |
| 560 | p.BrickColor = BrickColor.new("Bright red") |
| 561 | p.Material = Enum.Material.Glacier |
| 562 | p.MaterialVariant = "2022 Stud" |
| 563 | p.Anchored = true |
| 564 | p.Parent = model |
| 565 | end |
| 566 | do |
| 567 | local p = Instance.new("Part") |
| 568 | p.Name = "CalfR" |
| 569 | p.Size = Vector3.new(3.201562, 1.4, 1.4) |
| 570 | p.CFrame = CFrame.new(-3.25, 3.5, 3.5) * CFrame.Angles(math.rad(0), math.rad(-63.434949), math.rad(-69.560682)) |
| 571 | p.BrickColor = BrickColor.new("Bright red") |
| 572 | p.Material = Enum.Material.Glacier |
| 573 | p.MaterialVariant = "2022 Stud" |
| 574 | p.Anchored = true |
| 575 | p.Parent = model |
| 576 | end |
| 577 | do |
| 578 | local p = Instance.new("Part") |
| 579 | p.Name = "FootR" |
| 580 | p.Size = Vector3.new(1.8, 1, 2.5) |
| 581 | p.CFrame = CFrame.new(-3, 1.5, 4.5) |
| 582 | p.BrickColor = BrickColor.new("Bright red") |
| 583 | p.Material = Enum.Material.Glacier |
| 584 | p.MaterialVariant = "2022 Stud" |
| 585 | p.Anchored = true |
| 586 | p.Parent = model |
| 587 | end |
| 588 | do |
| 589 | local p = Instance.new("Part") |
| 590 | p.Name = "FootClawR" |
| 591 | p.Size = Vector3.new(0.5, 0.5, 1.2) |
| 592 | p.CFrame = CFrame.new(-3, 1.2, 5.8) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 593 | p.BrickColor = BrickColor.new("Really black") |
| 594 | p.Material = Enum.Material.Glacier |
| 595 | p.MaterialVariant = "2022 Universal" |
| 596 | p.Anchored = true |
| 597 | p.Parent = model |
| 598 | end |
| 599 | do |
| 600 | local p = Instance.new("WedgePart") |
| 601 | p.Name = "ShoulderSpikeL" |
| 602 | p.Size = Vector3.new(0.5, 1.5, 0.5) |
| 603 | p.CFrame = CFrame.new(2, 12.5, 1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)) |
| 604 | p.BrickColor = BrickColor.new("Really black") |
| 605 | p.Material = Enum.Material.Glacier |
| 606 | p.MaterialVariant = "2022 Universal" |
| 607 | p.Anchored = true |
| 608 | p.Parent = model |
| 609 | end |
| 610 | do |
| 611 | local p = Instance.new("WedgePart") |
| 612 | p.Name = "ShoulderSpikeR" |
| 613 | p.Size = Vector3.new(0.5, 1.5, 0.5) |
| 614 | p.CFrame = CFrame.new(-2, 12.5, 1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)) |
| 615 | p.BrickColor = BrickColor.new("Really black") |
| 616 | p.Material = Enum.Material.Glacier |
| 617 | p.MaterialVariant = "2022 Universal" |
| 618 | p.Anchored = true |
| 619 | p.Parent = model |
| 620 | end |
| 621 | do |
| 622 | local rightV = Vector3.new(1,0,0).Unit |
| 623 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 624 | local normalV = upV:Cross(rightV) |
| 625 | local pos = Vector3.new(5, 15, 3) |
| 626 | local cyl = Instance.new("Part") |
| 627 | cyl.Shape = Enum.PartType.Cylinder |
| 628 | cyl.Size = Vector3.new(0.2, 16, 16) |
| 629 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 630 | cyl.BrickColor = BrickColor.new("Really black") |
| 631 | cyl.Material = Enum.Material.Glacier |
| 632 | cyl.MaterialVariant = "2022 Universal" |
| 633 | cyl.Anchored = true; cyl.Parent = workspace |
| 634 | local cuts = {} |
| 635 | local angBoxes = {} |
| 636 | do |
| 637 | local edgeDir = 1*rightV + 0*upV |
| 638 | local edgePerp = 0*rightV + 1*upV |
| 639 | local cut = Instance.new("Part") |
| 640 | cut.Size = Vector3.new(32, 0.4, 32) |
| 641 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 16 * edgePerp, edgeDir, normalV) |
| 642 | cut.BrickColor = BrickColor.new("Really black") |
| 643 | cut.Material = Enum.Material.Glacier |
| 644 | cut.MaterialVariant = "2022 Universal" |
| 645 | cut.Anchored = true; cut.Parent = workspace |
| 646 | table.insert(angBoxes, cut) |
| 647 | end |
| 648 | do |
| 649 | local edgeDir = 0*rightV + 1*upV |
| 650 | local edgePerp = -1*rightV + 0*upV |
| 651 | local cut = Instance.new("Part") |
| 652 | cut.Size = Vector3.new(32, 0.4, 32) |
| 653 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 16 * edgePerp, edgeDir, normalV) |
| 654 | cut.BrickColor = BrickColor.new("Really black") |
| 655 | cut.Material = Enum.Material.Glacier |
| 656 | cut.MaterialVariant = "2022 Universal" |
| 657 | cut.Anchored = true; cut.Parent = workspace |
| 658 | table.insert(angBoxes, cut) |
| 659 | end |
| 660 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 661 | if #cuts > 0 then |
| 662 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 663 | for _, c in ipairs(cuts) do c:Destroy() end |
| 664 | if ok and result then |
| 665 | cyl:Destroy() |
| 666 | result.Name = "WingSailL"; result.Anchored = true; result.Parent = model |
| 667 | else |
| 668 | cyl.Name = "WingSailL"; cyl.Parent = model |
| 669 | end |
| 670 | else |
| 671 | cyl.Name = "WingSailL"; cyl.Parent = model |
| 672 | end |
| 673 | end |
| 674 | do |
| 675 | local rightV = Vector3.new(1,0,0).Unit |
| 676 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 677 | local normalV = upV:Cross(rightV) |
| 678 | local pos = Vector3.new(5.1, 15, 3.14) |
| 679 | local cyl = Instance.new("Part") |
| 680 | cyl.Shape = Enum.PartType.Cylinder |
| 681 | cyl.Size = Vector3.new(0.25, 15.6, 15.6) |
| 682 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 683 | cyl.BrickColor = BrickColor.new("Bright red") |
| 684 | cyl.Material = Enum.Material.Glacier |
| 685 | cyl.MaterialVariant = "2022 Stud" |
| 686 | cyl.Anchored = true; cyl.Parent = workspace |
| 687 | local cuts = {} |
| 688 | local angBoxes = {} |
| 689 | do |
| 690 | local edgeDir = 0.984808*rightV + 0.173648*upV |
| 691 | local edgePerp = -0.173648*rightV + 0.984808*upV |
| 692 | local cut = Instance.new("Part") |
| 693 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 694 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 15.6 * edgePerp, edgeDir, normalV) |
| 695 | cut.BrickColor = BrickColor.new("Bright red") |
| 696 | cut.Material = Enum.Material.Glacier |
| 697 | cut.MaterialVariant = "2022 Stud" |
| 698 | cut.Anchored = true; cut.Parent = workspace |
| 699 | table.insert(angBoxes, cut) |
| 700 | end |
| 701 | do |
| 702 | local edgeDir = 0.939693*rightV + 0.34202*upV |
| 703 | local edgePerp = -0.34202*rightV + 0.939693*upV |
| 704 | local cut = Instance.new("Part") |
| 705 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 706 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 15.6 * edgePerp, edgeDir, normalV) |
| 707 | cut.BrickColor = BrickColor.new("Bright red") |
| 708 | cut.Material = Enum.Material.Glacier |
| 709 | cut.MaterialVariant = "2022 Stud" |
| 710 | cut.Anchored = true; cut.Parent = workspace |
| 711 | table.insert(angBoxes, cut) |
| 712 | end |
| 713 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 714 | if #cuts > 0 then |
| 715 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 716 | for _, c in ipairs(cuts) do c:Destroy() end |
| 717 | if ok and result then |
| 718 | cyl:Destroy() |
| 719 | result.Name = "WingStripeL1"; result.Anchored = true; result.Parent = model |
| 720 | else |
| 721 | cyl.Name = "WingStripeL1"; cyl.Parent = model |
| 722 | end |
| 723 | else |
| 724 | cyl.Name = "WingStripeL1"; cyl.Parent = model |
| 725 | end |
| 726 | end |
| 727 | do |
| 728 | local rightV = Vector3.new(1,0,0).Unit |
| 729 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 730 | local normalV = upV:Cross(rightV) |
| 731 | local pos = Vector3.new(5.1, 15, 3.1) |
| 732 | local cyl = Instance.new("Part") |
| 733 | cyl.Shape = Enum.PartType.Cylinder |
| 734 | cyl.Size = Vector3.new(0.25, 15.6, 15.6) |
| 735 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 736 | cyl.BrickColor = BrickColor.new("Bright red") |
| 737 | cyl.Material = Enum.Material.Glacier |
| 738 | cyl.MaterialVariant = "2022 Stud" |
| 739 | cyl.Anchored = true; cyl.Parent = workspace |
| 740 | local cuts = {} |
| 741 | local angBoxes = {} |
| 742 | do |
| 743 | local edgeDir = 0.766044*rightV + 0.642788*upV |
| 744 | local edgePerp = -0.642788*rightV + 0.766044*upV |
| 745 | local cut = Instance.new("Part") |
| 746 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 747 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 15.6 * edgePerp, edgeDir, normalV) |
| 748 | cut.BrickColor = BrickColor.new("Bright red") |
| 749 | cut.Material = Enum.Material.Glacier |
| 750 | cut.MaterialVariant = "2022 Stud" |
| 751 | cut.Anchored = true; cut.Parent = workspace |
| 752 | table.insert(angBoxes, cut) |
| 753 | end |
| 754 | do |
| 755 | local edgeDir = 0.642788*rightV + 0.766044*upV |
| 756 | local edgePerp = -0.766044*rightV + 0.642788*upV |
| 757 | local cut = Instance.new("Part") |
| 758 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 759 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 15.6 * edgePerp, edgeDir, normalV) |
| 760 | cut.BrickColor = BrickColor.new("Bright red") |
| 761 | cut.Material = Enum.Material.Glacier |
| 762 | cut.MaterialVariant = "2022 Stud" |
| 763 | cut.Anchored = true; cut.Parent = workspace |
| 764 | table.insert(angBoxes, cut) |
| 765 | end |
| 766 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 767 | if #cuts > 0 then |
| 768 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 769 | for _, c in ipairs(cuts) do c:Destroy() end |
| 770 | if ok and result then |
| 771 | cyl:Destroy() |
| 772 | result.Name = "WingStripeL2"; result.Anchored = true; result.Parent = model |
| 773 | else |
| 774 | cyl.Name = "WingStripeL2"; cyl.Parent = model |
| 775 | end |
| 776 | else |
| 777 | cyl.Name = "WingStripeL2"; cyl.Parent = model |
| 778 | end |
| 779 | end |
| 780 | do |
| 781 | local rightV = Vector3.new(-1,0,0).Unit |
| 782 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 783 | local normalV = upV:Cross(rightV) |
| 784 | local pos = Vector3.new(-5, 15, 3) |
| 785 | local cyl = Instance.new("Part") |
| 786 | cyl.Shape = Enum.PartType.Cylinder |
| 787 | cyl.Size = Vector3.new(0.2, 16, 16) |
| 788 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 789 | cyl.BrickColor = BrickColor.new("Really black") |
| 790 | cyl.Material = Enum.Material.Glacier |
| 791 | cyl.MaterialVariant = "2022 Universal" |
| 792 | cyl.Anchored = true; cyl.Parent = workspace |
| 793 | local cuts = {} |
| 794 | local angBoxes = {} |
| 795 | do |
| 796 | local edgeDir = 1*rightV + 0*upV |
| 797 | local edgePerp = 0*rightV + 1*upV |
| 798 | local cut = Instance.new("Part") |
| 799 | cut.Size = Vector3.new(32, 0.4, 32) |
| 800 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 16 * edgePerp, edgeDir, normalV) |
| 801 | cut.BrickColor = BrickColor.new("Really black") |
| 802 | cut.Material = Enum.Material.Glacier |
| 803 | cut.MaterialVariant = "2022 Universal" |
| 804 | cut.Anchored = true; cut.Parent = workspace |
| 805 | table.insert(angBoxes, cut) |
| 806 | end |
| 807 | do |
| 808 | local edgeDir = 0*rightV + 1*upV |
| 809 | local edgePerp = -1*rightV + 0*upV |
| 810 | local cut = Instance.new("Part") |
| 811 | cut.Size = Vector3.new(32, 0.4, 32) |
| 812 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 16 * edgePerp, edgeDir, normalV) |
| 813 | cut.BrickColor = BrickColor.new("Really black") |
| 814 | cut.Material = Enum.Material.Glacier |
| 815 | cut.MaterialVariant = "2022 Universal" |
| 816 | cut.Anchored = true; cut.Parent = workspace |
| 817 | table.insert(angBoxes, cut) |
| 818 | end |
| 819 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 820 | if #cuts > 0 then |
| 821 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 822 | for _, c in ipairs(cuts) do c:Destroy() end |
| 823 | if ok and result then |
| 824 | cyl:Destroy() |
| 825 | result.Name = "WingSailR"; result.Anchored = true; result.Parent = model |
| 826 | else |
| 827 | cyl.Name = "WingSailR"; cyl.Parent = model |
| 828 | end |
| 829 | else |
| 830 | cyl.Name = "WingSailR"; cyl.Parent = model |
| 831 | end |
| 832 | end |
| 833 | do |
| 834 | local rightV = Vector3.new(-1,0,0).Unit |
| 835 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 836 | local normalV = upV:Cross(rightV) |
| 837 | local pos = Vector3.new(-5.1, 15, 3.14) |
| 838 | local cyl = Instance.new("Part") |
| 839 | cyl.Shape = Enum.PartType.Cylinder |
| 840 | cyl.Size = Vector3.new(0.25, 15.6, 15.6) |
| 841 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 842 | cyl.BrickColor = BrickColor.new("Bright red") |
| 843 | cyl.Material = Enum.Material.Glacier |
| 844 | cyl.MaterialVariant = "2022 Stud" |
| 845 | cyl.Anchored = true; cyl.Parent = workspace |
| 846 | local cuts = {} |
| 847 | local angBoxes = {} |
| 848 | do |
| 849 | local edgeDir = 0.984808*rightV + 0.173648*upV |
| 850 | local edgePerp = -0.173648*rightV + 0.984808*upV |
| 851 | local cut = Instance.new("Part") |
| 852 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 853 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 15.6 * edgePerp, edgeDir, normalV) |
| 854 | cut.BrickColor = BrickColor.new("Bright red") |
| 855 | cut.Material = Enum.Material.Glacier |
| 856 | cut.MaterialVariant = "2022 Stud" |
| 857 | cut.Anchored = true; cut.Parent = workspace |
| 858 | table.insert(angBoxes, cut) |
| 859 | end |
| 860 | do |
| 861 | local edgeDir = 0.939693*rightV + 0.34202*upV |
| 862 | local edgePerp = -0.34202*rightV + 0.939693*upV |
| 863 | local cut = Instance.new("Part") |
| 864 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 865 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 15.6 * edgePerp, edgeDir, normalV) |
| 866 | cut.BrickColor = BrickColor.new("Bright red") |
| 867 | cut.Material = Enum.Material.Glacier |
| 868 | cut.MaterialVariant = "2022 Stud" |
| 869 | cut.Anchored = true; cut.Parent = workspace |
| 870 | table.insert(angBoxes, cut) |
| 871 | end |
| 872 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 873 | if #cuts > 0 then |
| 874 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 875 | for _, c in ipairs(cuts) do c:Destroy() end |
| 876 | if ok and result then |
| 877 | cyl:Destroy() |
| 878 | result.Name = "WingStripeR1"; result.Anchored = true; result.Parent = model |
| 879 | else |
| 880 | cyl.Name = "WingStripeR1"; cyl.Parent = model |
| 881 | end |
| 882 | else |
| 883 | cyl.Name = "WingStripeR1"; cyl.Parent = model |
| 884 | end |
| 885 | end |
| 886 | do |
| 887 | local rightV = Vector3.new(-1,0,0).Unit |
| 888 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 889 | local normalV = upV:Cross(rightV) |
| 890 | local pos = Vector3.new(-5.1, 15, 3.1) |
| 891 | local cyl = Instance.new("Part") |
| 892 | cyl.Shape = Enum.PartType.Cylinder |
| 893 | cyl.Size = Vector3.new(0.25, 15.6, 15.6) |
| 894 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 895 | cyl.BrickColor = BrickColor.new("Bright red") |
| 896 | cyl.Material = Enum.Material.Glacier |
| 897 | cyl.MaterialVariant = "2022 Stud" |
| 898 | cyl.Anchored = true; cyl.Parent = workspace |
| 899 | local cuts = {} |
| 900 | local angBoxes = {} |
| 901 | do |
| 902 | local edgeDir = 0.766044*rightV + 0.642788*upV |
| 903 | local edgePerp = -0.642788*rightV + 0.766044*upV |
| 904 | local cut = Instance.new("Part") |
| 905 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 906 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 15.6 * edgePerp, edgeDir, normalV) |
| 907 | cut.BrickColor = BrickColor.new("Bright red") |
| 908 | cut.Material = Enum.Material.Glacier |
| 909 | cut.MaterialVariant = "2022 Stud" |
| 910 | cut.Anchored = true; cut.Parent = workspace |
| 911 | table.insert(angBoxes, cut) |
| 912 | end |
| 913 | do |
| 914 | local edgeDir = 0.642788*rightV + 0.766044*upV |
| 915 | local edgePerp = -0.766044*rightV + 0.642788*upV |
| 916 | local cut = Instance.new("Part") |
| 917 | cut.Size = Vector3.new(31.2, 0.45, 31.2) |
| 918 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 15.6 * edgePerp, edgeDir, normalV) |
| 919 | cut.BrickColor = BrickColor.new("Bright red") |
| 920 | cut.Material = Enum.Material.Glacier |
| 921 | cut.MaterialVariant = "2022 Stud" |
| 922 | cut.Anchored = true; cut.Parent = workspace |
| 923 | table.insert(angBoxes, cut) |
| 924 | end |
| 925 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 926 | if #cuts > 0 then |
| 927 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 928 | for _, c in ipairs(cuts) do c:Destroy() end |
| 929 | if ok and result then |
| 930 | cyl:Destroy() |
| 931 | result.Name = "WingStripeR2"; result.Anchored = true; result.Parent = model |
| 932 | else |
| 933 | cyl.Name = "WingStripeR2"; cyl.Parent = model |
| 934 | end |
| 935 | else |
| 936 | cyl.Name = "WingStripeR2"; cyl.Parent = model |
| 937 | end |
| 938 | end |
| 939 | model.PrimaryPart = model:FindFirstChild("HeadCore") |
| 940 | print("MasterDragon built: " .. #model:GetChildren() .. " parts") |
Loading comments...