Loading model...
by Исмаил Чукмаев · 7/27/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: WoodenCharacter |
| 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 = "WoodenCharacter" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Gold"] = "2022 Stud", |
| 25 | ["Institutional white"] = "2022 Stud", |
| 26 | ["Pine Cone"] = "2022 Small Stud", |
| 27 | ["Really black"] = "2022 Universal", |
| 28 | ["Reddish brown"] = "2022 Small Stud", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Shape = Enum.PartType.Cylinder |
| 33 | p.Name = "Body" |
| 34 | p.Size = Vector3.new(12, 5, 5) |
| 35 | p.CFrame = CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 36 | p.BrickColor = BrickColor.new("Gold") |
| 37 | p.Material = Enum.Material.Glacier |
| 38 | p.MaterialVariant = "2022 Stud" |
| 39 | p.Anchored = true |
| 40 | p.Parent = model |
| 41 | end |
| 42 | do |
| 43 | local p = Instance.new("Part") |
| 44 | p.Shape = Enum.PartType.Cylinder |
| 45 | p.Name = "EyeWhiteL" |
| 46 | p.Size = Vector3.new(0.4, 1.8, 1.8) |
| 47 | p.CFrame = CFrame.new(-1, 14, -2.7) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 48 | p.BrickColor = BrickColor.new("Institutional white") |
| 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.Shape = Enum.PartType.Cylinder |
| 57 | p.Name = "IrisL" |
| 58 | p.Size = Vector3.new(0.1, 1.08, 1.08) |
| 59 | p.CFrame = CFrame.new(-1, 14, -2.9) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 60 | p.BrickColor = BrickColor.new("Pine Cone") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Small Stud" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Shape = Enum.PartType.Cylinder |
| 69 | p.Name = "PupilL" |
| 70 | p.Size = Vector3.new(0.1, 0.54, 0.54) |
| 71 | p.CFrame = CFrame.new(-1, 14, -3.03) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 72 | p.BrickColor = BrickColor.new("Really black") |
| 73 | p.Material = Enum.Material.Glacier |
| 74 | p.MaterialVariant = "2022 Universal" |
| 75 | p.Anchored = true |
| 76 | p.Parent = model |
| 77 | end |
| 78 | do |
| 79 | local p = Instance.new("Part") |
| 80 | p.Shape = Enum.PartType.Cylinder |
| 81 | p.Name = "EyeWhiteR" |
| 82 | p.Size = Vector3.new(0.4, 1.8, 1.8) |
| 83 | p.CFrame = CFrame.new(1, 14, -2.7) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 84 | p.BrickColor = BrickColor.new("Institutional white") |
| 85 | p.Material = Enum.Material.Glacier |
| 86 | p.MaterialVariant = "2022 Stud" |
| 87 | p.Anchored = true |
| 88 | p.Parent = model |
| 89 | end |
| 90 | do |
| 91 | local p = Instance.new("Part") |
| 92 | p.Shape = Enum.PartType.Cylinder |
| 93 | p.Name = "IrisR" |
| 94 | p.Size = Vector3.new(0.1, 1.08, 1.08) |
| 95 | p.CFrame = CFrame.new(1, 14, -2.9) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 96 | p.BrickColor = BrickColor.new("Pine Cone") |
| 97 | p.Material = Enum.Material.Glacier |
| 98 | p.MaterialVariant = "2022 Small Stud" |
| 99 | p.Anchored = true |
| 100 | p.Parent = model |
| 101 | end |
| 102 | do |
| 103 | local p = Instance.new("Part") |
| 104 | p.Shape = Enum.PartType.Cylinder |
| 105 | p.Name = "PupilR" |
| 106 | p.Size = Vector3.new(0.1, 0.54, 0.54) |
| 107 | p.CFrame = CFrame.new(1, 14, -3.03) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 108 | p.BrickColor = BrickColor.new("Really black") |
| 109 | p.Material = Enum.Material.Glacier |
| 110 | p.MaterialVariant = "2022 Universal" |
| 111 | p.Anchored = true |
| 112 | p.Parent = model |
| 113 | end |
| 114 | do |
| 115 | local p = Instance.new("Part") |
| 116 | p.Name = "NoseBridge" |
| 117 | p.Size = Vector3.new(0.8, 2, 1.5) |
| 118 | p.CFrame = CFrame.new(0, 13.5, -3.45) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 119 | p.BrickColor = BrickColor.new("Gold") |
| 120 | p.Material = Enum.Material.Glacier |
| 121 | p.MaterialVariant = "2022 Stud" |
| 122 | p.Anchored = true |
| 123 | p.Parent = model |
| 124 | end |
| 125 | do |
| 126 | local p = Instance.new("Part") |
| 127 | p.Shape = Enum.PartType.Ball |
| 128 | p.Name = "NoseTip" |
| 129 | p.Size = Vector3.new(0.96, 0.96, 0.96) |
| 130 | p.CFrame = CFrame.new(0, 12.5, -4.2) |
| 131 | p.BrickColor = BrickColor.new("Gold") |
| 132 | p.Material = Enum.Material.Glacier |
| 133 | p.MaterialVariant = "2022 Stud" |
| 134 | p.Anchored = true |
| 135 | p.Parent = model |
| 136 | end |
| 137 | do |
| 138 | local p = Instance.new("Part") |
| 139 | p.Shape = Enum.PartType.Cylinder |
| 140 | p.Name = "UpperLegL" |
| 141 | p.Size = Vector3.new(3.00666, 0.56, 0.56) |
| 142 | p.CFrame = CFrame.new(-1.2, 4.5, 0.1) * CFrame.Angles(math.rad(86.1859), math.rad(-90), math.rad(0)) |
| 143 | p.BrickColor = BrickColor.new("Gold") |
| 144 | p.Material = Enum.Material.Glacier |
| 145 | p.MaterialVariant = "2022 Stud" |
| 146 | p.Anchored = true |
| 147 | p.Parent = model |
| 148 | end |
| 149 | do |
| 150 | local p = Instance.new("Part") |
| 151 | p.Shape = Enum.PartType.Cylinder |
| 152 | p.Name = "LowerLegL" |
| 153 | p.Size = Vector3.new(2.50799, 0.6, 0.6) |
| 154 | p.CFrame = CFrame.new(-1.2, 1.75, 0.1) * CFrame.Angles(math.rad(-85.4261), math.rad(90), math.rad(0)) |
| 155 | p.BrickColor = BrickColor.new("Gold") |
| 156 | p.Material = Enum.Material.Glacier |
| 157 | p.MaterialVariant = "2022 Stud" |
| 158 | p.Anchored = true |
| 159 | p.Parent = model |
| 160 | end |
| 161 | do |
| 162 | local p = Instance.new("Part") |
| 163 | p.Name = "FootL" |
| 164 | p.Size = Vector3.new(1.2, 0.5, 2.5) |
| 165 | p.CFrame = CFrame.new(-1.2, 0.25, -1) |
| 166 | p.BrickColor = BrickColor.new("Gold") |
| 167 | p.Material = Enum.Material.Glacier |
| 168 | p.MaterialVariant = "2022 Stud" |
| 169 | p.Anchored = true |
| 170 | p.Parent = model |
| 171 | end |
| 172 | do |
| 173 | local p = Instance.new("Part") |
| 174 | p.Shape = Enum.PartType.Cylinder |
| 175 | p.Name = "UpperLegR" |
| 176 | p.Size = Vector3.new(3.00666, 0.56, 0.56) |
| 177 | p.CFrame = CFrame.new(1.2, 4.5, 0.1) * CFrame.Angles(math.rad(86.1859), math.rad(-90), math.rad(0)) |
| 178 | p.BrickColor = BrickColor.new("Gold") |
| 179 | p.Material = Enum.Material.Glacier |
| 180 | p.MaterialVariant = "2022 Stud" |
| 181 | p.Anchored = true |
| 182 | p.Parent = model |
| 183 | end |
| 184 | do |
| 185 | local p = Instance.new("Part") |
| 186 | p.Shape = Enum.PartType.Cylinder |
| 187 | p.Name = "LowerLegR" |
| 188 | p.Size = Vector3.new(2.50799, 0.6, 0.6) |
| 189 | p.CFrame = CFrame.new(1.2, 1.75, 0.1) * CFrame.Angles(math.rad(-85.4261), math.rad(90), math.rad(0)) |
| 190 | p.BrickColor = BrickColor.new("Gold") |
| 191 | p.Material = Enum.Material.Glacier |
| 192 | p.MaterialVariant = "2022 Stud" |
| 193 | p.Anchored = true |
| 194 | p.Parent = model |
| 195 | end |
| 196 | do |
| 197 | local p = Instance.new("Part") |
| 198 | p.Name = "FootR" |
| 199 | p.Size = Vector3.new(1.2, 0.5, 2.5) |
| 200 | p.CFrame = CFrame.new(1.2, 0.25, -1) |
| 201 | p.BrickColor = BrickColor.new("Gold") |
| 202 | p.Material = Enum.Material.Glacier |
| 203 | p.MaterialVariant = "2022 Stud" |
| 204 | p.Anchored = true |
| 205 | p.Parent = model |
| 206 | end |
| 207 | do |
| 208 | local p = Instance.new("Part") |
| 209 | p.Shape = Enum.PartType.Cylinder |
| 210 | p.Name = "UpperArmL" |
| 211 | p.Size = Vector3.new(3.31663, 0.38, 0.38) |
| 212 | p.CFrame = CFrame.new(-3.5, 9.5, -0.5) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(115.239)) |
| 213 | p.BrickColor = BrickColor.new("Gold") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Stud" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Shape = Enum.PartType.Cylinder |
| 222 | p.Name = "LowerArmL" |
| 223 | p.Size = Vector3.new(3.20156, 0.42, 0.42) |
| 224 | p.CFrame = CFrame.new(-3.75, 6.5, -1.5) * CFrame.Angles(math.rad(0), math.rad(63.4349), math.rad(-69.5607)) |
| 225 | p.BrickColor = BrickColor.new("Gold") |
| 226 | p.Material = Enum.Material.Glacier |
| 227 | p.MaterialVariant = "2022 Stud" |
| 228 | p.Anchored = true |
| 229 | p.Parent = model |
| 230 | end |
| 231 | do |
| 232 | local p = Instance.new("Part") |
| 233 | p.Shape = Enum.PartType.Ball |
| 234 | p.Name = "HandL" |
| 235 | p.Size = Vector3.new(1, 1, 1) |
| 236 | p.CFrame = CFrame.new(-3.5, 5, -2) |
| 237 | p.BrickColor = BrickColor.new("Gold") |
| 238 | p.Material = Enum.Material.Glacier |
| 239 | p.MaterialVariant = "2022 Stud" |
| 240 | p.Anchored = true |
| 241 | p.Parent = model |
| 242 | end |
| 243 | do |
| 244 | local p = Instance.new("Part") |
| 245 | p.Shape = Enum.PartType.Cylinder |
| 246 | p.Name = "UpperArmR" |
| 247 | p.Size = Vector3.new(3.04138, 0.38, 0.38) |
| 248 | p.CFrame = CFrame.new(3.25, 9.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80.5377)) |
| 249 | p.BrickColor = BrickColor.new("Gold") |
| 250 | p.Material = Enum.Material.Glacier |
| 251 | p.MaterialVariant = "2022 Stud" |
| 252 | p.Anchored = true |
| 253 | p.Parent = model |
| 254 | end |
| 255 | do |
| 256 | local p = Instance.new("Part") |
| 257 | p.Shape = Enum.PartType.Cylinder |
| 258 | p.Name = "LowerArmR" |
| 259 | p.Size = Vector3.new(3, 0.42, 0.42) |
| 260 | p.CFrame = CFrame.new(3.5, 6.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 261 | p.BrickColor = BrickColor.new("Gold") |
| 262 | p.Material = Enum.Material.Glacier |
| 263 | p.MaterialVariant = "2022 Stud" |
| 264 | p.Anchored = true |
| 265 | p.Parent = model |
| 266 | end |
| 267 | do |
| 268 | local p = Instance.new("Part") |
| 269 | p.Shape = Enum.PartType.Ball |
| 270 | p.Name = "HandR" |
| 271 | p.Size = Vector3.new(1, 1, 1) |
| 272 | p.CFrame = CFrame.new(3.5, 5, 0) |
| 273 | p.BrickColor = BrickColor.new("Gold") |
| 274 | p.Material = Enum.Material.Glacier |
| 275 | p.MaterialVariant = "2022 Stud" |
| 276 | p.Anchored = true |
| 277 | p.Parent = model |
| 278 | end |
| 279 | do |
| 280 | local p = Instance.new("Part") |
| 281 | p.Shape = Enum.PartType.Cylinder |
| 282 | p.Name = "BatHandle" |
| 283 | p.Size = Vector3.new(2.69258, 0.6, 0.6) |
| 284 | p.CFrame = CFrame.new(-4.25, 4, -2.5) * CFrame.Angles(math.rad(-180), math.rad(33.6901), math.rad(132.031)) |
| 285 | p.BrickColor = BrickColor.new("Reddish brown") |
| 286 | p.Material = Enum.Material.Glacier |
| 287 | p.MaterialVariant = "2022 Small Stud" |
| 288 | p.Anchored = true |
| 289 | p.Parent = model |
| 290 | end |
| 291 | do |
| 292 | local p = Instance.new("Part") |
| 293 | p.Shape = Enum.PartType.Cylinder |
| 294 | p.Name = "BatBarrel" |
| 295 | p.Size = Vector3.new(3.74166, 1.16, 1.16) |
| 296 | p.CFrame = CFrame.new(-6, 1.5, -3.5) * CFrame.Angles(math.rad(-180), math.rad(26.5651), math.rad(126.699)) |
| 297 | p.BrickColor = BrickColor.new("Reddish brown") |
| 298 | p.Material = Enum.Material.Glacier |
| 299 | p.MaterialVariant = "2022 Small Stud" |
| 300 | p.Anchored = true |
| 301 | p.Parent = model |
| 302 | end |
| 303 | do |
| 304 | local p = Instance.new("Part") |
| 305 | p.Shape = Enum.PartType.Ball |
| 306 | p.Name = "BatKnob" |
| 307 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 308 | p.CFrame = CFrame.new(-3.3, 5.3, -1.8) |
| 309 | p.BrickColor = BrickColor.new("Reddish brown") |
| 310 | p.Material = Enum.Material.Glacier |
| 311 | p.MaterialVariant = "2022 Small Stud" |
| 312 | p.Anchored = true |
| 313 | p.Parent = model |
| 314 | end |
| 315 | do |
| 316 | local p = Instance.new("Part") |
| 317 | p.Shape = Enum.PartType.Ball |
| 318 | p.Name = "BatTip" |
| 319 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 320 | p.CFrame = CFrame.new(-7, 0, -4) |
| 321 | p.BrickColor = BrickColor.new("Reddish brown") |
| 322 | p.Material = Enum.Material.Glacier |
| 323 | p.MaterialVariant = "2022 Small Stud" |
| 324 | p.Anchored = true |
| 325 | p.Parent = model |
| 326 | end |
| 327 | do |
| 328 | local rightV = Vector3.new(1,0,0).Unit |
| 329 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 330 | local normalV = upV:Cross(rightV) |
| 331 | local pos = Vector3.new(0, 11.5, -2.7) |
| 332 | local cyl = Instance.new("Part") |
| 333 | cyl.Shape = Enum.PartType.Cylinder |
| 334 | cyl.Size = Vector3.new(0.3, 4, 4) |
| 335 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 336 | cyl.BrickColor = BrickColor.new("Gold") |
| 337 | cyl.Material = Enum.Material.Glacier |
| 338 | cyl.MaterialVariant = "2022 Stud" |
| 339 | cyl.Anchored = true; cyl.Parent = workspace |
| 340 | local cuts = {} |
| 341 | local angBoxes = {} |
| 342 | do |
| 343 | local edgeDir = -1*rightV + 0*upV |
| 344 | local edgePerp = 0*rightV + -1*upV |
| 345 | local cut = Instance.new("Part") |
| 346 | cut.Size = Vector3.new(8, 0.5, 8) |
| 347 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 4 * edgePerp, edgeDir, normalV) |
| 348 | cut.BrickColor = BrickColor.new("Gold") |
| 349 | cut.Material = Enum.Material.Glacier |
| 350 | cut.MaterialVariant = "2022 Stud" |
| 351 | cut.Anchored = true; cut.Parent = workspace |
| 352 | table.insert(angBoxes, cut) |
| 353 | end |
| 354 | do |
| 355 | local edgeDir = 1*rightV + 0*upV |
| 356 | local edgePerp = 0*rightV + 1*upV |
| 357 | local cut = Instance.new("Part") |
| 358 | cut.Size = Vector3.new(8, 0.5, 8) |
| 359 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 4 * edgePerp, edgeDir, normalV) |
| 360 | cut.BrickColor = BrickColor.new("Gold") |
| 361 | cut.Material = Enum.Material.Glacier |
| 362 | cut.MaterialVariant = "2022 Stud" |
| 363 | cut.Anchored = true; cut.Parent = workspace |
| 364 | table.insert(angBoxes, cut) |
| 365 | end |
| 366 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 367 | if #cuts > 0 then |
| 368 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 369 | for _, c in ipairs(cuts) do c:Destroy() end |
| 370 | if ok and result then |
| 371 | cyl:Destroy() |
| 372 | result.Name = "Mouth"; result.Anchored = true; result.Parent = model |
| 373 | else |
| 374 | cyl.Name = "Mouth"; cyl.Parent = model |
| 375 | end |
| 376 | else |
| 377 | cyl.Name = "Mouth"; cyl.Parent = model |
| 378 | end |
| 379 | end |
| 380 | model.PrimaryPart = model:FindFirstChild("Body") |
| 381 | print("WoodenCharacter built: " .. #model:GetChildren() .. " parts") |
Loading comments...