Loading model...
by Rendijs Tumšais · 5/13/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: DollWithDuck |
| 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 = "DollWithDuck" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Bright orange"] = "2022 Stud", |
| 26 | ["Bright yellow"] = "2022 Big Stud", |
| 27 | ["Institutional white"] = "2022 Stud", |
| 28 | ["Nougat"] = "2022 Stud", |
| 29 | ["Pink"] = "2022 Stud", |
| 30 | ["Really black"] = "2022 Universal", |
| 31 | } |
| 32 | do |
| 33 | local p = Instance.new("Part") |
| 34 | p.Name = "DuckBeakTop" |
| 35 | p.Size = Vector3.new(1.5, 0.4, 1.5) |
| 36 | p.CFrame = CFrame.new(0, 2.5, -5.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)) |
| 37 | p.BrickColor = BrickColor.new("Bright orange") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Stud" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Name = "DuckBeakBot" |
| 46 | p.Size = Vector3.new(1.2, 0.3, 1.2) |
| 47 | p.CFrame = CFrame.new(0, 2.2, -5.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)) |
| 48 | p.BrickColor = BrickColor.new("Bright orange") |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Stud" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Name = "DuckEyeL" |
| 57 | p.Size = Vector3.new(0.6, 0.8, 0.2) |
| 58 | p.CFrame = CFrame.new(-1, 3, -4.8) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-10)) |
| 59 | p.BrickColor = BrickColor.new("Really black") |
| 60 | p.Material = Enum.Material.Glacier |
| 61 | p.MaterialVariant = "2022 Universal" |
| 62 | p.Anchored = true |
| 63 | p.Parent = model |
| 64 | end |
| 65 | do |
| 66 | local p = Instance.new("Part") |
| 67 | p.Name = "DuckEyeR" |
| 68 | p.Size = Vector3.new(0.6, 0.8, 0.2) |
| 69 | p.CFrame = CFrame.new(1, 3, -4.8) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(10)) |
| 70 | p.BrickColor = BrickColor.new("Really black") |
| 71 | p.Material = Enum.Material.Glacier |
| 72 | p.MaterialVariant = "2022 Universal" |
| 73 | p.Anchored = true |
| 74 | p.Parent = model |
| 75 | end |
| 76 | do |
| 77 | local p = Instance.new("Part") |
| 78 | p.Name = "DuckEyeWhiteL" |
| 79 | p.Size = Vector3.new(0.2, 0.2, 0.1) |
| 80 | p.CFrame = CFrame.new(-1.045277, 3.1, -5.050351) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) |
| 81 | p.BrickColor = BrickColor.new("Institutional white") |
| 82 | p.Material = Enum.Material.Glacier |
| 83 | p.MaterialVariant = "2022 Stud" |
| 84 | p.Anchored = true |
| 85 | p.Parent = model |
| 86 | end |
| 87 | do |
| 88 | local p = Instance.new("Part") |
| 89 | p.Name = "DuckEyeWhiteR" |
| 90 | p.Size = Vector3.new(0.2, 0.2, 0.1) |
| 91 | p.CFrame = CFrame.new(1.045277, 3.1, -5.050351) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) |
| 92 | p.BrickColor = BrickColor.new("Institutional white") |
| 93 | p.Material = Enum.Material.Glacier |
| 94 | p.MaterialVariant = "2022 Stud" |
| 95 | p.Anchored = true |
| 96 | p.Parent = model |
| 97 | end |
| 98 | do |
| 99 | local p = Instance.new("WedgePart") |
| 100 | p.Name = "DuckTail" |
| 101 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 102 | p.CFrame = CFrame.new(0, 1.5, 4) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) |
| 103 | p.BrickColor = BrickColor.new("Bright yellow") |
| 104 | p.Material = Enum.Material.Glacier |
| 105 | p.MaterialVariant = "2022 Big Stud" |
| 106 | p.Anchored = true |
| 107 | p.Parent = model |
| 108 | end |
| 109 | do |
| 110 | local p = Instance.new("Part") |
| 111 | p.Name = "DollTorso" |
| 112 | p.Size = Vector3.new(2.2, 2.5, 1.8) |
| 113 | p.CFrame = CFrame.new(0, 1.5, 0) |
| 114 | p.BrickColor = BrickColor.new("Nougat") |
| 115 | p.Material = Enum.Material.Glacier |
| 116 | p.MaterialVariant = "2022 Stud" |
| 117 | p.Anchored = true |
| 118 | p.Parent = model |
| 119 | end |
| 120 | do |
| 121 | local p = Instance.new("Part") |
| 122 | p.Name = "DollBelly" |
| 123 | p.Size = Vector3.new(2, 2, 1.5) |
| 124 | p.CFrame = CFrame.new(0, 1, -0.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 125 | p.BrickColor = BrickColor.new("Nougat") |
| 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.Name = "DollEyeWhiteL" |
| 134 | p.Size = Vector3.new(0.8, 0.8, 0.2) |
| 135 | p.CFrame = CFrame.new(-0.8, 4.8, -2) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)) |
| 136 | p.BrickColor = BrickColor.new("Institutional white") |
| 137 | p.Material = Enum.Material.Glacier |
| 138 | p.MaterialVariant = "2022 Stud" |
| 139 | p.Anchored = true |
| 140 | p.Parent = model |
| 141 | end |
| 142 | do |
| 143 | local p = Instance.new("Part") |
| 144 | p.Shape = Enum.PartType.Cylinder |
| 145 | p.Name = "DollEyeIrisL" |
| 146 | p.Size = Vector3.new(0.1, 0.5, 0.5) |
| 147 | p.CFrame = CFrame.new(-0.8, 4.8, -2.1) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)) |
| 148 | p.BrickColor = BrickColor.new("Bright blue") |
| 149 | p.Material = Enum.Material.Glacier |
| 150 | p.MaterialVariant = "2022 Universal" |
| 151 | p.Anchored = true |
| 152 | p.Parent = model |
| 153 | end |
| 154 | do |
| 155 | local p = Instance.new("Part") |
| 156 | p.Shape = Enum.PartType.Cylinder |
| 157 | p.Name = "DollEyePupilL" |
| 158 | p.Size = Vector3.new(0.1, 0.3, 0.3) |
| 159 | p.CFrame = CFrame.new(-0.954548, 4.8, -2.191411) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)) |
| 160 | p.BrickColor = BrickColor.new("Really black") |
| 161 | p.Material = Enum.Material.Glacier |
| 162 | p.MaterialVariant = "2022 Universal" |
| 163 | p.Anchored = true |
| 164 | p.Parent = model |
| 165 | end |
| 166 | do |
| 167 | local p = Instance.new("Part") |
| 168 | p.Name = "DollEyeWhiteR" |
| 169 | p.Size = Vector3.new(0.8, 0.8, 0.2) |
| 170 | p.CFrame = CFrame.new(0.8, 4.8, -2) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 171 | p.BrickColor = BrickColor.new("Institutional white") |
| 172 | p.Material = Enum.Material.Glacier |
| 173 | p.MaterialVariant = "2022 Stud" |
| 174 | p.Anchored = true |
| 175 | p.Parent = model |
| 176 | end |
| 177 | do |
| 178 | local p = Instance.new("Part") |
| 179 | p.Shape = Enum.PartType.Cylinder |
| 180 | p.Name = "DollEyeIrisR" |
| 181 | p.Size = Vector3.new(0.1, 0.5, 0.5) |
| 182 | p.CFrame = CFrame.new(0.8, 4.8, -2.1) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 183 | p.BrickColor = BrickColor.new("Bright blue") |
| 184 | p.Material = Enum.Material.Glacier |
| 185 | p.MaterialVariant = "2022 Universal" |
| 186 | p.Anchored = true |
| 187 | p.Parent = model |
| 188 | end |
| 189 | do |
| 190 | local p = Instance.new("Part") |
| 191 | p.Shape = Enum.PartType.Cylinder |
| 192 | p.Name = "DollEyePupilR" |
| 193 | p.Size = Vector3.new(0.1, 0.3, 0.3) |
| 194 | p.CFrame = CFrame.new(0.954548, 4.8, -2.191411) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 195 | p.BrickColor = BrickColor.new("Really black") |
| 196 | p.Material = Enum.Material.Glacier |
| 197 | p.MaterialVariant = "2022 Universal" |
| 198 | p.Anchored = true |
| 199 | p.Parent = model |
| 200 | end |
| 201 | do |
| 202 | local p = Instance.new("Part") |
| 203 | p.Name = "DollMouth" |
| 204 | p.Size = Vector3.new(0.6, 0.4, 0.2) |
| 205 | p.CFrame = CFrame.new(0, 3.8, -2) |
| 206 | p.BrickColor = BrickColor.new("Pink") |
| 207 | p.Material = Enum.Material.Glacier |
| 208 | p.MaterialVariant = "2022 Stud" |
| 209 | p.Anchored = true |
| 210 | p.Parent = model |
| 211 | end |
| 212 | do |
| 213 | local p = Instance.new("Part") |
| 214 | p.Name = "DollMouthHole" |
| 215 | p.Size = Vector3.new(0.3, 0.2, 0.1) |
| 216 | p.CFrame = CFrame.new(0, 3.8, -2.1) |
| 217 | p.BrickColor = BrickColor.new("Really black") |
| 218 | p.Material = Enum.Material.Glacier |
| 219 | p.MaterialVariant = "2022 Universal" |
| 220 | p.Anchored = true |
| 221 | p.Parent = model |
| 222 | end |
| 223 | do |
| 224 | local p = Instance.new("Part") |
| 225 | p.Shape = Enum.PartType.Cylinder |
| 226 | p.Name = "DollArmUpperL" |
| 227 | p.Size = Vector3.new(1.92094, 0.8, 0.8) |
| 228 | p.CFrame = CFrame.new(-1.85, 3, -0.5) * CFrame.Angles(math.rad(-180), math.rad(37.5686), math.rad(-148.629)) |
| 229 | p.BrickColor = BrickColor.new("Nougat") |
| 230 | p.Material = Enum.Material.Glacier |
| 231 | p.MaterialVariant = "2022 Stud" |
| 232 | p.Anchored = true |
| 233 | p.Parent = model |
| 234 | end |
| 235 | do |
| 236 | local p = Instance.new("Part") |
| 237 | p.Shape = Enum.PartType.Cylinder |
| 238 | p.Name = "DollArmLowerL" |
| 239 | p.Size = Vector3.new(2.06155, 0.7, 0.7) |
| 240 | p.CFrame = CFrame.new(-2, 4, -1.75) * CFrame.Angles(math.rad(0), math.rad(56.3099), math.rad(29.0171)) |
| 241 | p.BrickColor = BrickColor.new("Nougat") |
| 242 | p.Material = Enum.Material.Glacier |
| 243 | p.MaterialVariant = "2022 Stud" |
| 244 | p.Anchored = true |
| 245 | p.Parent = model |
| 246 | end |
| 247 | do |
| 248 | local p = Instance.new("Part") |
| 249 | p.Shape = Enum.PartType.Cylinder |
| 250 | p.Name = "DollArmUpperR" |
| 251 | p.Size = Vector3.new(1.92094, 0.8, 0.8) |
| 252 | p.CFrame = CFrame.new(1.85, 3, -0.5) * CFrame.Angles(math.rad(0), math.rad(37.5686), math.rad(31.3711)) |
| 253 | p.BrickColor = BrickColor.new("Nougat") |
| 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 = "DollArmLowerR" |
| 263 | p.Size = Vector3.new(2.06155, 0.7, 0.7) |
| 264 | p.CFrame = CFrame.new(2, 4, -1.75) * CFrame.Angles(math.rad(-180), math.rad(56.3099), math.rad(-150.983)) |
| 265 | p.BrickColor = BrickColor.new("Nougat") |
| 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 = "DollLegUpperL" |
| 275 | p.Size = Vector3.new(2.27156, 1, 1) |
| 276 | p.CFrame = CFrame.new(-1, -0.5, -0.5) * CFrame.Angles(math.rad(-180), math.rad(68.1986), math.rad(118.303)) |
| 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.Shape = Enum.PartType.Cylinder |
| 286 | p.Name = "DollLegLowerL" |
| 287 | p.Size = Vector3.new(1.59374, 0.9, 0.9) |
| 288 | p.CFrame = CFrame.new(-1.1, -2.25, -0.75) * CFrame.Angles(math.rad(0), math.rad(-68.1986), math.rad(-70.2513)) |
| 289 | p.BrickColor = BrickColor.new("Nougat") |
| 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 = "DollFootL" |
| 298 | p.Size = Vector3.new(1, 0.6, 1.2) |
| 299 | p.CFrame = CFrame.new(-1, -3.2, -1) |
| 300 | p.BrickColor = BrickColor.new("Nougat") |
| 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.Cylinder |
| 309 | p.Name = "DollLegUpperR" |
| 310 | p.Size = Vector3.new(2.27156, 1, 1) |
| 311 | p.CFrame = CFrame.new(1, -0.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(68.1986), math.rad(-61.6968)) |
| 312 | p.BrickColor = BrickColor.new("Nougat") |
| 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 = "DollLegLowerR" |
| 322 | p.Size = Vector3.new(1.59374, 0.9, 0.9) |
| 323 | p.CFrame = CFrame.new(1.1, -2.25, -0.75) * CFrame.Angles(math.rad(-180), math.rad(-68.1986), math.rad(109.749)) |
| 324 | p.BrickColor = BrickColor.new("Nougat") |
| 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.Name = "DollFootR" |
| 333 | p.Size = Vector3.new(1, 0.6, 1.2) |
| 334 | p.CFrame = CFrame.new(1, -3.2, -1) |
| 335 | p.BrickColor = BrickColor.new("Nougat") |
| 336 | p.Material = Enum.Material.Glacier |
| 337 | p.MaterialVariant = "2022 Stud" |
| 338 | p.Anchored = true |
| 339 | p.Parent = model |
| 340 | end |
| 341 | do |
| 342 | local rightV = Vector3.new(1,0,0).Unit |
| 343 | local upV = (Vector3.new(0,0,-1) - Vector3.new(0,0,-1):Dot(rightV)*rightV).Unit |
| 344 | local normalV = upV:Cross(rightV) |
| 345 | local pos = Vector3.new(0, 0.04, 0.04) |
| 346 | local cyl = Instance.new("Part") |
| 347 | cyl.Shape = Enum.PartType.Cylinder |
| 348 | cyl.Size = Vector3.new(2, 9, 9) |
| 349 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 350 | cyl.BrickColor = BrickColor.new("Bright yellow") |
| 351 | cyl.Material = Enum.Material.Glacier |
| 352 | cyl.MaterialVariant = "2022 Big Stud" |
| 353 | cyl.Anchored = true; cyl.Parent = workspace |
| 354 | local cuts = {} |
| 355 | local hole = Instance.new("Part") |
| 356 | hole.Shape = Enum.PartType.Cylinder |
| 357 | hole.Size = Vector3.new(2.2, 5, 5) |
| 358 | hole.CFrame = cyl.CFrame |
| 359 | hole.BrickColor = BrickColor.new("Bright yellow") |
| 360 | hole.Material = Enum.Material.Glacier |
| 361 | hole.MaterialVariant = "2022 Big Stud" |
| 362 | hole.Anchored = true; hole.Parent = workspace |
| 363 | table.insert(cuts, hole) |
| 364 | local angBoxes = {} |
| 365 | do |
| 366 | local edgeDir = 1*rightV + 0*upV |
| 367 | local edgePerp = 0*rightV + 1*upV |
| 368 | local cut = Instance.new("Part") |
| 369 | cut.Size = Vector3.new(18, 2.2, 18) |
| 370 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 9 * edgePerp, edgeDir, normalV) |
| 371 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 372 | cut.Material = Enum.Material.Glacier |
| 373 | cut.MaterialVariant = "2022 Big Stud" |
| 374 | cut.Anchored = true; cut.Parent = workspace |
| 375 | table.insert(angBoxes, cut) |
| 376 | end |
| 377 | do |
| 378 | local edgeDir = -1*rightV + 0*upV |
| 379 | local edgePerp = 0*rightV + -1*upV |
| 380 | local cut = Instance.new("Part") |
| 381 | cut.Size = Vector3.new(18, 2.2, 18) |
| 382 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 9 * edgePerp, edgeDir, normalV) |
| 383 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 384 | cut.Material = Enum.Material.Glacier |
| 385 | cut.MaterialVariant = "2022 Big Stud" |
| 386 | cut.Anchored = true; cut.Parent = workspace |
| 387 | table.insert(angBoxes, cut) |
| 388 | end |
| 389 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 390 | if #cuts > 0 then |
| 391 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 392 | for _, c in ipairs(cuts) do c:Destroy() end |
| 393 | if ok and result then |
| 394 | cyl:Destroy() |
| 395 | result.Name = "DuckRing_Front"; result.Anchored = true; result.Parent = model |
| 396 | else |
| 397 | cyl.Name = "DuckRing_Front"; cyl.Parent = model |
| 398 | end |
| 399 | else |
| 400 | cyl.Name = "DuckRing_Front"; cyl.Parent = model |
| 401 | end |
| 402 | end |
| 403 | do |
| 404 | local rightV = Vector3.new(-1,0,0).Unit |
| 405 | local upV = (Vector3.new(0,0,1) - Vector3.new(0,0,1):Dot(rightV)*rightV).Unit |
| 406 | local normalV = upV:Cross(rightV) |
| 407 | local pos = Vector3.new(0, 0, 0) |
| 408 | local cyl = Instance.new("Part") |
| 409 | cyl.Shape = Enum.PartType.Cylinder |
| 410 | cyl.Size = Vector3.new(2, 9, 9) |
| 411 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 412 | cyl.BrickColor = BrickColor.new("Bright yellow") |
| 413 | cyl.Material = Enum.Material.Glacier |
| 414 | cyl.MaterialVariant = "2022 Big Stud" |
| 415 | cyl.Anchored = true; cyl.Parent = workspace |
| 416 | local cuts = {} |
| 417 | local hole = Instance.new("Part") |
| 418 | hole.Shape = Enum.PartType.Cylinder |
| 419 | hole.Size = Vector3.new(2.2, 5, 5) |
| 420 | hole.CFrame = cyl.CFrame |
| 421 | hole.BrickColor = BrickColor.new("Bright yellow") |
| 422 | hole.Material = Enum.Material.Glacier |
| 423 | hole.MaterialVariant = "2022 Big Stud" |
| 424 | hole.Anchored = true; hole.Parent = workspace |
| 425 | table.insert(cuts, hole) |
| 426 | local angBoxes = {} |
| 427 | do |
| 428 | local edgeDir = 1*rightV + 0*upV |
| 429 | local edgePerp = 0*rightV + 1*upV |
| 430 | local cut = Instance.new("Part") |
| 431 | cut.Size = Vector3.new(18, 2.2, 18) |
| 432 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 9 * edgePerp, edgeDir, normalV) |
| 433 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 434 | cut.Material = Enum.Material.Glacier |
| 435 | cut.MaterialVariant = "2022 Big Stud" |
| 436 | cut.Anchored = true; cut.Parent = workspace |
| 437 | table.insert(angBoxes, cut) |
| 438 | end |
| 439 | do |
| 440 | local edgeDir = -1*rightV + 0*upV |
| 441 | local edgePerp = 0*rightV + -1*upV |
| 442 | local cut = Instance.new("Part") |
| 443 | cut.Size = Vector3.new(18, 2.2, 18) |
| 444 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 9 * edgePerp, edgeDir, normalV) |
| 445 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 446 | cut.Material = Enum.Material.Glacier |
| 447 | cut.MaterialVariant = "2022 Big Stud" |
| 448 | cut.Anchored = true; cut.Parent = workspace |
| 449 | table.insert(angBoxes, cut) |
| 450 | end |
| 451 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 452 | if #cuts > 0 then |
| 453 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 454 | for _, c in ipairs(cuts) do c:Destroy() end |
| 455 | if ok and result then |
| 456 | cyl:Destroy() |
| 457 | result.Name = "DuckRing_Back"; result.Anchored = true; result.Parent = model |
| 458 | else |
| 459 | cyl.Name = "DuckRing_Back"; cyl.Parent = model |
| 460 | end |
| 461 | else |
| 462 | cyl.Name = "DuckRing_Back"; cyl.Parent = model |
| 463 | end |
| 464 | end |
| 465 | do |
| 466 | local upV = Vector3.new(0,1,0).Unit |
| 467 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 468 | local forwardV = rightV:Cross(upV) |
| 469 | local pos = Vector3.new(0, 2.5, -3.5) |
| 470 | local ball = Instance.new("Part") |
| 471 | ball.Shape = Enum.PartType.Ball |
| 472 | ball.Size = Vector3.new(4, 4, 4) |
| 473 | ball.CFrame = CFrame.new(pos) |
| 474 | ball.BrickColor = BrickColor.new("Bright yellow") |
| 475 | ball.Material = Enum.Material.Glacier |
| 476 | ball.MaterialVariant = "2022 Big Stud" |
| 477 | ball.Anchored = true; ball.Parent = workspace |
| 478 | local cuts = {} |
| 479 | if #cuts > 0 then |
| 480 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 481 | for _, c in ipairs(cuts) do c:Destroy() end |
| 482 | if ok and result then |
| 483 | ball:Destroy() |
| 484 | result.Name = "DuckHead"; result.Anchored = true; result.Parent = model |
| 485 | else |
| 486 | ball.Name = "DuckHead"; ball.Parent = model |
| 487 | end |
| 488 | else |
| 489 | ball.Name = "DuckHead"; ball.Parent = model |
| 490 | end |
| 491 | end |
| 492 | do |
| 493 | local upV = Vector3.new(0,1,0).Unit |
| 494 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 495 | local forwardV = rightV:Cross(upV) |
| 496 | local pos = Vector3.new(0, 4.5, 0) |
| 497 | local ball = Instance.new("Part") |
| 498 | ball.Shape = Enum.PartType.Ball |
| 499 | ball.Size = Vector3.new(4.4, 4.4, 4.4) |
| 500 | ball.CFrame = CFrame.new(pos) |
| 501 | ball.BrickColor = BrickColor.new("Nougat") |
| 502 | ball.Material = Enum.Material.Glacier |
| 503 | ball.MaterialVariant = "2022 Stud" |
| 504 | ball.Anchored = true; ball.Parent = workspace |
| 505 | local cuts = {} |
| 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 = "DollHead"; result.Anchored = true; result.Parent = model |
| 512 | else |
| 513 | ball.Name = "DollHead"; ball.Parent = model |
| 514 | end |
| 515 | else |
| 516 | ball.Name = "DollHead"; ball.Parent = model |
| 517 | end |
| 518 | end |
| 519 | do |
| 520 | local upV = Vector3.new(1,0,0).Unit |
| 521 | local rightV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(upV)*upV).Unit |
| 522 | local forwardV = rightV:Cross(upV) |
| 523 | local pos = Vector3.new(-2.1, 4.5, 0) |
| 524 | local ball = Instance.new("Part") |
| 525 | ball.Shape = Enum.PartType.Ball |
| 526 | ball.Size = Vector3.new(1.2, 1.2, 1.2) |
| 527 | ball.CFrame = CFrame.new(pos) |
| 528 | ball.BrickColor = BrickColor.new("Nougat") |
| 529 | ball.Material = Enum.Material.Glacier |
| 530 | ball.MaterialVariant = "2022 Stud" |
| 531 | ball.Anchored = true; ball.Parent = workspace |
| 532 | local cuts = {} |
| 533 | do |
| 534 | local h = 0 |
| 535 | local cut = Instance.new("Part") |
| 536 | cut.Size = Vector3.new(2.4, 2.4, 2.4) |
| 537 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.2), rightV, upV) |
| 538 | cut.BrickColor = BrickColor.new("Nougat") |
| 539 | cut.Material = Enum.Material.Glacier |
| 540 | cut.MaterialVariant = "2022 Stud" |
| 541 | cut.Anchored = true; cut.Parent = workspace |
| 542 | table.insert(cuts, cut) |
| 543 | end |
| 544 | if #cuts > 0 then |
| 545 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 546 | for _, c in ipairs(cuts) do c:Destroy() end |
| 547 | if ok and result then |
| 548 | ball:Destroy() |
| 549 | result.Name = "DollEarL"; result.Anchored = true; result.Parent = model |
| 550 | else |
| 551 | ball.Name = "DollEarL"; ball.Parent = model |
| 552 | end |
| 553 | else |
| 554 | ball.Name = "DollEarL"; ball.Parent = model |
| 555 | end |
| 556 | end |
| 557 | do |
| 558 | local upV = Vector3.new(-1,0,0).Unit |
| 559 | local rightV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(upV)*upV).Unit |
| 560 | local forwardV = rightV:Cross(upV) |
| 561 | local pos = Vector3.new(2.1, 4.5, 0) |
| 562 | local ball = Instance.new("Part") |
| 563 | ball.Shape = Enum.PartType.Ball |
| 564 | ball.Size = Vector3.new(1.2, 1.2, 1.2) |
| 565 | ball.CFrame = CFrame.new(pos) |
| 566 | ball.BrickColor = BrickColor.new("Nougat") |
| 567 | ball.Material = Enum.Material.Glacier |
| 568 | ball.MaterialVariant = "2022 Stud" |
| 569 | ball.Anchored = true; ball.Parent = workspace |
| 570 | local cuts = {} |
| 571 | do |
| 572 | local h = 0 |
| 573 | local cut = Instance.new("Part") |
| 574 | cut.Size = Vector3.new(2.4, 2.4, 2.4) |
| 575 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.2), rightV, upV) |
| 576 | cut.BrickColor = BrickColor.new("Nougat") |
| 577 | cut.Material = Enum.Material.Glacier |
| 578 | cut.MaterialVariant = "2022 Stud" |
| 579 | cut.Anchored = true; cut.Parent = workspace |
| 580 | table.insert(cuts, cut) |
| 581 | end |
| 582 | if #cuts > 0 then |
| 583 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 584 | for _, c in ipairs(cuts) do c:Destroy() end |
| 585 | if ok and result then |
| 586 | ball:Destroy() |
| 587 | result.Name = "DollEarR"; result.Anchored = true; result.Parent = model |
| 588 | else |
| 589 | ball.Name = "DollEarR"; ball.Parent = model |
| 590 | end |
| 591 | else |
| 592 | ball.Name = "DollEarR"; ball.Parent = model |
| 593 | end |
| 594 | end |
| 595 | do |
| 596 | local upV = Vector3.new(0,1,0).Unit |
| 597 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 598 | local forwardV = rightV:Cross(upV) |
| 599 | local pos = Vector3.new(0, 4.2, -2.1) |
| 600 | local ball = Instance.new("Part") |
| 601 | ball.Shape = Enum.PartType.Ball |
| 602 | ball.Size = Vector3.new(0.6, 0.6, 0.6) |
| 603 | ball.CFrame = CFrame.new(pos) |
| 604 | ball.BrickColor = BrickColor.new("Nougat") |
| 605 | ball.Material = Enum.Material.Glacier |
| 606 | ball.MaterialVariant = "2022 Stud" |
| 607 | ball.Anchored = true; ball.Parent = workspace |
| 608 | local cuts = {} |
| 609 | do |
| 610 | local h = 0 |
| 611 | local cut = Instance.new("Part") |
| 612 | cut.Size = Vector3.new(1.2, 1.2, 1.2) |
| 613 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-0.6), rightV, upV) |
| 614 | cut.BrickColor = BrickColor.new("Nougat") |
| 615 | cut.Material = Enum.Material.Glacier |
| 616 | cut.MaterialVariant = "2022 Stud" |
| 617 | cut.Anchored = true; cut.Parent = workspace |
| 618 | table.insert(cuts, cut) |
| 619 | end |
| 620 | if #cuts > 0 then |
| 621 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 622 | for _, c in ipairs(cuts) do c:Destroy() end |
| 623 | if ok and result then |
| 624 | ball:Destroy() |
| 625 | result.Name = "DollNose"; result.Anchored = true; result.Parent = model |
| 626 | else |
| 627 | ball.Name = "DollNose"; ball.Parent = model |
| 628 | end |
| 629 | else |
| 630 | ball.Name = "DollNose"; ball.Parent = model |
| 631 | end |
| 632 | end |
| 633 | do |
| 634 | local upV = Vector3.new(0,1,0).Unit |
| 635 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 636 | local forwardV = rightV:Cross(upV) |
| 637 | local pos = Vector3.new(-1.5, 4.5, -2.5) |
| 638 | local ball = Instance.new("Part") |
| 639 | ball.Shape = Enum.PartType.Ball |
| 640 | ball.Size = Vector3.new(1, 1, 1) |
| 641 | ball.CFrame = CFrame.new(pos) |
| 642 | ball.BrickColor = BrickColor.new("Nougat") |
| 643 | ball.Material = Enum.Material.Glacier |
| 644 | ball.MaterialVariant = "2022 Stud" |
| 645 | ball.Anchored = true; ball.Parent = workspace |
| 646 | local cuts = {} |
| 647 | if #cuts > 0 then |
| 648 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 649 | for _, c in ipairs(cuts) do c:Destroy() end |
| 650 | if ok and result then |
| 651 | ball:Destroy() |
| 652 | result.Name = "DollHandL"; result.Anchored = true; result.Parent = model |
| 653 | else |
| 654 | ball.Name = "DollHandL"; ball.Parent = model |
| 655 | end |
| 656 | else |
| 657 | ball.Name = "DollHandL"; ball.Parent = model |
| 658 | end |
| 659 | end |
| 660 | do |
| 661 | local upV = Vector3.new(0,1,0).Unit |
| 662 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 663 | local forwardV = rightV:Cross(upV) |
| 664 | local pos = Vector3.new(1.5, 4.5, -2.5) |
| 665 | local ball = Instance.new("Part") |
| 666 | ball.Shape = Enum.PartType.Ball |
| 667 | ball.Size = Vector3.new(1, 1, 1) |
| 668 | ball.CFrame = CFrame.new(pos) |
| 669 | ball.BrickColor = BrickColor.new("Nougat") |
| 670 | ball.Material = Enum.Material.Glacier |
| 671 | ball.MaterialVariant = "2022 Stud" |
| 672 | ball.Anchored = true; ball.Parent = workspace |
| 673 | local cuts = {} |
| 674 | if #cuts > 0 then |
| 675 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 676 | for _, c in ipairs(cuts) do c:Destroy() end |
| 677 | if ok and result then |
| 678 | ball:Destroy() |
| 679 | result.Name = "DollHandR"; result.Anchored = true; result.Parent = model |
| 680 | else |
| 681 | ball.Name = "DollHandR"; ball.Parent = model |
| 682 | end |
| 683 | else |
| 684 | ball.Name = "DollHandR"; ball.Parent = model |
| 685 | end |
| 686 | end |
| 687 | model.PrimaryPart = model:FindFirstChild("DollTorso") |
| 688 | print("DollWithDuck built: " .. #model:GetChildren() .. " parts") |
Loading comments...