Loading model...
by Haider Ali · 3/27/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: CactusElephantSandal |
| 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 = "CactusElephantSandal" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Brown"] = "2022 Glue", |
| 25 | ["Cork"] = "2022 Universal", |
| 26 | ["Dark green"] = "2022 Stud", |
| 27 | ["Dark stone grey"] = "2022 Stud", |
| 28 | ["Dark taupe"] = "2022 Big Stud", |
| 29 | ["Earth green"] = "2022 Weld", |
| 30 | ["Fossil"] = "2022 Small Stud", |
| 31 | ["Pearl"] = "2022 Stud", |
| 32 | ["Really black"] = "2022 Universal", |
| 33 | } |
| 34 | do |
| 35 | local p = Instance.new("Part") |
| 36 | p.Name = "SoleBotMid" |
| 37 | p.Size = Vector3.new(8, 0.4, 15) |
| 38 | p.CFrame = CFrame.new(0, 0.16, -0.5) |
| 39 | p.BrickColor = BrickColor.new("Dark taupe") |
| 40 | p.Material = Enum.Material.Glacier |
| 41 | p.MaterialVariant = "2022 Big Stud" |
| 42 | p.Anchored = true |
| 43 | p.Parent = model |
| 44 | end |
| 45 | do |
| 46 | local p = Instance.new("Part") |
| 47 | p.Shape = Enum.PartType.Cylinder |
| 48 | p.Name = "SoleBotFront" |
| 49 | p.Size = Vector3.new(0.4, 8, 8) |
| 50 | p.CFrame = CFrame.new(0, 0.16, -8) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 51 | p.BrickColor = BrickColor.new("Dark taupe") |
| 52 | p.Material = Enum.Material.Glacier |
| 53 | p.MaterialVariant = "2022 Big Stud" |
| 54 | p.Anchored = true |
| 55 | p.Parent = model |
| 56 | end |
| 57 | do |
| 58 | local p = Instance.new("Part") |
| 59 | p.Shape = Enum.PartType.Cylinder |
| 60 | p.Name = "SoleBotBack" |
| 61 | p.Size = Vector3.new(0.4, 8, 8) |
| 62 | p.CFrame = CFrame.new(0, 0.16, 7) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 63 | p.BrickColor = BrickColor.new("Dark taupe") |
| 64 | p.Material = Enum.Material.Glacier |
| 65 | p.MaterialVariant = "2022 Big Stud" |
| 66 | p.Anchored = true |
| 67 | p.Parent = model |
| 68 | end |
| 69 | do |
| 70 | local p = Instance.new("Part") |
| 71 | p.Name = "SoleCorkMid" |
| 72 | p.Size = Vector3.new(8, 1.2, 15) |
| 73 | p.CFrame = CFrame.new(0, 1, -0.5) |
| 74 | p.BrickColor = BrickColor.new("Cork") |
| 75 | p.Material = Enum.Material.Glacier |
| 76 | p.MaterialVariant = "2022 Universal" |
| 77 | p.Anchored = true |
| 78 | p.Parent = model |
| 79 | end |
| 80 | do |
| 81 | local p = Instance.new("Part") |
| 82 | p.Shape = Enum.PartType.Cylinder |
| 83 | p.Name = "SoleCorkFront" |
| 84 | p.Size = Vector3.new(1.2, 8, 8) |
| 85 | p.CFrame = CFrame.new(0, 1.04, -8) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 86 | p.BrickColor = BrickColor.new("Cork") |
| 87 | p.Material = Enum.Material.Glacier |
| 88 | p.MaterialVariant = "2022 Universal" |
| 89 | p.Anchored = true |
| 90 | p.Parent = model |
| 91 | end |
| 92 | do |
| 93 | local p = Instance.new("Part") |
| 94 | p.Shape = Enum.PartType.Cylinder |
| 95 | p.Name = "SoleCorkBack" |
| 96 | p.Size = Vector3.new(1.2, 8, 8) |
| 97 | p.CFrame = CFrame.new(0, 1.04, 7) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 98 | p.BrickColor = BrickColor.new("Cork") |
| 99 | p.Material = Enum.Material.Glacier |
| 100 | p.MaterialVariant = "2022 Universal" |
| 101 | p.Anchored = true |
| 102 | p.Parent = model |
| 103 | end |
| 104 | do |
| 105 | local p = Instance.new("Part") |
| 106 | p.Name = "SoleBedMid" |
| 107 | p.Size = Vector3.new(7.6, 0.2, 15) |
| 108 | p.CFrame = CFrame.new(0, 1.78, -0.5) |
| 109 | p.BrickColor = BrickColor.new("Dark green") |
| 110 | p.Material = Enum.Material.Glacier |
| 111 | p.MaterialVariant = "2022 Stud" |
| 112 | p.Anchored = true |
| 113 | p.Parent = model |
| 114 | end |
| 115 | do |
| 116 | local p = Instance.new("Part") |
| 117 | p.Shape = Enum.PartType.Cylinder |
| 118 | p.Name = "SoleBedFront" |
| 119 | p.Size = Vector3.new(0.2, 7.6, 7.6) |
| 120 | p.CFrame = CFrame.new(0, 1.82, -8) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 121 | p.BrickColor = BrickColor.new("Dark green") |
| 122 | p.Material = Enum.Material.Glacier |
| 123 | p.MaterialVariant = "2022 Stud" |
| 124 | p.Anchored = true |
| 125 | p.Parent = model |
| 126 | end |
| 127 | do |
| 128 | local p = Instance.new("Part") |
| 129 | p.Shape = Enum.PartType.Cylinder |
| 130 | p.Name = "SoleBedBack" |
| 131 | p.Size = Vector3.new(0.2, 7.6, 7.6) |
| 132 | p.CFrame = CFrame.new(0, 1.82, 7) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 133 | p.BrickColor = BrickColor.new("Dark green") |
| 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 = "BuckleF" |
| 142 | p.Size = Vector3.new(0.4, 1.5, 2.2) |
| 143 | p.CFrame = CFrame.new(3.8, 4, -5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) |
| 144 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 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 p = Instance.new("Part") |
| 152 | p.Name = "BuckleB" |
| 153 | p.Size = Vector3.new(0.4, 1.5, 2.2) |
| 154 | p.CFrame = CFrame.new(3.8, 4, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) |
| 155 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 156 | p.Material = Enum.Material.Glacier |
| 157 | p.MaterialVariant = "2022 Stud" |
| 158 | p.Anchored = true |
| 159 | p.Parent = model |
| 160 | end |
| 161 | do |
| 162 | local p = Instance.new("Part") |
| 163 | p.Shape = Enum.PartType.Cylinder |
| 164 | p.Name = "FrontFoot" |
| 165 | p.Size = Vector3.new(2, 5, 5) |
| 166 | p.CFrame = CFrame.new(0, 2.46, -6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 167 | p.BrickColor = BrickColor.new("Fossil") |
| 168 | p.Material = Enum.Material.Glacier |
| 169 | p.MaterialVariant = "2022 Small Stud" |
| 170 | p.Anchored = true |
| 171 | p.Parent = model |
| 172 | end |
| 173 | do |
| 174 | local p = Instance.new("Part") |
| 175 | p.Shape = Enum.PartType.Ball |
| 176 | p.Name = "FrontToe1" |
| 177 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 178 | p.CFrame = CFrame.new(-1.5, 1.8, -8.2) |
| 179 | p.BrickColor = BrickColor.new("Fossil") |
| 180 | p.Material = Enum.Material.Glacier |
| 181 | p.MaterialVariant = "2022 Small Stud" |
| 182 | p.Anchored = true |
| 183 | p.Parent = model |
| 184 | end |
| 185 | do |
| 186 | local p = Instance.new("Part") |
| 187 | p.Shape = Enum.PartType.Ball |
| 188 | p.Name = "FrontToe2" |
| 189 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 190 | p.CFrame = CFrame.new(0, 1.8, -8.5) |
| 191 | p.BrickColor = BrickColor.new("Fossil") |
| 192 | p.Material = Enum.Material.Glacier |
| 193 | p.MaterialVariant = "2022 Small Stud" |
| 194 | p.Anchored = true |
| 195 | p.Parent = model |
| 196 | end |
| 197 | do |
| 198 | local p = Instance.new("Part") |
| 199 | p.Shape = Enum.PartType.Ball |
| 200 | p.Name = "FrontToe3" |
| 201 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 202 | p.CFrame = CFrame.new(1.5, 1.8, -8.2) |
| 203 | p.BrickColor = BrickColor.new("Fossil") |
| 204 | p.Material = Enum.Material.Glacier |
| 205 | p.MaterialVariant = "2022 Small Stud" |
| 206 | p.Anchored = true |
| 207 | p.Parent = model |
| 208 | end |
| 209 | do |
| 210 | local p = Instance.new("Part") |
| 211 | p.Shape = Enum.PartType.Ball |
| 212 | p.Name = "FrontNail1" |
| 213 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 214 | p.CFrame = CFrame.new(-1.5, 1.6, -8.6) |
| 215 | p.BrickColor = BrickColor.new("Pearl") |
| 216 | p.Material = Enum.Material.Glacier |
| 217 | p.MaterialVariant = "2022 Stud" |
| 218 | p.Anchored = true |
| 219 | p.Parent = model |
| 220 | end |
| 221 | do |
| 222 | local p = Instance.new("Part") |
| 223 | p.Shape = Enum.PartType.Ball |
| 224 | p.Name = "FrontNail2" |
| 225 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 226 | p.CFrame = CFrame.new(0, 1.6, -8.9) |
| 227 | p.BrickColor = BrickColor.new("Pearl") |
| 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.Shape = Enum.PartType.Ball |
| 236 | p.Name = "FrontNail3" |
| 237 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 238 | p.CFrame = CFrame.new(1.5, 1.6, -8.6) |
| 239 | p.BrickColor = BrickColor.new("Pearl") |
| 240 | p.Material = Enum.Material.Glacier |
| 241 | p.MaterialVariant = "2022 Stud" |
| 242 | p.Anchored = true |
| 243 | p.Parent = model |
| 244 | end |
| 245 | do |
| 246 | local p = Instance.new("Part") |
| 247 | p.Shape = Enum.PartType.Cylinder |
| 248 | p.Name = "BackFoot" |
| 249 | p.Size = Vector3.new(2, 5, 5) |
| 250 | p.CFrame = CFrame.new(0, 2.5, 4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 251 | p.BrickColor = BrickColor.new("Fossil") |
| 252 | p.Material = Enum.Material.Glacier |
| 253 | p.MaterialVariant = "2022 Small Stud" |
| 254 | p.Anchored = true |
| 255 | p.Parent = model |
| 256 | end |
| 257 | do |
| 258 | local p = Instance.new("Part") |
| 259 | p.Shape = Enum.PartType.Ball |
| 260 | p.Name = "BackToe1" |
| 261 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 262 | p.CFrame = CFrame.new(-1.5, 1.8, 1.8) |
| 263 | p.BrickColor = BrickColor.new("Fossil") |
| 264 | p.Material = Enum.Material.Glacier |
| 265 | p.MaterialVariant = "2022 Small Stud" |
| 266 | p.Anchored = true |
| 267 | p.Parent = model |
| 268 | end |
| 269 | do |
| 270 | local p = Instance.new("Part") |
| 271 | p.Shape = Enum.PartType.Ball |
| 272 | p.Name = "BackToe2" |
| 273 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 274 | p.CFrame = CFrame.new(0, 1.8, 1.5) |
| 275 | p.BrickColor = BrickColor.new("Fossil") |
| 276 | p.Material = Enum.Material.Glacier |
| 277 | p.MaterialVariant = "2022 Small Stud" |
| 278 | p.Anchored = true |
| 279 | p.Parent = model |
| 280 | end |
| 281 | do |
| 282 | local p = Instance.new("Part") |
| 283 | p.Shape = Enum.PartType.Ball |
| 284 | p.Name = "BackToe3" |
| 285 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 286 | p.CFrame = CFrame.new(1.5, 1.8, 1.8) |
| 287 | p.BrickColor = BrickColor.new("Fossil") |
| 288 | p.Material = Enum.Material.Glacier |
| 289 | p.MaterialVariant = "2022 Small Stud" |
| 290 | p.Anchored = true |
| 291 | p.Parent = model |
| 292 | end |
| 293 | do |
| 294 | local p = Instance.new("Part") |
| 295 | p.Shape = Enum.PartType.Ball |
| 296 | p.Name = "BackNail1" |
| 297 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 298 | p.CFrame = CFrame.new(-1.5, 1.6, 1.4) |
| 299 | p.BrickColor = BrickColor.new("Pearl") |
| 300 | p.Material = Enum.Material.Glacier |
| 301 | p.MaterialVariant = "2022 Stud" |
| 302 | p.Anchored = true |
| 303 | p.Parent = model |
| 304 | end |
| 305 | do |
| 306 | local p = Instance.new("Part") |
| 307 | p.Shape = Enum.PartType.Ball |
| 308 | p.Name = "BackNail2" |
| 309 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 310 | p.CFrame = CFrame.new(0, 1.6, 1.1) |
| 311 | p.BrickColor = BrickColor.new("Pearl") |
| 312 | p.Material = Enum.Material.Glacier |
| 313 | p.MaterialVariant = "2022 Stud" |
| 314 | p.Anchored = true |
| 315 | p.Parent = model |
| 316 | end |
| 317 | do |
| 318 | local p = Instance.new("Part") |
| 319 | p.Shape = Enum.PartType.Ball |
| 320 | p.Name = "BackNail3" |
| 321 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 322 | p.CFrame = CFrame.new(1.5, 1.6, 1.4) |
| 323 | p.BrickColor = BrickColor.new("Pearl") |
| 324 | p.Material = Enum.Material.Glacier |
| 325 | p.MaterialVariant = "2022 Stud" |
| 326 | p.Anchored = true |
| 327 | p.Parent = model |
| 328 | end |
| 329 | do |
| 330 | local p = Instance.new("Part") |
| 331 | p.Shape = Enum.PartType.Cylinder |
| 332 | p.Name = "CactusLegF" |
| 333 | p.Size = Vector3.new(6.5, 4.5, 4.5) |
| 334 | p.CFrame = CFrame.new(0, 6.75, -6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 335 | p.BrickColor = BrickColor.new("Earth green") |
| 336 | p.Material = Enum.Material.Glacier |
| 337 | p.MaterialVariant = "2022 Weld" |
| 338 | p.Anchored = true |
| 339 | p.Parent = model |
| 340 | end |
| 341 | do |
| 342 | local p = Instance.new("Part") |
| 343 | p.Shape = Enum.PartType.Cylinder |
| 344 | p.Name = "CactusLegB" |
| 345 | p.Size = Vector3.new(6.57647, 4.5, 4.5) |
| 346 | p.CFrame = CFrame.new(0, 6.75, 3.5) * CFrame.Angles(math.rad(81.2538), math.rad(90), math.rad(0)) |
| 347 | p.BrickColor = BrickColor.new("Earth green") |
| 348 | p.Material = Enum.Material.Glacier |
| 349 | p.MaterialVariant = "2022 Weld" |
| 350 | p.Anchored = true |
| 351 | p.Parent = model |
| 352 | end |
| 353 | do |
| 354 | local p = Instance.new("Part") |
| 355 | p.Shape = Enum.PartType.Cylinder |
| 356 | p.Name = "CactusBody" |
| 357 | p.Size = Vector3.new(8.06226, 5.42, 5.42) |
| 358 | p.CFrame = CFrame.new(0, 12, -0.5) * CFrame.Angles(math.rad(29.7449), math.rad(90), math.rad(0)) |
| 359 | p.BrickColor = BrickColor.new("Earth green") |
| 360 | p.Material = Enum.Material.Glacier |
| 361 | p.MaterialVariant = "2022 Weld" |
| 362 | p.Anchored = true |
| 363 | p.Parent = model |
| 364 | end |
| 365 | do |
| 366 | local p = Instance.new("Part") |
| 367 | p.Shape = Enum.PartType.Cylinder |
| 368 | p.Name = "CactusChest" |
| 369 | p.Size = Vector3.new(4.47214, 5, 5) |
| 370 | p.CFrame = CFrame.new(0, 12, -5) * CFrame.Angles(math.rad(-63.4349), math.rad(-90), math.rad(0)) |
| 371 | p.BrickColor = BrickColor.new("Earth green") |
| 372 | p.Material = Enum.Material.Glacier |
| 373 | p.MaterialVariant = "2022 Weld" |
| 374 | p.Anchored = true |
| 375 | p.Parent = model |
| 376 | end |
| 377 | do |
| 378 | local p = Instance.new("Part") |
| 379 | p.Shape = Enum.PartType.Ball |
| 380 | p.Name = "CactusJoint1" |
| 381 | p.Size = Vector3.new(4.8, 4.8, 4.8) |
| 382 | p.CFrame = CFrame.new(0, 10, -6) |
| 383 | p.BrickColor = BrickColor.new("Earth green") |
| 384 | p.Material = Enum.Material.Glacier |
| 385 | p.MaterialVariant = "2022 Weld" |
| 386 | p.Anchored = true |
| 387 | p.Parent = model |
| 388 | end |
| 389 | do |
| 390 | local p = Instance.new("Part") |
| 391 | p.Shape = Enum.PartType.Ball |
| 392 | p.Name = "CactusJoint2" |
| 393 | p.Size = Vector3.new(4.8, 4.8, 4.8) |
| 394 | p.CFrame = CFrame.new(0, 10, 3) |
| 395 | p.BrickColor = BrickColor.new("Earth green") |
| 396 | p.Material = Enum.Material.Glacier |
| 397 | p.MaterialVariant = "2022 Weld" |
| 398 | p.Anchored = true |
| 399 | p.Parent = model |
| 400 | end |
| 401 | do |
| 402 | local p = Instance.new("Part") |
| 403 | p.Shape = Enum.PartType.Ball |
| 404 | p.Name = "CactusJoint3" |
| 405 | p.Size = Vector3.new(5.46, 5.46, 5.46) |
| 406 | p.CFrame = CFrame.new(0, 14, -4) |
| 407 | p.BrickColor = BrickColor.new("Earth green") |
| 408 | p.Material = Enum.Material.Glacier |
| 409 | p.MaterialVariant = "2022 Weld" |
| 410 | p.Anchored = true |
| 411 | p.Parent = model |
| 412 | end |
| 413 | do |
| 414 | local p = Instance.new("Part") |
| 415 | p.Shape = Enum.PartType.Ball |
| 416 | p.Name = "HeadBlend" |
| 417 | p.Size = Vector3.new(5.8, 5.8, 5.8) |
| 418 | p.CFrame = CFrame.new(0, 14.5, -5) |
| 419 | p.BrickColor = BrickColor.new("Fossil") |
| 420 | p.Material = Enum.Material.Glacier |
| 421 | p.MaterialVariant = "2022 Small Stud" |
| 422 | p.Anchored = true |
| 423 | p.Parent = model |
| 424 | end |
| 425 | do |
| 426 | local p = Instance.new("Part") |
| 427 | p.Shape = Enum.PartType.Ball |
| 428 | p.Name = "HeadMain" |
| 429 | p.Size = Vector3.new(6, 6, 6) |
| 430 | p.CFrame = CFrame.new(0, 15.5, -6) |
| 431 | p.BrickColor = BrickColor.new("Fossil") |
| 432 | p.Material = Enum.Material.Glacier |
| 433 | p.MaterialVariant = "2022 Small Stud" |
| 434 | p.Anchored = true |
| 435 | p.Parent = model |
| 436 | end |
| 437 | do |
| 438 | local p = Instance.new("Part") |
| 439 | p.Shape = Enum.PartType.Ball |
| 440 | p.Name = "HeadDome" |
| 441 | p.Size = Vector3.new(5.5, 5.5, 5.5) |
| 442 | p.CFrame = CFrame.new(0, 16.5, -5.5) |
| 443 | p.BrickColor = BrickColor.new("Fossil") |
| 444 | p.Material = Enum.Material.Glacier |
| 445 | p.MaterialVariant = "2022 Small Stud" |
| 446 | p.Anchored = true |
| 447 | p.Parent = model |
| 448 | end |
| 449 | do |
| 450 | local p = Instance.new("Part") |
| 451 | p.Shape = Enum.PartType.Cylinder |
| 452 | p.Name = "Trunk1" |
| 453 | p.Size = Vector3.new(3.3541, 3, 3) |
| 454 | p.CFrame = CFrame.new(0, 12.5, -8.75) * CFrame.Angles(math.rad(-63.4349), math.rad(90), math.rad(0)) |
| 455 | p.BrickColor = BrickColor.new("Fossil") |
| 456 | p.Material = Enum.Material.Glacier |
| 457 | p.MaterialVariant = "2022 Small Stud" |
| 458 | p.Anchored = true |
| 459 | p.Parent = model |
| 460 | end |
| 461 | do |
| 462 | local p = Instance.new("Part") |
| 463 | p.Shape = Enum.PartType.Ball |
| 464 | p.Name = "TrunkJ1" |
| 465 | p.Size = Vector3.new(2.8, 2.8, 2.8) |
| 466 | p.CFrame = CFrame.new(0, 11, -9.5) |
| 467 | p.BrickColor = BrickColor.new("Fossil") |
| 468 | p.Material = Enum.Material.Glacier |
| 469 | p.MaterialVariant = "2022 Small Stud" |
| 470 | p.Anchored = true |
| 471 | p.Parent = model |
| 472 | end |
| 473 | do |
| 474 | local p = Instance.new("Part") |
| 475 | p.Shape = Enum.PartType.Cylinder |
| 476 | p.Name = "Trunk2" |
| 477 | p.Size = Vector3.new(3, 2.5, 2.5) |
| 478 | p.CFrame = CFrame.new(0, 9.5, -9.5) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 479 | p.BrickColor = BrickColor.new("Fossil") |
| 480 | p.Material = Enum.Material.Glacier |
| 481 | p.MaterialVariant = "2022 Small Stud" |
| 482 | p.Anchored = true |
| 483 | p.Parent = model |
| 484 | end |
| 485 | do |
| 486 | local p = Instance.new("Part") |
| 487 | p.Shape = Enum.PartType.Ball |
| 488 | p.Name = "TrunkJ2" |
| 489 | p.Size = Vector3.new(2.3, 2.3, 2.3) |
| 490 | p.CFrame = CFrame.new(0, 8, -9.5) |
| 491 | p.BrickColor = BrickColor.new("Fossil") |
| 492 | p.Material = Enum.Material.Glacier |
| 493 | p.MaterialVariant = "2022 Small Stud" |
| 494 | p.Anchored = true |
| 495 | p.Parent = model |
| 496 | end |
| 497 | do |
| 498 | local p = Instance.new("Part") |
| 499 | p.Shape = Enum.PartType.Cylinder |
| 500 | p.Name = "Trunk3" |
| 501 | p.Size = Vector3.new(2.23607, 2, 2) |
| 502 | p.CFrame = CFrame.new(0, 7, -9) * CFrame.Angles(math.rad(63.4349), math.rad(-90), math.rad(0)) |
| 503 | p.BrickColor = BrickColor.new("Fossil") |
| 504 | p.Material = Enum.Material.Glacier |
| 505 | p.MaterialVariant = "2022 Small Stud" |
| 506 | p.Anchored = true |
| 507 | p.Parent = model |
| 508 | end |
| 509 | do |
| 510 | local p = Instance.new("Part") |
| 511 | p.Shape = Enum.PartType.Ball |
| 512 | p.Name = "TrunkJ3" |
| 513 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 514 | p.CFrame = CFrame.new(0, 6, -8.5) |
| 515 | p.BrickColor = BrickColor.new("Fossil") |
| 516 | p.Material = Enum.Material.Glacier |
| 517 | p.MaterialVariant = "2022 Small Stud" |
| 518 | p.Anchored = true |
| 519 | p.Parent = model |
| 520 | end |
| 521 | do |
| 522 | local p = Instance.new("Part") |
| 523 | p.Shape = Enum.PartType.Cylinder |
| 524 | p.Name = "Trunk4" |
| 525 | p.Size = Vector3.new(1.11803, 1.5, 1.5) |
| 526 | p.CFrame = CFrame.new(0, 5.75, -8) * CFrame.Angles(math.rad(26.5651), math.rad(-90), math.rad(0)) |
| 527 | p.BrickColor = BrickColor.new("Fossil") |
| 528 | p.Material = Enum.Material.Glacier |
| 529 | p.MaterialVariant = "2022 Small Stud" |
| 530 | p.Anchored = true |
| 531 | p.Parent = model |
| 532 | end |
| 533 | do |
| 534 | local p = Instance.new("Part") |
| 535 | p.Shape = Enum.PartType.Ball |
| 536 | p.Name = "TrunkTip" |
| 537 | p.Size = Vector3.new(1.46, 1.46, 1.46) |
| 538 | p.CFrame = CFrame.new(0, 5.5, -7.5) |
| 539 | p.BrickColor = BrickColor.new("Fossil") |
| 540 | p.Material = Enum.Material.Glacier |
| 541 | p.MaterialVariant = "2022 Small Stud" |
| 542 | p.Anchored = true |
| 543 | p.Parent = model |
| 544 | end |
| 545 | do |
| 546 | local p = Instance.new("Part") |
| 547 | p.Name = "EarL" |
| 548 | p.Size = Vector3.new(0.5, 5, 4) |
| 549 | p.CFrame = CFrame.new(3.5, 15, -4) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-15)) |
| 550 | p.BrickColor = BrickColor.new("Fossil") |
| 551 | p.Material = Enum.Material.Glacier |
| 552 | p.MaterialVariant = "2022 Small Stud" |
| 553 | p.Anchored = true |
| 554 | p.Parent = model |
| 555 | end |
| 556 | do |
| 557 | local p = Instance.new("Part") |
| 558 | p.Name = "EarR" |
| 559 | p.Size = Vector3.new(0.5, 5, 4) |
| 560 | p.CFrame = CFrame.new(-3.5, 15, -4) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(15)) |
| 561 | p.BrickColor = BrickColor.new("Fossil") |
| 562 | p.Material = Enum.Material.Glacier |
| 563 | p.MaterialVariant = "2022 Small Stud" |
| 564 | p.Anchored = true |
| 565 | p.Parent = model |
| 566 | end |
| 567 | do |
| 568 | local p = Instance.new("Part") |
| 569 | p.Shape = Enum.PartType.Cylinder |
| 570 | p.Name = "TuskL1" |
| 571 | p.Size = Vector3.new(2.54951, 0.8, 0.8) |
| 572 | p.CFrame = CFrame.new(1.75, 11, -9.25) * CFrame.Angles(math.rad(0), math.rad(71.5651), math.rad(-51.6712)) |
| 573 | p.BrickColor = BrickColor.new("Pearl") |
| 574 | p.Material = Enum.Material.Glacier |
| 575 | p.MaterialVariant = "2022 Stud" |
| 576 | p.Anchored = true |
| 577 | p.Parent = model |
| 578 | end |
| 579 | do |
| 580 | local p = Instance.new("Part") |
| 581 | p.Shape = Enum.PartType.Ball |
| 582 | p.Name = "TuskLJ" |
| 583 | p.Size = Vector3.new(0.7, 0.7, 0.7) |
| 584 | p.CFrame = CFrame.new(2, 10, -10) |
| 585 | p.BrickColor = BrickColor.new("Pearl") |
| 586 | p.Material = Enum.Material.Glacier |
| 587 | p.MaterialVariant = "2022 Stud" |
| 588 | p.Anchored = true |
| 589 | p.Parent = model |
| 590 | end |
| 591 | do |
| 592 | local p = Instance.new("Part") |
| 593 | p.Shape = Enum.PartType.Cylinder |
| 594 | p.Name = "TuskL2" |
| 595 | p.Size = Vector3.new(1.65831, 0.4, 0.4) |
| 596 | p.CFrame = CFrame.new(2.25, 9.25, -10.25) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-64.7606)) |
| 597 | p.BrickColor = BrickColor.new("Pearl") |
| 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.Shape = Enum.PartType.Cylinder |
| 606 | p.Name = "TuskR1" |
| 607 | p.Size = Vector3.new(2.54951, 0.8, 0.8) |
| 608 | p.CFrame = CFrame.new(-1.75, 11, -9.25) * CFrame.Angles(math.rad(-180), math.rad(71.5651), math.rad(128.329)) |
| 609 | p.BrickColor = BrickColor.new("Pearl") |
| 610 | p.Material = Enum.Material.Glacier |
| 611 | p.MaterialVariant = "2022 Stud" |
| 612 | p.Anchored = true |
| 613 | p.Parent = model |
| 614 | end |
| 615 | do |
| 616 | local p = Instance.new("Part") |
| 617 | p.Shape = Enum.PartType.Ball |
| 618 | p.Name = "TuskRJ" |
| 619 | p.Size = Vector3.new(0.7, 0.7, 0.7) |
| 620 | p.CFrame = CFrame.new(-2, 10, -10) |
| 621 | p.BrickColor = BrickColor.new("Pearl") |
| 622 | p.Material = Enum.Material.Glacier |
| 623 | p.MaterialVariant = "2022 Stud" |
| 624 | p.Anchored = true |
| 625 | p.Parent = model |
| 626 | end |
| 627 | do |
| 628 | local p = Instance.new("Part") |
| 629 | p.Shape = Enum.PartType.Cylinder |
| 630 | p.Name = "TuskR2" |
| 631 | p.Size = Vector3.new(1.65831, 0.4, 0.4) |
| 632 | p.CFrame = CFrame.new(-2.25, 9.25, -10.25) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(115.239)) |
| 633 | p.BrickColor = BrickColor.new("Pearl") |
| 634 | p.Material = Enum.Material.Glacier |
| 635 | p.MaterialVariant = "2022 Stud" |
| 636 | p.Anchored = true |
| 637 | p.Parent = model |
| 638 | end |
| 639 | do |
| 640 | local p = Instance.new("Part") |
| 641 | p.Shape = Enum.PartType.Ball |
| 642 | p.Name = "EyeL" |
| 643 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 644 | p.CFrame = CFrame.new(2.5, 15.5, -7.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 645 | p.BrickColor = BrickColor.new("Really black") |
| 646 | p.Material = Enum.Material.Glacier |
| 647 | p.MaterialVariant = "2022 Universal" |
| 648 | p.Anchored = true |
| 649 | p.Parent = model |
| 650 | end |
| 651 | do |
| 652 | local p = Instance.new("Part") |
| 653 | p.Shape = Enum.PartType.Ball |
| 654 | p.Name = "EyeR" |
| 655 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 656 | p.CFrame = CFrame.new(-2.5, 15.5, -7.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 657 | p.BrickColor = BrickColor.new("Really black") |
| 658 | p.Material = Enum.Material.Glacier |
| 659 | p.MaterialVariant = "2022 Universal" |
| 660 | p.Anchored = true |
| 661 | p.Parent = model |
| 662 | end |
| 663 | do |
| 664 | local rightV = Vector3.new(1,0,0).Unit |
| 665 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 666 | local normalV = upV:Cross(rightV) |
| 667 | local pos = Vector3.new(0, 1.92, -5) |
| 668 | local cyl = Instance.new("Part") |
| 669 | cyl.Shape = Enum.PartType.Cylinder |
| 670 | cyl.Size = Vector3.new(2, 8, 8) |
| 671 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 672 | cyl.BrickColor = BrickColor.new("Brown") |
| 673 | cyl.Material = Enum.Material.Glacier |
| 674 | cyl.MaterialVariant = "2022 Glue" |
| 675 | cyl.Anchored = true; cyl.Parent = workspace |
| 676 | local cuts = {} |
| 677 | local hole = Instance.new("Part") |
| 678 | hole.Shape = Enum.PartType.Cylinder |
| 679 | hole.Size = Vector3.new(2.2, 7, 7) |
| 680 | hole.CFrame = cyl.CFrame |
| 681 | hole.BrickColor = BrickColor.new("Brown") |
| 682 | hole.Material = Enum.Material.Glacier |
| 683 | hole.MaterialVariant = "2022 Glue" |
| 684 | hole.Anchored = true; hole.Parent = workspace |
| 685 | table.insert(cuts, hole) |
| 686 | local angBoxes = {} |
| 687 | do |
| 688 | local edgeDir = 1*rightV + 0*upV |
| 689 | local edgePerp = 0*rightV + 1*upV |
| 690 | local cut = Instance.new("Part") |
| 691 | cut.Size = Vector3.new(16, 2.2, 16) |
| 692 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8 * edgePerp, edgeDir, normalV) |
| 693 | cut.BrickColor = BrickColor.new("Brown") |
| 694 | cut.Material = Enum.Material.Glacier |
| 695 | cut.MaterialVariant = "2022 Glue" |
| 696 | cut.Anchored = true; cut.Parent = workspace |
| 697 | table.insert(angBoxes, cut) |
| 698 | end |
| 699 | do |
| 700 | local edgeDir = -1*rightV + 0*upV |
| 701 | local edgePerp = 0*rightV + -1*upV |
| 702 | local cut = Instance.new("Part") |
| 703 | cut.Size = Vector3.new(16, 2.2, 16) |
| 704 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8 * edgePerp, edgeDir, normalV) |
| 705 | cut.BrickColor = BrickColor.new("Brown") |
| 706 | cut.Material = Enum.Material.Glacier |
| 707 | cut.MaterialVariant = "2022 Glue" |
| 708 | cut.Anchored = true; cut.Parent = workspace |
| 709 | table.insert(angBoxes, cut) |
| 710 | end |
| 711 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 712 | if #cuts > 0 then |
| 713 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 714 | for _, c in ipairs(cuts) do c:Destroy() end |
| 715 | if ok and result then |
| 716 | cyl:Destroy() |
| 717 | result.Name = "StrapFront"; result.Anchored = true; result.Parent = model |
| 718 | else |
| 719 | cyl.Name = "StrapFront"; cyl.Parent = model |
| 720 | end |
| 721 | else |
| 722 | cyl.Name = "StrapFront"; cyl.Parent = model |
| 723 | end |
| 724 | end |
| 725 | do |
| 726 | local rightV = Vector3.new(1,0,0).Unit |
| 727 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 728 | local normalV = upV:Cross(rightV) |
| 729 | local pos = Vector3.new(0, 1.92, 2) |
| 730 | local cyl = Instance.new("Part") |
| 731 | cyl.Shape = Enum.PartType.Cylinder |
| 732 | cyl.Size = Vector3.new(2, 8, 8) |
| 733 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 734 | cyl.BrickColor = BrickColor.new("Brown") |
| 735 | cyl.Material = Enum.Material.Glacier |
| 736 | cyl.MaterialVariant = "2022 Glue" |
| 737 | cyl.Anchored = true; cyl.Parent = workspace |
| 738 | local cuts = {} |
| 739 | local hole = Instance.new("Part") |
| 740 | hole.Shape = Enum.PartType.Cylinder |
| 741 | hole.Size = Vector3.new(2.2, 7, 7) |
| 742 | hole.CFrame = cyl.CFrame |
| 743 | hole.BrickColor = BrickColor.new("Brown") |
| 744 | hole.Material = Enum.Material.Glacier |
| 745 | hole.MaterialVariant = "2022 Glue" |
| 746 | hole.Anchored = true; hole.Parent = workspace |
| 747 | table.insert(cuts, hole) |
| 748 | local angBoxes = {} |
| 749 | do |
| 750 | local edgeDir = 1*rightV + 0*upV |
| 751 | local edgePerp = 0*rightV + 1*upV |
| 752 | local cut = Instance.new("Part") |
| 753 | cut.Size = Vector3.new(16, 2.2, 16) |
| 754 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8 * edgePerp, edgeDir, normalV) |
| 755 | cut.BrickColor = BrickColor.new("Brown") |
| 756 | cut.Material = Enum.Material.Glacier |
| 757 | cut.MaterialVariant = "2022 Glue" |
| 758 | cut.Anchored = true; cut.Parent = workspace |
| 759 | table.insert(angBoxes, cut) |
| 760 | end |
| 761 | do |
| 762 | local edgeDir = -1*rightV + 0*upV |
| 763 | local edgePerp = 0*rightV + -1*upV |
| 764 | local cut = Instance.new("Part") |
| 765 | cut.Size = Vector3.new(16, 2.2, 16) |
| 766 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8 * edgePerp, edgeDir, normalV) |
| 767 | cut.BrickColor = BrickColor.new("Brown") |
| 768 | cut.Material = Enum.Material.Glacier |
| 769 | cut.MaterialVariant = "2022 Glue" |
| 770 | cut.Anchored = true; cut.Parent = workspace |
| 771 | table.insert(angBoxes, cut) |
| 772 | end |
| 773 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 774 | if #cuts > 0 then |
| 775 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 776 | for _, c in ipairs(cuts) do c:Destroy() end |
| 777 | if ok and result then |
| 778 | cyl:Destroy() |
| 779 | result.Name = "StrapBack"; result.Anchored = true; result.Parent = model |
| 780 | else |
| 781 | cyl.Name = "StrapBack"; cyl.Parent = model |
| 782 | end |
| 783 | else |
| 784 | cyl.Name = "StrapBack"; cyl.Parent = model |
| 785 | end |
| 786 | end |
| 787 | model.PrimaryPart = model:FindFirstChild("SoleCorkMid") |
| 788 | print("CactusElephantSandal built: " .. #model:GetChildren() .. " parts") |
Loading comments...