Loading model...
by 🔥nate · 3/20/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: Taco |
| 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 = "Taco" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["Bright yellow"] = "2022 Weld", |
| 26 | ["Earth green"] = "2022 Stud", |
| 27 | ["Reddish brown"] = "2022 Small Stud", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "ShellBottom" |
| 32 | p.Size = Vector3.new(1.6, 0.4, 11) |
| 33 | p.CFrame = CFrame.new(0, 0.16, 0) |
| 34 | p.BrickColor = BrickColor.new("Bright yellow") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Weld" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "MeatBase" |
| 43 | p.Size = Vector3.new(1.8, 1.6, 10.5) |
| 44 | p.CFrame = CFrame.new(0, 1.2, 0) |
| 45 | p.BrickColor = BrickColor.new("Reddish brown") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Small Stud" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Name = "LettuceBase" |
| 54 | p.Size = Vector3.new(2.2, 1.2, 9.5) |
| 55 | p.CFrame = CFrame.new(0, 2.8, 0) |
| 56 | p.BrickColor = BrickColor.new("Earth green") |
| 57 | p.Material = Enum.Material.Glacier |
| 58 | p.MaterialVariant = "2022 Stud" |
| 59 | p.Anchored = true |
| 60 | p.Parent = model |
| 61 | end |
| 62 | do |
| 63 | local p = Instance.new("Part") |
| 64 | p.Name = "Tomato_0" |
| 65 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 66 | p.CFrame = CFrame.new(-0.759983, 3.42002, 1.17118) * CFrame.Angles(math.rad(80.3559), math.rad(265.13), math.rad(243.612)) |
| 67 | p.BrickColor = BrickColor.new("Bright red") |
| 68 | p.Material = Enum.Material.Glacier |
| 69 | p.MaterialVariant = "2022 Stud" |
| 70 | p.Anchored = true |
| 71 | p.Parent = model |
| 72 | end |
| 73 | do |
| 74 | local p = Instance.new("Part") |
| 75 | p.Name = "Tomato_1" |
| 76 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 77 | p.CFrame = CFrame.new(-0.660898, 3.53754, 3.29431) * CFrame.Angles(math.rad(10.727), math.rad(78.7097), math.rad(181.928)) |
| 78 | p.BrickColor = BrickColor.new("Bright red") |
| 79 | p.Material = Enum.Material.Glacier |
| 80 | p.MaterialVariant = "2022 Stud" |
| 81 | p.Anchored = true |
| 82 | p.Parent = model |
| 83 | end |
| 84 | do |
| 85 | local p = Instance.new("Part") |
| 86 | p.Name = "Tomato_2" |
| 87 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 88 | p.CFrame = CFrame.new(-0.48186, 3.71991, -3.9771) * CFrame.Angles(math.rad(196.179), math.rad(79.3586), math.rad(212.136)) |
| 89 | p.BrickColor = BrickColor.new("Bright red") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Stud" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Name = "Tomato_3" |
| 98 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 99 | p.CFrame = CFrame.new(-0.789602, 3.84465, 2.59922) * CFrame.Angles(math.rad(251.33), math.rad(122.49), math.rad(55.9726)) |
| 100 | p.BrickColor = BrickColor.new("Bright red") |
| 101 | p.Material = Enum.Material.Glacier |
| 102 | p.MaterialVariant = "2022 Stud" |
| 103 | p.Anchored = true |
| 104 | p.Parent = model |
| 105 | end |
| 106 | do |
| 107 | local p = Instance.new("Part") |
| 108 | p.Name = "Tomato_4" |
| 109 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 110 | p.CFrame = CFrame.new(-0.261449, 3.2742, 3.84059) * CFrame.Angles(math.rad(34.8179), math.rad(305.098), math.rad(217.341)) |
| 111 | p.BrickColor = BrickColor.new("Bright red") |
| 112 | p.Material = Enum.Material.Glacier |
| 113 | p.MaterialVariant = "2022 Stud" |
| 114 | p.Anchored = true |
| 115 | p.Parent = model |
| 116 | end |
| 117 | do |
| 118 | local p = Instance.new("Part") |
| 119 | p.Name = "Tomato_5" |
| 120 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 121 | p.CFrame = CFrame.new(0.367571, 3.62898, 2.57988) * CFrame.Angles(math.rad(350.322), math.rad(136.272), math.rad(198.735)) |
| 122 | p.BrickColor = BrickColor.new("Bright red") |
| 123 | p.Material = Enum.Material.Glacier |
| 124 | p.MaterialVariant = "2022 Stud" |
| 125 | p.Anchored = true |
| 126 | p.Parent = model |
| 127 | end |
| 128 | do |
| 129 | local p = Instance.new("Part") |
| 130 | p.Name = "Tomato_6" |
| 131 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 132 | p.CFrame = CFrame.new(0.189632, 3.88937, 2.767) * CFrame.Angles(math.rad(207.847), math.rad(253.646), math.rad(16.4968)) |
| 133 | p.BrickColor = BrickColor.new("Bright red") |
| 134 | p.Material = Enum.Material.Glacier |
| 135 | p.MaterialVariant = "2022 Stud" |
| 136 | p.Anchored = true |
| 137 | p.Parent = model |
| 138 | end |
| 139 | do |
| 140 | local p = Instance.new("Part") |
| 141 | p.Name = "Tomato_7" |
| 142 | p.Size = Vector3.new(0.9, 0.6, 0.9) |
| 143 | p.CFrame = CFrame.new(-0.336979, 3.26383, -2.28565) * CFrame.Angles(math.rad(83.8047), math.rad(36.3605), math.rad(100.07)) |
| 144 | p.BrickColor = BrickColor.new("Bright red") |
| 145 | p.Material = Enum.Material.Glacier |
| 146 | p.MaterialVariant = "2022 Stud" |
| 147 | p.Anchored = true |
| 148 | p.Parent = model |
| 149 | end |
| 150 | do |
| 151 | local rightV = Vector3.new(0,0,1).Unit |
| 152 | local upV = (Vector3.new(-0.2,0.98,0) - Vector3.new(-0.2,0.98,0):Dot(rightV)*rightV).Unit |
| 153 | local normalV = upV:Cross(rightV) |
| 154 | local pos = Vector3.new(-0.6, 0, 0) |
| 155 | local cyl = Instance.new("Part") |
| 156 | cyl.Shape = Enum.PartType.Cylinder |
| 157 | cyl.Size = Vector3.new(0.4, 12, 12) |
| 158 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 159 | cyl.BrickColor = BrickColor.new("Bright yellow") |
| 160 | cyl.Material = Enum.Material.Glacier |
| 161 | cyl.MaterialVariant = "2022 Weld" |
| 162 | cyl.Anchored = true; cyl.Parent = workspace |
| 163 | local cuts = {} |
| 164 | local angBoxes = {} |
| 165 | do |
| 166 | local edgeDir = 1*rightV + 0*upV |
| 167 | local edgePerp = 0*rightV + 1*upV |
| 168 | local cut = Instance.new("Part") |
| 169 | cut.Size = Vector3.new(24, 0.6, 24) |
| 170 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12 * edgePerp, edgeDir, normalV) |
| 171 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 172 | cut.Material = Enum.Material.Glacier |
| 173 | cut.MaterialVariant = "2022 Weld" |
| 174 | cut.Anchored = true; cut.Parent = workspace |
| 175 | table.insert(angBoxes, cut) |
| 176 | end |
| 177 | do |
| 178 | local edgeDir = -1*rightV + 0*upV |
| 179 | local edgePerp = 0*rightV + -1*upV |
| 180 | local cut = Instance.new("Part") |
| 181 | cut.Size = Vector3.new(24, 0.6, 24) |
| 182 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12 * edgePerp, edgeDir, normalV) |
| 183 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 184 | cut.Material = Enum.Material.Glacier |
| 185 | cut.MaterialVariant = "2022 Weld" |
| 186 | cut.Anchored = true; cut.Parent = workspace |
| 187 | table.insert(angBoxes, cut) |
| 188 | end |
| 189 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 190 | if #cuts > 0 then |
| 191 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 192 | for _, c in ipairs(cuts) do c:Destroy() end |
| 193 | if ok and result then |
| 194 | cyl:Destroy() |
| 195 | result.Name = "ShellL"; result.Anchored = true; result.Parent = model |
| 196 | else |
| 197 | cyl.Name = "ShellL"; cyl.Parent = model |
| 198 | end |
| 199 | else |
| 200 | cyl.Name = "ShellL"; cyl.Parent = model |
| 201 | end |
| 202 | end |
| 203 | do |
| 204 | local rightV = Vector3.new(0,0,-1).Unit |
| 205 | local upV = (Vector3.new(0.2,0.98,0) - Vector3.new(0.2,0.98,0):Dot(rightV)*rightV).Unit |
| 206 | local normalV = upV:Cross(rightV) |
| 207 | local pos = Vector3.new(0.6, 0, 0) |
| 208 | local cyl = Instance.new("Part") |
| 209 | cyl.Shape = Enum.PartType.Cylinder |
| 210 | cyl.Size = Vector3.new(0.4, 12, 12) |
| 211 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 212 | cyl.BrickColor = BrickColor.new("Bright yellow") |
| 213 | cyl.Material = Enum.Material.Glacier |
| 214 | cyl.MaterialVariant = "2022 Weld" |
| 215 | cyl.Anchored = true; cyl.Parent = workspace |
| 216 | local cuts = {} |
| 217 | local angBoxes = {} |
| 218 | do |
| 219 | local edgeDir = 1*rightV + 0*upV |
| 220 | local edgePerp = 0*rightV + 1*upV |
| 221 | local cut = Instance.new("Part") |
| 222 | cut.Size = Vector3.new(24, 0.6, 24) |
| 223 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12 * edgePerp, edgeDir, normalV) |
| 224 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 225 | cut.Material = Enum.Material.Glacier |
| 226 | cut.MaterialVariant = "2022 Weld" |
| 227 | cut.Anchored = true; cut.Parent = workspace |
| 228 | table.insert(angBoxes, cut) |
| 229 | end |
| 230 | do |
| 231 | local edgeDir = -1*rightV + 0*upV |
| 232 | local edgePerp = 0*rightV + -1*upV |
| 233 | local cut = Instance.new("Part") |
| 234 | cut.Size = Vector3.new(24, 0.6, 24) |
| 235 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12 * edgePerp, edgeDir, normalV) |
| 236 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 237 | cut.Material = Enum.Material.Glacier |
| 238 | cut.MaterialVariant = "2022 Weld" |
| 239 | cut.Anchored = true; cut.Parent = workspace |
| 240 | table.insert(angBoxes, cut) |
| 241 | end |
| 242 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 243 | if #cuts > 0 then |
| 244 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 245 | for _, c in ipairs(cuts) do c:Destroy() end |
| 246 | if ok and result then |
| 247 | cyl:Destroy() |
| 248 | result.Name = "ShellR"; result.Anchored = true; result.Parent = model |
| 249 | else |
| 250 | cyl.Name = "ShellR"; cyl.Parent = model |
| 251 | end |
| 252 | else |
| 253 | cyl.Name = "ShellR"; cyl.Parent = model |
| 254 | end |
| 255 | end |
| 256 | print("Taco built: " .. #model:GetChildren() .. " parts") |
Loading comments...