Loading model...
by DR.MC_PLAYZ 0913 · 10/20/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: VampireBat |
| 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 = "VampireBat" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["#241933"] = "2022 Glue", |
| 25 | ["#2c203e"] = "2022 Glue", |
| 26 | ["#401323"] = "2022 Stud", |
| 27 | ["#6b448c"] = "2022 Glue", |
| 28 | ["#7A4D9A"] = "2022 Glue", |
| 29 | ["#7a4d9a"] = "2022 Glue", |
| 30 | ["Institutional white"] = "2022 Stud", |
| 31 | } |
| 32 | do |
| 33 | local p = Instance.new("Part") |
| 34 | p.Name = "BodyTorso" |
| 35 | p.Size = Vector3.new(2.8, 2.4, 2.2) |
| 36 | p.CFrame = CFrame.new(0, 1.8, 0.1) |
| 37 | p.Color = Color3.fromRGB(107, 68, 140) |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Glue" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Name = "FeetBase" |
| 46 | p.Size = Vector3.new(2.8, 0.5, 2) |
| 47 | p.CFrame = CFrame.new(0, 0.25, 0.1) |
| 48 | p.Color = Color3.fromRGB(44, 32, 62) |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Glue" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Name = "FootL" |
| 57 | p.Size = Vector3.new(0.8, 0.7, 0.7) |
| 58 | p.CFrame = CFrame.new(-0.75, 0.6, -0.9) |
| 59 | p.Color = Color3.fromRGB(107, 68, 140) |
| 60 | p.Material = Enum.Material.Glacier |
| 61 | p.MaterialVariant = "2022 Glue" |
| 62 | p.Anchored = true |
| 63 | p.Parent = model |
| 64 | end |
| 65 | do |
| 66 | local p = Instance.new("Part") |
| 67 | p.Name = "FootR" |
| 68 | p.Size = Vector3.new(0.8, 0.7, 0.7) |
| 69 | p.CFrame = CFrame.new(0.75, 0.6, -0.9) |
| 70 | p.Color = Color3.fromRGB(107, 68, 140) |
| 71 | p.Material = Enum.Material.Glacier |
| 72 | p.MaterialVariant = "2022 Glue" |
| 73 | p.Anchored = true |
| 74 | p.Parent = model |
| 75 | end |
| 76 | do |
| 77 | local p = Instance.new("Part") |
| 78 | p.Shape = Enum.PartType.Cylinder |
| 79 | p.Name = "FootStudL" |
| 80 | p.Size = Vector3.new(0.2, 0.45, 0.45) |
| 81 | p.CFrame = CFrame.new(-0.75, 0.8, -1.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 82 | p.Color = Color3.fromRGB(107, 68, 140) |
| 83 | p.Material = Enum.Material.Glacier |
| 84 | p.MaterialVariant = "2022 Glue" |
| 85 | p.Anchored = true |
| 86 | p.Parent = model |
| 87 | end |
| 88 | do |
| 89 | local p = Instance.new("Part") |
| 90 | p.Shape = Enum.PartType.Cylinder |
| 91 | p.Name = "FootStudR" |
| 92 | p.Size = Vector3.new(0.2, 0.45, 0.45) |
| 93 | p.CFrame = CFrame.new(0.75, 0.8, -1.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 94 | p.Color = Color3.fromRGB(107, 68, 140) |
| 95 | p.Material = Enum.Material.Glacier |
| 96 | p.MaterialVariant = "2022 Glue" |
| 97 | p.Anchored = true |
| 98 | p.Parent = model |
| 99 | end |
| 100 | do |
| 101 | local p = Instance.new("Part") |
| 102 | p.Shape = Enum.PartType.Cylinder |
| 103 | p.Name = "BodyStud_0_-0.8" |
| 104 | p.Size = Vector3.new(0.15, 0.45, 0.45) |
| 105 | p.CFrame = CFrame.new(-0.8, 1.3, -1.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 106 | p.Color = Color3.fromRGB(107, 68, 140) |
| 107 | p.Material = Enum.Material.Glacier |
| 108 | p.MaterialVariant = "2022 Glue" |
| 109 | p.Anchored = true |
| 110 | p.Parent = model |
| 111 | end |
| 112 | do |
| 113 | local p = Instance.new("Part") |
| 114 | p.Shape = Enum.PartType.Cylinder |
| 115 | p.Name = "BodyStud_0_0.0" |
| 116 | p.Size = Vector3.new(0.15, 0.45, 0.45) |
| 117 | p.CFrame = CFrame.new(0, 1.3, -1.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 118 | p.Color = Color3.fromRGB(107, 68, 140) |
| 119 | p.Material = Enum.Material.Glacier |
| 120 | p.MaterialVariant = "2022 Glue" |
| 121 | p.Anchored = true |
| 122 | p.Parent = model |
| 123 | end |
| 124 | do |
| 125 | local p = Instance.new("Part") |
| 126 | p.Shape = Enum.PartType.Cylinder |
| 127 | p.Name = "BodyStud_0_0.8" |
| 128 | p.Size = Vector3.new(0.15, 0.45, 0.45) |
| 129 | p.CFrame = CFrame.new(0.8, 1.3, -1.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 130 | p.Color = Color3.fromRGB(107, 68, 140) |
| 131 | p.Material = Enum.Material.Glacier |
| 132 | p.MaterialVariant = "2022 Glue" |
| 133 | p.Anchored = true |
| 134 | p.Parent = model |
| 135 | end |
| 136 | do |
| 137 | local p = Instance.new("Part") |
| 138 | p.Shape = Enum.PartType.Cylinder |
| 139 | p.Name = "BodyStud_1_-0.8" |
| 140 | p.Size = Vector3.new(0.15, 0.45, 0.45) |
| 141 | p.CFrame = CFrame.new(-0.8, 2.1, -1.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 142 | p.Color = Color3.fromRGB(107, 68, 140) |
| 143 | p.Material = Enum.Material.Glacier |
| 144 | p.MaterialVariant = "2022 Glue" |
| 145 | p.Anchored = true |
| 146 | p.Parent = model |
| 147 | end |
| 148 | do |
| 149 | local p = Instance.new("Part") |
| 150 | p.Shape = Enum.PartType.Cylinder |
| 151 | p.Name = "BodyStud_1_0.0" |
| 152 | p.Size = Vector3.new(0.15, 0.45, 0.45) |
| 153 | p.CFrame = CFrame.new(0, 2.1, -1.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 154 | p.Color = Color3.fromRGB(107, 68, 140) |
| 155 | p.Material = Enum.Material.Glacier |
| 156 | p.MaterialVariant = "2022 Glue" |
| 157 | p.Anchored = true |
| 158 | p.Parent = model |
| 159 | end |
| 160 | do |
| 161 | local p = Instance.new("Part") |
| 162 | p.Shape = Enum.PartType.Cylinder |
| 163 | p.Name = "BodyStud_1_0.8" |
| 164 | p.Size = Vector3.new(0.15, 0.45, 0.45) |
| 165 | p.CFrame = CFrame.new(0.8, 2.1, -1.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 166 | p.Color = Color3.fromRGB(107, 68, 140) |
| 167 | p.Material = Enum.Material.Glacier |
| 168 | p.MaterialVariant = "2022 Glue" |
| 169 | p.Anchored = true |
| 170 | p.Parent = model |
| 171 | end |
| 172 | do |
| 173 | local p = Instance.new("Part") |
| 174 | p.Name = "CapeBackMain" |
| 175 | p.Size = Vector3.new(4.4, 2.6, 0.6) |
| 176 | p.CFrame = CFrame.new(0, 1.6, 1.35) |
| 177 | p.Color = Color3.fromRGB(44, 32, 62) |
| 178 | p.Material = Enum.Material.Glacier |
| 179 | p.MaterialVariant = "2022 Glue" |
| 180 | p.Anchored = true |
| 181 | p.Parent = model |
| 182 | end |
| 183 | do |
| 184 | local p = Instance.new("WedgePart") |
| 185 | p.Name = "CapeBackWedgeL" |
| 186 | p.Size = Vector3.new(0.6, 2.6, 0.6) |
| 187 | p.CFrame = CFrame.new(-2.4, 1.6, 1.43) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)) |
| 188 | p.Color = Color3.fromRGB(44, 32, 62) |
| 189 | p.Material = Enum.Material.Glacier |
| 190 | p.MaterialVariant = "2022 Glue" |
| 191 | p.Anchored = true |
| 192 | p.Parent = model |
| 193 | end |
| 194 | do |
| 195 | local p = Instance.new("WedgePart") |
| 196 | p.Name = "CapeBackWedgeR" |
| 197 | p.Size = Vector3.new(0.6, 2.6, 0.6) |
| 198 | p.CFrame = CFrame.new(2.4, 1.6, 1.43) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(15)) |
| 199 | p.Color = Color3.fromRGB(44, 32, 62) |
| 200 | p.Material = Enum.Material.Glacier |
| 201 | p.MaterialVariant = "2022 Glue" |
| 202 | p.Anchored = true |
| 203 | p.Parent = model |
| 204 | end |
| 205 | do |
| 206 | local p = Instance.new("Part") |
| 207 | p.Name = "CapeSideL" |
| 208 | p.Size = Vector3.new(0.4, 2.6, 1.8) |
| 209 | p.CFrame = CFrame.new(-1.9, 1.6, 0.3) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(12)) |
| 210 | p.Color = Color3.fromRGB(44, 32, 62) |
| 211 | p.Material = Enum.Material.Glacier |
| 212 | p.MaterialVariant = "2022 Glue" |
| 213 | p.Anchored = true |
| 214 | p.Parent = model |
| 215 | end |
| 216 | do |
| 217 | local p = Instance.new("Part") |
| 218 | p.Name = "CapeSideR" |
| 219 | p.Size = Vector3.new(0.4, 2.6, 1.8) |
| 220 | p.CFrame = CFrame.new(1.9, 1.6, 0.3) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(-12)) |
| 221 | p.Color = Color3.fromRGB(44, 32, 62) |
| 222 | p.Material = Enum.Material.Glacier |
| 223 | p.MaterialVariant = "2022 Glue" |
| 224 | p.Anchored = true |
| 225 | p.Parent = model |
| 226 | end |
| 227 | do |
| 228 | local p = Instance.new("Part") |
| 229 | p.Name = "CapeFlapFrontL" |
| 230 | p.Size = Vector3.new(0.3, 2.2, 0.8) |
| 231 | p.CFrame = CFrame.new(-1.8, 1.4, -0.85) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(14)) |
| 232 | p.Color = Color3.fromRGB(44, 32, 62) |
| 233 | p.Material = Enum.Material.Glacier |
| 234 | p.MaterialVariant = "2022 Glue" |
| 235 | p.Anchored = true |
| 236 | p.Parent = model |
| 237 | end |
| 238 | do |
| 239 | local p = Instance.new("Part") |
| 240 | p.Name = "CapeFlapFrontR" |
| 241 | p.Size = Vector3.new(0.3, 2.2, 0.8) |
| 242 | p.CFrame = CFrame.new(1.8, 1.4, -0.85) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(-14)) |
| 243 | p.Color = Color3.fromRGB(44, 32, 62) |
| 244 | p.Material = Enum.Material.Glacier |
| 245 | p.MaterialVariant = "2022 Glue" |
| 246 | p.Anchored = true |
| 247 | p.Parent = model |
| 248 | end |
| 249 | do |
| 250 | local p = Instance.new("Part") |
| 251 | p.Name = "CapeHemBack" |
| 252 | p.Size = Vector3.new(4.6, 0.4, 0.7) |
| 253 | p.CFrame = CFrame.new(0, 0.16, 1.44) |
| 254 | p.Color = Color3.fromRGB(44, 32, 62) |
| 255 | p.Material = Enum.Material.Glacier |
| 256 | p.MaterialVariant = "2022 Glue" |
| 257 | p.Anchored = true |
| 258 | p.Parent = model |
| 259 | end |
| 260 | do |
| 261 | local p = Instance.new("Part") |
| 262 | p.Name = "CollarBase" |
| 263 | p.Size = Vector3.new(3.8, 0.5, 3.2) |
| 264 | p.CFrame = CFrame.new(0, 3.25, 0.2) |
| 265 | p.Color = Color3.fromRGB(36, 25, 51) |
| 266 | p.Material = Enum.Material.Glacier |
| 267 | p.MaterialVariant = "2022 Glue" |
| 268 | p.Anchored = true |
| 269 | p.Parent = model |
| 270 | end |
| 271 | do |
| 272 | local p = Instance.new("Part") |
| 273 | p.Name = "CollarRimBack" |
| 274 | p.Size = Vector3.new(4.6, 0.8, 0.6) |
| 275 | p.CFrame = CFrame.new(0, 3.85, 1.5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 276 | p.Color = Color3.fromRGB(36, 25, 51) |
| 277 | p.Material = Enum.Material.Glacier |
| 278 | p.MaterialVariant = "2022 Glue" |
| 279 | p.Anchored = true |
| 280 | p.Parent = model |
| 281 | end |
| 282 | do |
| 283 | local p = Instance.new("Part") |
| 284 | p.Name = "CollarRimSideL" |
| 285 | p.Size = Vector3.new(0.5, 0.7, 3.4) |
| 286 | p.CFrame = CFrame.new(-2.1, 3.75, 0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)) |
| 287 | p.Color = Color3.fromRGB(36, 25, 51) |
| 288 | p.Material = Enum.Material.Glacier |
| 289 | p.MaterialVariant = "2022 Glue" |
| 290 | p.Anchored = true |
| 291 | p.Parent = model |
| 292 | end |
| 293 | do |
| 294 | local p = Instance.new("Part") |
| 295 | p.Name = "CollarRimSideR" |
| 296 | p.Size = Vector3.new(0.5, 0.7, 3.4) |
| 297 | p.CFrame = CFrame.new(2.1, 3.75, 0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(18)) |
| 298 | p.Color = Color3.fromRGB(36, 25, 51) |
| 299 | p.Material = Enum.Material.Glacier |
| 300 | p.MaterialVariant = "2022 Glue" |
| 301 | p.Anchored = true |
| 302 | p.Parent = model |
| 303 | end |
| 304 | do |
| 305 | local p = Instance.new("Part") |
| 306 | p.Name = "CollarPeakBackL" |
| 307 | p.Size = Vector3.new(1.2, 0.7, 0.5) |
| 308 | p.CFrame = CFrame.new(-1.8, 4, 1.4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-12)) |
| 309 | p.Color = Color3.fromRGB(36, 25, 51) |
| 310 | p.Material = Enum.Material.Glacier |
| 311 | p.MaterialVariant = "2022 Glue" |
| 312 | p.Anchored = true |
| 313 | p.Parent = model |
| 314 | end |
| 315 | do |
| 316 | local p = Instance.new("Part") |
| 317 | p.Name = "CollarPeakBackR" |
| 318 | p.Size = Vector3.new(1.2, 0.7, 0.5) |
| 319 | p.CFrame = CFrame.new(1.8, 4, 1.4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(12)) |
| 320 | p.Color = Color3.fromRGB(36, 25, 51) |
| 321 | p.Material = Enum.Material.Glacier |
| 322 | p.MaterialVariant = "2022 Glue" |
| 323 | p.Anchored = true |
| 324 | p.Parent = model |
| 325 | end |
| 326 | do |
| 327 | local p = Instance.new("Part") |
| 328 | p.Name = "HeadMain" |
| 329 | p.Size = Vector3.new(3.6, 2.8, 3.2) |
| 330 | p.CFrame = CFrame.new(0, 4.8, 0) |
| 331 | p.Color = Color3.fromRGB(107, 68, 140) |
| 332 | p.Material = Enum.Material.Glacier |
| 333 | p.MaterialVariant = "2022 Glue" |
| 334 | p.Anchored = true |
| 335 | p.Parent = model |
| 336 | end |
| 337 | do |
| 338 | local p = Instance.new("Part") |
| 339 | p.Name = "FaceFront" |
| 340 | p.Size = Vector3.new(3.4, 2.6, 0.2) |
| 341 | p.CFrame = CFrame.new(0, 4.8, -1.62) |
| 342 | p.Color = Color3.fromRGB(107, 68, 140) |
| 343 | p.Material = Enum.Material.Glacier |
| 344 | p.MaterialVariant = "2022 Glue" |
| 345 | p.Anchored = true |
| 346 | p.Parent = model |
| 347 | end |
| 348 | do |
| 349 | local p = Instance.new("Part") |
| 350 | p.Shape = Enum.PartType.Cylinder |
| 351 | p.Name = "FaceStud_-1.5_3.7" |
| 352 | p.Size = Vector3.new(0.16, 0.48, 0.48) |
| 353 | p.CFrame = CFrame.new(-1.5, 3.7, -1.75) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 354 | p.Color = Color3.fromRGB(107, 68, 140) |
| 355 | p.Material = Enum.Material.Glacier |
| 356 | p.MaterialVariant = "2022 Glue" |
| 357 | p.Anchored = true |
| 358 | p.Parent = model |
| 359 | end |
| 360 | do |
| 361 | local p = Instance.new("Part") |
| 362 | p.Shape = Enum.PartType.Cylinder |
| 363 | p.Name = "FaceStud_-1.5_5.9" |
| 364 | p.Size = Vector3.new(0.16, 0.48, 0.48) |
| 365 | p.CFrame = CFrame.new(-1.5, 5.9, -1.83) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 366 | p.Color = Color3.fromRGB(107, 68, 140) |
| 367 | p.Material = Enum.Material.Glacier |
| 368 | p.MaterialVariant = "2022 Glue" |
| 369 | p.Anchored = true |
| 370 | p.Parent = model |
| 371 | end |
| 372 | do |
| 373 | local p = Instance.new("Part") |
| 374 | p.Shape = Enum.PartType.Cylinder |
| 375 | p.Name = "FaceStud_1.5_3.7" |
| 376 | p.Size = Vector3.new(0.16, 0.48, 0.48) |
| 377 | p.CFrame = CFrame.new(1.5, 3.7, -1.75) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 378 | p.Color = Color3.fromRGB(107, 68, 140) |
| 379 | p.Material = Enum.Material.Glacier |
| 380 | p.MaterialVariant = "2022 Glue" |
| 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 = "FaceStud_1.5_5.9" |
| 388 | p.Size = Vector3.new(0.16, 0.48, 0.48) |
| 389 | p.CFrame = CFrame.new(1.5, 5.9, -1.83) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 390 | p.Color = Color3.fromRGB(107, 68, 140) |
| 391 | p.Material = Enum.Material.Glacier |
| 392 | p.MaterialVariant = "2022 Glue" |
| 393 | p.Anchored = true |
| 394 | p.Parent = model |
| 395 | end |
| 396 | do |
| 397 | local p = Instance.new("Part") |
| 398 | p.Name = "EarPlateL" |
| 399 | p.Size = Vector3.new(0.25, 0.8, 0.8) |
| 400 | p.CFrame = CFrame.new(-1.9, 4.8, 0) |
| 401 | p.Color = Color3.fromRGB(107, 68, 140) |
| 402 | p.Material = Enum.Material.Glacier |
| 403 | p.MaterialVariant = "2022 Glue" |
| 404 | p.Anchored = true |
| 405 | p.Parent = model |
| 406 | end |
| 407 | do |
| 408 | local p = Instance.new("Part") |
| 409 | p.Name = "EarPlateR" |
| 410 | p.Size = Vector3.new(0.25, 0.8, 0.8) |
| 411 | p.CFrame = CFrame.new(1.9, 4.8, 0) |
| 412 | p.Color = Color3.fromRGB(107, 68, 140) |
| 413 | p.Material = Enum.Material.Glacier |
| 414 | p.MaterialVariant = "2022 Glue" |
| 415 | p.Anchored = true |
| 416 | p.Parent = model |
| 417 | end |
| 418 | do |
| 419 | local p = Instance.new("Part") |
| 420 | p.Shape = Enum.PartType.Cylinder |
| 421 | p.Name = "EarPinL" |
| 422 | p.Size = Vector3.new(0.15, 0.4, 0.4) |
| 423 | p.CFrame = CFrame.new(-2.05, 4.8, 0) |
| 424 | p.Color = Color3.fromRGB(107, 68, 140) |
| 425 | p.Material = Enum.Material.Glacier |
| 426 | p.MaterialVariant = "2022 Glue" |
| 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 = "EarPinR" |
| 434 | p.Size = Vector3.new(0.15, 0.4, 0.4) |
| 435 | p.CFrame = CFrame.new(2.05, 4.8, 0) |
| 436 | p.Color = Color3.fromRGB(107, 68, 140) |
| 437 | p.Material = Enum.Material.Glacier |
| 438 | p.MaterialVariant = "2022 Glue" |
| 439 | p.Anchored = true |
| 440 | p.Parent = model |
| 441 | end |
| 442 | do |
| 443 | local p = Instance.new("Part") |
| 444 | p.Name = "HairCapTop" |
| 445 | p.Size = Vector3.new(3.65, 0.5, 3.3) |
| 446 | p.CFrame = CFrame.new(0, 6.4, 0.09) |
| 447 | p.Color = Color3.fromRGB(36, 25, 51) |
| 448 | p.Material = Enum.Material.Glacier |
| 449 | p.MaterialVariant = "2022 Glue" |
| 450 | p.Anchored = true |
| 451 | p.Parent = model |
| 452 | end |
| 453 | do |
| 454 | local p = Instance.new("Part") |
| 455 | p.Name = "HairCapBack" |
| 456 | p.Size = Vector3.new(3.49, 2.4, 0.35) |
| 457 | p.CFrame = CFrame.new(0, 5.2, 1.62) |
| 458 | p.Color = Color3.fromRGB(36, 25, 51) |
| 459 | p.Material = Enum.Material.Glacier |
| 460 | p.MaterialVariant = "2022 Glue" |
| 461 | p.Anchored = true |
| 462 | p.Parent = model |
| 463 | end |
| 464 | do |
| 465 | local p = Instance.new("Part") |
| 466 | p.Name = "HairCapSideL" |
| 467 | p.Size = Vector3.new(0.35, 1.6, 3.3) |
| 468 | p.CFrame = CFrame.new(-1.82, 5.64, 0.18) |
| 469 | p.Color = Color3.fromRGB(36, 25, 51) |
| 470 | p.Material = Enum.Material.Glacier |
| 471 | p.MaterialVariant = "2022 Glue" |
| 472 | p.Anchored = true |
| 473 | p.Parent = model |
| 474 | end |
| 475 | do |
| 476 | local p = Instance.new("Part") |
| 477 | p.Name = "HairCapSideR" |
| 478 | p.Size = Vector3.new(0.35, 1.6, 3.3) |
| 479 | p.CFrame = CFrame.new(1.82, 5.64, 0.18) |
| 480 | p.Color = Color3.fromRGB(36, 25, 51) |
| 481 | p.Material = Enum.Material.Glacier |
| 482 | p.MaterialVariant = "2022 Glue" |
| 483 | p.Anchored = true |
| 484 | p.Parent = model |
| 485 | end |
| 486 | do |
| 487 | local p = Instance.new("WedgePart") |
| 488 | p.Name = "WidowsPeakCenter" |
| 489 | p.Size = Vector3.new(1, 0.65, 0.3) |
| 490 | p.CFrame = CFrame.new(0, 5.95, -1.76) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 491 | p.Color = Color3.fromRGB(36, 25, 51) |
| 492 | p.Material = Enum.Material.Glacier |
| 493 | p.MaterialVariant = "2022 Glue" |
| 494 | p.Anchored = true |
| 495 | p.Parent = model |
| 496 | end |
| 497 | do |
| 498 | local p = Instance.new("Part") |
| 499 | p.Name = "HairBangsL" |
| 500 | p.Size = Vector3.new(1.6, 0.45, 0.3) |
| 501 | p.CFrame = CFrame.new(-1.1, 6.15, -1.72) |
| 502 | p.Color = Color3.fromRGB(36, 25, 51) |
| 503 | p.Material = Enum.Material.Glacier |
| 504 | p.MaterialVariant = "2022 Glue" |
| 505 | p.Anchored = true |
| 506 | p.Parent = model |
| 507 | end |
| 508 | do |
| 509 | local p = Instance.new("Part") |
| 510 | p.Name = "HairBangsR" |
| 511 | p.Size = Vector3.new(1.6, 0.45, 0.3) |
| 512 | p.CFrame = CFrame.new(1.1, 6.15, -1.72) |
| 513 | p.Color = Color3.fromRGB(36, 25, 51) |
| 514 | p.Material = Enum.Material.Glacier |
| 515 | p.MaterialVariant = "2022 Glue" |
| 516 | p.Anchored = true |
| 517 | p.Parent = model |
| 518 | end |
| 519 | do |
| 520 | local p = Instance.new("Part") |
| 521 | p.Name = "BatEarL_Base" |
| 522 | p.Size = Vector3.new(0.9, 0.7, 1.4) |
| 523 | p.CFrame = CFrame.new(-1.2, 6.75, 0) |
| 524 | p.Color = Color3.fromRGB(36, 25, 51) |
| 525 | p.Material = Enum.Material.Glacier |
| 526 | p.MaterialVariant = "2022 Glue" |
| 527 | p.Anchored = true |
| 528 | p.Parent = model |
| 529 | end |
| 530 | do |
| 531 | local p = Instance.new("Part") |
| 532 | p.Name = "BatEarR_Base" |
| 533 | p.Size = Vector3.new(0.9, 0.7, 1.4) |
| 534 | p.CFrame = CFrame.new(1.2, 6.75, 0) |
| 535 | p.Color = Color3.fromRGB(36, 25, 51) |
| 536 | p.Material = Enum.Material.Glacier |
| 537 | p.MaterialVariant = "2022 Glue" |
| 538 | p.Anchored = true |
| 539 | p.Parent = model |
| 540 | end |
| 541 | do |
| 542 | local p = Instance.new("WedgePart") |
| 543 | p.Name = "BatEarL_Tip" |
| 544 | p.Size = Vector3.new(0.85, 0.9, 1.2) |
| 545 | p.CFrame = CFrame.new(-1.2, 7.45, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)) |
| 546 | p.Color = Color3.fromRGB(36, 25, 51) |
| 547 | p.Material = Enum.Material.Glacier |
| 548 | p.MaterialVariant = "2022 Glue" |
| 549 | p.Anchored = true |
| 550 | p.Parent = model |
| 551 | end |
| 552 | do |
| 553 | local p = Instance.new("WedgePart") |
| 554 | p.Name = "BatEarR_Tip" |
| 555 | p.Size = Vector3.new(0.85, 0.9, 1.2) |
| 556 | p.CFrame = CFrame.new(1.2, 7.45, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(-10)) |
| 557 | p.Color = Color3.fromRGB(36, 25, 51) |
| 558 | p.Material = Enum.Material.Glacier |
| 559 | p.MaterialVariant = "2022 Glue" |
| 560 | p.Anchored = true |
| 561 | p.Parent = model |
| 562 | end |
| 563 | do |
| 564 | local p = Instance.new("WedgePart") |
| 565 | p.Name = "BatEarL_Slope" |
| 566 | p.Size = Vector3.new(0.8, 0.7, 0.8) |
| 567 | p.CFrame = CFrame.new(-1.2, 7.35, 0.2) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)) |
| 568 | p.Color = Color3.fromRGB(36, 25, 51) |
| 569 | p.Material = Enum.Material.Glacier |
| 570 | p.MaterialVariant = "2022 Glue" |
| 571 | p.Anchored = true |
| 572 | p.Parent = model |
| 573 | end |
| 574 | do |
| 575 | local p = Instance.new("WedgePart") |
| 576 | p.Name = "BatEarR_Slope" |
| 577 | p.Size = Vector3.new(0.8, 0.7, 0.8) |
| 578 | p.CFrame = CFrame.new(1.2, 7.35, 0.2) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)) |
| 579 | p.Color = Color3.fromRGB(36, 25, 51) |
| 580 | p.Material = Enum.Material.Glacier |
| 581 | p.MaterialVariant = "2022 Glue" |
| 582 | p.Anchored = true |
| 583 | p.Parent = model |
| 584 | end |
| 585 | do |
| 586 | local p = Instance.new("Part") |
| 587 | p.Name = "EyeRecess_L" |
| 588 | p.Size = Vector3.new(0.82, 0.82, 0.18) |
| 589 | p.CFrame = CFrame.new(-0.9, 4.8, -1.68) |
| 590 | p.Color = Color3.fromRGB(64, 19, 35) |
| 591 | p.Material = Enum.Material.Glacier |
| 592 | p.MaterialVariant = "2022 Stud" |
| 593 | p.Anchored = true |
| 594 | p.Parent = model |
| 595 | end |
| 596 | do |
| 597 | local p = Instance.new("Part") |
| 598 | p.Name = "EyeGlow_L" |
| 599 | p.Size = Vector3.new(0.58, 0.58, 0.12) |
| 600 | p.CFrame = CFrame.new(-0.9, 4.8, -1.74) |
| 601 | p.BrickColor = BrickColor.new("Persimmon") |
| 602 | p.Material = Enum.Material.Neon |
| 603 | p.Anchored = true |
| 604 | p.Parent = model |
| 605 | end |
| 606 | do |
| 607 | local p = Instance.new("Part") |
| 608 | p.Name = "EyeCore_L" |
| 609 | p.Size = Vector3.new(0.32, 0.32, 0.1) |
| 610 | p.CFrame = CFrame.new(-0.9, 4.8, -1.8) |
| 611 | p.BrickColor = BrickColor.new("White") |
| 612 | p.Material = Enum.Material.Neon |
| 613 | p.Anchored = true |
| 614 | p.Parent = model |
| 615 | end |
| 616 | do |
| 617 | local p = Instance.new("Part") |
| 618 | p.Name = "EyeRecess_R" |
| 619 | p.Size = Vector3.new(0.82, 0.82, 0.18) |
| 620 | p.CFrame = CFrame.new(0.9, 4.8, -1.68) |
| 621 | p.Color = Color3.fromRGB(64, 19, 35) |
| 622 | p.Material = Enum.Material.Glacier |
| 623 | p.MaterialVariant = "2022 Stud" |
| 624 | p.Anchored = true |
| 625 | p.Parent = model |
| 626 | end |
| 627 | do |
| 628 | local p = Instance.new("Part") |
| 629 | p.Name = "EyeGlow_R" |
| 630 | p.Size = Vector3.new(0.58, 0.58, 0.12) |
| 631 | p.CFrame = CFrame.new(0.9, 4.8, -1.74) |
| 632 | p.BrickColor = BrickColor.new("Persimmon") |
| 633 | p.Material = Enum.Material.Neon |
| 634 | p.Anchored = true |
| 635 | p.Parent = model |
| 636 | end |
| 637 | do |
| 638 | local p = Instance.new("Part") |
| 639 | p.Name = "EyeCore_R" |
| 640 | p.Size = Vector3.new(0.32, 0.32, 0.1) |
| 641 | p.CFrame = CFrame.new(0.9, 4.8, -1.8) |
| 642 | p.BrickColor = BrickColor.new("White") |
| 643 | p.Material = Enum.Material.Neon |
| 644 | p.Anchored = true |
| 645 | p.Parent = model |
| 646 | end |
| 647 | do |
| 648 | local p = Instance.new("Part") |
| 649 | p.Name = "MouthM" |
| 650 | p.Size = Vector3.new(0.35, 0.12, 0.1) |
| 651 | p.CFrame = CFrame.new(0, 4.15, -1.73) |
| 652 | p.Color = Color3.fromRGB(44, 32, 62) |
| 653 | p.Material = Enum.Material.Glacier |
| 654 | p.MaterialVariant = "2022 Glue" |
| 655 | p.Anchored = true |
| 656 | p.Parent = model |
| 657 | end |
| 658 | do |
| 659 | local p = Instance.new("Part") |
| 660 | p.Name = "MouthL" |
| 661 | p.Size = Vector3.new(0.25, 0.1, 0.1) |
| 662 | p.CFrame = CFrame.new(-0.28, 4.22, -1.73) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)) |
| 663 | p.Color = Color3.fromRGB(44, 32, 62) |
| 664 | p.Material = Enum.Material.Glacier |
| 665 | p.MaterialVariant = "2022 Glue" |
| 666 | p.Anchored = true |
| 667 | p.Parent = model |
| 668 | end |
| 669 | do |
| 670 | local p = Instance.new("Part") |
| 671 | p.Name = "MouthR" |
| 672 | p.Size = Vector3.new(0.25, 0.1, 0.1) |
| 673 | p.CFrame = CFrame.new(0.28, 4.22, -1.73) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)) |
| 674 | p.Color = Color3.fromRGB(44, 32, 62) |
| 675 | p.Material = Enum.Material.Glacier |
| 676 | p.MaterialVariant = "2022 Glue" |
| 677 | p.Anchored = true |
| 678 | p.Parent = model |
| 679 | end |
| 680 | do |
| 681 | local p = Instance.new("WedgePart") |
| 682 | p.Name = "FangL" |
| 683 | p.Size = Vector3.new(0.22, 0.28, 0.1) |
| 684 | p.CFrame = CFrame.new(-0.32, 3.98, -1.73) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 685 | p.BrickColor = BrickColor.new("Institutional white") |
| 686 | p.Material = Enum.Material.Glacier |
| 687 | p.MaterialVariant = "2022 Stud" |
| 688 | p.Anchored = true |
| 689 | p.Parent = model |
| 690 | end |
| 691 | do |
| 692 | local p = Instance.new("WedgePart") |
| 693 | p.Name = "FangR" |
| 694 | p.Size = Vector3.new(0.22, 0.28, 0.1) |
| 695 | p.CFrame = CFrame.new(0.32, 3.98, -1.73) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 696 | p.BrickColor = BrickColor.new("Institutional white") |
| 697 | p.Material = Enum.Material.Glacier |
| 698 | p.MaterialVariant = "2022 Stud" |
| 699 | p.Anchored = true |
| 700 | p.Parent = model |
| 701 | end |
| 702 | do |
| 703 | local p = Instance.new("Part") |
| 704 | p.Name = "Wing_L_ArmArm" |
| 705 | p.Size = Vector3.new(1.703673, 0.45, 0.45) |
| 706 | p.CFrame = CFrame.new(-2.55, 3.375, 0.15) * CFrame.Angles(math.rad(-180), math.rad(3.366461), math.rad(178.318221)) |
| 707 | p.Color = Color3.fromRGB(36, 25, 51) |
| 708 | p.Material = Enum.Material.Glacier |
| 709 | p.MaterialVariant = "2022 Glue" |
| 710 | p.Anchored = true |
| 711 | p.Parent = model |
| 712 | end |
| 713 | do |
| 714 | local p = Instance.new("Part") |
| 715 | p.Name = "Wing_L_ForeArm" |
| 716 | p.Size = Vector3.new(1.576388, 0.45, 0.45) |
| 717 | p.CFrame = CFrame.new(-3.8, 4.025, 0.025) * CFrame.Angles(math.rad(-180), math.rad(10.619655), math.rad(-121.086585)) |
| 718 | p.Color = Color3.fromRGB(36, 25, 51) |
| 719 | p.Material = Enum.Material.Glacier |
| 720 | p.MaterialVariant = "2022 Glue" |
| 721 | p.Anchored = true |
| 722 | p.Parent = model |
| 723 | end |
| 724 | do |
| 725 | local p = Instance.new("Part") |
| 726 | p.Name = "Wing_L_TopSpar" |
| 727 | p.Size = Vector3.new(3.373796, 0.42, 0.42) |
| 728 | p.CFrame = CFrame.new(-5.85, 4.35, -0.075) * CFrame.Angles(math.rad(-180), math.rad(0.868051), math.rad(168.025202)) |
| 729 | p.Color = Color3.fromRGB(36, 25, 51) |
| 730 | p.Material = Enum.Material.Glacier |
| 731 | p.MaterialVariant = "2022 Glue" |
| 732 | p.Anchored = true |
| 733 | p.Parent = model |
| 734 | end |
| 735 | do |
| 736 | local p = Instance.new("Part") |
| 737 | p.Name = "Wing_L_MidSpar" |
| 738 | p.Size = Vector3.new(3.32453, 0.38, 0.38) |
| 739 | p.CFrame = CFrame.new(-5.350606, 3.5, -0.035005) * CFrame.Angles(math.rad(-180), math.rad(1.245364), math.rad(133.787886)) |
| 740 | p.Color = Color3.fromRGB(36, 25, 51) |
| 741 | p.Material = Enum.Material.Glacier |
| 742 | p.MaterialVariant = "2022 Glue" |
| 743 | p.Anchored = true |
| 744 | p.Parent = model |
| 745 | end |
| 746 | do |
| 747 | local p = Instance.new("Part") |
| 748 | p.Name = "Wing_L_BotSpar" |
| 749 | p.Size = Vector3.new(3.201953, 0.38, 0.38) |
| 750 | p.CFrame = CFrame.new(-4.6, 3.15, -0.075) * CFrame.Angles(math.rad(-180), math.rad(3.576334), math.rad(104.49734)) |
| 751 | p.Color = Color3.fromRGB(36, 25, 51) |
| 752 | p.Material = Enum.Material.Glacier |
| 753 | p.MaterialVariant = "2022 Glue" |
| 754 | p.Anchored = true |
| 755 | p.Parent = model |
| 756 | end |
| 757 | do |
| 758 | local p = Instance.new("Part") |
| 759 | p.Name = "Wing_L_Rib1" |
| 760 | p.Size = Vector3.new(2.379601, 0.35, 0.35) |
| 761 | p.CFrame = CFrame.new(-4.2, 2.475, 0) * CFrame.Angles(math.rad(-180), math.rad(7.125016), math.rad(132.657497)) |
| 762 | p.Color = Color3.fromRGB(36, 25, 51) |
| 763 | p.Material = Enum.Material.Glacier |
| 764 | p.MaterialVariant = "2022 Glue" |
| 765 | p.Anchored = true |
| 766 | p.Parent = model |
| 767 | end |
| 768 | do |
| 769 | local p = Instance.new("Part") |
| 770 | p.Name = "Wing_L_StrutTop" |
| 771 | p.Size = Vector3.new(2.469818, 0.32, 0.32) |
| 772 | p.CFrame = CFrame.new(-6.35, 3.55, -0.1) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(-158.629378)) |
| 773 | p.Color = Color3.fromRGB(36, 25, 51) |
| 774 | p.Material = Enum.Material.Glacier |
| 775 | p.MaterialVariant = "2022 Glue" |
| 776 | p.Anchored = true |
| 777 | p.Parent = model |
| 778 | end |
| 779 | do |
| 780 | local p = Instance.new("Part") |
| 781 | p.Name = "Wing_L_StrutMid" |
| 782 | p.Size = Vector3.new(2.039608, 0.32, 0.32) |
| 783 | p.CFrame = CFrame.new(-5.5, 2.5, -0.14) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(168.690068)) |
| 784 | p.Color = Color3.fromRGB(36, 25, 51) |
| 785 | p.Material = Enum.Material.Glacier |
| 786 | p.MaterialVariant = "2022 Glue" |
| 787 | p.Anchored = true |
| 788 | p.Parent = model |
| 789 | end |
| 790 | do |
| 791 | local p = Instance.new("Part") |
| 792 | p.Shape = Enum.PartType.Ball |
| 793 | p.Name = "Wing_L_WristCap" |
| 794 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 795 | p.CFrame = CFrame.new(-4.2, 4.7, -0.05) |
| 796 | p.Color = Color3.fromRGB(36, 25, 51) |
| 797 | p.Material = Enum.Material.Glacier |
| 798 | p.MaterialVariant = "2022 Glue" |
| 799 | p.Anchored = true |
| 800 | p.Parent = model |
| 801 | end |
| 802 | do |
| 803 | local p = Instance.new("Part") |
| 804 | p.Shape = Enum.PartType.Ball |
| 805 | p.Name = "Wing_L_ElbowCap" |
| 806 | p.Size = Vector3.new(0.55, 0.55, 0.55) |
| 807 | p.CFrame = CFrame.new(-3.4, 3.35, 0.1) |
| 808 | p.Color = Color3.fromRGB(36, 25, 51) |
| 809 | p.Material = Enum.Material.Glacier |
| 810 | p.MaterialVariant = "2022 Glue" |
| 811 | p.Anchored = true |
| 812 | p.Parent = model |
| 813 | end |
| 814 | do |
| 815 | local p = Instance.new("Part") |
| 816 | p.Name = "Wing_L_MemUpper" |
| 817 | p.Size = Vector3.new(2.844293, 1.3, 0.18) |
| 818 | p.CFrame = CFrame.new(-5.6, 4.25, -0.1) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(169.875328)) |
| 819 | p.Color = Color3.fromRGB(122, 77, 154) |
| 820 | p.Material = Enum.Material.Glacier |
| 821 | p.MaterialVariant = "2022 Glue" |
| 822 | p.Anchored = true |
| 823 | p.Parent = model |
| 824 | end |
| 825 | do |
| 826 | local p = Instance.new("Part") |
| 827 | p.Name = "Wing_L_MemMid" |
| 828 | p.Size = Vector3.new(2.701851, 1.2, 0.18) |
| 829 | p.CFrame = CFrame.new(-5.25, 3.45, -0.14) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(141.009006)) |
| 830 | p.Color = Color3.fromRGB(122, 77, 154) |
| 831 | p.Material = Enum.Material.Glacier |
| 832 | p.MaterialVariant = "2022 Glue" |
| 833 | p.Anchored = true |
| 834 | p.Parent = model |
| 835 | end |
| 836 | do |
| 837 | local p = Instance.new("Part") |
| 838 | p.Name = "Wing_L_MemLow" |
| 839 | p.Size = Vector3.new(2.163331, 1.1, 0.18) |
| 840 | p.CFrame = CFrame.new(-4.3, 2.8, -0.18) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(123.690068)) |
| 841 | p.Color = Color3.fromRGB(122, 77, 154) |
| 842 | p.Material = Enum.Material.Glacier |
| 843 | p.MaterialVariant = "2022 Glue" |
| 844 | p.Anchored = true |
| 845 | p.Parent = model |
| 846 | end |
| 847 | do |
| 848 | local p = Instance.new("Part") |
| 849 | p.Name = "Wing_L_MemInner" |
| 850 | p.Size = Vector3.new(1.612452, 1.1, 0.18) |
| 851 | p.CFrame = CFrame.new(-3.5, 2.9, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(150.255119)) |
| 852 | p.Color = Color3.fromRGB(122, 77, 154) |
| 853 | p.Material = Enum.Material.Glacier |
| 854 | p.MaterialVariant = "2022 Glue" |
| 855 | p.Anchored = true |
| 856 | p.Parent = model |
| 857 | end |
| 858 | do |
| 859 | local p = Instance.new("WedgePart") |
| 860 | p.Name = "Wing_L_TipClawTop" |
| 861 | p.Size = Vector3.new(0.45, 0.45, 0.45) |
| 862 | p.CFrame = CFrame.new(-7.5, 4, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35)) |
| 863 | p.Color = Color3.fromRGB(36, 25, 51) |
| 864 | p.Material = Enum.Material.Glacier |
| 865 | p.MaterialVariant = "2022 Glue" |
| 866 | p.Anchored = true |
| 867 | p.Parent = model |
| 868 | end |
| 869 | do |
| 870 | local p = Instance.new("WedgePart") |
| 871 | p.Name = "Wing_L_TipClawMid" |
| 872 | p.Size = Vector3.new(0.42, 0.42, 0.42) |
| 873 | p.CFrame = CFrame.new(-6.5, 2.3, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-25)) |
| 874 | p.Color = Color3.fromRGB(36, 25, 51) |
| 875 | p.Material = Enum.Material.Glacier |
| 876 | p.MaterialVariant = "2022 Glue" |
| 877 | p.Anchored = true |
| 878 | p.Parent = model |
| 879 | end |
| 880 | do |
| 881 | local p = Instance.new("WedgePart") |
| 882 | p.Name = "Wing_L_TipClawBot" |
| 883 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 884 | p.CFrame = CFrame.new(-5, 1.6, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)) |
| 885 | p.Color = Color3.fromRGB(36, 25, 51) |
| 886 | p.Material = Enum.Material.Glacier |
| 887 | p.MaterialVariant = "2022 Glue" |
| 888 | p.Anchored = true |
| 889 | p.Parent = model |
| 890 | end |
| 891 | do |
| 892 | local p = Instance.new("Part") |
| 893 | p.Name = "Wing_R_ArmArm" |
| 894 | p.Size = Vector3.new(1.703673, 0.45, 0.45) |
| 895 | p.CFrame = CFrame.new(2.55, 3.375, 0.15) * CFrame.Angles(math.rad(0), math.rad(3.366461), math.rad(-1.681779)) |
| 896 | p.Color = Color3.fromRGB(36, 25, 51) |
| 897 | p.Material = Enum.Material.Glacier |
| 898 | p.MaterialVariant = "2022 Glue" |
| 899 | p.Anchored = true |
| 900 | p.Parent = model |
| 901 | end |
| 902 | do |
| 903 | local p = Instance.new("Part") |
| 904 | p.Name = "Wing_R_ForeArm" |
| 905 | p.Size = Vector3.new(1.576388, 0.45, 0.45) |
| 906 | p.CFrame = CFrame.new(3.8, 4.025, 0.025) * CFrame.Angles(math.rad(0), math.rad(10.619655), math.rad(58.913415)) |
| 907 | p.Color = Color3.fromRGB(36, 25, 51) |
| 908 | p.Material = Enum.Material.Glacier |
| 909 | p.MaterialVariant = "2022 Glue" |
| 910 | p.Anchored = true |
| 911 | p.Parent = model |
| 912 | end |
| 913 | do |
| 914 | local p = Instance.new("Part") |
| 915 | p.Name = "Wing_R_TopSpar" |
| 916 | p.Size = Vector3.new(3.373796, 0.42, 0.42) |
| 917 | p.CFrame = CFrame.new(5.85, 4.35, -0.075) * CFrame.Angles(math.rad(0), math.rad(0.868051), math.rad(-11.974798)) |
| 918 | p.Color = Color3.fromRGB(36, 25, 51) |
| 919 | p.Material = Enum.Material.Glacier |
| 920 | p.MaterialVariant = "2022 Glue" |
| 921 | p.Anchored = true |
| 922 | p.Parent = model |
| 923 | end |
| 924 | do |
| 925 | local p = Instance.new("Part") |
| 926 | p.Name = "Wing_R_MidSpar" |
| 927 | p.Size = Vector3.new(3.32453, 0.38, 0.38) |
| 928 | p.CFrame = CFrame.new(5.350606, 3.5, -0.035005) * CFrame.Angles(math.rad(0), math.rad(1.245364), math.rad(-46.212114)) |
| 929 | p.Color = Color3.fromRGB(36, 25, 51) |
| 930 | p.Material = Enum.Material.Glacier |
| 931 | p.MaterialVariant = "2022 Glue" |
| 932 | p.Anchored = true |
| 933 | p.Parent = model |
| 934 | end |
| 935 | do |
| 936 | local p = Instance.new("Part") |
| 937 | p.Name = "Wing_R_BotSpar" |
| 938 | p.Size = Vector3.new(3.201953, 0.38, 0.38) |
| 939 | p.CFrame = CFrame.new(4.6, 3.15, -0.075) * CFrame.Angles(math.rad(0), math.rad(3.576334), math.rad(-75.50266)) |
| 940 | p.Color = Color3.fromRGB(36, 25, 51) |
| 941 | p.Material = Enum.Material.Glacier |
| 942 | p.MaterialVariant = "2022 Glue" |
| 943 | p.Anchored = true |
| 944 | p.Parent = model |
| 945 | end |
| 946 | do |
| 947 | local p = Instance.new("Part") |
| 948 | p.Name = "Wing_R_Rib1" |
| 949 | p.Size = Vector3.new(2.379601, 0.35, 0.35) |
| 950 | p.CFrame = CFrame.new(4.2, 2.475, 0) * CFrame.Angles(math.rad(0), math.rad(7.125016), math.rad(-47.342503)) |
| 951 | p.Color = Color3.fromRGB(36, 25, 51) |
| 952 | p.Material = Enum.Material.Glacier |
| 953 | p.MaterialVariant = "2022 Glue" |
| 954 | p.Anchored = true |
| 955 | p.Parent = model |
| 956 | end |
| 957 | do |
| 958 | local p = Instance.new("Part") |
| 959 | p.Name = "Wing_R_StrutTop" |
| 960 | p.Size = Vector3.new(2.469818, 0.32, 0.32) |
| 961 | p.CFrame = CFrame.new(6.35, 3.55, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(21.370622)) |
| 962 | p.Color = Color3.fromRGB(36, 25, 51) |
| 963 | p.Material = Enum.Material.Glacier |
| 964 | p.MaterialVariant = "2022 Glue" |
| 965 | p.Anchored = true |
| 966 | p.Parent = model |
| 967 | end |
| 968 | do |
| 969 | local p = Instance.new("Part") |
| 970 | p.Name = "Wing_R_StrutMid" |
| 971 | p.Size = Vector3.new(2.039608, 0.32, 0.32) |
| 972 | p.CFrame = CFrame.new(5.5, 2.5, -0.14) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-11.309932)) |
| 973 | p.Color = Color3.fromRGB(36, 25, 51) |
| 974 | p.Material = Enum.Material.Glacier |
| 975 | p.MaterialVariant = "2022 Glue" |
| 976 | p.Anchored = true |
| 977 | p.Parent = model |
| 978 | end |
| 979 | do |
| 980 | local p = Instance.new("Part") |
| 981 | p.Shape = Enum.PartType.Ball |
| 982 | p.Name = "Wing_R_WristCap" |
| 983 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 984 | p.CFrame = CFrame.new(4.2, 4.7, -0.05) |
| 985 | p.Color = Color3.fromRGB(36, 25, 51) |
| 986 | p.Material = Enum.Material.Glacier |
| 987 | p.MaterialVariant = "2022 Glue" |
| 988 | p.Anchored = true |
| 989 | p.Parent = model |
| 990 | end |
| 991 | do |
| 992 | local p = Instance.new("Part") |
| 993 | p.Shape = Enum.PartType.Ball |
| 994 | p.Name = "Wing_R_ElbowCap" |
| 995 | p.Size = Vector3.new(0.55, 0.55, 0.55) |
| 996 | p.CFrame = CFrame.new(3.4, 3.35, 0.1) |
| 997 | p.Color = Color3.fromRGB(36, 25, 51) |
| 998 | p.Material = Enum.Material.Glacier |
| 999 | p.MaterialVariant = "2022 Glue" |
| 1000 | p.Anchored = true |
| 1001 | p.Parent = model |
| 1002 | end |
| 1003 | do |
| 1004 | local p = Instance.new("Part") |
| 1005 | p.Name = "Wing_R_MemUpper" |
| 1006 | p.Size = Vector3.new(2.844293, 1.3, 0.18) |
| 1007 | p.CFrame = CFrame.new(5.6, 4.25, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10.124672)) |
| 1008 | p.Color = Color3.fromRGB(122, 77, 154) |
| 1009 | p.Material = Enum.Material.Glacier |
| 1010 | p.MaterialVariant = "2022 Glue" |
| 1011 | p.Anchored = true |
| 1012 | p.Parent = model |
| 1013 | end |
| 1014 | do |
| 1015 | local p = Instance.new("Part") |
| 1016 | p.Name = "Wing_R_MemMid" |
| 1017 | p.Size = Vector3.new(2.701851, 1.2, 0.18) |
| 1018 | p.CFrame = CFrame.new(5.25, 3.45, -0.14) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-38.990994)) |
| 1019 | p.Color = Color3.fromRGB(122, 77, 154) |
| 1020 | p.Material = Enum.Material.Glacier |
| 1021 | p.MaterialVariant = "2022 Glue" |
| 1022 | p.Anchored = true |
| 1023 | p.Parent = model |
| 1024 | end |
| 1025 | do |
| 1026 | local p = Instance.new("Part") |
| 1027 | p.Name = "Wing_R_MemLow" |
| 1028 | p.Size = Vector3.new(2.163331, 1.1, 0.18) |
| 1029 | p.CFrame = CFrame.new(4.3, 2.8, -0.18) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-56.309932)) |
| 1030 | p.Color = Color3.fromRGB(122, 77, 154) |
| 1031 | p.Material = Enum.Material.Glacier |
| 1032 | p.MaterialVariant = "2022 Glue" |
| 1033 | p.Anchored = true |
| 1034 | p.Parent = model |
| 1035 | end |
| 1036 | do |
| 1037 | local p = Instance.new("Part") |
| 1038 | p.Name = "Wing_R_MemInner" |
| 1039 | p.Size = Vector3.new(1.612452, 1.1, 0.18) |
| 1040 | p.CFrame = CFrame.new(3.5, 2.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-29.744881)) |
| 1041 | p.Color = Color3.fromRGB(122, 77, 154) |
| 1042 | p.Material = Enum.Material.Glacier |
| 1043 | p.MaterialVariant = "2022 Glue" |
| 1044 | p.Anchored = true |
| 1045 | p.Parent = model |
| 1046 | end |
| 1047 | do |
| 1048 | local p = Instance.new("WedgePart") |
| 1049 | p.Name = "Wing_R_TipClawTop" |
| 1050 | p.Size = Vector3.new(0.45, 0.45, 0.45) |
| 1051 | p.CFrame = CFrame.new(7.5, 4, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(35)) |
| 1052 | p.Color = Color3.fromRGB(36, 25, 51) |
| 1053 | p.Material = Enum.Material.Glacier |
| 1054 | p.MaterialVariant = "2022 Glue" |
| 1055 | p.Anchored = true |
| 1056 | p.Parent = model |
| 1057 | end |
| 1058 | do |
| 1059 | local p = Instance.new("WedgePart") |
| 1060 | p.Name = "Wing_R_TipClawMid" |
| 1061 | p.Size = Vector3.new(0.42, 0.42, 0.42) |
| 1062 | p.CFrame = CFrame.new(6.5, 2.3, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)) |
| 1063 | p.Color = Color3.fromRGB(36, 25, 51) |
| 1064 | p.Material = Enum.Material.Glacier |
| 1065 | p.MaterialVariant = "2022 Glue" |
| 1066 | p.Anchored = true |
| 1067 | p.Parent = model |
| 1068 | end |
| 1069 | do |
| 1070 | local p = Instance.new("WedgePart") |
| 1071 | p.Name = "Wing_R_TipClawBot" |
| 1072 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 1073 | p.CFrame = CFrame.new(5, 1.6, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) |
| 1074 | p.Color = Color3.fromRGB(36, 25, 51) |
| 1075 | p.Material = Enum.Material.Glacier |
| 1076 | p.MaterialVariant = "2022 Glue" |
| 1077 | p.Anchored = true |
| 1078 | p.Parent = model |
| 1079 | end |
| 1080 | do |
| 1081 | local rightV = Vector3.new(-1,0,0).Unit |
| 1082 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1083 | local normalV = upV:Cross(rightV) |
| 1084 | local pos = Vector3.new(-6.9, 3.1, -0.22) |
| 1085 | local cyl = Instance.new("Part") |
| 1086 | cyl.Shape = Enum.PartType.Cylinder |
| 1087 | cyl.Size = Vector3.new(0.16, 1.7, 1.7) |
| 1088 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1089 | cyl.Color = Color3.fromRGB(122, 77, 154) |
| 1090 | cyl.Material = Enum.Material.Glacier |
| 1091 | cyl.Anchored = true; cyl.Parent = workspace |
| 1092 | local cuts = {} |
| 1093 | local angBoxes = {} |
| 1094 | do |
| 1095 | local edgeDir = 1*rightV + 0*upV |
| 1096 | local edgePerp = 0*rightV + 1*upV |
| 1097 | local cut = Instance.new("Part") |
| 1098 | cut.Size = Vector3.new(3.4, 0.36, 3.4) |
| 1099 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.7 * edgePerp, edgeDir, normalV) |
| 1100 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1101 | cut.Material = Enum.Material.Glacier |
| 1102 | cut.Anchored = true; cut.Parent = workspace |
| 1103 | table.insert(angBoxes, cut) |
| 1104 | end |
| 1105 | do |
| 1106 | local edgeDir = -1*rightV + 0*upV |
| 1107 | local edgePerp = 0*rightV + -1*upV |
| 1108 | local cut = Instance.new("Part") |
| 1109 | cut.Size = Vector3.new(3.4, 0.36, 3.4) |
| 1110 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.7 * edgePerp, edgeDir, normalV) |
| 1111 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1112 | cut.Material = Enum.Material.Glacier |
| 1113 | cut.Anchored = true; cut.Parent = workspace |
| 1114 | table.insert(angBoxes, cut) |
| 1115 | end |
| 1116 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1117 | if #cuts > 0 then |
| 1118 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1119 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1120 | if ok and result then |
| 1121 | cyl:Destroy() |
| 1122 | result.Name = "Wing_L_Scallop1"; result.Anchored = true; result.Parent = model |
| 1123 | else |
| 1124 | cyl.Name = "Wing_L_Scallop1"; cyl.Parent = model |
| 1125 | end |
| 1126 | else |
| 1127 | cyl.Name = "Wing_L_Scallop1"; cyl.Parent = model |
| 1128 | end |
| 1129 | end |
| 1130 | do |
| 1131 | local rightV = Vector3.new(-1,0,0).Unit |
| 1132 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1133 | local normalV = upV:Cross(rightV) |
| 1134 | local pos = Vector3.new(-5.7, 2, -0.26) |
| 1135 | local cyl = Instance.new("Part") |
| 1136 | cyl.Shape = Enum.PartType.Cylinder |
| 1137 | cyl.Size = Vector3.new(0.16, 1.6, 1.6) |
| 1138 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1139 | cyl.Color = Color3.fromRGB(122, 77, 154) |
| 1140 | cyl.Material = Enum.Material.Glacier |
| 1141 | cyl.Anchored = true; cyl.Parent = workspace |
| 1142 | local cuts = {} |
| 1143 | local angBoxes = {} |
| 1144 | do |
| 1145 | local edgeDir = 1*rightV + 0*upV |
| 1146 | local edgePerp = 0*rightV + 1*upV |
| 1147 | local cut = Instance.new("Part") |
| 1148 | cut.Size = Vector3.new(3.2, 0.36, 3.2) |
| 1149 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.6 * edgePerp, edgeDir, normalV) |
| 1150 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1151 | cut.Material = Enum.Material.Glacier |
| 1152 | cut.Anchored = true; cut.Parent = workspace |
| 1153 | table.insert(angBoxes, cut) |
| 1154 | end |
| 1155 | do |
| 1156 | local edgeDir = -1*rightV + 0*upV |
| 1157 | local edgePerp = 0*rightV + -1*upV |
| 1158 | local cut = Instance.new("Part") |
| 1159 | cut.Size = Vector3.new(3.2, 0.36, 3.2) |
| 1160 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.6 * edgePerp, edgeDir, normalV) |
| 1161 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1162 | cut.Material = Enum.Material.Glacier |
| 1163 | cut.Anchored = true; cut.Parent = workspace |
| 1164 | table.insert(angBoxes, cut) |
| 1165 | end |
| 1166 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1167 | if #cuts > 0 then |
| 1168 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1169 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1170 | if ok and result then |
| 1171 | cyl:Destroy() |
| 1172 | result.Name = "Wing_L_Scallop2"; result.Anchored = true; result.Parent = model |
| 1173 | else |
| 1174 | cyl.Name = "Wing_L_Scallop2"; cyl.Parent = model |
| 1175 | end |
| 1176 | else |
| 1177 | cyl.Name = "Wing_L_Scallop2"; cyl.Parent = model |
| 1178 | end |
| 1179 | end |
| 1180 | do |
| 1181 | local rightV = Vector3.new(-1,0,0).Unit |
| 1182 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1183 | local normalV = upV:Cross(rightV) |
| 1184 | local pos = Vector3.new(-4.4, 1.8, -0.3) |
| 1185 | local cyl = Instance.new("Part") |
| 1186 | cyl.Shape = Enum.PartType.Cylinder |
| 1187 | cyl.Size = Vector3.new(0.16, 1.4, 1.4) |
| 1188 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1189 | cyl.Color = Color3.fromRGB(122, 77, 154) |
| 1190 | cyl.Material = Enum.Material.Glacier |
| 1191 | cyl.Anchored = true; cyl.Parent = workspace |
| 1192 | local cuts = {} |
| 1193 | local angBoxes = {} |
| 1194 | do |
| 1195 | local edgeDir = 1*rightV + 0*upV |
| 1196 | local edgePerp = 0*rightV + 1*upV |
| 1197 | local cut = Instance.new("Part") |
| 1198 | cut.Size = Vector3.new(2.8, 0.36, 2.8) |
| 1199 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.4 * edgePerp, edgeDir, normalV) |
| 1200 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1201 | cut.Material = Enum.Material.Glacier |
| 1202 | cut.Anchored = true; cut.Parent = workspace |
| 1203 | table.insert(angBoxes, cut) |
| 1204 | end |
| 1205 | do |
| 1206 | local edgeDir = -1*rightV + 0*upV |
| 1207 | local edgePerp = 0*rightV + -1*upV |
| 1208 | local cut = Instance.new("Part") |
| 1209 | cut.Size = Vector3.new(2.8, 0.36, 2.8) |
| 1210 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.4 * edgePerp, edgeDir, normalV) |
| 1211 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1212 | cut.Material = Enum.Material.Glacier |
| 1213 | cut.Anchored = true; cut.Parent = workspace |
| 1214 | table.insert(angBoxes, cut) |
| 1215 | end |
| 1216 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1217 | if #cuts > 0 then |
| 1218 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1219 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1220 | if ok and result then |
| 1221 | cyl:Destroy() |
| 1222 | result.Name = "Wing_L_Scallop3"; result.Anchored = true; result.Parent = model |
| 1223 | else |
| 1224 | cyl.Name = "Wing_L_Scallop3"; cyl.Parent = model |
| 1225 | end |
| 1226 | else |
| 1227 | cyl.Name = "Wing_L_Scallop3"; cyl.Parent = model |
| 1228 | end |
| 1229 | end |
| 1230 | do |
| 1231 | local rightV = Vector3.new(1,0,0).Unit |
| 1232 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1233 | local normalV = upV:Cross(rightV) |
| 1234 | local pos = Vector3.new(6.9, 3.1, -0.22) |
| 1235 | local cyl = Instance.new("Part") |
| 1236 | cyl.Shape = Enum.PartType.Cylinder |
| 1237 | cyl.Size = Vector3.new(0.16, 1.7, 1.7) |
| 1238 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1239 | cyl.Color = Color3.fromRGB(122, 77, 154) |
| 1240 | cyl.Material = Enum.Material.Glacier |
| 1241 | cyl.Anchored = true; cyl.Parent = workspace |
| 1242 | local cuts = {} |
| 1243 | local angBoxes = {} |
| 1244 | do |
| 1245 | local edgeDir = 1*rightV + 0*upV |
| 1246 | local edgePerp = 0*rightV + 1*upV |
| 1247 | local cut = Instance.new("Part") |
| 1248 | cut.Size = Vector3.new(3.4, 0.36, 3.4) |
| 1249 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.7 * edgePerp, edgeDir, normalV) |
| 1250 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1251 | cut.Material = Enum.Material.Glacier |
| 1252 | cut.Anchored = true; cut.Parent = workspace |
| 1253 | table.insert(angBoxes, cut) |
| 1254 | end |
| 1255 | do |
| 1256 | local edgeDir = -1*rightV + 0*upV |
| 1257 | local edgePerp = 0*rightV + -1*upV |
| 1258 | local cut = Instance.new("Part") |
| 1259 | cut.Size = Vector3.new(3.4, 0.36, 3.4) |
| 1260 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.7 * edgePerp, edgeDir, normalV) |
| 1261 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1262 | cut.Material = Enum.Material.Glacier |
| 1263 | cut.Anchored = true; cut.Parent = workspace |
| 1264 | table.insert(angBoxes, cut) |
| 1265 | end |
| 1266 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1267 | if #cuts > 0 then |
| 1268 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1269 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1270 | if ok and result then |
| 1271 | cyl:Destroy() |
| 1272 | result.Name = "Wing_R_Scallop1"; result.Anchored = true; result.Parent = model |
| 1273 | else |
| 1274 | cyl.Name = "Wing_R_Scallop1"; cyl.Parent = model |
| 1275 | end |
| 1276 | else |
| 1277 | cyl.Name = "Wing_R_Scallop1"; cyl.Parent = model |
| 1278 | end |
| 1279 | end |
| 1280 | do |
| 1281 | local rightV = Vector3.new(1,0,0).Unit |
| 1282 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1283 | local normalV = upV:Cross(rightV) |
| 1284 | local pos = Vector3.new(5.7, 2, -0.26) |
| 1285 | local cyl = Instance.new("Part") |
| 1286 | cyl.Shape = Enum.PartType.Cylinder |
| 1287 | cyl.Size = Vector3.new(0.16, 1.6, 1.6) |
| 1288 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1289 | cyl.Color = Color3.fromRGB(122, 77, 154) |
| 1290 | cyl.Material = Enum.Material.Glacier |
| 1291 | cyl.Anchored = true; cyl.Parent = workspace |
| 1292 | local cuts = {} |
| 1293 | local angBoxes = {} |
| 1294 | do |
| 1295 | local edgeDir = 1*rightV + 0*upV |
| 1296 | local edgePerp = 0*rightV + 1*upV |
| 1297 | local cut = Instance.new("Part") |
| 1298 | cut.Size = Vector3.new(3.2, 0.36, 3.2) |
| 1299 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.6 * edgePerp, edgeDir, normalV) |
| 1300 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1301 | cut.Material = Enum.Material.Glacier |
| 1302 | cut.Anchored = true; cut.Parent = workspace |
| 1303 | table.insert(angBoxes, cut) |
| 1304 | end |
| 1305 | do |
| 1306 | local edgeDir = -1*rightV + 0*upV |
| 1307 | local edgePerp = 0*rightV + -1*upV |
| 1308 | local cut = Instance.new("Part") |
| 1309 | cut.Size = Vector3.new(3.2, 0.36, 3.2) |
| 1310 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.6 * edgePerp, edgeDir, normalV) |
| 1311 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1312 | cut.Material = Enum.Material.Glacier |
| 1313 | cut.Anchored = true; cut.Parent = workspace |
| 1314 | table.insert(angBoxes, cut) |
| 1315 | end |
| 1316 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1317 | if #cuts > 0 then |
| 1318 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1319 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1320 | if ok and result then |
| 1321 | cyl:Destroy() |
| 1322 | result.Name = "Wing_R_Scallop2"; result.Anchored = true; result.Parent = model |
| 1323 | else |
| 1324 | cyl.Name = "Wing_R_Scallop2"; cyl.Parent = model |
| 1325 | end |
| 1326 | else |
| 1327 | cyl.Name = "Wing_R_Scallop2"; cyl.Parent = model |
| 1328 | end |
| 1329 | end |
| 1330 | do |
| 1331 | local rightV = Vector3.new(1,0,0).Unit |
| 1332 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1333 | local normalV = upV:Cross(rightV) |
| 1334 | local pos = Vector3.new(4.4, 1.8, -0.3) |
| 1335 | local cyl = Instance.new("Part") |
| 1336 | cyl.Shape = Enum.PartType.Cylinder |
| 1337 | cyl.Size = Vector3.new(0.16, 1.4, 1.4) |
| 1338 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1339 | cyl.Color = Color3.fromRGB(122, 77, 154) |
| 1340 | cyl.Material = Enum.Material.Glacier |
| 1341 | cyl.Anchored = true; cyl.Parent = workspace |
| 1342 | local cuts = {} |
| 1343 | local angBoxes = {} |
| 1344 | do |
| 1345 | local edgeDir = 1*rightV + 0*upV |
| 1346 | local edgePerp = 0*rightV + 1*upV |
| 1347 | local cut = Instance.new("Part") |
| 1348 | cut.Size = Vector3.new(2.8, 0.36, 2.8) |
| 1349 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.4 * edgePerp, edgeDir, normalV) |
| 1350 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1351 | cut.Material = Enum.Material.Glacier |
| 1352 | cut.Anchored = true; cut.Parent = workspace |
| 1353 | table.insert(angBoxes, cut) |
| 1354 | end |
| 1355 | do |
| 1356 | local edgeDir = -1*rightV + 0*upV |
| 1357 | local edgePerp = 0*rightV + -1*upV |
| 1358 | local cut = Instance.new("Part") |
| 1359 | cut.Size = Vector3.new(2.8, 0.36, 2.8) |
| 1360 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.4 * edgePerp, edgeDir, normalV) |
| 1361 | cut.Color = Color3.fromRGB(122, 77, 154) |
| 1362 | cut.Material = Enum.Material.Glacier |
| 1363 | cut.Anchored = true; cut.Parent = workspace |
| 1364 | table.insert(angBoxes, cut) |
| 1365 | end |
| 1366 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1367 | if #cuts > 0 then |
| 1368 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1369 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1370 | if ok and result then |
| 1371 | cyl:Destroy() |
| 1372 | result.Name = "Wing_R_Scallop3"; result.Anchored = true; result.Parent = model |
| 1373 | else |
| 1374 | cyl.Name = "Wing_R_Scallop3"; cyl.Parent = model |
| 1375 | end |
| 1376 | else |
| 1377 | cyl.Name = "Wing_R_Scallop3"; cyl.Parent = model |
| 1378 | end |
| 1379 | end |
| 1380 | model.PrimaryPart = model:FindFirstChild("HeadMain") |
| 1381 | print("VampireBat built: " .. #model:GetChildren() .. " parts") |
Loading comments...