Loading model...
by ryan clamp · 4/11/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: BlockyDogPet |
| 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 = "BlockyDogPet" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Institutional white"] = "2022 Stud", |
| 25 | ["Nougat"] = "2022 Stud", |
| 26 | ["Pink"] = "2022 Stud", |
| 27 | ["Really black"] = "2022 Universal", |
| 28 | ["Reddish brown"] = "2022 Small Stud", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Name = "Body" |
| 33 | p.Size = Vector3.new(10, 10, 10) |
| 34 | p.CFrame = CFrame.new(0, 5.5, 0) |
| 35 | p.BrickColor = BrickColor.new("Nougat") |
| 36 | p.Material = Enum.Material.Glacier |
| 37 | p.MaterialVariant = "2022 Stud" |
| 38 | p.Anchored = true |
| 39 | p.Parent = model |
| 40 | end |
| 41 | do |
| 42 | local p = Instance.new("Part") |
| 43 | p.Name = "EarLeft" |
| 44 | p.Size = Vector3.new(3, 4, 1) |
| 45 | p.CFrame = CFrame.new(-4.5, 11, -1) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(30)) |
| 46 | p.BrickColor = BrickColor.new("Reddish brown") |
| 47 | p.Material = Enum.Material.Glacier |
| 48 | p.MaterialVariant = "2022 Small Stud" |
| 49 | p.Anchored = true |
| 50 | p.Parent = model |
| 51 | end |
| 52 | do |
| 53 | local p = Instance.new("Part") |
| 54 | p.Name = "EarRight" |
| 55 | p.Size = Vector3.new(3, 4, 1) |
| 56 | p.CFrame = CFrame.new(4.5, 11, -1) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-30)) |
| 57 | p.BrickColor = BrickColor.new("Reddish brown") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Small Stud" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Name = "FootFrontLeft" |
| 66 | p.Size = Vector3.new(2.5, 0.5, 2.5) |
| 67 | p.CFrame = CFrame.new(-3, 0.17, -3) |
| 68 | p.BrickColor = BrickColor.new("Reddish brown") |
| 69 | p.Material = Enum.Material.Glacier |
| 70 | p.MaterialVariant = "2022 Small Stud" |
| 71 | p.Anchored = true |
| 72 | p.Parent = model |
| 73 | end |
| 74 | do |
| 75 | local p = Instance.new("Part") |
| 76 | p.Name = "FootFrontRight" |
| 77 | p.Size = Vector3.new(2.5, 0.5, 2.5) |
| 78 | p.CFrame = CFrame.new(3, 0.17, -3) |
| 79 | p.BrickColor = BrickColor.new("Reddish brown") |
| 80 | p.Material = Enum.Material.Glacier |
| 81 | p.MaterialVariant = "2022 Small Stud" |
| 82 | p.Anchored = true |
| 83 | p.Parent = model |
| 84 | end |
| 85 | do |
| 86 | local p = Instance.new("Part") |
| 87 | p.Name = "FootBackLeft" |
| 88 | p.Size = Vector3.new(2.5, 0.5, 2.5) |
| 89 | p.CFrame = CFrame.new(-3, 0.17, 3) |
| 90 | p.BrickColor = BrickColor.new("Reddish brown") |
| 91 | p.Material = Enum.Material.Glacier |
| 92 | p.MaterialVariant = "2022 Small Stud" |
| 93 | p.Anchored = true |
| 94 | p.Parent = model |
| 95 | end |
| 96 | do |
| 97 | local p = Instance.new("Part") |
| 98 | p.Name = "FootBackRight" |
| 99 | p.Size = Vector3.new(2.5, 0.5, 2.5) |
| 100 | p.CFrame = CFrame.new(3, 0.17, 3) |
| 101 | p.BrickColor = BrickColor.new("Reddish brown") |
| 102 | p.Material = Enum.Material.Glacier |
| 103 | p.MaterialVariant = "2022 Small Stud" |
| 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 = "EyeWhiteL" |
| 111 | p.Size = Vector3.new(0.2, 3.5, 3.5) |
| 112 | p.CFrame = CFrame.new(-2.5, 6, -5.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 113 | p.BrickColor = BrickColor.new("Institutional white") |
| 114 | p.Material = Enum.Material.Glacier |
| 115 | p.MaterialVariant = "2022 Stud" |
| 116 | p.Anchored = true |
| 117 | p.Parent = model |
| 118 | end |
| 119 | do |
| 120 | local p = Instance.new("Part") |
| 121 | p.Shape = Enum.PartType.Cylinder |
| 122 | p.Name = "EyePupilL" |
| 123 | p.Size = Vector3.new(0.2, 2.2, 2.2) |
| 124 | p.CFrame = CFrame.new(-2.5, 6, -5.15) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 125 | p.BrickColor = BrickColor.new("Really black") |
| 126 | p.Material = Enum.Material.Glacier |
| 127 | p.MaterialVariant = "2022 Universal" |
| 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 = "EyeWhiteR" |
| 135 | p.Size = Vector3.new(0.2, 3.5, 3.5) |
| 136 | p.CFrame = CFrame.new(2.5, 6, -5.05) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 137 | p.BrickColor = BrickColor.new("Institutional white") |
| 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 = "EyePupilR" |
| 147 | p.Size = Vector3.new(0.2, 2.2, 2.2) |
| 148 | p.CFrame = CFrame.new(2.5, 6, -5.15) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 149 | p.BrickColor = BrickColor.new("Really black") |
| 150 | p.Material = Enum.Material.Glacier |
| 151 | p.MaterialVariant = "2022 Universal" |
| 152 | p.Anchored = true |
| 153 | p.Parent = model |
| 154 | end |
| 155 | do |
| 156 | local p = Instance.new("Part") |
| 157 | p.Name = "Nose" |
| 158 | p.Size = Vector3.new(1.6, 0.8, 0.3) |
| 159 | p.CFrame = CFrame.new(0, 4.2, -5.18) |
| 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 = "TongueBase" |
| 169 | p.Size = Vector3.new(1.2, 1, 0.25) |
| 170 | p.CFrame = CFrame.new(1.2, 3.2, -5.15) |
| 171 | p.BrickColor = BrickColor.new("Pink") |
| 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.Name = "FreckleL1" |
| 180 | p.Size = Vector3.new(0.4, 0.4, 0.2) |
| 181 | p.CFrame = CFrame.new(-3.8, 3.8, -5.05) |
| 182 | p.BrickColor = BrickColor.new("Really black") |
| 183 | p.Material = Enum.Material.Glacier |
| 184 | p.MaterialVariant = "2022 Universal" |
| 185 | p.Anchored = true |
| 186 | p.Parent = model |
| 187 | end |
| 188 | do |
| 189 | local p = Instance.new("Part") |
| 190 | p.Name = "FreckleL2" |
| 191 | p.Size = Vector3.new(0.4, 0.4, 0.2) |
| 192 | p.CFrame = CFrame.new(-4.5, 3.4, -5.05) |
| 193 | p.BrickColor = BrickColor.new("Really black") |
| 194 | p.Material = Enum.Material.Glacier |
| 195 | p.MaterialVariant = "2022 Universal" |
| 196 | p.Anchored = true |
| 197 | p.Parent = model |
| 198 | end |
| 199 | do |
| 200 | local p = Instance.new("Part") |
| 201 | p.Name = "FreckleL3" |
| 202 | p.Size = Vector3.new(0.4, 0.4, 0.2) |
| 203 | p.CFrame = CFrame.new(-3.2, 3.2, -5.05) |
| 204 | p.BrickColor = BrickColor.new("Really black") |
| 205 | p.Material = Enum.Material.Glacier |
| 206 | p.MaterialVariant = "2022 Universal" |
| 207 | p.Anchored = true |
| 208 | p.Parent = model |
| 209 | end |
| 210 | do |
| 211 | local p = Instance.new("Part") |
| 212 | p.Name = "FreckleR1" |
| 213 | p.Size = Vector3.new(0.4, 0.4, 0.2) |
| 214 | p.CFrame = CFrame.new(3.8, 3.8, -5.05) |
| 215 | p.BrickColor = BrickColor.new("Really black") |
| 216 | p.Material = Enum.Material.Glacier |
| 217 | p.MaterialVariant = "2022 Universal" |
| 218 | p.Anchored = true |
| 219 | p.Parent = model |
| 220 | end |
| 221 | do |
| 222 | local p = Instance.new("Part") |
| 223 | p.Name = "FreckleR2" |
| 224 | p.Size = Vector3.new(0.4, 0.4, 0.2) |
| 225 | p.CFrame = CFrame.new(4.5, 3.4, -5.05) |
| 226 | p.BrickColor = BrickColor.new("Really black") |
| 227 | p.Material = Enum.Material.Glacier |
| 228 | p.MaterialVariant = "2022 Universal" |
| 229 | p.Anchored = true |
| 230 | p.Parent = model |
| 231 | end |
| 232 | do |
| 233 | local p = Instance.new("Part") |
| 234 | p.Name = "FreckleR3" |
| 235 | p.Size = Vector3.new(0.4, 0.4, 0.2) |
| 236 | p.CFrame = CFrame.new(3.2, 3.2, -5.05) |
| 237 | p.BrickColor = BrickColor.new("Really black") |
| 238 | p.Material = Enum.Material.Glacier |
| 239 | p.MaterialVariant = "2022 Universal" |
| 240 | p.Anchored = true |
| 241 | p.Parent = model |
| 242 | end |
| 243 | do |
| 244 | local rightV = Vector3.new(1,0,0).Unit |
| 245 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 246 | local normalV = upV:Cross(rightV) |
| 247 | local pos = Vector3.new(0, 4.2, -5.14) |
| 248 | local cyl = Instance.new("Part") |
| 249 | cyl.Shape = Enum.PartType.Cylinder |
| 250 | cyl.Size = Vector3.new(0.2, 3.4, 3.4) |
| 251 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 252 | cyl.BrickColor = BrickColor.new("Really black") |
| 253 | cyl.Material = Enum.Material.Glacier |
| 254 | cyl.MaterialVariant = "2022 Universal" |
| 255 | cyl.Anchored = true; cyl.Parent = workspace |
| 256 | local cuts = {} |
| 257 | local hole = Instance.new("Part") |
| 258 | hole.Shape = Enum.PartType.Cylinder |
| 259 | hole.Size = Vector3.new(0.4, 2.8, 2.8) |
| 260 | hole.CFrame = cyl.CFrame |
| 261 | hole.BrickColor = BrickColor.new("Really black") |
| 262 | hole.Material = Enum.Material.Glacier |
| 263 | hole.MaterialVariant = "2022 Universal" |
| 264 | hole.Anchored = true; hole.Parent = workspace |
| 265 | table.insert(cuts, hole) |
| 266 | local angBoxes = {} |
| 267 | do |
| 268 | local edgeDir = -1*rightV + 0*upV |
| 269 | local edgePerp = 0*rightV + -1*upV |
| 270 | local cut = Instance.new("Part") |
| 271 | cut.Size = Vector3.new(6.8, 0.4, 6.8) |
| 272 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.4 * edgePerp, edgeDir, normalV) |
| 273 | cut.BrickColor = BrickColor.new("Really black") |
| 274 | cut.Material = Enum.Material.Glacier |
| 275 | cut.MaterialVariant = "2022 Universal" |
| 276 | cut.Anchored = true; cut.Parent = workspace |
| 277 | table.insert(angBoxes, cut) |
| 278 | end |
| 279 | do |
| 280 | local edgeDir = 1*rightV + 0*upV |
| 281 | local edgePerp = 0*rightV + 1*upV |
| 282 | local cut = Instance.new("Part") |
| 283 | cut.Size = Vector3.new(6.8, 0.4, 6.8) |
| 284 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.4 * edgePerp, edgeDir, normalV) |
| 285 | cut.BrickColor = BrickColor.new("Really black") |
| 286 | cut.Material = Enum.Material.Glacier |
| 287 | cut.MaterialVariant = "2022 Universal" |
| 288 | cut.Anchored = true; cut.Parent = workspace |
| 289 | table.insert(angBoxes, cut) |
| 290 | end |
| 291 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 292 | if #cuts > 0 then |
| 293 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 294 | for _, c in ipairs(cuts) do c:Destroy() end |
| 295 | if ok and result then |
| 296 | cyl:Destroy() |
| 297 | result.Name = "MouthSmile"; result.Anchored = true; result.Parent = model |
| 298 | else |
| 299 | cyl.Name = "MouthSmile"; cyl.Parent = model |
| 300 | end |
| 301 | else |
| 302 | cyl.Name = "MouthSmile"; cyl.Parent = model |
| 303 | end |
| 304 | end |
| 305 | do |
| 306 | local rightV = Vector3.new(1,0,0).Unit |
| 307 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 308 | local normalV = upV:Cross(rightV) |
| 309 | local pos = Vector3.new(1.2, 2.66, -5.19) |
| 310 | local cyl = Instance.new("Part") |
| 311 | cyl.Shape = Enum.PartType.Cylinder |
| 312 | cyl.Size = Vector3.new(0.25, 1.2, 1.2) |
| 313 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 314 | cyl.BrickColor = BrickColor.new("Pink") |
| 315 | cyl.Material = Enum.Material.Glacier |
| 316 | cyl.MaterialVariant = "2022 Stud" |
| 317 | cyl.Anchored = true; cyl.Parent = workspace |
| 318 | local cuts = {} |
| 319 | local angBoxes = {} |
| 320 | do |
| 321 | local edgeDir = -1*rightV + 0*upV |
| 322 | local edgePerp = 0*rightV + -1*upV |
| 323 | local cut = Instance.new("Part") |
| 324 | cut.Size = Vector3.new(2.4, 0.45, 2.4) |
| 325 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.2 * edgePerp, edgeDir, normalV) |
| 326 | cut.BrickColor = BrickColor.new("Pink") |
| 327 | cut.Material = Enum.Material.Glacier |
| 328 | cut.MaterialVariant = "2022 Stud" |
| 329 | cut.Anchored = true; cut.Parent = workspace |
| 330 | table.insert(angBoxes, cut) |
| 331 | end |
| 332 | do |
| 333 | local edgeDir = 1*rightV + 0*upV |
| 334 | local edgePerp = 0*rightV + 1*upV |
| 335 | local cut = Instance.new("Part") |
| 336 | cut.Size = Vector3.new(2.4, 0.45, 2.4) |
| 337 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.2 * edgePerp, edgeDir, normalV) |
| 338 | cut.BrickColor = BrickColor.new("Pink") |
| 339 | cut.Material = Enum.Material.Glacier |
| 340 | cut.MaterialVariant = "2022 Stud" |
| 341 | cut.Anchored = true; cut.Parent = workspace |
| 342 | table.insert(angBoxes, cut) |
| 343 | end |
| 344 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 345 | if #cuts > 0 then |
| 346 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 347 | for _, c in ipairs(cuts) do c:Destroy() end |
| 348 | if ok and result then |
| 349 | cyl:Destroy() |
| 350 | result.Name = "TongueTip"; result.Anchored = true; result.Parent = model |
| 351 | else |
| 352 | cyl.Name = "TongueTip"; cyl.Parent = model |
| 353 | end |
| 354 | else |
| 355 | cyl.Name = "TongueTip"; cyl.Parent = model |
| 356 | end |
| 357 | end |
| 358 | model.PrimaryPart = model:FindFirstChild("Body") |
| 359 | print("BlockyDogPet built: " .. #model:GetChildren() .. " parts") |
Loading comments...