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