Loading model...
by Boston Larsen · 5/9/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: CartoonyHero |
| 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 = "CartoonyHero" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["#FAD6D6"] = "2022 Stud", |
| 25 | ["Bright red"] = "2022 Stud", |
| 26 | ["Institutional white"] = "2022 Stud", |
| 27 | ["Really black"] = "2022 Universal", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "LowerTorso" |
| 32 | p.Size = Vector3.new(2.6, 2, 1.8) |
| 33 | p.CFrame = CFrame.new(0, 4.5, 0) |
| 34 | p.BrickColor = BrickColor.new("Really black") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Universal" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "UpperTorso" |
| 43 | p.Size = Vector3.new(3.2, 2.2, 2) |
| 44 | p.CFrame = CFrame.new(0, 6.5, 0) |
| 45 | p.BrickColor = BrickColor.new("Bright red") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Stud" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Shape = Enum.PartType.Cylinder |
| 54 | p.Name = "ChestEmblem" |
| 55 | p.Size = Vector3.new(0.2, 1.8, 1.8) |
| 56 | p.CFrame = CFrame.new(0, 6.5, -0.95) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 57 | p.BrickColor = BrickColor.new("Really black") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Universal" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Name = "ChestEmblemI_Top" |
| 66 | p.Size = Vector3.new(0.6, 0.2, 0.1) |
| 67 | p.CFrame = CFrame.new(0, 6.84, -1.13) |
| 68 | p.BrickColor = BrickColor.new("Bright red") |
| 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 = "ChestEmblemI_Mid" |
| 77 | p.Size = Vector3.new(0.2, 0.8, 0.1) |
| 78 | p.CFrame = CFrame.new(0, 6.5, -1.13) |
| 79 | p.BrickColor = BrickColor.new("Bright red") |
| 80 | p.Material = Enum.Material.Glacier |
| 81 | p.MaterialVariant = "2022 Stud" |
| 82 | p.Anchored = true |
| 83 | p.Parent = model |
| 84 | end |
| 85 | do |
| 86 | local p = Instance.new("Part") |
| 87 | p.Name = "ChestEmblemI_Bot" |
| 88 | p.Size = Vector3.new(0.6, 0.2, 0.1) |
| 89 | p.CFrame = CFrame.new(0, 6.16, -1.09) |
| 90 | p.BrickColor = BrickColor.new("Bright red") |
| 91 | p.Material = Enum.Material.Glacier |
| 92 | p.MaterialVariant = "2022 Stud" |
| 93 | p.Anchored = true |
| 94 | p.Parent = model |
| 95 | end |
| 96 | do |
| 97 | local p = Instance.new("Part") |
| 98 | p.Name = "ChestStripe" |
| 99 | p.Size = Vector3.new(0.6, 2, 0.2) |
| 100 | p.CFrame = CFrame.new(0, 5.5, -0.91) |
| 101 | p.BrickColor = BrickColor.new("Really black") |
| 102 | p.Material = Enum.Material.Glacier |
| 103 | p.MaterialVariant = "2022 Universal" |
| 104 | p.Anchored = true |
| 105 | p.Parent = model |
| 106 | end |
| 107 | do |
| 108 | local p = Instance.new("Part") |
| 109 | p.Shape = Enum.PartType.Cylinder |
| 110 | p.Name = "Neck" |
| 111 | p.Size = Vector3.new(1, 0.8, 0.8) |
| 112 | p.CFrame = CFrame.new(0, 7.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 113 | p.BrickColor = BrickColor.new("Really black") |
| 114 | p.Material = Enum.Material.Glacier |
| 115 | p.MaterialVariant = "2022 Universal" |
| 116 | p.Anchored = true |
| 117 | p.Parent = model |
| 118 | end |
| 119 | do |
| 120 | local p = Instance.new("Part") |
| 121 | p.Shape = Enum.PartType.Ball |
| 122 | p.Name = "Head" |
| 123 | p.Size = Vector3.new(3.8, 3.8, 3.8) |
| 124 | p.CFrame = CFrame.new(0, 9.8, 0) |
| 125 | p.Color = Color3.fromRGB(250, 214, 214) |
| 126 | p.Material = Enum.Material.Glacier |
| 127 | p.MaterialVariant = "2022 Stud" |
| 128 | p.Anchored = true |
| 129 | p.Parent = model |
| 130 | end |
| 131 | do |
| 132 | local p = Instance.new("Part") |
| 133 | p.Shape = Enum.PartType.Cylinder |
| 134 | p.Name = "MaskL" |
| 135 | p.Size = Vector3.new(0.4, 1.6, 1.6) |
| 136 | p.CFrame = CFrame.new(-0.9, 9.9, -1.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 137 | p.BrickColor = BrickColor.new("Bright red") |
| 138 | p.Material = Enum.Material.Glacier |
| 139 | p.MaterialVariant = "2022 Stud" |
| 140 | p.Anchored = true |
| 141 | p.Parent = model |
| 142 | end |
| 143 | do |
| 144 | local p = Instance.new("Part") |
| 145 | p.Shape = Enum.PartType.Cylinder |
| 146 | p.Name = "MaskR" |
| 147 | p.Size = Vector3.new(0.4, 1.6, 1.6) |
| 148 | p.CFrame = CFrame.new(0.9, 9.9, -1.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 149 | p.BrickColor = BrickColor.new("Bright red") |
| 150 | p.Material = Enum.Material.Glacier |
| 151 | p.MaterialVariant = "2022 Stud" |
| 152 | p.Anchored = true |
| 153 | p.Parent = model |
| 154 | end |
| 155 | do |
| 156 | local p = Instance.new("Part") |
| 157 | p.Name = "MaskCenter" |
| 158 | p.Size = Vector3.new(1.8, 0.8, 0.4) |
| 159 | p.CFrame = CFrame.new(0, 9.9, -1.7) |
| 160 | p.BrickColor = BrickColor.new("Bright red") |
| 161 | p.Material = Enum.Material.Glacier |
| 162 | p.MaterialVariant = "2022 Stud" |
| 163 | p.Anchored = true |
| 164 | p.Parent = model |
| 165 | end |
| 166 | do |
| 167 | local p = Instance.new("Part") |
| 168 | p.Shape = Enum.PartType.Cylinder |
| 169 | p.Name = "EyeWhiteL" |
| 170 | p.Size = Vector3.new(0.1, 0.9, 0.9) |
| 171 | p.CFrame = CFrame.new(-0.9, 9.9, -1.7) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 172 | p.BrickColor = BrickColor.new("Institutional white") |
| 173 | p.Material = Enum.Material.Glacier |
| 174 | p.MaterialVariant = "2022 Stud" |
| 175 | p.Anchored = true |
| 176 | p.Parent = model |
| 177 | end |
| 178 | do |
| 179 | local p = Instance.new("Part") |
| 180 | p.Shape = Enum.PartType.Cylinder |
| 181 | p.Name = "EyeWhiteR" |
| 182 | p.Size = Vector3.new(0.1, 0.9, 0.9) |
| 183 | p.CFrame = CFrame.new(0.9, 9.9, -1.7) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 184 | p.BrickColor = BrickColor.new("Institutional white") |
| 185 | p.Material = Enum.Material.Glacier |
| 186 | p.MaterialVariant = "2022 Stud" |
| 187 | p.Anchored = true |
| 188 | p.Parent = model |
| 189 | end |
| 190 | do |
| 191 | local p = Instance.new("Part") |
| 192 | p.Shape = Enum.PartType.Cylinder |
| 193 | p.Name = "PupilL" |
| 194 | p.Size = Vector3.new(0.1, 0.4, 0.4) |
| 195 | p.CFrame = CFrame.new(-0.9, 9.9, -1.83) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 196 | p.BrickColor = BrickColor.new("Really black") |
| 197 | p.Material = Enum.Material.Glacier |
| 198 | p.MaterialVariant = "2022 Universal" |
| 199 | p.Anchored = true |
| 200 | p.Parent = model |
| 201 | end |
| 202 | do |
| 203 | local p = Instance.new("Part") |
| 204 | p.Shape = Enum.PartType.Cylinder |
| 205 | p.Name = "PupilR" |
| 206 | p.Size = Vector3.new(0.1, 0.4, 0.4) |
| 207 | p.CFrame = CFrame.new(0.9, 9.9, -1.83) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 208 | p.BrickColor = BrickColor.new("Really black") |
| 209 | p.Material = Enum.Material.Glacier |
| 210 | p.MaterialVariant = "2022 Universal" |
| 211 | p.Anchored = true |
| 212 | p.Parent = model |
| 213 | end |
| 214 | do |
| 215 | local p = Instance.new("Part") |
| 216 | p.Name = "HairBack" |
| 217 | p.Size = Vector3.new(4, 2.5, 1.8) |
| 218 | p.CFrame = CFrame.new(0, 9, 1.2) |
| 219 | p.BrickColor = BrickColor.new("Really black") |
| 220 | p.Material = Enum.Material.Glacier |
| 221 | p.MaterialVariant = "2022 Universal" |
| 222 | p.Anchored = true |
| 223 | p.Parent = model |
| 224 | end |
| 225 | do |
| 226 | local p = Instance.new("Part") |
| 227 | p.Name = "HairSideL" |
| 228 | p.Size = Vector3.new(0.6, 2.5, 2.5) |
| 229 | p.CFrame = CFrame.new(-1.9, 8.8, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)) |
| 230 | p.BrickColor = BrickColor.new("Really black") |
| 231 | p.Material = Enum.Material.Glacier |
| 232 | p.MaterialVariant = "2022 Universal" |
| 233 | p.Anchored = true |
| 234 | p.Parent = model |
| 235 | end |
| 236 | do |
| 237 | local p = Instance.new("Part") |
| 238 | p.Name = "HairSideR" |
| 239 | p.Size = Vector3.new(0.6, 2.5, 2.5) |
| 240 | p.CFrame = CFrame.new(1.9, 8.8, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)) |
| 241 | p.BrickColor = BrickColor.new("Really black") |
| 242 | p.Material = Enum.Material.Glacier |
| 243 | p.MaterialVariant = "2022 Universal" |
| 244 | p.Anchored = true |
| 245 | p.Parent = model |
| 246 | end |
| 247 | do |
| 248 | local p = Instance.new("Part") |
| 249 | p.Shape = Enum.PartType.Ball |
| 250 | p.Name = "ShoulderL" |
| 251 | p.Size = Vector3.new(1.4, 1.4, 1.4) |
| 252 | p.CFrame = CFrame.new(-2, 7, 0) |
| 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.Shape = Enum.PartType.Cylinder |
| 262 | p.Name = "UpperArmL" |
| 263 | p.Size = Vector3.new(2.28035, 1.1, 1.1) |
| 264 | p.CFrame = CFrame.new(-2.3, 5.9, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(105.255)) |
| 265 | p.BrickColor = BrickColor.new("Bright red") |
| 266 | p.Material = Enum.Material.Glacier |
| 267 | p.MaterialVariant = "2022 Stud" |
| 268 | p.Anchored = true |
| 269 | p.Parent = model |
| 270 | end |
| 271 | do |
| 272 | local p = Instance.new("Part") |
| 273 | p.Shape = Enum.PartType.Cylinder |
| 274 | p.Name = "LowerArmL" |
| 275 | p.Size = Vector3.new(1.89209, 1, 1) |
| 276 | p.CFrame = CFrame.new(-2.75, 3.9, -0.25) * CFrame.Angles(math.rad(-180), math.rad(59.0362), math.rad(107.949)) |
| 277 | p.Color = Color3.fromRGB(250, 214, 214) |
| 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.Shape = Enum.PartType.Cylinder |
| 286 | p.Name = "GloveL" |
| 287 | p.Size = Vector3.new(1.54272, 1.2, 1.2) |
| 288 | p.CFrame = CFrame.new(-3, 2.25, -0.65) * CFrame.Angles(math.rad(-180), math.rad(56.3099), math.rad(103.516)) |
| 289 | p.BrickColor = BrickColor.new("Bright red") |
| 290 | p.Material = Enum.Material.Glacier |
| 291 | p.MaterialVariant = "2022 Stud" |
| 292 | p.Anchored = true |
| 293 | p.Parent = model |
| 294 | end |
| 295 | do |
| 296 | local p = Instance.new("Part") |
| 297 | p.Name = "GloveCuffL" |
| 298 | p.Size = Vector3.new(1.4, 0.4, 1.4) |
| 299 | p.CFrame = CFrame.new(-2.8, 3.1, -0.4) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(10)) |
| 300 | p.BrickColor = BrickColor.new("Bright red") |
| 301 | p.Material = Enum.Material.Glacier |
| 302 | p.MaterialVariant = "2022 Stud" |
| 303 | p.Anchored = true |
| 304 | p.Parent = model |
| 305 | end |
| 306 | do |
| 307 | local p = Instance.new("Part") |
| 308 | p.Shape = Enum.PartType.Ball |
| 309 | p.Name = "ShoulderR" |
| 310 | p.Size = Vector3.new(1.4, 1.4, 1.4) |
| 311 | p.CFrame = CFrame.new(2, 7, 0) |
| 312 | p.BrickColor = BrickColor.new("Bright red") |
| 313 | p.Material = Enum.Material.Glacier |
| 314 | p.MaterialVariant = "2022 Stud" |
| 315 | p.Anchored = true |
| 316 | p.Parent = model |
| 317 | end |
| 318 | do |
| 319 | local p = Instance.new("Part") |
| 320 | p.Shape = Enum.PartType.Cylinder |
| 321 | p.Name = "UpperArmR" |
| 322 | p.Size = Vector3.new(2.28035, 1.1, 1.1) |
| 323 | p.CFrame = CFrame.new(2.3, 5.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-74.7449)) |
| 324 | p.BrickColor = BrickColor.new("Bright red") |
| 325 | p.Material = Enum.Material.Glacier |
| 326 | p.MaterialVariant = "2022 Stud" |
| 327 | p.Anchored = true |
| 328 | p.Parent = model |
| 329 | end |
| 330 | do |
| 331 | local p = Instance.new("Part") |
| 332 | p.Shape = Enum.PartType.Cylinder |
| 333 | p.Name = "LowerArmR" |
| 334 | p.Size = Vector3.new(1.89209, 1, 1) |
| 335 | p.CFrame = CFrame.new(2.75, 3.9, -0.25) * CFrame.Angles(math.rad(0), math.rad(59.0362), math.rad(-72.0507)) |
| 336 | p.Color = Color3.fromRGB(250, 214, 214) |
| 337 | p.Material = Enum.Material.Glacier |
| 338 | p.MaterialVariant = "2022 Stud" |
| 339 | p.Anchored = true |
| 340 | p.Parent = model |
| 341 | end |
| 342 | do |
| 343 | local p = Instance.new("Part") |
| 344 | p.Shape = Enum.PartType.Cylinder |
| 345 | p.Name = "GloveR" |
| 346 | p.Size = Vector3.new(1.54272, 1.2, 1.2) |
| 347 | p.CFrame = CFrame.new(3, 2.25, -0.65) * CFrame.Angles(math.rad(0), math.rad(56.3099), math.rad(-76.4842)) |
| 348 | p.BrickColor = BrickColor.new("Bright red") |
| 349 | p.Material = Enum.Material.Glacier |
| 350 | p.MaterialVariant = "2022 Stud" |
| 351 | p.Anchored = true |
| 352 | p.Parent = model |
| 353 | end |
| 354 | do |
| 355 | local p = Instance.new("Part") |
| 356 | p.Name = "GloveCuffR" |
| 357 | p.Size = Vector3.new(1.4, 0.4, 1.4) |
| 358 | p.CFrame = CFrame.new(2.8, 3.1, -0.4) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-10)) |
| 359 | p.BrickColor = BrickColor.new("Bright red") |
| 360 | p.Material = Enum.Material.Glacier |
| 361 | p.MaterialVariant = "2022 Stud" |
| 362 | p.Anchored = true |
| 363 | p.Parent = model |
| 364 | end |
| 365 | do |
| 366 | local p = Instance.new("Part") |
| 367 | p.Shape = Enum.PartType.Ball |
| 368 | p.Name = "HipL" |
| 369 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 370 | p.CFrame = CFrame.new(-0.8, 3.5, 0) |
| 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 = "UpperLegL" |
| 381 | p.Size = Vector3.new(2.0025, 1.2, 1.2) |
| 382 | p.CFrame = CFrame.new(-0.85, 2.5, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(92.8624)) |
| 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 = "BootL" |
| 393 | p.Size = Vector3.new(1.20416, 1.3, 1.3) |
| 394 | p.CFrame = CFrame.new(-0.95, 0.9, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(94.7636)) |
| 395 | p.BrickColor = BrickColor.new("Bright red") |
| 396 | p.Material = Enum.Material.Glacier |
| 397 | p.MaterialVariant = "2022 Stud" |
| 398 | p.Anchored = true |
| 399 | p.Parent = model |
| 400 | end |
| 401 | do |
| 402 | local p = Instance.new("Part") |
| 403 | p.Name = "BootCuffL" |
| 404 | p.Size = Vector3.new(1.4, 0.4, 1.4) |
| 405 | p.CFrame = CFrame.new(-0.9, 1.6, 0) |
| 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 = "FootL" |
| 415 | p.Size = Vector3.new(1.4, 0.8, 2.2) |
| 416 | p.CFrame = CFrame.new(-1, 0.3, -0.5) |
| 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.Shape = Enum.PartType.Ball |
| 426 | p.Name = "HipR" |
| 427 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 428 | p.CFrame = CFrame.new(0.8, 3.5, 0) |
| 429 | p.BrickColor = BrickColor.new("Really black") |
| 430 | p.Material = Enum.Material.Glacier |
| 431 | p.MaterialVariant = "2022 Universal" |
| 432 | p.Anchored = true |
| 433 | p.Parent = model |
| 434 | end |
| 435 | do |
| 436 | local p = Instance.new("Part") |
| 437 | p.Shape = Enum.PartType.Cylinder |
| 438 | p.Name = "UpperLegR" |
| 439 | p.Size = Vector3.new(2.0025, 1.2, 1.2) |
| 440 | p.CFrame = CFrame.new(0.85, 2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-87.1376)) |
| 441 | p.BrickColor = BrickColor.new("Really black") |
| 442 | p.Material = Enum.Material.Glacier |
| 443 | p.MaterialVariant = "2022 Universal" |
| 444 | p.Anchored = true |
| 445 | p.Parent = model |
| 446 | end |
| 447 | do |
| 448 | local p = Instance.new("Part") |
| 449 | p.Shape = Enum.PartType.Cylinder |
| 450 | p.Name = "BootR" |
| 451 | p.Size = Vector3.new(1.20416, 1.3, 1.3) |
| 452 | p.CFrame = CFrame.new(0.95, 0.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-85.2364)) |
| 453 | p.BrickColor = BrickColor.new("Bright red") |
| 454 | p.Material = Enum.Material.Glacier |
| 455 | p.MaterialVariant = "2022 Stud" |
| 456 | p.Anchored = true |
| 457 | p.Parent = model |
| 458 | end |
| 459 | do |
| 460 | local p = Instance.new("Part") |
| 461 | p.Name = "BootCuffR" |
| 462 | p.Size = Vector3.new(1.4, 0.4, 1.4) |
| 463 | p.CFrame = CFrame.new(0.9, 1.6, 0) |
| 464 | p.BrickColor = BrickColor.new("Bright red") |
| 465 | p.Material = Enum.Material.Glacier |
| 466 | p.MaterialVariant = "2022 Stud" |
| 467 | p.Anchored = true |
| 468 | p.Parent = model |
| 469 | end |
| 470 | do |
| 471 | local p = Instance.new("Part") |
| 472 | p.Name = "FootR" |
| 473 | p.Size = Vector3.new(1.4, 0.8, 2.2) |
| 474 | p.CFrame = CFrame.new(1, 0.3, -0.5) |
| 475 | p.BrickColor = BrickColor.new("Bright red") |
| 476 | p.Material = Enum.Material.Glacier |
| 477 | p.MaterialVariant = "2022 Stud" |
| 478 | p.Anchored = true |
| 479 | p.Parent = model |
| 480 | end |
| 481 | do |
| 482 | local upV = Vector3.new(0,1,0).Unit |
| 483 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 484 | local forwardV = rightV:Cross(upV) |
| 485 | local pos = Vector3.new(0, 9.8, 0) |
| 486 | local ball = Instance.new("Part") |
| 487 | ball.Shape = Enum.PartType.Ball |
| 488 | ball.Size = Vector3.new(8, 8, 8) |
| 489 | ball.CFrame = CFrame.new(pos) |
| 490 | ball.BrickColor = BrickColor.new("Really black") |
| 491 | ball.Material = Enum.Material.Glacier |
| 492 | ball.MaterialVariant = "2022 Universal" |
| 493 | ball.Anchored = true; ball.Parent = workspace |
| 494 | local cuts = {} |
| 495 | do |
| 496 | local h = 0 |
| 497 | local cut = Instance.new("Part") |
| 498 | cut.Size = Vector3.new(16, 16, 16) |
| 499 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-8), rightV, upV) |
| 500 | cut.BrickColor = BrickColor.new("Really black") |
| 501 | cut.Material = Enum.Material.Glacier |
| 502 | cut.MaterialVariant = "2022 Universal" |
| 503 | cut.Anchored = true; cut.Parent = workspace |
| 504 | table.insert(cuts, cut) |
| 505 | end |
| 506 | if #cuts > 0 then |
| 507 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 508 | for _, c in ipairs(cuts) do c:Destroy() end |
| 509 | if ok and result then |
| 510 | ball:Destroy() |
| 511 | result.Name = "HairTop"; result.Anchored = true; result.Parent = model |
| 512 | else |
| 513 | ball.Name = "HairTop"; ball.Parent = model |
| 514 | end |
| 515 | else |
| 516 | ball.Name = "HairTop"; ball.Parent = model |
| 517 | end |
| 518 | end |
| 519 | model.PrimaryPart = model:FindFirstChild("UpperTorso") |
| 520 | print("CartoonyHero built: " .. #model:GetChildren() .. " parts") |
Loading comments...