Loading model...
by arman cool · 5/7/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: FruitBasket |
| 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 = "FruitBasket" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright green"] = "2022 Stud", |
| 25 | ["Bright red"] = "2022 Stud", |
| 26 | ["Bright yellow"] = "2022 Big Stud", |
| 27 | ["Dark green"] = "2022 Stud", |
| 28 | ["Deep orange"] = "2022 Stud", |
| 29 | ["Really black"] = "2022 Universal", |
| 30 | ["Reddish brown"] = "2022 Weld", |
| 31 | ["Royal purple"] = "2022 Stud", |
| 32 | ["White"] = "2022 Stud", |
| 33 | } |
| 34 | do |
| 35 | local p = Instance.new("Part") |
| 36 | p.Name = "BasketBase" |
| 37 | p.Size = Vector3.new(6, 0.4, 6) |
| 38 | p.CFrame = CFrame.new(0, 0.2, 0) |
| 39 | p.BrickColor = BrickColor.new("Reddish brown") |
| 40 | p.Material = Enum.Material.Glacier |
| 41 | p.MaterialVariant = "2022 Weld" |
| 42 | p.Anchored = true |
| 43 | p.Parent = model |
| 44 | end |
| 45 | do |
| 46 | local p = Instance.new("Part") |
| 47 | p.Name = "BasketStrut_0" |
| 48 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 49 | p.CFrame = CFrame.new(3.4, 0.95, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(42.5104)) |
| 50 | p.BrickColor = BrickColor.new("Reddish brown") |
| 51 | p.Material = Enum.Material.Glacier |
| 52 | p.MaterialVariant = "2022 Weld" |
| 53 | p.Anchored = true |
| 54 | p.Parent = model |
| 55 | end |
| 56 | do |
| 57 | local p = Instance.new("Part") |
| 58 | p.Name = "BasketStrut_1" |
| 59 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 60 | p.CFrame = CFrame.new(2.40416, 0.95, 2.40416) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(42.5104)) |
| 61 | p.BrickColor = BrickColor.new("Reddish brown") |
| 62 | p.Material = Enum.Material.Glacier |
| 63 | p.MaterialVariant = "2022 Weld" |
| 64 | p.Anchored = true |
| 65 | p.Parent = model |
| 66 | end |
| 67 | do |
| 68 | local p = Instance.new("Part") |
| 69 | p.Name = "BasketStrut_2" |
| 70 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 71 | p.CFrame = CFrame.new(0, 0.95, 3.4) * CFrame.Angles(math.rad(-42.5104), math.rad(-90), math.rad(0)) |
| 72 | p.BrickColor = BrickColor.new("Reddish brown") |
| 73 | p.Material = Enum.Material.Glacier |
| 74 | p.MaterialVariant = "2022 Weld" |
| 75 | p.Anchored = true |
| 76 | p.Parent = model |
| 77 | end |
| 78 | do |
| 79 | local p = Instance.new("Part") |
| 80 | p.Name = "BasketStrut_3" |
| 81 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 82 | p.CFrame = CFrame.new(-2.40416, 0.95, 2.40416) * CFrame.Angles(math.rad(-180), math.rad(-45), math.rad(-137.49)) |
| 83 | p.BrickColor = BrickColor.new("Reddish brown") |
| 84 | p.Material = Enum.Material.Glacier |
| 85 | p.MaterialVariant = "2022 Weld" |
| 86 | p.Anchored = true |
| 87 | p.Parent = model |
| 88 | end |
| 89 | do |
| 90 | local p = Instance.new("Part") |
| 91 | p.Name = "BasketStrut_4" |
| 92 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 93 | p.CFrame = CFrame.new(-3.4, 0.95, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(-137.49)) |
| 94 | p.BrickColor = BrickColor.new("Reddish brown") |
| 95 | p.Material = Enum.Material.Glacier |
| 96 | p.MaterialVariant = "2022 Weld" |
| 97 | p.Anchored = true |
| 98 | p.Parent = model |
| 99 | end |
| 100 | do |
| 101 | local p = Instance.new("Part") |
| 102 | p.Name = "BasketStrut_5" |
| 103 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 104 | p.CFrame = CFrame.new(-2.40416, 0.95, -2.40416) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(-137.49)) |
| 105 | p.BrickColor = BrickColor.new("Reddish brown") |
| 106 | p.Material = Enum.Material.Glacier |
| 107 | p.MaterialVariant = "2022 Weld" |
| 108 | p.Anchored = true |
| 109 | p.Parent = model |
| 110 | end |
| 111 | do |
| 112 | local p = Instance.new("Part") |
| 113 | p.Name = "BasketStrut_6" |
| 114 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 115 | p.CFrame = CFrame.new(0, 0.95, -3.4) * CFrame.Angles(math.rad(42.5104), math.rad(90), math.rad(0)) |
| 116 | p.BrickColor = BrickColor.new("Reddish brown") |
| 117 | p.Material = Enum.Material.Glacier |
| 118 | p.MaterialVariant = "2022 Weld" |
| 119 | p.Anchored = true |
| 120 | p.Parent = model |
| 121 | end |
| 122 | do |
| 123 | local p = Instance.new("Part") |
| 124 | p.Name = "BasketStrut_7" |
| 125 | p.Size = Vector3.new(1.62788, 0.3, 0.3) |
| 126 | p.CFrame = CFrame.new(2.40416, 0.95, -2.40416) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(42.5104)) |
| 127 | p.BrickColor = BrickColor.new("Reddish brown") |
| 128 | p.Material = Enum.Material.Glacier |
| 129 | p.MaterialVariant = "2022 Weld" |
| 130 | p.Anchored = true |
| 131 | p.Parent = model |
| 132 | end |
| 133 | do |
| 134 | local p = Instance.new("Part") |
| 135 | p.Name = "MelonSeed_0" |
| 136 | p.Size = Vector3.new(0.15, 0.15, 0.1) |
| 137 | p.CFrame = CFrame.new(-2.53923, 0.4, -1) |
| 138 | p.BrickColor = BrickColor.new("Really black") |
| 139 | p.Material = Enum.Material.Glacier |
| 140 | p.MaterialVariant = "2022 Universal" |
| 141 | p.Anchored = true |
| 142 | p.Parent = model |
| 143 | end |
| 144 | do |
| 145 | local p = Instance.new("Part") |
| 146 | p.Name = "MelonSeed_1" |
| 147 | p.Size = Vector3.new(0.15, 0.15, 0.1) |
| 148 | p.CFrame = CFrame.new(-2.1, -0.03923, -1) |
| 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 = "MelonSeed_2" |
| 158 | p.Size = Vector3.new(0.15, 0.15, 0.1) |
| 159 | p.CFrame = CFrame.new(-1.5, -0.2, -1) |
| 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 = "MelonSeed_3" |
| 169 | p.Size = Vector3.new(0.15, 0.15, 0.1) |
| 170 | p.CFrame = CFrame.new(-0.9, -0.03923, -1) |
| 171 | p.BrickColor = BrickColor.new("Really black") |
| 172 | p.Material = Enum.Material.Glacier |
| 173 | p.MaterialVariant = "2022 Universal" |
| 174 | p.Anchored = true |
| 175 | p.Parent = model |
| 176 | end |
| 177 | do |
| 178 | local p = Instance.new("Part") |
| 179 | p.Name = "MelonSeed_4" |
| 180 | p.Size = Vector3.new(0.15, 0.15, 0.1) |
| 181 | p.CFrame = CFrame.new(-0.46077, 0.4, -1) |
| 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.Shape = Enum.PartType.Cylinder |
| 191 | p.Name = "PineappleBody" |
| 192 | p.Size = Vector3.new(2.2, 1.8, 1.8) |
| 193 | p.CFrame = CFrame.new(1.5, 1.54, -1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 194 | p.BrickColor = BrickColor.new("Deep orange") |
| 195 | p.Material = Enum.Material.Glacier |
| 196 | p.MaterialVariant = "2022 Stud" |
| 197 | p.Anchored = true |
| 198 | p.Parent = model |
| 199 | end |
| 200 | do |
| 201 | local p = Instance.new("Part") |
| 202 | p.Name = "PineLeaf_0" |
| 203 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 204 | p.CFrame = CFrame.new(2, 3, -1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) |
| 205 | p.BrickColor = BrickColor.new("Bright green") |
| 206 | p.Material = Enum.Material.Glacier |
| 207 | p.MaterialVariant = "2022 Stud" |
| 208 | p.Anchored = true |
| 209 | p.Parent = model |
| 210 | end |
| 211 | do |
| 212 | local p = Instance.new("Part") |
| 213 | p.Name = "PineLeaf_1" |
| 214 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 215 | p.CFrame = CFrame.new(1.75, 3, -0.566987) * CFrame.Angles(math.rad(20), math.rad(60), math.rad(0)) |
| 216 | p.BrickColor = BrickColor.new("Bright green") |
| 217 | p.Material = Enum.Material.Glacier |
| 218 | p.MaterialVariant = "2022 Stud" |
| 219 | p.Anchored = true |
| 220 | p.Parent = model |
| 221 | end |
| 222 | do |
| 223 | local p = Instance.new("Part") |
| 224 | p.Name = "PineLeaf_2" |
| 225 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 226 | p.CFrame = CFrame.new(1.25, 3, -0.566987) * CFrame.Angles(math.rad(20), math.rad(120), math.rad(0)) |
| 227 | p.BrickColor = BrickColor.new("Bright green") |
| 228 | p.Material = Enum.Material.Glacier |
| 229 | p.MaterialVariant = "2022 Stud" |
| 230 | p.Anchored = true |
| 231 | p.Parent = model |
| 232 | end |
| 233 | do |
| 234 | local p = Instance.new("Part") |
| 235 | p.Name = "PineLeaf_3" |
| 236 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 237 | p.CFrame = CFrame.new(1, 3, -1) * CFrame.Angles(math.rad(20), math.rad(180), math.rad(0)) |
| 238 | p.BrickColor = BrickColor.new("Bright green") |
| 239 | p.Material = Enum.Material.Glacier |
| 240 | p.MaterialVariant = "2022 Stud" |
| 241 | p.Anchored = true |
| 242 | p.Parent = model |
| 243 | end |
| 244 | do |
| 245 | local p = Instance.new("Part") |
| 246 | p.Name = "PineLeaf_4" |
| 247 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 248 | p.CFrame = CFrame.new(1.25, 3, -1.43301) * CFrame.Angles(math.rad(20), math.rad(240), math.rad(0)) |
| 249 | p.BrickColor = BrickColor.new("Bright green") |
| 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.Name = "PineLeaf_5" |
| 258 | p.Size = Vector3.new(0.4, 1.2, 0.4) |
| 259 | p.CFrame = CFrame.new(1.75, 3, -1.43301) * CFrame.Angles(math.rad(20), math.rad(300), math.rad(0)) |
| 260 | p.BrickColor = BrickColor.new("Bright green") |
| 261 | p.Material = Enum.Material.Glacier |
| 262 | p.MaterialVariant = "2022 Stud" |
| 263 | p.Anchored = true |
| 264 | p.Parent = model |
| 265 | end |
| 266 | do |
| 267 | local p = Instance.new("Part") |
| 268 | p.Shape = Enum.PartType.Cylinder |
| 269 | p.Name = "Banana1_A" |
| 270 | p.Size = Vector3.new(0.824621, 0.6, 0.6) |
| 271 | p.CFrame = CFrame.new(0.4, 1.1, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(14.0362)) |
| 272 | p.BrickColor = BrickColor.new("Bright yellow") |
| 273 | p.Material = Enum.Material.Glacier |
| 274 | p.MaterialVariant = "2022 Big Stud" |
| 275 | p.Anchored = true |
| 276 | p.Parent = model |
| 277 | end |
| 278 | do |
| 279 | local p = Instance.new("Part") |
| 280 | p.Shape = Enum.PartType.Cylinder |
| 281 | p.Name = "Banana1_B" |
| 282 | p.Size = Vector3.new(1.06302, 0.5, 0.5) |
| 283 | p.CFrame = CFrame.new(1.15, 1.6, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(48.8141)) |
| 284 | p.BrickColor = BrickColor.new("Bright yellow") |
| 285 | p.Material = Enum.Material.Glacier |
| 286 | p.MaterialVariant = "2022 Big Stud" |
| 287 | p.Anchored = true |
| 288 | p.Parent = model |
| 289 | end |
| 290 | do |
| 291 | local p = Instance.new("Part") |
| 292 | p.Name = "Banana1_Tip" |
| 293 | p.Size = Vector3.new(0.2, 0.2, 0.2) |
| 294 | p.CFrame = CFrame.new(1.5, 2, 1.5) |
| 295 | p.BrickColor = BrickColor.new("Reddish brown") |
| 296 | p.Material = Enum.Material.Glacier |
| 297 | p.MaterialVariant = "2022 Weld" |
| 298 | p.Anchored = true |
| 299 | p.Parent = model |
| 300 | end |
| 301 | do |
| 302 | local p = Instance.new("Part") |
| 303 | p.Name = "AppleStem" |
| 304 | p.Size = Vector3.new(0.1, 0.4, 0.1) |
| 305 | p.CFrame = CFrame.new(-1.5, 2.1, 1.5) |
| 306 | p.BrickColor = BrickColor.new("Reddish brown") |
| 307 | p.Material = Enum.Material.Glacier |
| 308 | p.MaterialVariant = "2022 Weld" |
| 309 | p.Anchored = true |
| 310 | p.Parent = model |
| 311 | end |
| 312 | do |
| 313 | local p = Instance.new("Part") |
| 314 | p.Name = "AppleLeaf" |
| 315 | p.Size = Vector3.new(0.4, 0.1, 0.3) |
| 316 | p.CFrame = CFrame.new(-1.3, 2.2, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)) |
| 317 | p.BrickColor = BrickColor.new("Bright green") |
| 318 | p.Material = Enum.Material.Glacier |
| 319 | p.MaterialVariant = "2022 Stud" |
| 320 | p.Anchored = true |
| 321 | p.Parent = model |
| 322 | end |
| 323 | do |
| 324 | local p = Instance.new("Part") |
| 325 | p.Shape = Enum.PartType.Ball |
| 326 | p.Name = "Grape_0_0" |
| 327 | p.Size = Vector3.new(0.48, 0.48, 0.48) |
| 328 | p.CFrame = CFrame.new(1, 0.8, 0.5) |
| 329 | p.BrickColor = BrickColor.new("Royal purple") |
| 330 | p.Material = Enum.Material.Glacier |
| 331 | p.MaterialVariant = "2022 Stud" |
| 332 | p.Anchored = true |
| 333 | p.Parent = model |
| 334 | end |
| 335 | do |
| 336 | local p = Instance.new("Part") |
| 337 | p.Shape = Enum.PartType.Ball |
| 338 | p.Name = "Grape_0_1" |
| 339 | p.Size = Vector3.new(0.48, 0.48, 0.48) |
| 340 | p.CFrame = CFrame.new(1, 1.3, 0.5) |
| 341 | p.BrickColor = BrickColor.new("Royal purple") |
| 342 | p.Material = Enum.Material.Glacier |
| 343 | p.MaterialVariant = "2022 Stud" |
| 344 | p.Anchored = true |
| 345 | p.Parent = model |
| 346 | end |
| 347 | do |
| 348 | local p = Instance.new("Part") |
| 349 | p.Shape = Enum.PartType.Ball |
| 350 | p.Name = "Grape_0_2" |
| 351 | p.Size = Vector3.new(0.56, 0.56, 0.56) |
| 352 | p.CFrame = CFrame.new(1, 1.8, 0.5) |
| 353 | p.BrickColor = BrickColor.new("Royal purple") |
| 354 | p.Material = Enum.Material.Glacier |
| 355 | p.MaterialVariant = "2022 Stud" |
| 356 | p.Anchored = true |
| 357 | p.Parent = model |
| 358 | end |
| 359 | do |
| 360 | local p = Instance.new("Part") |
| 361 | p.Shape = Enum.PartType.Ball |
| 362 | p.Name = "Grape_1_0" |
| 363 | p.Size = Vector3.new(0.52, 0.52, 0.52) |
| 364 | p.CFrame = CFrame.new(1.5, 0.8, 0.5) |
| 365 | p.BrickColor = BrickColor.new("Royal purple") |
| 366 | p.Material = Enum.Material.Glacier |
| 367 | p.MaterialVariant = "2022 Stud" |
| 368 | p.Anchored = true |
| 369 | p.Parent = model |
| 370 | end |
| 371 | do |
| 372 | local p = Instance.new("Part") |
| 373 | p.Shape = Enum.PartType.Ball |
| 374 | p.Name = "Grape_1_1" |
| 375 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 376 | p.CFrame = CFrame.new(1.5, 1.3, 0.5) |
| 377 | p.BrickColor = BrickColor.new("Royal purple") |
| 378 | p.Material = Enum.Material.Glacier |
| 379 | p.MaterialVariant = "2022 Stud" |
| 380 | p.Anchored = true |
| 381 | p.Parent = model |
| 382 | end |
| 383 | do |
| 384 | local p = Instance.new("Part") |
| 385 | p.Shape = Enum.PartType.Ball |
| 386 | p.Name = "Grape_2_0" |
| 387 | p.Size = Vector3.new(0.56, 0.56, 0.56) |
| 388 | p.CFrame = CFrame.new(2, 0.8, 0.5) |
| 389 | p.BrickColor = BrickColor.new("Royal purple") |
| 390 | p.Material = Enum.Material.Glacier |
| 391 | p.MaterialVariant = "2022 Stud" |
| 392 | p.Anchored = true |
| 393 | p.Parent = model |
| 394 | end |
| 395 | do |
| 396 | local p = Instance.new("Part") |
| 397 | p.Name = "GrapeStem" |
| 398 | p.Size = Vector3.new(0.1, 0.8, 0.1) |
| 399 | p.CFrame = CFrame.new(1.2, 2, 0.5) |
| 400 | p.BrickColor = BrickColor.new("Reddish brown") |
| 401 | p.Material = Enum.Material.Glacier |
| 402 | p.MaterialVariant = "2022 Weld" |
| 403 | p.Anchored = true |
| 404 | p.Parent = model |
| 405 | end |
| 406 | do |
| 407 | local p = Instance.new("Part") |
| 408 | p.Shape = Enum.PartType.Cylinder |
| 409 | p.Name = "KiwiSkin" |
| 410 | p.Size = Vector3.new(0.4, 1.4, 1.4) |
| 411 | p.CFrame = CFrame.new(-0.5, 0.7, -2) |
| 412 | p.BrickColor = BrickColor.new("Reddish brown") |
| 413 | p.Material = Enum.Material.Glacier |
| 414 | p.MaterialVariant = "2022 Weld" |
| 415 | p.Anchored = true |
| 416 | p.Parent = model |
| 417 | end |
| 418 | do |
| 419 | local p = Instance.new("Part") |
| 420 | p.Shape = Enum.PartType.Cylinder |
| 421 | p.Name = "KiwiFlesh" |
| 422 | p.Size = Vector3.new(0.1, 1.2, 1.2) |
| 423 | p.CFrame = CFrame.new(-0.3, 0.7, -2) |
| 424 | p.BrickColor = BrickColor.new("Bright green") |
| 425 | p.Material = Enum.Material.Glacier |
| 426 | p.MaterialVariant = "2022 Stud" |
| 427 | p.Anchored = true |
| 428 | p.Parent = model |
| 429 | end |
| 430 | do |
| 431 | local p = Instance.new("Part") |
| 432 | p.Shape = Enum.PartType.Cylinder |
| 433 | p.Name = "KiwiCore" |
| 434 | p.Size = Vector3.new(0.12, 0.4, 0.4) |
| 435 | p.CFrame = CFrame.new(-0.21, 0.7, -2) |
| 436 | p.BrickColor = BrickColor.new("White") |
| 437 | p.Material = Enum.Material.Glacier |
| 438 | p.MaterialVariant = "2022 Stud" |
| 439 | p.Anchored = true |
| 440 | p.Parent = model |
| 441 | end |
| 442 | do |
| 443 | local p = Instance.new("Part") |
| 444 | p.Name = "Strawb1" |
| 445 | p.Size = Vector3.new(0.8, 0.4, 0.8) |
| 446 | p.CFrame = CFrame.new(0, 0.76, 0) |
| 447 | p.BrickColor = BrickColor.new("Bright red") |
| 448 | p.Material = Enum.Material.Glacier |
| 449 | p.MaterialVariant = "2022 Stud" |
| 450 | p.Anchored = true |
| 451 | p.Parent = model |
| 452 | end |
| 453 | do |
| 454 | local p = Instance.new("Part") |
| 455 | p.Name = "Strawb2" |
| 456 | p.Size = Vector3.new(1, 0.4, 1) |
| 457 | p.CFrame = CFrame.new(0, 1.2, 0) |
| 458 | p.BrickColor = BrickColor.new("Bright red") |
| 459 | p.Material = Enum.Material.Glacier |
| 460 | p.MaterialVariant = "2022 Stud" |
| 461 | p.Anchored = true |
| 462 | p.Parent = model |
| 463 | end |
| 464 | do |
| 465 | local p = Instance.new("Part") |
| 466 | p.Name = "Strawb3" |
| 467 | p.Size = Vector3.new(0.7, 0.2, 0.7) |
| 468 | p.CFrame = CFrame.new(0, 1.54, 0) |
| 469 | p.BrickColor = BrickColor.new("Bright red") |
| 470 | p.Material = Enum.Material.Glacier |
| 471 | p.MaterialVariant = "2022 Stud" |
| 472 | p.Anchored = true |
| 473 | p.Parent = model |
| 474 | end |
| 475 | do |
| 476 | local p = Instance.new("Part") |
| 477 | p.Name = "StrawbSeed" |
| 478 | p.Size = Vector3.new(0.1, 0.1, 0.1) |
| 479 | p.CFrame = CFrame.new(0.5, 1.2, 0) |
| 480 | p.BrickColor = BrickColor.new("Deep orange") |
| 481 | p.Material = Enum.Material.Glacier |
| 482 | p.MaterialVariant = "2022 Stud" |
| 483 | p.Anchored = true |
| 484 | p.Parent = model |
| 485 | end |
| 486 | do |
| 487 | local p = Instance.new("Part") |
| 488 | p.Name = "StrawbLeaf" |
| 489 | p.Size = Vector3.new(0.8, 0.1, 0.8) |
| 490 | p.CFrame = CFrame.new(0, 1.64, 0) |
| 491 | p.BrickColor = BrickColor.new("Bright green") |
| 492 | p.Material = Enum.Material.Glacier |
| 493 | p.MaterialVariant = "2022 Stud" |
| 494 | p.Anchored = true |
| 495 | p.Parent = model |
| 496 | end |
| 497 | do |
| 498 | local rightV = Vector3.new(1,0,0).Unit |
| 499 | local upV = (Vector3.new(0,0,-1) - Vector3.new(0,0,-1):Dot(rightV)*rightV).Unit |
| 500 | local normalV = upV:Cross(rightV) |
| 501 | local pos = Vector3.new(0, 1.5, 0) |
| 502 | local cyl = Instance.new("Part") |
| 503 | cyl.Shape = Enum.PartType.Cylinder |
| 504 | cyl.Size = Vector3.new(0.5, 8.4, 8.4) |
| 505 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 506 | cyl.BrickColor = BrickColor.new("Reddish brown") |
| 507 | cyl.Material = Enum.Material.Glacier |
| 508 | cyl.MaterialVariant = "2022 Weld" |
| 509 | cyl.Anchored = true; cyl.Parent = workspace |
| 510 | local cuts = {} |
| 511 | local hole = Instance.new("Part") |
| 512 | hole.Shape = Enum.PartType.Cylinder |
| 513 | hole.Size = Vector3.new(0.7, 7.6, 7.6) |
| 514 | hole.CFrame = cyl.CFrame |
| 515 | hole.BrickColor = BrickColor.new("Reddish brown") |
| 516 | hole.Material = Enum.Material.Glacier |
| 517 | hole.MaterialVariant = "2022 Weld" |
| 518 | hole.Anchored = true; hole.Parent = workspace |
| 519 | table.insert(cuts, hole) |
| 520 | if #cuts > 0 then |
| 521 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 522 | for _, c in ipairs(cuts) do c:Destroy() end |
| 523 | if ok and result then |
| 524 | cyl:Destroy() |
| 525 | result.Name = "BasketRim"; result.Anchored = true; result.Parent = model |
| 526 | else |
| 527 | cyl.Name = "BasketRim"; cyl.Parent = model |
| 528 | end |
| 529 | else |
| 530 | cyl.Name = "BasketRim"; cyl.Parent = model |
| 531 | end |
| 532 | end |
| 533 | do |
| 534 | local rightV = Vector3.new(1,0,0).Unit |
| 535 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 536 | local normalV = upV:Cross(rightV) |
| 537 | local pos = Vector3.new(-1.5, 1, -1) |
| 538 | local cyl = Instance.new("Part") |
| 539 | cyl.Shape = Enum.PartType.Cylinder |
| 540 | cyl.Size = Vector3.new(0.6, 4, 4) |
| 541 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 542 | cyl.BrickColor = BrickColor.new("Dark green") |
| 543 | cyl.Material = Enum.Material.Glacier |
| 544 | cyl.MaterialVariant = "2022 Stud" |
| 545 | cyl.Anchored = true; cyl.Parent = workspace |
| 546 | local cuts = {} |
| 547 | local hole = Instance.new("Part") |
| 548 | hole.Shape = Enum.PartType.Cylinder |
| 549 | hole.Size = Vector3.new(0.8, 3.6, 3.6) |
| 550 | hole.CFrame = cyl.CFrame |
| 551 | hole.BrickColor = BrickColor.new("Dark green") |
| 552 | hole.Material = Enum.Material.Glacier |
| 553 | hole.MaterialVariant = "2022 Stud" |
| 554 | hole.Anchored = true; hole.Parent = workspace |
| 555 | table.insert(cuts, hole) |
| 556 | local angBoxes = {} |
| 557 | do |
| 558 | local edgeDir = -1*rightV + 0*upV |
| 559 | local edgePerp = 0*rightV + -1*upV |
| 560 | local cut = Instance.new("Part") |
| 561 | cut.Size = Vector3.new(8, 0.8, 8) |
| 562 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 4 * edgePerp, edgeDir, normalV) |
| 563 | cut.BrickColor = BrickColor.new("Dark green") |
| 564 | cut.Material = Enum.Material.Glacier |
| 565 | cut.MaterialVariant = "2022 Stud" |
| 566 | cut.Anchored = true; cut.Parent = workspace |
| 567 | table.insert(angBoxes, cut) |
| 568 | end |
| 569 | do |
| 570 | local edgeDir = 1*rightV + 0*upV |
| 571 | local edgePerp = 0*rightV + 1*upV |
| 572 | local cut = Instance.new("Part") |
| 573 | cut.Size = Vector3.new(8, 0.8, 8) |
| 574 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 4 * edgePerp, edgeDir, normalV) |
| 575 | cut.BrickColor = BrickColor.new("Dark green") |
| 576 | cut.Material = Enum.Material.Glacier |
| 577 | cut.MaterialVariant = "2022 Stud" |
| 578 | cut.Anchored = true; cut.Parent = workspace |
| 579 | table.insert(angBoxes, cut) |
| 580 | end |
| 581 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 582 | if #cuts > 0 then |
| 583 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 584 | for _, c in ipairs(cuts) do c:Destroy() end |
| 585 | if ok and result then |
| 586 | cyl:Destroy() |
| 587 | result.Name = "MelonRind"; result.Anchored = true; result.Parent = model |
| 588 | else |
| 589 | cyl.Name = "MelonRind"; cyl.Parent = model |
| 590 | end |
| 591 | else |
| 592 | cyl.Name = "MelonRind"; cyl.Parent = model |
| 593 | end |
| 594 | end |
| 595 | do |
| 596 | local rightV = Vector3.new(1,0,0).Unit |
| 597 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 598 | local normalV = upV:Cross(rightV) |
| 599 | local pos = Vector3.new(-1.5, 1, -1) |
| 600 | local cyl = Instance.new("Part") |
| 601 | cyl.Shape = Enum.PartType.Cylinder |
| 602 | cyl.Size = Vector3.new(0.5, 3.6, 3.6) |
| 603 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 604 | cyl.BrickColor = BrickColor.new("Bright red") |
| 605 | cyl.Material = Enum.Material.Glacier |
| 606 | cyl.MaterialVariant = "2022 Stud" |
| 607 | cyl.Anchored = true; cyl.Parent = workspace |
| 608 | local cuts = {} |
| 609 | local angBoxes = {} |
| 610 | do |
| 611 | local edgeDir = -1*rightV + 0*upV |
| 612 | local edgePerp = 0*rightV + -1*upV |
| 613 | local cut = Instance.new("Part") |
| 614 | cut.Size = Vector3.new(7.2, 0.7, 7.2) |
| 615 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.6 * edgePerp, edgeDir, normalV) |
| 616 | cut.BrickColor = BrickColor.new("Bright red") |
| 617 | cut.Material = Enum.Material.Glacier |
| 618 | cut.MaterialVariant = "2022 Stud" |
| 619 | cut.Anchored = true; cut.Parent = workspace |
| 620 | table.insert(angBoxes, cut) |
| 621 | end |
| 622 | do |
| 623 | local edgeDir = 1*rightV + 0*upV |
| 624 | local edgePerp = 0*rightV + 1*upV |
| 625 | local cut = Instance.new("Part") |
| 626 | cut.Size = Vector3.new(7.2, 0.7, 7.2) |
| 627 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.6 * edgePerp, edgeDir, normalV) |
| 628 | cut.BrickColor = BrickColor.new("Bright red") |
| 629 | cut.Material = Enum.Material.Glacier |
| 630 | cut.MaterialVariant = "2022 Stud" |
| 631 | cut.Anchored = true; cut.Parent = workspace |
| 632 | table.insert(angBoxes, cut) |
| 633 | end |
| 634 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 635 | if #cuts > 0 then |
| 636 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 637 | for _, c in ipairs(cuts) do c:Destroy() end |
| 638 | if ok and result then |
| 639 | cyl:Destroy() |
| 640 | result.Name = "MelonFlesh"; result.Anchored = true; result.Parent = model |
| 641 | else |
| 642 | cyl.Name = "MelonFlesh"; cyl.Parent = model |
| 643 | end |
| 644 | else |
| 645 | cyl.Name = "MelonFlesh"; cyl.Parent = model |
| 646 | end |
| 647 | end |
| 648 | do |
| 649 | local upV = Vector3.new(0,1,0).Unit |
| 650 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 651 | local forwardV = rightV:Cross(upV) |
| 652 | local pos = Vector3.new(-1.5, 1.24, 1.5) |
| 653 | local ball = Instance.new("Part") |
| 654 | ball.Shape = Enum.PartType.Ball |
| 655 | ball.Size = Vector3.new(1.6, 1.6, 1.6) |
| 656 | ball.CFrame = CFrame.new(pos) |
| 657 | ball.BrickColor = BrickColor.new("Bright red") |
| 658 | ball.Material = Enum.Material.Glacier |
| 659 | ball.MaterialVariant = "2022 Stud" |
| 660 | ball.Anchored = true; ball.Parent = workspace |
| 661 | local cuts = {} |
| 662 | do |
| 663 | local h = -0.787846 |
| 664 | local cut = Instance.new("Part") |
| 665 | cut.Size = Vector3.new(3.2, 3.2, 3.2) |
| 666 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-2.387846), rightV, upV) |
| 667 | cut.BrickColor = BrickColor.new("Bright red") |
| 668 | cut.Material = Enum.Material.Glacier |
| 669 | cut.MaterialVariant = "2022 Stud" |
| 670 | cut.Anchored = true; cut.Parent = workspace |
| 671 | table.insert(cuts, cut) |
| 672 | end |
| 673 | if #cuts > 0 then |
| 674 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 675 | for _, c in ipairs(cuts) do c:Destroy() end |
| 676 | if ok and result then |
| 677 | ball:Destroy() |
| 678 | result.Name = "AppleBody"; result.Anchored = true; result.Parent = model |
| 679 | else |
| 680 | ball.Name = "AppleBody"; ball.Parent = model |
| 681 | end |
| 682 | else |
| 683 | ball.Name = "AppleBody"; ball.Parent = model |
| 684 | end |
| 685 | end |
| 686 | model.PrimaryPart = model:FindFirstChild("BasketBase") |
| 687 | print("FruitBasket built: " .. #model:GetChildren() .. " parts") |
Loading comments...