Loading model...
by Matt Childd · 5/3/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: StrawberryElephant |
| 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 = "StrawberryElephant" |
| 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 | ["Institutional white"] = "2022 Stud", |
| 28 | ["Pink"] = "2022 Stud", |
| 29 | ["Really black"] = "2022 Universal", |
| 30 | ["White"] = "2022 Stud", |
| 31 | } |
| 32 | do |
| 33 | local p = Instance.new("Part") |
| 34 | p.Name = "BodyCore" |
| 35 | p.Size = Vector3.new(8, 8, 8) |
| 36 | p.CFrame = CFrame.new(0, 10, 0) |
| 37 | p.BrickColor = BrickColor.new("Bright red") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Stud" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Name = "BodyTop" |
| 46 | p.Size = Vector3.new(7, 2, 7) |
| 47 | p.CFrame = CFrame.new(0, 14, 0) |
| 48 | p.BrickColor = BrickColor.new("Bright red") |
| 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.Name = "BodyMid" |
| 57 | p.Size = Vector3.new(8.5, 4, 8.5) |
| 58 | p.CFrame = CFrame.new(0, 12.04, 0) |
| 59 | p.BrickColor = BrickColor.new("Bright red") |
| 60 | p.Material = Enum.Material.Glacier |
| 61 | p.MaterialVariant = "2022 Stud" |
| 62 | p.Anchored = true |
| 63 | p.Parent = model |
| 64 | end |
| 65 | do |
| 66 | local p = Instance.new("Part") |
| 67 | p.Name = "BodyBottom" |
| 68 | p.Size = Vector3.new(6, 4, 6) |
| 69 | p.CFrame = CFrame.new(0, 7, 0) |
| 70 | p.BrickColor = BrickColor.new("Bright red") |
| 71 | p.Material = Enum.Material.Glacier |
| 72 | p.MaterialVariant = "2022 Stud" |
| 73 | p.Anchored = true |
| 74 | p.Parent = model |
| 75 | end |
| 76 | do |
| 77 | local p = Instance.new("Part") |
| 78 | p.Name = "Seed_0" |
| 79 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 80 | p.CFrame = CFrame.new(3.5, 12, 3.5) |
| 81 | p.BrickColor = BrickColor.new("Bright yellow") |
| 82 | p.Material = Enum.Material.Glacier |
| 83 | p.MaterialVariant = "2022 Big Stud" |
| 84 | p.Anchored = true |
| 85 | p.Parent = model |
| 86 | end |
| 87 | do |
| 88 | local p = Instance.new("Part") |
| 89 | p.Name = "Seed_1" |
| 90 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 91 | p.CFrame = CFrame.new(-3.5, 12, 3.5) |
| 92 | p.BrickColor = BrickColor.new("Bright yellow") |
| 93 | p.Material = Enum.Material.Glacier |
| 94 | p.MaterialVariant = "2022 Big Stud" |
| 95 | p.Anchored = true |
| 96 | p.Parent = model |
| 97 | end |
| 98 | do |
| 99 | local p = Instance.new("Part") |
| 100 | p.Name = "Seed_2" |
| 101 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 102 | p.CFrame = CFrame.new(3.5, 12, -3.5) |
| 103 | p.BrickColor = BrickColor.new("Bright yellow") |
| 104 | p.Material = Enum.Material.Glacier |
| 105 | p.MaterialVariant = "2022 Big Stud" |
| 106 | p.Anchored = true |
| 107 | p.Parent = model |
| 108 | end |
| 109 | do |
| 110 | local p = Instance.new("Part") |
| 111 | p.Name = "Seed_3" |
| 112 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 113 | p.CFrame = CFrame.new(-3.5, 12, -3.5) |
| 114 | p.BrickColor = BrickColor.new("Bright yellow") |
| 115 | p.Material = Enum.Material.Glacier |
| 116 | p.MaterialVariant = "2022 Big Stud" |
| 117 | p.Anchored = true |
| 118 | p.Parent = model |
| 119 | end |
| 120 | do |
| 121 | local p = Instance.new("Part") |
| 122 | p.Name = "Seed_4" |
| 123 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 124 | p.CFrame = CFrame.new(4.24, 10, 0) |
| 125 | p.BrickColor = BrickColor.new("Bright yellow") |
| 126 | p.Material = Enum.Material.Glacier |
| 127 | p.MaterialVariant = "2022 Big Stud" |
| 128 | p.Anchored = true |
| 129 | p.Parent = model |
| 130 | end |
| 131 | do |
| 132 | local p = Instance.new("Part") |
| 133 | p.Name = "Seed_5" |
| 134 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 135 | p.CFrame = CFrame.new(-4.24, 10, 0) |
| 136 | p.BrickColor = BrickColor.new("Bright yellow") |
| 137 | p.Material = Enum.Material.Glacier |
| 138 | p.MaterialVariant = "2022 Big Stud" |
| 139 | p.Anchored = true |
| 140 | p.Parent = model |
| 141 | end |
| 142 | do |
| 143 | local p = Instance.new("Part") |
| 144 | p.Name = "Seed_6" |
| 145 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 146 | p.CFrame = CFrame.new(0, 10, 4.24) |
| 147 | p.BrickColor = BrickColor.new("Bright yellow") |
| 148 | p.Material = Enum.Material.Glacier |
| 149 | p.MaterialVariant = "2022 Big Stud" |
| 150 | p.Anchored = true |
| 151 | p.Parent = model |
| 152 | end |
| 153 | do |
| 154 | local p = Instance.new("Part") |
| 155 | p.Name = "Seed_7" |
| 156 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 157 | p.CFrame = CFrame.new(0, 10, -4.24) |
| 158 | p.BrickColor = BrickColor.new("Bright yellow") |
| 159 | p.Material = Enum.Material.Glacier |
| 160 | p.MaterialVariant = "2022 Big Stud" |
| 161 | p.Anchored = true |
| 162 | p.Parent = model |
| 163 | end |
| 164 | do |
| 165 | local p = Instance.new("Part") |
| 166 | p.Name = "Seed_8" |
| 167 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 168 | p.CFrame = CFrame.new(2.5, 8, 2.5) |
| 169 | p.BrickColor = BrickColor.new("Bright yellow") |
| 170 | p.Material = Enum.Material.Glacier |
| 171 | p.MaterialVariant = "2022 Big Stud" |
| 172 | p.Anchored = true |
| 173 | p.Parent = model |
| 174 | end |
| 175 | do |
| 176 | local p = Instance.new("Part") |
| 177 | p.Name = "Seed_9" |
| 178 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 179 | p.CFrame = CFrame.new(-2.5, 8, 2.5) |
| 180 | p.BrickColor = BrickColor.new("Bright yellow") |
| 181 | p.Material = Enum.Material.Glacier |
| 182 | p.MaterialVariant = "2022 Big Stud" |
| 183 | p.Anchored = true |
| 184 | p.Parent = model |
| 185 | end |
| 186 | do |
| 187 | local p = Instance.new("Part") |
| 188 | p.Name = "Seed_10" |
| 189 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 190 | p.CFrame = CFrame.new(2.5, 8, -2.5) |
| 191 | p.BrickColor = BrickColor.new("Bright yellow") |
| 192 | p.Material = Enum.Material.Glacier |
| 193 | p.MaterialVariant = "2022 Big Stud" |
| 194 | p.Anchored = true |
| 195 | p.Parent = model |
| 196 | end |
| 197 | do |
| 198 | local p = Instance.new("Part") |
| 199 | p.Name = "Seed_11" |
| 200 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 201 | p.CFrame = CFrame.new(-2.5, 8, -2.5) |
| 202 | p.BrickColor = BrickColor.new("Bright yellow") |
| 203 | p.Material = Enum.Material.Glacier |
| 204 | p.MaterialVariant = "2022 Big Stud" |
| 205 | p.Anchored = true |
| 206 | p.Parent = model |
| 207 | end |
| 208 | do |
| 209 | local p = Instance.new("Part") |
| 210 | p.Shape = Enum.PartType.Cylinder |
| 211 | p.Name = "Stem" |
| 212 | p.Size = Vector3.new(1.5, 0.8, 0.8) |
| 213 | p.CFrame = CFrame.new(0, 15.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 214 | p.BrickColor = BrickColor.new("Bright green") |
| 215 | p.Material = Enum.Material.Glacier |
| 216 | p.MaterialVariant = "2022 Stud" |
| 217 | p.Anchored = true |
| 218 | p.Parent = model |
| 219 | end |
| 220 | do |
| 221 | local p = Instance.new("Part") |
| 222 | p.Name = "Leaf_0" |
| 223 | p.Size = Vector3.new(4, 0.3, 2) |
| 224 | p.CFrame = CFrame.new(3, 15, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)) |
| 225 | p.BrickColor = BrickColor.new("Bright green") |
| 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.Name = "Leaf_1" |
| 234 | p.Size = Vector3.new(4, 0.3, 2) |
| 235 | p.CFrame = CFrame.new(1.5, 15, 2.59808) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(10)) |
| 236 | p.BrickColor = BrickColor.new("Bright green") |
| 237 | p.Material = Enum.Material.Glacier |
| 238 | p.MaterialVariant = "2022 Stud" |
| 239 | p.Anchored = true |
| 240 | p.Parent = model |
| 241 | end |
| 242 | do |
| 243 | local p = Instance.new("Part") |
| 244 | p.Name = "Leaf_2" |
| 245 | p.Size = Vector3.new(4, 0.3, 2) |
| 246 | p.CFrame = CFrame.new(-1.5, 15, 2.59808) * CFrame.Angles(math.rad(0), math.rad(120), math.rad(10)) |
| 247 | p.BrickColor = BrickColor.new("Bright green") |
| 248 | p.Material = Enum.Material.Glacier |
| 249 | p.MaterialVariant = "2022 Stud" |
| 250 | p.Anchored = true |
| 251 | p.Parent = model |
| 252 | end |
| 253 | do |
| 254 | local p = Instance.new("Part") |
| 255 | p.Name = "Leaf_3" |
| 256 | p.Size = Vector3.new(4, 0.3, 2) |
| 257 | p.CFrame = CFrame.new(-3, 15, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(10)) |
| 258 | p.BrickColor = BrickColor.new("Bright green") |
| 259 | p.Material = Enum.Material.Glacier |
| 260 | p.MaterialVariant = "2022 Stud" |
| 261 | p.Anchored = true |
| 262 | p.Parent = model |
| 263 | end |
| 264 | do |
| 265 | local p = Instance.new("Part") |
| 266 | p.Name = "Leaf_4" |
| 267 | p.Size = Vector3.new(4, 0.3, 2) |
| 268 | p.CFrame = CFrame.new(-1.5, 15, -2.59808) * CFrame.Angles(math.rad(0), math.rad(240), math.rad(10)) |
| 269 | p.BrickColor = BrickColor.new("Bright green") |
| 270 | p.Material = Enum.Material.Glacier |
| 271 | p.MaterialVariant = "2022 Stud" |
| 272 | p.Anchored = true |
| 273 | p.Parent = model |
| 274 | end |
| 275 | do |
| 276 | local p = Instance.new("Part") |
| 277 | p.Name = "Leaf_5" |
| 278 | p.Size = Vector3.new(4, 0.3, 2) |
| 279 | p.CFrame = CFrame.new(1.5, 15, -2.59808) * CFrame.Angles(math.rad(0), math.rad(300), math.rad(10)) |
| 280 | p.BrickColor = BrickColor.new("Bright green") |
| 281 | p.Material = Enum.Material.Glacier |
| 282 | p.MaterialVariant = "2022 Stud" |
| 283 | p.Anchored = true |
| 284 | p.Parent = model |
| 285 | end |
| 286 | do |
| 287 | local p = Instance.new("Part") |
| 288 | p.Shape = Enum.PartType.Cylinder |
| 289 | p.Name = "TrunkBase" |
| 290 | p.Size = Vector3.new(3.16228, 2.5, 2.5) |
| 291 | p.CFrame = CFrame.new(0, 7.5, -4.5) * CFrame.Angles(math.rad(-71.5651), math.rad(90), math.rad(0)) |
| 292 | p.BrickColor = BrickColor.new("Bright red") |
| 293 | p.Material = Enum.Material.Glacier |
| 294 | p.MaterialVariant = "2022 Stud" |
| 295 | p.Anchored = true |
| 296 | p.Parent = model |
| 297 | end |
| 298 | do |
| 299 | local p = Instance.new("Part") |
| 300 | p.Shape = Enum.PartType.Cylinder |
| 301 | p.Name = "TrunkMid" |
| 302 | p.Size = Vector3.new(4.03113, 2, 2) |
| 303 | p.CFrame = CFrame.new(0, 4, -5.25) * CFrame.Angles(math.rad(-82.875), math.rad(90), math.rad(0)) |
| 304 | p.BrickColor = BrickColor.new("Bright red") |
| 305 | p.Material = Enum.Material.Glacier |
| 306 | p.MaterialVariant = "2022 Stud" |
| 307 | p.Anchored = true |
| 308 | p.Parent = model |
| 309 | end |
| 310 | do |
| 311 | local p = Instance.new("Part") |
| 312 | p.Shape = Enum.PartType.Cylinder |
| 313 | p.Name = "TrunkTip" |
| 314 | p.Size = Vector3.new(1.2, 2.2, 2.2) |
| 315 | p.CFrame = CFrame.new(0, 1.5, -5.5) |
| 316 | p.BrickColor = BrickColor.new("Bright red") |
| 317 | p.Material = Enum.Material.Glacier |
| 318 | p.MaterialVariant = "2022 Stud" |
| 319 | p.Anchored = true |
| 320 | p.Parent = model |
| 321 | end |
| 322 | do |
| 323 | local p = Instance.new("Part") |
| 324 | p.Name = "EyeL_Sclera" |
| 325 | p.Size = Vector3.new(0.2, 1.2, 1.2) |
| 326 | p.CFrame = CFrame.new(1.8, 11.5, -4.18) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 327 | p.BrickColor = BrickColor.new("Institutional white") |
| 328 | p.Material = Enum.Material.Glacier |
| 329 | p.MaterialVariant = "2022 Stud" |
| 330 | p.Anchored = true |
| 331 | p.Parent = model |
| 332 | end |
| 333 | do |
| 334 | local p = Instance.new("Part") |
| 335 | p.Name = "EyeL_Pupil" |
| 336 | p.Size = Vector3.new(0.1, 0.6, 0.6) |
| 337 | p.CFrame = CFrame.new(1.8, 11.5, -4.28) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 338 | p.BrickColor = BrickColor.new("Really black") |
| 339 | p.Material = Enum.Material.Glacier |
| 340 | p.MaterialVariant = "2022 Universal" |
| 341 | p.Anchored = true |
| 342 | p.Parent = model |
| 343 | end |
| 344 | do |
| 345 | local p = Instance.new("Part") |
| 346 | p.Name = "EyeR_Sclera" |
| 347 | p.Size = Vector3.new(0.2, 1.2, 1.2) |
| 348 | p.CFrame = CFrame.new(-1.8, 11.5, -4.18) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 349 | p.BrickColor = BrickColor.new("Institutional white") |
| 350 | p.Material = Enum.Material.Glacier |
| 351 | p.MaterialVariant = "2022 Stud" |
| 352 | p.Anchored = true |
| 353 | p.Parent = model |
| 354 | end |
| 355 | do |
| 356 | local p = Instance.new("Part") |
| 357 | p.Name = "EyeR_Pupil" |
| 358 | p.Size = Vector3.new(0.1, 0.6, 0.6) |
| 359 | p.CFrame = CFrame.new(-1.8, 11.5, -4.28) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 360 | p.BrickColor = BrickColor.new("Really black") |
| 361 | p.Material = Enum.Material.Glacier |
| 362 | p.MaterialVariant = "2022 Universal" |
| 363 | p.Anchored = true |
| 364 | p.Parent = model |
| 365 | end |
| 366 | do |
| 367 | local p = Instance.new("Part") |
| 368 | p.Shape = Enum.PartType.Cylinder |
| 369 | p.Name = "TuskL" |
| 370 | p.Size = Vector3.new(2.34521, 0.8, 0.8) |
| 371 | p.CFrame = CFrame.new(2, 7.75, -4.75) * CFrame.Angles(math.rad(0), math.rad(56.3099), math.rad(-39.7622)) |
| 372 | p.BrickColor = BrickColor.new("White") |
| 373 | p.Material = Enum.Material.Glacier |
| 374 | p.MaterialVariant = "2022 Stud" |
| 375 | p.Anchored = true |
| 376 | p.Parent = model |
| 377 | end |
| 378 | do |
| 379 | local p = Instance.new("Part") |
| 380 | p.Shape = Enum.PartType.Cylinder |
| 381 | p.Name = "TuskR" |
| 382 | p.Size = Vector3.new(2.34521, 0.8, 0.8) |
| 383 | p.CFrame = CFrame.new(-2, 7.75, -4.75) * CFrame.Angles(math.rad(-180), math.rad(56.3099), math.rad(140.238)) |
| 384 | p.BrickColor = BrickColor.new("White") |
| 385 | p.Material = Enum.Material.Glacier |
| 386 | p.MaterialVariant = "2022 Stud" |
| 387 | p.Anchored = true |
| 388 | p.Parent = model |
| 389 | end |
| 390 | do |
| 391 | local p = Instance.new("Part") |
| 392 | p.Shape = Enum.PartType.Cylinder |
| 393 | p.Name = "LegUpper_0" |
| 394 | p.Size = Vector3.new(4, 2.2, 2.2) |
| 395 | p.CFrame = CFrame.new(2.5, 5, 2.5) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 396 | p.BrickColor = BrickColor.new("Bright red") |
| 397 | p.Material = Enum.Material.Glacier |
| 398 | p.MaterialVariant = "2022 Stud" |
| 399 | p.Anchored = true |
| 400 | p.Parent = model |
| 401 | end |
| 402 | do |
| 403 | local p = Instance.new("Part") |
| 404 | p.Name = "Foot_0" |
| 405 | p.Size = Vector3.new(2.8, 2, 2.8) |
| 406 | p.CFrame = CFrame.new(2.5, 1, 2.5) |
| 407 | p.BrickColor = BrickColor.new("Bright red") |
| 408 | p.Material = Enum.Material.Glacier |
| 409 | p.MaterialVariant = "2022 Stud" |
| 410 | p.Anchored = true |
| 411 | p.Parent = model |
| 412 | end |
| 413 | do |
| 414 | local p = Instance.new("Part") |
| 415 | p.Name = "Toe_0_0" |
| 416 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 417 | p.CFrame = CFrame.new(1.7, 0.5, 1.3) |
| 418 | p.BrickColor = BrickColor.new("White") |
| 419 | p.Material = Enum.Material.Glacier |
| 420 | p.MaterialVariant = "2022 Stud" |
| 421 | p.Anchored = true |
| 422 | p.Parent = model |
| 423 | end |
| 424 | do |
| 425 | local p = Instance.new("Part") |
| 426 | p.Name = "Toe_0_1" |
| 427 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 428 | p.CFrame = CFrame.new(2.5, 0.5, 1.3) |
| 429 | p.BrickColor = BrickColor.new("White") |
| 430 | p.Material = Enum.Material.Glacier |
| 431 | p.MaterialVariant = "2022 Stud" |
| 432 | p.Anchored = true |
| 433 | p.Parent = model |
| 434 | end |
| 435 | do |
| 436 | local p = Instance.new("Part") |
| 437 | p.Name = "Toe_0_2" |
| 438 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 439 | p.CFrame = CFrame.new(3.3, 0.5, 1.3) |
| 440 | p.BrickColor = BrickColor.new("White") |
| 441 | p.Material = Enum.Material.Glacier |
| 442 | p.MaterialVariant = "2022 Stud" |
| 443 | p.Anchored = true |
| 444 | p.Parent = model |
| 445 | end |
| 446 | do |
| 447 | local p = Instance.new("Part") |
| 448 | p.Shape = Enum.PartType.Cylinder |
| 449 | p.Name = "LegUpper_1" |
| 450 | p.Size = Vector3.new(4, 2.2, 2.2) |
| 451 | p.CFrame = CFrame.new(-2.5, 5, 2.5) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 452 | p.BrickColor = BrickColor.new("Bright red") |
| 453 | p.Material = Enum.Material.Glacier |
| 454 | p.MaterialVariant = "2022 Stud" |
| 455 | p.Anchored = true |
| 456 | p.Parent = model |
| 457 | end |
| 458 | do |
| 459 | local p = Instance.new("Part") |
| 460 | p.Name = "Foot_1" |
| 461 | p.Size = Vector3.new(2.8, 2, 2.8) |
| 462 | p.CFrame = CFrame.new(-2.5, 1, 2.5) |
| 463 | p.BrickColor = BrickColor.new("Bright red") |
| 464 | p.Material = Enum.Material.Glacier |
| 465 | p.MaterialVariant = "2022 Stud" |
| 466 | p.Anchored = true |
| 467 | p.Parent = model |
| 468 | end |
| 469 | do |
| 470 | local p = Instance.new("Part") |
| 471 | p.Name = "Toe_1_0" |
| 472 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 473 | p.CFrame = CFrame.new(-3.3, 0.5, 1.3) |
| 474 | p.BrickColor = BrickColor.new("White") |
| 475 | p.Material = Enum.Material.Glacier |
| 476 | p.MaterialVariant = "2022 Stud" |
| 477 | p.Anchored = true |
| 478 | p.Parent = model |
| 479 | end |
| 480 | do |
| 481 | local p = Instance.new("Part") |
| 482 | p.Name = "Toe_1_1" |
| 483 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 484 | p.CFrame = CFrame.new(-2.5, 0.5, 1.3) |
| 485 | p.BrickColor = BrickColor.new("White") |
| 486 | p.Material = Enum.Material.Glacier |
| 487 | p.MaterialVariant = "2022 Stud" |
| 488 | p.Anchored = true |
| 489 | p.Parent = model |
| 490 | end |
| 491 | do |
| 492 | local p = Instance.new("Part") |
| 493 | p.Name = "Toe_1_2" |
| 494 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 495 | p.CFrame = CFrame.new(-1.7, 0.5, 1.3) |
| 496 | p.BrickColor = BrickColor.new("White") |
| 497 | p.Material = Enum.Material.Glacier |
| 498 | p.MaterialVariant = "2022 Stud" |
| 499 | p.Anchored = true |
| 500 | p.Parent = model |
| 501 | end |
| 502 | do |
| 503 | local p = Instance.new("Part") |
| 504 | p.Shape = Enum.PartType.Cylinder |
| 505 | p.Name = "LegUpper_2" |
| 506 | p.Size = Vector3.new(4, 2.2, 2.2) |
| 507 | p.CFrame = CFrame.new(2.5, 5, -2.5) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 508 | p.BrickColor = BrickColor.new("Bright red") |
| 509 | p.Material = Enum.Material.Glacier |
| 510 | p.MaterialVariant = "2022 Stud" |
| 511 | p.Anchored = true |
| 512 | p.Parent = model |
| 513 | end |
| 514 | do |
| 515 | local p = Instance.new("Part") |
| 516 | p.Name = "Foot_2" |
| 517 | p.Size = Vector3.new(2.8, 2, 2.8) |
| 518 | p.CFrame = CFrame.new(2.5, 1, -2.5) |
| 519 | p.BrickColor = BrickColor.new("Bright red") |
| 520 | p.Material = Enum.Material.Glacier |
| 521 | p.MaterialVariant = "2022 Stud" |
| 522 | p.Anchored = true |
| 523 | p.Parent = model |
| 524 | end |
| 525 | do |
| 526 | local p = Instance.new("Part") |
| 527 | p.Name = "Toe_2_0" |
| 528 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 529 | p.CFrame = CFrame.new(1.7, 0.5, -3.7) |
| 530 | p.BrickColor = BrickColor.new("White") |
| 531 | p.Material = Enum.Material.Glacier |
| 532 | p.MaterialVariant = "2022 Stud" |
| 533 | p.Anchored = true |
| 534 | p.Parent = model |
| 535 | end |
| 536 | do |
| 537 | local p = Instance.new("Part") |
| 538 | p.Name = "Toe_2_1" |
| 539 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 540 | p.CFrame = CFrame.new(2.5, 0.5, -3.7) |
| 541 | p.BrickColor = BrickColor.new("White") |
| 542 | p.Material = Enum.Material.Glacier |
| 543 | p.MaterialVariant = "2022 Stud" |
| 544 | p.Anchored = true |
| 545 | p.Parent = model |
| 546 | end |
| 547 | do |
| 548 | local p = Instance.new("Part") |
| 549 | p.Name = "Toe_2_2" |
| 550 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 551 | p.CFrame = CFrame.new(3.3, 0.5, -3.7) |
| 552 | p.BrickColor = BrickColor.new("White") |
| 553 | p.Material = Enum.Material.Glacier |
| 554 | p.MaterialVariant = "2022 Stud" |
| 555 | p.Anchored = true |
| 556 | p.Parent = model |
| 557 | end |
| 558 | do |
| 559 | local p = Instance.new("Part") |
| 560 | p.Shape = Enum.PartType.Cylinder |
| 561 | p.Name = "LegUpper_3" |
| 562 | p.Size = Vector3.new(4, 2.2, 2.2) |
| 563 | p.CFrame = CFrame.new(-2.5, 5, -2.5) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 564 | p.BrickColor = BrickColor.new("Bright red") |
| 565 | p.Material = Enum.Material.Glacier |
| 566 | p.MaterialVariant = "2022 Stud" |
| 567 | p.Anchored = true |
| 568 | p.Parent = model |
| 569 | end |
| 570 | do |
| 571 | local p = Instance.new("Part") |
| 572 | p.Name = "Foot_3" |
| 573 | p.Size = Vector3.new(2.8, 2, 2.8) |
| 574 | p.CFrame = CFrame.new(-2.5, 1, -2.5) |
| 575 | p.BrickColor = BrickColor.new("Bright red") |
| 576 | p.Material = Enum.Material.Glacier |
| 577 | p.MaterialVariant = "2022 Stud" |
| 578 | p.Anchored = true |
| 579 | p.Parent = model |
| 580 | end |
| 581 | do |
| 582 | local p = Instance.new("Part") |
| 583 | p.Name = "Toe_3_0" |
| 584 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 585 | p.CFrame = CFrame.new(-3.3, 0.5, -3.7) |
| 586 | p.BrickColor = BrickColor.new("White") |
| 587 | p.Material = Enum.Material.Glacier |
| 588 | p.MaterialVariant = "2022 Stud" |
| 589 | p.Anchored = true |
| 590 | p.Parent = model |
| 591 | end |
| 592 | do |
| 593 | local p = Instance.new("Part") |
| 594 | p.Name = "Toe_3_1" |
| 595 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 596 | p.CFrame = CFrame.new(-2.5, 0.5, -3.7) |
| 597 | p.BrickColor = BrickColor.new("White") |
| 598 | p.Material = Enum.Material.Glacier |
| 599 | p.MaterialVariant = "2022 Stud" |
| 600 | p.Anchored = true |
| 601 | p.Parent = model |
| 602 | end |
| 603 | do |
| 604 | local p = Instance.new("Part") |
| 605 | p.Name = "Toe_3_2" |
| 606 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 607 | p.CFrame = CFrame.new(-1.7, 0.5, -3.7) |
| 608 | p.BrickColor = BrickColor.new("White") |
| 609 | p.Material = Enum.Material.Glacier |
| 610 | p.MaterialVariant = "2022 Stud" |
| 611 | p.Anchored = true |
| 612 | p.Parent = model |
| 613 | end |
| 614 | do |
| 615 | local p = Instance.new("Part") |
| 616 | p.Shape = Enum.PartType.Cylinder |
| 617 | p.Name = "Tail" |
| 618 | p.Size = Vector3.new(3.60555, 0.6, 0.6) |
| 619 | p.CFrame = CFrame.new(0, 5.5, 5) * CFrame.Angles(math.rad(56.3099), math.rad(-90), math.rad(0)) |
| 620 | p.BrickColor = BrickColor.new("Bright red") |
| 621 | p.Material = Enum.Material.Glacier |
| 622 | p.MaterialVariant = "2022 Stud" |
| 623 | p.Anchored = true |
| 624 | p.Parent = model |
| 625 | end |
| 626 | do |
| 627 | local p = Instance.new("Part") |
| 628 | p.Shape = Enum.PartType.Ball |
| 629 | p.Name = "TailTip" |
| 630 | p.Size = Vector3.new(1, 1, 1) |
| 631 | p.CFrame = CFrame.new(0, 3.5, 6.2) |
| 632 | p.BrickColor = BrickColor.new("Bright green") |
| 633 | p.Material = Enum.Material.Glacier |
| 634 | p.MaterialVariant = "2022 Stud" |
| 635 | p.Anchored = true |
| 636 | p.Parent = model |
| 637 | end |
| 638 | do |
| 639 | local rightV = Vector3.new(0,1,0).Unit |
| 640 | local upV = (Vector3.new(0,0,1) - Vector3.new(0,0,1):Dot(rightV)*rightV).Unit |
| 641 | local normalV = upV:Cross(rightV) |
| 642 | local pos = Vector3.new(4.5, 11, 0) |
| 643 | local cyl = Instance.new("Part") |
| 644 | cyl.Shape = Enum.PartType.Cylinder |
| 645 | cyl.Size = Vector3.new(0.8, 8, 8) |
| 646 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 647 | cyl.BrickColor = BrickColor.new("Pink") |
| 648 | cyl.Material = Enum.Material.Glacier |
| 649 | cyl.MaterialVariant = "2022 Stud" |
| 650 | cyl.Anchored = true; cyl.Parent = workspace |
| 651 | local cuts = {} |
| 652 | local angBoxes = {} |
| 653 | do |
| 654 | local edgeDir = 1*rightV + 0*upV |
| 655 | local edgePerp = 0*rightV + 1*upV |
| 656 | local cut = Instance.new("Part") |
| 657 | cut.Size = Vector3.new(16, 1, 16) |
| 658 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8 * edgePerp, edgeDir, normalV) |
| 659 | cut.BrickColor = BrickColor.new("Pink") |
| 660 | cut.Material = Enum.Material.Glacier |
| 661 | cut.MaterialVariant = "2022 Stud" |
| 662 | cut.Anchored = true; cut.Parent = workspace |
| 663 | table.insert(angBoxes, cut) |
| 664 | end |
| 665 | do |
| 666 | local edgeDir = -1*rightV + 0*upV |
| 667 | local edgePerp = 0*rightV + -1*upV |
| 668 | local cut = Instance.new("Part") |
| 669 | cut.Size = Vector3.new(16, 1, 16) |
| 670 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8 * edgePerp, edgeDir, normalV) |
| 671 | cut.BrickColor = BrickColor.new("Pink") |
| 672 | cut.Material = Enum.Material.Glacier |
| 673 | cut.MaterialVariant = "2022 Stud" |
| 674 | cut.Anchored = true; cut.Parent = workspace |
| 675 | table.insert(angBoxes, cut) |
| 676 | end |
| 677 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 678 | if #cuts > 0 then |
| 679 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 680 | for _, c in ipairs(cuts) do c:Destroy() end |
| 681 | if ok and result then |
| 682 | cyl:Destroy() |
| 683 | result.Name = "EarLeft"; result.Anchored = true; result.Parent = model |
| 684 | else |
| 685 | cyl.Name = "EarLeft"; cyl.Parent = model |
| 686 | end |
| 687 | else |
| 688 | cyl.Name = "EarLeft"; cyl.Parent = model |
| 689 | end |
| 690 | end |
| 691 | do |
| 692 | local rightV = Vector3.new(0,1,0).Unit |
| 693 | local upV = (Vector3.new(0,0,-1) - Vector3.new(0,0,-1):Dot(rightV)*rightV).Unit |
| 694 | local normalV = upV:Cross(rightV) |
| 695 | local pos = Vector3.new(-4.5, 11, 0) |
| 696 | local cyl = Instance.new("Part") |
| 697 | cyl.Shape = Enum.PartType.Cylinder |
| 698 | cyl.Size = Vector3.new(0.8, 8, 8) |
| 699 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 700 | cyl.BrickColor = BrickColor.new("Pink") |
| 701 | cyl.Material = Enum.Material.Glacier |
| 702 | cyl.MaterialVariant = "2022 Stud" |
| 703 | cyl.Anchored = true; cyl.Parent = workspace |
| 704 | local cuts = {} |
| 705 | local angBoxes = {} |
| 706 | do |
| 707 | local edgeDir = 1*rightV + 0*upV |
| 708 | local edgePerp = 0*rightV + 1*upV |
| 709 | local cut = Instance.new("Part") |
| 710 | cut.Size = Vector3.new(16, 1, 16) |
| 711 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8 * edgePerp, edgeDir, normalV) |
| 712 | cut.BrickColor = BrickColor.new("Pink") |
| 713 | cut.Material = Enum.Material.Glacier |
| 714 | cut.MaterialVariant = "2022 Stud" |
| 715 | cut.Anchored = true; cut.Parent = workspace |
| 716 | table.insert(angBoxes, cut) |
| 717 | end |
| 718 | do |
| 719 | local edgeDir = -1*rightV + 0*upV |
| 720 | local edgePerp = 0*rightV + -1*upV |
| 721 | local cut = Instance.new("Part") |
| 722 | cut.Size = Vector3.new(16, 1, 16) |
| 723 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8 * edgePerp, edgeDir, normalV) |
| 724 | cut.BrickColor = BrickColor.new("Pink") |
| 725 | cut.Material = Enum.Material.Glacier |
| 726 | cut.MaterialVariant = "2022 Stud" |
| 727 | cut.Anchored = true; cut.Parent = workspace |
| 728 | table.insert(angBoxes, cut) |
| 729 | end |
| 730 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 731 | if #cuts > 0 then |
| 732 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 733 | for _, c in ipairs(cuts) do c:Destroy() end |
| 734 | if ok and result then |
| 735 | cyl:Destroy() |
| 736 | result.Name = "EarRight"; result.Anchored = true; result.Parent = model |
| 737 | else |
| 738 | cyl.Name = "EarRight"; cyl.Parent = model |
| 739 | end |
| 740 | else |
| 741 | cyl.Name = "EarRight"; cyl.Parent = model |
| 742 | end |
| 743 | end |
| 744 | model.PrimaryPart = model:FindFirstChild("BodyCore") |
| 745 | print("StrawberryElephant built: " .. #model:GetChildren() .. " parts") |
Loading comments...