Loading model...
by ✨Babayaga · 3/29/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: AndroidWarrior |
| 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 = "AndroidWarrior" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Institutional white"] = "2022 Stud", |
| 25 | ["Medium stone grey"] = "2022 Inlet", |
| 26 | ["Nougat"] = "2022 Stud", |
| 27 | ["Really black"] = "2022 Universal", |
| 28 | ["White"] = "2022 Stud", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Name = "Blindfold" |
| 33 | p.Size = Vector3.new(2.2, 0.6, 1.3) |
| 34 | p.CFrame = CFrame.new(0, 16.8, -0.6) |
| 35 | p.BrickColor = BrickColor.new("Really black") |
| 36 | p.Material = Enum.Material.Glacier |
| 37 | p.MaterialVariant = "2022 Universal" |
| 38 | p.Anchored = true |
| 39 | p.Parent = model |
| 40 | end |
| 41 | do |
| 42 | local p = Instance.new("Part") |
| 43 | p.Name = "HairLeft" |
| 44 | p.Size = Vector3.new(0.4, 1.5, 1.8) |
| 45 | p.CFrame = CFrame.new(1.2, 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)) |
| 46 | p.BrickColor = BrickColor.new("White") |
| 47 | p.Material = Enum.Material.Glacier |
| 48 | p.MaterialVariant = "2022 Stud" |
| 49 | p.Anchored = true |
| 50 | p.Parent = model |
| 51 | end |
| 52 | do |
| 53 | local p = Instance.new("Part") |
| 54 | p.Name = "HairRight" |
| 55 | p.Size = Vector3.new(0.4, 1.5, 1.8) |
| 56 | p.CFrame = CFrame.new(-1.2, 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)) |
| 57 | p.BrickColor = BrickColor.new("White") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Stud" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Name = "HairBack" |
| 66 | p.Size = Vector3.new(2, 1.5, 0.4) |
| 67 | p.CFrame = CFrame.new(0, 16.04, 0.8) |
| 68 | p.BrickColor = BrickColor.new("White") |
| 69 | p.Material = Enum.Material.Glacier |
| 70 | p.MaterialVariant = "2022 Stud" |
| 71 | p.Anchored = true |
| 72 | p.Parent = model |
| 73 | end |
| 74 | do |
| 75 | local p = Instance.new("Part") |
| 76 | p.Name = "Chest" |
| 77 | p.Size = Vector3.new(2.2, 1.5, 1.8) |
| 78 | p.CFrame = CFrame.new(0, 14.5, 0) |
| 79 | p.BrickColor = BrickColor.new("Really black") |
| 80 | p.Material = Enum.Material.Glacier |
| 81 | p.MaterialVariant = "2022 Universal" |
| 82 | p.Anchored = true |
| 83 | p.Parent = model |
| 84 | end |
| 85 | do |
| 86 | local p = Instance.new("Part") |
| 87 | p.Name = "Waist" |
| 88 | p.Size = Vector3.new(1.8, 1.2, 1.5) |
| 89 | p.CFrame = CFrame.new(0, 13.2, 0) |
| 90 | p.BrickColor = BrickColor.new("Really black") |
| 91 | p.Material = Enum.Material.Glacier |
| 92 | p.MaterialVariant = "2022 Universal" |
| 93 | p.Anchored = true |
| 94 | p.Parent = model |
| 95 | end |
| 96 | do |
| 97 | local p = Instance.new("Part") |
| 98 | p.Name = "ChestDetail" |
| 99 | p.Size = Vector3.new(0.6, 0.4, 0.2) |
| 100 | p.CFrame = CFrame.new(0, 14.8, -0.84) |
| 101 | p.BrickColor = BrickColor.new("Nougat") |
| 102 | p.Material = Enum.Material.Glacier |
| 103 | p.MaterialVariant = "2022 Stud" |
| 104 | p.Anchored = true |
| 105 | p.Parent = model |
| 106 | end |
| 107 | do |
| 108 | local p = Instance.new("Part") |
| 109 | p.Name = "Collar" |
| 110 | p.Size = Vector3.new(1, 0.4, 1) |
| 111 | p.CFrame = CFrame.new(0, 15.6, 0) |
| 112 | p.BrickColor = BrickColor.new("Really black") |
| 113 | p.Material = Enum.Material.Glacier |
| 114 | p.MaterialVariant = "2022 Universal" |
| 115 | p.Anchored = true |
| 116 | p.Parent = model |
| 117 | end |
| 118 | do |
| 119 | local p = Instance.new("Part") |
| 120 | p.Name = "R_UpperArm" |
| 121 | p.Size = Vector3.new(1.98998, 0.8, 0.8) |
| 122 | p.CFrame = CFrame.new(1.8, 14.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(35.5377), math.rad(-30.1668)) |
| 123 | p.BrickColor = BrickColor.new("Really black") |
| 124 | p.Material = Enum.Material.Glacier |
| 125 | p.MaterialVariant = "2022 Universal" |
| 126 | p.Anchored = true |
| 127 | p.Parent = model |
| 128 | end |
| 129 | do |
| 130 | local p = Instance.new("Part") |
| 131 | p.Name = "R_LowerArm" |
| 132 | p.Size = Vector3.new(2.06155, 0.6, 0.6) |
| 133 | p.CFrame = CFrame.new(3, 13.5, -1.75) * CFrame.Angles(math.rad(0), math.rad(56.3099), math.rad(-29.0171)) |
| 134 | p.BrickColor = BrickColor.new("Institutional white") |
| 135 | p.Material = Enum.Material.Glacier |
| 136 | p.MaterialVariant = "2022 Stud" |
| 137 | p.Anchored = true |
| 138 | p.Parent = model |
| 139 | end |
| 140 | do |
| 141 | local p = Instance.new("Part") |
| 142 | p.Name = "R_Hand" |
| 143 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 144 | p.CFrame = CFrame.new(3.5, 13, -2.5) |
| 145 | p.BrickColor = BrickColor.new("Really black") |
| 146 | p.Material = Enum.Material.Glacier |
| 147 | p.MaterialVariant = "2022 Universal" |
| 148 | p.Anchored = true |
| 149 | p.Parent = model |
| 150 | end |
| 151 | do |
| 152 | local p = Instance.new("Part") |
| 153 | p.Name = "L_UpperArm" |
| 154 | p.Size = Vector3.new(1.79165, 0.8, 0.8) |
| 155 | p.CFrame = CFrame.new(-1.8, 14.75, 0.5) * CFrame.Angles(math.rad(-180), math.rad(-35.5377), math.rad(163.795)) |
| 156 | p.BrickColor = BrickColor.new("Really black") |
| 157 | p.Material = Enum.Material.Glacier |
| 158 | p.MaterialVariant = "2022 Universal" |
| 159 | p.Anchored = true |
| 160 | p.Parent = model |
| 161 | end |
| 162 | do |
| 163 | local p = Instance.new("Part") |
| 164 | p.Name = "L_LowerArm" |
| 165 | p.Size = Vector3.new(1.5, 0.6, 0.6) |
| 166 | p.CFrame = CFrame.new(-3, 14.25, 1.5) * CFrame.Angles(math.rad(-180), math.rad(-45), math.rad(160.529)) |
| 167 | p.BrickColor = BrickColor.new("Institutional white") |
| 168 | p.Material = Enum.Material.Glacier |
| 169 | p.MaterialVariant = "2022 Stud" |
| 170 | p.Anchored = true |
| 171 | p.Parent = model |
| 172 | end |
| 173 | do |
| 174 | local p = Instance.new("Part") |
| 175 | p.Name = "L_Hand" |
| 176 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 177 | p.CFrame = CFrame.new(-3.5, 14, 2) |
| 178 | p.BrickColor = BrickColor.new("Really black") |
| 179 | p.Material = Enum.Material.Glacier |
| 180 | p.MaterialVariant = "2022 Universal" |
| 181 | p.Anchored = true |
| 182 | p.Parent = model |
| 183 | end |
| 184 | do |
| 185 | local p = Instance.new("Part") |
| 186 | p.Name = "FeatherL_0" |
| 187 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 188 | p.CFrame = CFrame.new(-3, 14.2, 1.5) * CFrame.Angles(math.rad(20), math.rad(45), math.rad(0)) |
| 189 | p.BrickColor = BrickColor.new("Really black") |
| 190 | p.Material = Enum.Material.Glacier |
| 191 | p.MaterialVariant = "2022 Universal" |
| 192 | p.Anchored = true |
| 193 | p.Parent = model |
| 194 | end |
| 195 | do |
| 196 | local p = Instance.new("Part") |
| 197 | p.Name = "FeatherR_0" |
| 198 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 199 | p.CFrame = CFrame.new(3, 13.2, -2) * CFrame.Angles(math.rad(-20), math.rad(-45), math.rad(0)) |
| 200 | p.BrickColor = BrickColor.new("Really black") |
| 201 | p.Material = Enum.Material.Glacier |
| 202 | p.MaterialVariant = "2022 Universal" |
| 203 | p.Anchored = true |
| 204 | p.Parent = model |
| 205 | end |
| 206 | do |
| 207 | local p = Instance.new("Part") |
| 208 | p.Name = "FeatherL_1" |
| 209 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 210 | p.CFrame = CFrame.new(-3, 14.2, 1.8) * CFrame.Angles(math.rad(20), math.rad(45), math.rad(0)) |
| 211 | p.BrickColor = BrickColor.new("Really black") |
| 212 | p.Material = Enum.Material.Glacier |
| 213 | p.MaterialVariant = "2022 Universal" |
| 214 | p.Anchored = true |
| 215 | p.Parent = model |
| 216 | end |
| 217 | do |
| 218 | local p = Instance.new("Part") |
| 219 | p.Name = "FeatherR_1" |
| 220 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 221 | p.CFrame = CFrame.new(3, 13.2, -2.3) * CFrame.Angles(math.rad(-20), math.rad(-45), math.rad(0)) |
| 222 | p.BrickColor = BrickColor.new("Really black") |
| 223 | p.Material = Enum.Material.Glacier |
| 224 | p.MaterialVariant = "2022 Universal" |
| 225 | p.Anchored = true |
| 226 | p.Parent = model |
| 227 | end |
| 228 | do |
| 229 | local p = Instance.new("Part") |
| 230 | p.Name = "FeatherL_2" |
| 231 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 232 | p.CFrame = CFrame.new(-3, 14.2, 2.1) * CFrame.Angles(math.rad(20), math.rad(45), math.rad(0)) |
| 233 | p.BrickColor = BrickColor.new("Really black") |
| 234 | p.Material = Enum.Material.Glacier |
| 235 | p.MaterialVariant = "2022 Universal" |
| 236 | p.Anchored = true |
| 237 | p.Parent = model |
| 238 | end |
| 239 | do |
| 240 | local p = Instance.new("Part") |
| 241 | p.Name = "FeatherR_2" |
| 242 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 243 | p.CFrame = CFrame.new(3, 13.2, -2.6) * CFrame.Angles(math.rad(-20), math.rad(-45), math.rad(0)) |
| 244 | p.BrickColor = BrickColor.new("Really black") |
| 245 | p.Material = Enum.Material.Glacier |
| 246 | p.MaterialVariant = "2022 Universal" |
| 247 | p.Anchored = true |
| 248 | p.Parent = model |
| 249 | end |
| 250 | do |
| 251 | local p = Instance.new("Part") |
| 252 | p.Name = "SkirtMain" |
| 253 | p.Size = Vector3.new(2.5, 1.5, 2.2) |
| 254 | p.CFrame = CFrame.new(0, 12, 0) |
| 255 | p.BrickColor = BrickColor.new("Really black") |
| 256 | p.Material = Enum.Material.Glacier |
| 257 | p.MaterialVariant = "2022 Universal" |
| 258 | p.Anchored = true |
| 259 | p.Parent = model |
| 260 | end |
| 261 | do |
| 262 | local p = Instance.new("Part") |
| 263 | p.Name = "SkirtLeft" |
| 264 | p.Size = Vector3.new(0.2, 2.5, 2) |
| 265 | p.CFrame = CFrame.new(-1.5, 11, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) |
| 266 | p.BrickColor = BrickColor.new("Really black") |
| 267 | p.Material = Enum.Material.Glacier |
| 268 | p.MaterialVariant = "2022 Universal" |
| 269 | p.Anchored = true |
| 270 | p.Parent = model |
| 271 | end |
| 272 | do |
| 273 | local p = Instance.new("Part") |
| 274 | p.Name = "R_Thigh" |
| 275 | p.Size = Vector3.new(3.54119, 1, 1) |
| 276 | p.CFrame = CFrame.new(0.7, 10.75, -0.25) * CFrame.Angles(math.rad(0), math.rad(68.1986), math.rad(-81.253)) |
| 277 | p.BrickColor = BrickColor.new("Nougat") |
| 278 | p.Material = Enum.Material.Glacier |
| 279 | p.MaterialVariant = "2022 Stud" |
| 280 | p.Anchored = true |
| 281 | p.Parent = model |
| 282 | end |
| 283 | do |
| 284 | local p = Instance.new("Part") |
| 285 | p.Name = "R_BootUpper" |
| 286 | p.Size = Vector3.new(5.02892, 0.9, 0.9) |
| 287 | p.CFrame = CFrame.new(0.9, 6.5, -0.75) * CFrame.Angles(math.rad(0), math.rad(68.1986), math.rad(-83.8528)) |
| 288 | p.BrickColor = BrickColor.new("Really black") |
| 289 | p.Material = Enum.Material.Glacier |
| 290 | p.MaterialVariant = "2022 Universal" |
| 291 | p.Anchored = true |
| 292 | p.Parent = model |
| 293 | end |
| 294 | do |
| 295 | local p = Instance.new("Part") |
| 296 | p.Name = "R_BootLower" |
| 297 | p.Size = Vector3.new(3.51141, 0.8, 0.8) |
| 298 | p.CFrame = CFrame.new(1.1, 2.25, -1.1) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-85.3798)) |
| 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.Name = "R_Foot" |
| 308 | p.Size = Vector3.new(0.8, 0.5, 1.2) |
| 309 | p.CFrame = CFrame.new(1.2, 0.25, -1.4) |
| 310 | p.BrickColor = BrickColor.new("Really black") |
| 311 | p.Material = Enum.Material.Glacier |
| 312 | p.MaterialVariant = "2022 Universal" |
| 313 | p.Anchored = true |
| 314 | p.Parent = model |
| 315 | end |
| 316 | do |
| 317 | local p = Instance.new("Part") |
| 318 | p.Name = "L_Thigh" |
| 319 | p.Size = Vector3.new(2.94279, 1, 1) |
| 320 | p.CFrame = CFrame.new(-0.8, 11.25, 0.75) * CFrame.Angles(math.rad(-180), math.rad(-75.0686), math.rad(121.839)) |
| 321 | p.BrickColor = BrickColor.new("Really black") |
| 322 | p.Material = Enum.Material.Glacier |
| 323 | p.MaterialVariant = "2022 Universal" |
| 324 | p.Anchored = true |
| 325 | p.Parent = model |
| 326 | end |
| 327 | do |
| 328 | local p = Instance.new("Part") |
| 329 | p.Name = "L_Knee" |
| 330 | p.Size = Vector3.new(2.29129, 0.9, 0.9) |
| 331 | p.CFrame = CFrame.new(-0.75, 9, 2) * CFrame.Angles(math.rad(0), math.rad(-63.4349), math.rad(-60.7941)) |
| 332 | p.BrickColor = BrickColor.new("Really black") |
| 333 | p.Material = Enum.Material.Glacier |
| 334 | p.MaterialVariant = "2022 Universal" |
| 335 | p.Anchored = true |
| 336 | p.Parent = model |
| 337 | end |
| 338 | do |
| 339 | local p = Instance.new("Part") |
| 340 | p.Name = "L_Boot" |
| 341 | p.Size = Vector3.new(2.29129, 0.8, 0.8) |
| 342 | p.CFrame = CFrame.new(-0.241271, 6.965085, 3.017457) * CFrame.Angles(math.rad(0), math.rad(-63.4349), math.rad(-60.7941)) |
| 343 | p.BrickColor = BrickColor.new("Really black") |
| 344 | p.Material = Enum.Material.Glacier |
| 345 | p.MaterialVariant = "2022 Universal" |
| 346 | p.Anchored = true |
| 347 | p.Parent = model |
| 348 | end |
| 349 | do |
| 350 | local p = Instance.new("Part") |
| 351 | p.Shape = Enum.PartType.Cylinder |
| 352 | p.Name = "SwordHandle" |
| 353 | p.Size = Vector3.new(1.73205, 0.3, 0.3) |
| 354 | p.CFrame = CFrame.new(4, 12.5, -3) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-35.2644)) |
| 355 | p.BrickColor = BrickColor.new("Institutional white") |
| 356 | p.Material = Enum.Material.Glacier |
| 357 | p.MaterialVariant = "2022 Stud" |
| 358 | p.Anchored = true |
| 359 | p.Parent = model |
| 360 | end |
| 361 | do |
| 362 | local p = Instance.new("Part") |
| 363 | p.Name = "SwordGuard" |
| 364 | p.Size = Vector3.new(0.8, 0.8, 0.2) |
| 365 | p.CFrame = CFrame.new(4.5, 12, -3.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 366 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 367 | p.Material = Enum.Material.Glacier |
| 368 | p.MaterialVariant = "2022 Inlet" |
| 369 | p.Anchored = true |
| 370 | p.Parent = model |
| 371 | end |
| 372 | do |
| 373 | local p = Instance.new("Part") |
| 374 | p.Name = "SwordBlade" |
| 375 | p.Size = Vector3.new(5.88897, 0.1, 0.4) |
| 376 | p.CFrame = CFrame.new(6.3, 10.2, -5.3) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-35.2644)) |
| 377 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 378 | p.Material = Enum.Material.Glacier |
| 379 | p.MaterialVariant = "2022 Inlet" |
| 380 | p.Anchored = true |
| 381 | p.Parent = model |
| 382 | end |
| 383 | do |
| 384 | local p = Instance.new("Part") |
| 385 | p.Name = "SwordCharm" |
| 386 | p.Size = Vector3.new(0.2, 0.5, 0.2) |
| 387 | p.CFrame = CFrame.new(4, 12.5, -3) |
| 388 | p.BrickColor = BrickColor.new("Institutional white") |
| 389 | p.Material = Enum.Material.Glacier |
| 390 | p.MaterialVariant = "2022 Stud" |
| 391 | p.Anchored = true |
| 392 | p.Parent = model |
| 393 | end |
| 394 | do |
| 395 | local p = Instance.new("Part") |
| 396 | p.Shape = Enum.PartType.Cylinder |
| 397 | p.Name = "DisplayBase" |
| 398 | p.Size = Vector3.new(0.4, 8, 8) |
| 399 | p.CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 400 | p.BrickColor = BrickColor.new("Really black") |
| 401 | p.Material = Enum.Material.Glacier |
| 402 | p.MaterialVariant = "2022 Universal" |
| 403 | p.Anchored = true |
| 404 | p.Parent = model |
| 405 | end |
| 406 | do |
| 407 | local rightV = Vector3.new(1,0,0).Unit |
| 408 | local upV = (Vector3.new(0,0,1) - Vector3.new(0,0,1):Dot(rightV)*rightV).Unit |
| 409 | local normalV = upV:Cross(rightV) |
| 410 | local pos = Vector3.new(0, 17.2, 0) |
| 411 | local cyl = Instance.new("Part") |
| 412 | cyl.Shape = Enum.PartType.Cylinder |
| 413 | cyl.Size = Vector3.new(0.3, 3.2, 3.2) |
| 414 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 415 | cyl.BrickColor = BrickColor.new("Really black") |
| 416 | cyl.Material = Enum.Material.Glacier |
| 417 | cyl.MaterialVariant = "2022 Universal" |
| 418 | cyl.Anchored = true; cyl.Parent = workspace |
| 419 | local cuts = {} |
| 420 | local hole = Instance.new("Part") |
| 421 | hole.Shape = Enum.PartType.Cylinder |
| 422 | hole.Size = Vector3.new(0.5, 2.8, 2.8) |
| 423 | hole.CFrame = cyl.CFrame |
| 424 | hole.BrickColor = BrickColor.new("Really black") |
| 425 | hole.Material = Enum.Material.Glacier |
| 426 | hole.MaterialVariant = "2022 Universal" |
| 427 | hole.Anchored = true; hole.Parent = workspace |
| 428 | table.insert(cuts, hole) |
| 429 | local angBoxes = {} |
| 430 | do |
| 431 | local edgeDir = 1*rightV + 0*upV |
| 432 | local edgePerp = 0*rightV + 1*upV |
| 433 | local cut = Instance.new("Part") |
| 434 | cut.Size = Vector3.new(6.4, 0.5, 6.4) |
| 435 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.2 * edgePerp, edgeDir, normalV) |
| 436 | cut.BrickColor = BrickColor.new("Really black") |
| 437 | cut.Material = Enum.Material.Glacier |
| 438 | cut.MaterialVariant = "2022 Universal" |
| 439 | cut.Anchored = true; cut.Parent = workspace |
| 440 | table.insert(angBoxes, cut) |
| 441 | end |
| 442 | do |
| 443 | local edgeDir = -1*rightV + 0*upV |
| 444 | local edgePerp = 0*rightV + -1*upV |
| 445 | local cut = Instance.new("Part") |
| 446 | cut.Size = Vector3.new(6.4, 0.5, 6.4) |
| 447 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.2 * edgePerp, edgeDir, normalV) |
| 448 | cut.BrickColor = BrickColor.new("Really black") |
| 449 | cut.Material = Enum.Material.Glacier |
| 450 | cut.MaterialVariant = "2022 Universal" |
| 451 | cut.Anchored = true; cut.Parent = workspace |
| 452 | table.insert(angBoxes, cut) |
| 453 | end |
| 454 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 455 | if #cuts > 0 then |
| 456 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 457 | for _, c in ipairs(cuts) do c:Destroy() end |
| 458 | if ok and result then |
| 459 | cyl:Destroy() |
| 460 | result.Name = "Headband"; result.Anchored = true; result.Parent = model |
| 461 | else |
| 462 | cyl.Name = "Headband"; cyl.Parent = model |
| 463 | end |
| 464 | else |
| 465 | cyl.Name = "Headband"; cyl.Parent = model |
| 466 | end |
| 467 | end |
| 468 | do |
| 469 | local rightV = Vector3.new(1,0,0).Unit |
| 470 | local upV = (Vector3.new(0,-1,0) - Vector3.new(0,-1,0):Dot(rightV)*rightV).Unit |
| 471 | local normalV = upV:Cross(rightV) |
| 472 | local pos = Vector3.new(0, 11.5, -1.04) |
| 473 | local cyl = Instance.new("Part") |
| 474 | cyl.Shape = Enum.PartType.Cylinder |
| 475 | cyl.Size = Vector3.new(0.2, 6, 6) |
| 476 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 477 | cyl.BrickColor = BrickColor.new("Really black") |
| 478 | cyl.Material = Enum.Material.Glacier |
| 479 | cyl.MaterialVariant = "2022 Universal" |
| 480 | cyl.Anchored = true; cyl.Parent = workspace |
| 481 | local cuts = {} |
| 482 | local angBoxes = {} |
| 483 | do |
| 484 | local edgeDir = 0.866025*rightV + -0.5*upV |
| 485 | local edgePerp = 0.5*rightV + 0.866025*upV |
| 486 | local cut = Instance.new("Part") |
| 487 | cut.Size = Vector3.new(12, 0.4, 12) |
| 488 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 6 * edgePerp, edgeDir, normalV) |
| 489 | cut.BrickColor = BrickColor.new("Really black") |
| 490 | cut.Material = Enum.Material.Glacier |
| 491 | cut.MaterialVariant = "2022 Universal" |
| 492 | cut.Anchored = true; cut.Parent = workspace |
| 493 | table.insert(angBoxes, cut) |
| 494 | end |
| 495 | do |
| 496 | local edgeDir = 0.866025*rightV + 0.5*upV |
| 497 | local edgePerp = -0.5*rightV + 0.866025*upV |
| 498 | local cut = Instance.new("Part") |
| 499 | cut.Size = Vector3.new(12, 0.4, 12) |
| 500 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 6 * edgePerp, edgeDir, normalV) |
| 501 | cut.BrickColor = BrickColor.new("Really black") |
| 502 | cut.Material = Enum.Material.Glacier |
| 503 | cut.MaterialVariant = "2022 Universal" |
| 504 | cut.Anchored = true; cut.Parent = workspace |
| 505 | table.insert(angBoxes, cut) |
| 506 | end |
| 507 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 508 | if #cuts > 0 then |
| 509 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 510 | for _, c in ipairs(cuts) do c:Destroy() end |
| 511 | if ok and result then |
| 512 | cyl:Destroy() |
| 513 | result.Name = "SkirtFront"; result.Anchored = true; result.Parent = model |
| 514 | else |
| 515 | cyl.Name = "SkirtFront"; cyl.Parent = model |
| 516 | end |
| 517 | else |
| 518 | cyl.Name = "SkirtFront"; cyl.Parent = model |
| 519 | end |
| 520 | end |
| 521 | do |
| 522 | local rightV = Vector3.new(1,0,0).Unit |
| 523 | local upV = (Vector3.new(0,-1,0) - Vector3.new(0,-1,0):Dot(rightV)*rightV).Unit |
| 524 | local normalV = upV:Cross(rightV) |
| 525 | local pos = Vector3.new(0, 11.5, 1.04) |
| 526 | local cyl = Instance.new("Part") |
| 527 | cyl.Shape = Enum.PartType.Cylinder |
| 528 | cyl.Size = Vector3.new(0.2, 7, 7) |
| 529 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 530 | cyl.BrickColor = BrickColor.new("Really black") |
| 531 | cyl.Material = Enum.Material.Glacier |
| 532 | cyl.MaterialVariant = "2022 Universal" |
| 533 | cyl.Anchored = true; cyl.Parent = workspace |
| 534 | local cuts = {} |
| 535 | local angBoxes = {} |
| 536 | do |
| 537 | local edgeDir = -0.866025*rightV + 0.5*upV |
| 538 | local edgePerp = -0.5*rightV + -0.866025*upV |
| 539 | local cut = Instance.new("Part") |
| 540 | cut.Size = Vector3.new(14, 0.4, 14) |
| 541 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 7 * edgePerp, edgeDir, normalV) |
| 542 | cut.BrickColor = BrickColor.new("Really black") |
| 543 | cut.Material = Enum.Material.Glacier |
| 544 | cut.MaterialVariant = "2022 Universal" |
| 545 | cut.Anchored = true; cut.Parent = workspace |
| 546 | table.insert(angBoxes, cut) |
| 547 | end |
| 548 | do |
| 549 | local edgeDir = -0.866025*rightV + -0.5*upV |
| 550 | local edgePerp = 0.5*rightV + -0.866025*upV |
| 551 | local cut = Instance.new("Part") |
| 552 | cut.Size = Vector3.new(14, 0.4, 14) |
| 553 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 7 * edgePerp, edgeDir, normalV) |
| 554 | cut.BrickColor = BrickColor.new("Really black") |
| 555 | cut.Material = Enum.Material.Glacier |
| 556 | cut.MaterialVariant = "2022 Universal" |
| 557 | cut.Anchored = true; cut.Parent = workspace |
| 558 | table.insert(angBoxes, cut) |
| 559 | end |
| 560 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 561 | if #cuts > 0 then |
| 562 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 563 | for _, c in ipairs(cuts) do c:Destroy() end |
| 564 | if ok and result then |
| 565 | cyl:Destroy() |
| 566 | result.Name = "SkirtBack"; result.Anchored = true; result.Parent = model |
| 567 | else |
| 568 | cyl.Name = "SkirtBack"; cyl.Parent = model |
| 569 | end |
| 570 | else |
| 571 | cyl.Name = "SkirtBack"; cyl.Parent = model |
| 572 | end |
| 573 | end |
| 574 | do |
| 575 | local upV = Vector3.new(0,1,0).Unit |
| 576 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 577 | local forwardV = rightV:Cross(upV) |
| 578 | local pos = Vector3.new(0, 16.5, 0) |
| 579 | local ball = Instance.new("Part") |
| 580 | ball.Shape = Enum.PartType.Ball |
| 581 | ball.Size = Vector3.new(2.4, 2.4, 2.4) |
| 582 | ball.CFrame = CFrame.new(pos) |
| 583 | ball.BrickColor = BrickColor.new("Nougat") |
| 584 | ball.Material = Enum.Material.Glacier |
| 585 | ball.MaterialVariant = "2022 Stud" |
| 586 | ball.Anchored = true; ball.Parent = workspace |
| 587 | local cuts = {} |
| 588 | if #cuts > 0 then |
| 589 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 590 | for _, c in ipairs(cuts) do c:Destroy() end |
| 591 | if ok and result then |
| 592 | ball:Destroy() |
| 593 | result.Name = "HeadBase"; result.Anchored = true; result.Parent = model |
| 594 | else |
| 595 | ball.Name = "HeadBase"; ball.Parent = model |
| 596 | end |
| 597 | else |
| 598 | ball.Name = "HeadBase"; ball.Parent = model |
| 599 | end |
| 600 | end |
| 601 | do |
| 602 | local upV = Vector3.new(0,1,0).Unit |
| 603 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 604 | local forwardV = rightV:Cross(upV) |
| 605 | local pos = Vector3.new(0, 16.6, 0) |
| 606 | local ball = Instance.new("Part") |
| 607 | ball.Shape = Enum.PartType.Ball |
| 608 | ball.Size = Vector3.new(3, 3, 3) |
| 609 | ball.CFrame = CFrame.new(pos) |
| 610 | ball.BrickColor = BrickColor.new("White") |
| 611 | ball.Material = Enum.Material.Glacier |
| 612 | ball.MaterialVariant = "2022 Stud" |
| 613 | ball.Anchored = true; ball.Parent = workspace |
| 614 | local cuts = {} |
| 615 | local hole = Instance.new("Part") |
| 616 | hole.Shape = Enum.PartType.Ball |
| 617 | hole.Size = Vector3.new(2.4, 2.4, 2.4) |
| 618 | hole.CFrame = CFrame.new(pos) |
| 619 | hole.BrickColor = BrickColor.new("White") |
| 620 | hole.Material = Enum.Material.Glacier |
| 621 | hole.MaterialVariant = "2022 Stud" |
| 622 | hole.Anchored = true; hole.Parent = workspace |
| 623 | table.insert(cuts, hole) |
| 624 | do |
| 625 | local h = 0 |
| 626 | local cut = Instance.new("Part") |
| 627 | cut.Size = Vector3.new(6, 6, 6) |
| 628 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-3), rightV, upV) |
| 629 | cut.BrickColor = BrickColor.new("White") |
| 630 | cut.Material = Enum.Material.Glacier |
| 631 | cut.MaterialVariant = "2022 Stud" |
| 632 | cut.Anchored = true; cut.Parent = workspace |
| 633 | table.insert(cuts, cut) |
| 634 | end |
| 635 | if #cuts > 0 then |
| 636 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 637 | for _, c in ipairs(cuts) do c:Destroy() end |
| 638 | if ok and result then |
| 639 | ball:Destroy() |
| 640 | result.Name = "HairTop"; result.Anchored = true; result.Parent = model |
| 641 | else |
| 642 | ball.Name = "HairTop"; ball.Parent = model |
| 643 | end |
| 644 | else |
| 645 | ball.Name = "HairTop"; ball.Parent = model |
| 646 | end |
| 647 | end |
| 648 | model.PrimaryPart = model:FindFirstChild("Chest") |
| 649 | print("AndroidWarrior built: " .. #model:GetChildren() .. " parts") |
Loading comments...