Loading model...
by Adam · 4/9/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: WatermelonGorilla |
| 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 = "WatermelonGorilla" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright green"] = "2022 Stud", |
| 25 | ["Bright red"] = "2022 Stud", |
| 26 | ["Dark green"] = "2022 Stud", |
| 27 | ["Dark stone grey"] = "2022 Stud", |
| 28 | ["Medium stone grey"] = "2022 Inlet", |
| 29 | ["Really black"] = "2022 Universal", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Shape = Enum.PartType.Ball |
| 34 | p.Name = "NippleLeft" |
| 35 | p.Size = Vector3.new(0.2, 0.2, 0.2) |
| 36 | p.CFrame = CFrame.new(-1.5, 10.5, -6.4) |
| 37 | p.BrickColor = BrickColor.new("Really black") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Universal" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Shape = Enum.PartType.Ball |
| 46 | p.Name = "NippleRight" |
| 47 | p.Size = Vector3.new(0.2, 0.2, 0.2) |
| 48 | p.CFrame = CFrame.new(1.5, 10.5, -6.4) |
| 49 | p.BrickColor = BrickColor.new("Really black") |
| 50 | p.Material = Enum.Material.Glacier |
| 51 | p.MaterialVariant = "2022 Universal" |
| 52 | p.Anchored = true |
| 53 | p.Parent = model |
| 54 | end |
| 55 | do |
| 56 | local p = Instance.new("Part") |
| 57 | p.Name = "HeadBase" |
| 58 | p.Size = Vector3.new(4, 2, 4) |
| 59 | p.CFrame = CFrame.new(0, 14.5, -2) |
| 60 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Stud" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Name = "FaceUpper" |
| 69 | p.Size = Vector3.new(3, 1.5, 1) |
| 70 | p.CFrame = CFrame.new(0, 15, -3.8) |
| 71 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 72 | p.Material = Enum.Material.Glacier |
| 73 | p.MaterialVariant = "2022 Inlet" |
| 74 | p.Anchored = true |
| 75 | p.Parent = model |
| 76 | end |
| 77 | do |
| 78 | local p = Instance.new("Part") |
| 79 | p.Name = "Snout" |
| 80 | p.Size = Vector3.new(3.2, 1.8, 1.5) |
| 81 | p.CFrame = CFrame.new(0, 14, -4.2) |
| 82 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 83 | p.Material = Enum.Material.Glacier |
| 84 | p.MaterialVariant = "2022 Inlet" |
| 85 | p.Anchored = true |
| 86 | p.Parent = model |
| 87 | end |
| 88 | do |
| 89 | local p = Instance.new("Part") |
| 90 | p.Name = "BrowRidge" |
| 91 | p.Size = Vector3.new(3.4, 0.6, 0.8) |
| 92 | p.CFrame = CFrame.new(0, 15.7, -4.2) |
| 93 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 94 | p.Material = Enum.Material.Glacier |
| 95 | p.MaterialVariant = "2022 Inlet" |
| 96 | p.Anchored = true |
| 97 | p.Parent = model |
| 98 | end |
| 99 | do |
| 100 | local p = Instance.new("Part") |
| 101 | p.Shape = Enum.PartType.Ball |
| 102 | p.Name = "EyeLeft" |
| 103 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 104 | p.CFrame = CFrame.new(-0.8, 15.3, -4.3) |
| 105 | p.BrickColor = BrickColor.new("Really black") |
| 106 | p.Material = Enum.Material.Glacier |
| 107 | p.MaterialVariant = "2022 Universal" |
| 108 | p.Anchored = true |
| 109 | p.Parent = model |
| 110 | end |
| 111 | do |
| 112 | local p = Instance.new("Part") |
| 113 | p.Shape = Enum.PartType.Ball |
| 114 | p.Name = "EyeRight" |
| 115 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 116 | p.CFrame = CFrame.new(0.8, 15.3, -4.3) |
| 117 | p.BrickColor = BrickColor.new("Really black") |
| 118 | p.Material = Enum.Material.Glacier |
| 119 | p.MaterialVariant = "2022 Universal" |
| 120 | p.Anchored = true |
| 121 | p.Parent = model |
| 122 | end |
| 123 | do |
| 124 | local p = Instance.new("Part") |
| 125 | p.Name = "Nose" |
| 126 | p.Size = Vector3.new(1.2, 0.8, 0.5) |
| 127 | p.CFrame = CFrame.new(0, 14.3, -4.8) |
| 128 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 129 | p.Material = Enum.Material.Glacier |
| 130 | p.MaterialVariant = "2022 Inlet" |
| 131 | p.Anchored = true |
| 132 | p.Parent = model |
| 133 | end |
| 134 | do |
| 135 | local p = Instance.new("Part") |
| 136 | p.Shape = Enum.PartType.Ball |
| 137 | p.Name = "NostrilLeft" |
| 138 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 139 | p.CFrame = CFrame.new(-0.4, 14.1, -5) |
| 140 | p.BrickColor = BrickColor.new("Really black") |
| 141 | p.Material = Enum.Material.Glacier |
| 142 | p.MaterialVariant = "2022 Universal" |
| 143 | p.Anchored = true |
| 144 | p.Parent = model |
| 145 | end |
| 146 | do |
| 147 | local p = Instance.new("Part") |
| 148 | p.Shape = Enum.PartType.Ball |
| 149 | p.Name = "NostrilRight" |
| 150 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 151 | p.CFrame = CFrame.new(0.4, 14.1, -5) |
| 152 | p.BrickColor = BrickColor.new("Really black") |
| 153 | p.Material = Enum.Material.Glacier |
| 154 | p.MaterialVariant = "2022 Universal" |
| 155 | p.Anchored = true |
| 156 | p.Parent = model |
| 157 | end |
| 158 | do |
| 159 | local p = Instance.new("Part") |
| 160 | p.Name = "Mouth" |
| 161 | p.Size = Vector3.new(2, 0.1, 0.2) |
| 162 | p.CFrame = CFrame.new(0, 13.5, -4.9) |
| 163 | p.BrickColor = BrickColor.new("Really black") |
| 164 | p.Material = Enum.Material.Glacier |
| 165 | p.MaterialVariant = "2022 Universal" |
| 166 | p.Anchored = true |
| 167 | p.Parent = model |
| 168 | end |
| 169 | do |
| 170 | local p = Instance.new("Part") |
| 171 | p.Shape = Enum.PartType.Cylinder |
| 172 | p.Name = "ShoulderLeft" |
| 173 | p.Size = Vector3.new(2.54951, 3.5, 3.5) |
| 174 | p.CFrame = CFrame.new(-7.25, 11, -0.25) * CFrame.Angles(math.rad(-180), math.rad(18.4349), math.rad(128.329)) |
| 175 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 176 | p.Material = Enum.Material.Glacier |
| 177 | p.MaterialVariant = "2022 Stud" |
| 178 | p.Anchored = true |
| 179 | p.Parent = model |
| 180 | end |
| 181 | do |
| 182 | local p = Instance.new("Part") |
| 183 | p.Shape = Enum.PartType.Cylinder |
| 184 | p.Name = "BicepLeft" |
| 185 | p.Size = Vector3.new(4.06202, 3, 3) |
| 186 | p.CFrame = CFrame.new(-8.25, 8, -0.75) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(100.025)) |
| 187 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 188 | p.Material = Enum.Material.Glacier |
| 189 | p.MaterialVariant = "2022 Stud" |
| 190 | p.Anchored = true |
| 191 | p.Parent = model |
| 192 | end |
| 193 | do |
| 194 | local p = Instance.new("Part") |
| 195 | p.Shape = Enum.PartType.Cylinder |
| 196 | p.Name = "ForearmLeft" |
| 197 | p.Size = Vector3.new(4.06202, 2.5, 2.5) |
| 198 | p.CFrame = CFrame.new(-8.25, 4, -1.25) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-79.975)) |
| 199 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 200 | p.Material = Enum.Material.Glacier |
| 201 | p.MaterialVariant = "2022 Stud" |
| 202 | p.Anchored = true |
| 203 | p.Parent = model |
| 204 | end |
| 205 | do |
| 206 | local p = Instance.new("Part") |
| 207 | p.Name = "HandLeft" |
| 208 | p.Size = Vector3.new(2, 2.5, 2) |
| 209 | p.CFrame = CFrame.new(-8, 1, -1.5) |
| 210 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 211 | p.Material = Enum.Material.Glacier |
| 212 | p.MaterialVariant = "2022 Inlet" |
| 213 | p.Anchored = true |
| 214 | p.Parent = model |
| 215 | end |
| 216 | do |
| 217 | local p = Instance.new("Part") |
| 218 | p.Name = "FingerL1" |
| 219 | p.Size = Vector3.new(0.6, 1.5, 0.6) |
| 220 | p.CFrame = CFrame.new(-8.78, 0, -1) |
| 221 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 222 | p.Material = Enum.Material.Glacier |
| 223 | p.MaterialVariant = "2022 Inlet" |
| 224 | p.Anchored = true |
| 225 | p.Parent = model |
| 226 | end |
| 227 | do |
| 228 | local p = Instance.new("Part") |
| 229 | p.Name = "FingerL2" |
| 230 | p.Size = Vector3.new(0.6, 1.5, 0.6) |
| 231 | p.CFrame = CFrame.new(-8, -0.2, -1) |
| 232 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 233 | p.Material = Enum.Material.Glacier |
| 234 | p.MaterialVariant = "2022 Inlet" |
| 235 | p.Anchored = true |
| 236 | p.Parent = model |
| 237 | end |
| 238 | do |
| 239 | local p = Instance.new("Part") |
| 240 | p.Name = "FingerL3" |
| 241 | p.Size = Vector3.new(0.6, 1.5, 0.6) |
| 242 | p.CFrame = CFrame.new(-7.22, 0, -1) |
| 243 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 244 | p.Material = Enum.Material.Glacier |
| 245 | p.MaterialVariant = "2022 Inlet" |
| 246 | p.Anchored = true |
| 247 | p.Parent = model |
| 248 | end |
| 249 | do |
| 250 | local p = Instance.new("Part") |
| 251 | p.Shape = Enum.PartType.Cylinder |
| 252 | p.Name = "ShoulderRight" |
| 253 | p.Size = Vector3.new(2.54951, 3.5, 3.5) |
| 254 | p.CFrame = CFrame.new(7.25, 11, -0.25) * CFrame.Angles(math.rad(0), math.rad(18.4349), math.rad(-51.6712)) |
| 255 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 256 | p.Material = Enum.Material.Glacier |
| 257 | p.MaterialVariant = "2022 Stud" |
| 258 | p.Anchored = true |
| 259 | p.Parent = model |
| 260 | end |
| 261 | do |
| 262 | local p = Instance.new("Part") |
| 263 | p.Shape = Enum.PartType.Cylinder |
| 264 | p.Name = "BicepRight" |
| 265 | p.Size = Vector3.new(4.06202, 3, 3) |
| 266 | p.CFrame = CFrame.new(8.25, 8, -0.75) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-79.975)) |
| 267 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 268 | p.Material = Enum.Material.Glacier |
| 269 | p.MaterialVariant = "2022 Stud" |
| 270 | p.Anchored = true |
| 271 | p.Parent = model |
| 272 | end |
| 273 | do |
| 274 | local p = Instance.new("Part") |
| 275 | p.Shape = Enum.PartType.Cylinder |
| 276 | p.Name = "ForearmRight" |
| 277 | p.Size = Vector3.new(4.06202, 2.5, 2.5) |
| 278 | p.CFrame = CFrame.new(8.25, 4, -1.25) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(100.025)) |
| 279 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 280 | p.Material = Enum.Material.Glacier |
| 281 | p.MaterialVariant = "2022 Stud" |
| 282 | p.Anchored = true |
| 283 | p.Parent = model |
| 284 | end |
| 285 | do |
| 286 | local p = Instance.new("Part") |
| 287 | p.Name = "HandRight" |
| 288 | p.Size = Vector3.new(2, 2.5, 2) |
| 289 | p.CFrame = CFrame.new(8, 1, -1.5) |
| 290 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 291 | p.Material = Enum.Material.Glacier |
| 292 | p.MaterialVariant = "2022 Inlet" |
| 293 | p.Anchored = true |
| 294 | p.Parent = model |
| 295 | end |
| 296 | do |
| 297 | local p = Instance.new("Part") |
| 298 | p.Name = "FingerR1" |
| 299 | p.Size = Vector3.new(0.6, 1.5, 0.6) |
| 300 | p.CFrame = CFrame.new(8.78, 0, -1) |
| 301 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 302 | p.Material = Enum.Material.Glacier |
| 303 | p.MaterialVariant = "2022 Inlet" |
| 304 | p.Anchored = true |
| 305 | p.Parent = model |
| 306 | end |
| 307 | do |
| 308 | local p = Instance.new("Part") |
| 309 | p.Name = "FingerR2" |
| 310 | p.Size = Vector3.new(0.6, 1.5, 0.6) |
| 311 | p.CFrame = CFrame.new(8, -0.2, -1) |
| 312 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 313 | p.Material = Enum.Material.Glacier |
| 314 | p.MaterialVariant = "2022 Inlet" |
| 315 | p.Anchored = true |
| 316 | p.Parent = model |
| 317 | end |
| 318 | do |
| 319 | local p = Instance.new("Part") |
| 320 | p.Name = "FingerR3" |
| 321 | p.Size = Vector3.new(0.6, 1.5, 0.6) |
| 322 | p.CFrame = CFrame.new(7.22, 0, -1) |
| 323 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 324 | p.Material = Enum.Material.Glacier |
| 325 | p.MaterialVariant = "2022 Inlet" |
| 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 = "ThighLeft" |
| 333 | p.Size = Vector3.new(0.707107, 2.5, 2.5) |
| 334 | p.CFrame = CFrame.new(-2.75, 2.75, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(135)) |
| 335 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 336 | p.Material = Enum.Material.Glacier |
| 337 | p.MaterialVariant = "2022 Stud" |
| 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 = "CalfLeft" |
| 345 | p.Size = Vector3.new(1.5, 2, 2) |
| 346 | p.CFrame = CFrame.new(-3, 1.83, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 347 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 348 | p.Material = Enum.Material.Glacier |
| 349 | p.MaterialVariant = "2022 Stud" |
| 350 | p.Anchored = true |
| 351 | p.Parent = model |
| 352 | end |
| 353 | do |
| 354 | local p = Instance.new("Part") |
| 355 | p.Name = "FootLeft" |
| 356 | p.Size = Vector3.new(2.2, 1, 3) |
| 357 | p.CFrame = CFrame.new(-3, 0.5, -1) |
| 358 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 359 | p.Material = Enum.Material.Glacier |
| 360 | p.MaterialVariant = "2022 Inlet" |
| 361 | p.Anchored = true |
| 362 | p.Parent = model |
| 363 | end |
| 364 | do |
| 365 | local p = Instance.new("Part") |
| 366 | p.Name = "ToeL1" |
| 367 | p.Size = Vector3.new(0.5, 0.5, 1) |
| 368 | p.CFrame = CFrame.new(-3.7, 0.2, -2.5) |
| 369 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 370 | p.Material = Enum.Material.Glacier |
| 371 | p.MaterialVariant = "2022 Inlet" |
| 372 | p.Anchored = true |
| 373 | p.Parent = model |
| 374 | end |
| 375 | do |
| 376 | local p = Instance.new("Part") |
| 377 | p.Name = "ToeL2" |
| 378 | p.Size = Vector3.new(0.5, 0.5, 1) |
| 379 | p.CFrame = CFrame.new(-3, 0.2, -2.6) |
| 380 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 381 | p.Material = Enum.Material.Glacier |
| 382 | p.MaterialVariant = "2022 Inlet" |
| 383 | p.Anchored = true |
| 384 | p.Parent = model |
| 385 | end |
| 386 | do |
| 387 | local p = Instance.new("Part") |
| 388 | p.Name = "ToeL3" |
| 389 | p.Size = Vector3.new(0.5, 0.5, 1) |
| 390 | p.CFrame = CFrame.new(-2.3, 0.2, -2.5) |
| 391 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 392 | p.Material = Enum.Material.Glacier |
| 393 | p.MaterialVariant = "2022 Inlet" |
| 394 | p.Anchored = true |
| 395 | p.Parent = model |
| 396 | end |
| 397 | do |
| 398 | local p = Instance.new("Part") |
| 399 | p.Shape = Enum.PartType.Cylinder |
| 400 | p.Name = "ThighRight" |
| 401 | p.Size = Vector3.new(0.707107, 2.5, 2.5) |
| 402 | p.CFrame = CFrame.new(2.75, 2.75, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45)) |
| 403 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 404 | p.Material = Enum.Material.Glacier |
| 405 | p.MaterialVariant = "2022 Stud" |
| 406 | p.Anchored = true |
| 407 | p.Parent = model |
| 408 | end |
| 409 | do |
| 410 | local p = Instance.new("Part") |
| 411 | p.Shape = Enum.PartType.Cylinder |
| 412 | p.Name = "CalfRight" |
| 413 | p.Size = Vector3.new(1.5, 2, 2) |
| 414 | p.CFrame = CFrame.new(3, 1.83, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90)) |
| 415 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 416 | p.Material = Enum.Material.Glacier |
| 417 | p.MaterialVariant = "2022 Stud" |
| 418 | p.Anchored = true |
| 419 | p.Parent = model |
| 420 | end |
| 421 | do |
| 422 | local p = Instance.new("Part") |
| 423 | p.Name = "FootRight" |
| 424 | p.Size = Vector3.new(2.2, 1, 3) |
| 425 | p.CFrame = CFrame.new(3, 0.5, -1) |
| 426 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 427 | p.Material = Enum.Material.Glacier |
| 428 | p.MaterialVariant = "2022 Inlet" |
| 429 | p.Anchored = true |
| 430 | p.Parent = model |
| 431 | end |
| 432 | do |
| 433 | local p = Instance.new("Part") |
| 434 | p.Name = "ToeR1" |
| 435 | p.Size = Vector3.new(0.5, 0.5, 1) |
| 436 | p.CFrame = CFrame.new(3.7, 0.2, -2.5) |
| 437 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 438 | p.Material = Enum.Material.Glacier |
| 439 | p.MaterialVariant = "2022 Inlet" |
| 440 | p.Anchored = true |
| 441 | p.Parent = model |
| 442 | end |
| 443 | do |
| 444 | local p = Instance.new("Part") |
| 445 | p.Name = "ToeR2" |
| 446 | p.Size = Vector3.new(0.5, 0.5, 1) |
| 447 | p.CFrame = CFrame.new(3, 0.2, -2.6) |
| 448 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 449 | p.Material = Enum.Material.Glacier |
| 450 | p.MaterialVariant = "2022 Inlet" |
| 451 | p.Anchored = true |
| 452 | p.Parent = model |
| 453 | end |
| 454 | do |
| 455 | local p = Instance.new("Part") |
| 456 | p.Name = "ToeR3" |
| 457 | p.Size = Vector3.new(0.5, 0.5, 1) |
| 458 | p.CFrame = CFrame.new(2.3, 0.2, -2.5) |
| 459 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 460 | p.Material = Enum.Material.Glacier |
| 461 | p.MaterialVariant = "2022 Inlet" |
| 462 | p.Anchored = true |
| 463 | p.Parent = model |
| 464 | end |
| 465 | do |
| 466 | local upV = Vector3.new(0,1,0).Unit |
| 467 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 468 | local forwardV = rightV:Cross(upV) |
| 469 | local pos = Vector3.new(0, 8, 0) |
| 470 | local ball = Instance.new("Part") |
| 471 | ball.Shape = Enum.PartType.Ball |
| 472 | ball.Size = Vector3.new(11.6, 11.6, 11.6) |
| 473 | ball.CFrame = CFrame.new(pos) |
| 474 | ball.BrickColor = BrickColor.new("Bright red") |
| 475 | ball.Material = Enum.Material.Glacier |
| 476 | ball.MaterialVariant = "2022 Stud" |
| 477 | ball.Anchored = true; ball.Parent = workspace |
| 478 | local cuts = {} |
| 479 | if #cuts > 0 then |
| 480 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 481 | for _, c in ipairs(cuts) do c:Destroy() end |
| 482 | if ok and result then |
| 483 | ball:Destroy() |
| 484 | result.Name = "MelonFlesh"; result.Anchored = true; result.Parent = model |
| 485 | else |
| 486 | ball.Name = "MelonFlesh"; ball.Parent = model |
| 487 | end |
| 488 | else |
| 489 | ball.Name = "MelonFlesh"; ball.Parent = model |
| 490 | end |
| 491 | end |
| 492 | do |
| 493 | local upV = Vector3.new(0,1,0).Unit |
| 494 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 495 | local forwardV = rightV:Cross(upV) |
| 496 | local pos = Vector3.new(0, 8, 0) |
| 497 | local ball = Instance.new("Part") |
| 498 | ball.Shape = Enum.PartType.Ball |
| 499 | ball.Size = Vector3.new(12, 12, 12) |
| 500 | ball.CFrame = CFrame.new(pos) |
| 501 | ball.BrickColor = BrickColor.new("Bright green") |
| 502 | ball.Material = Enum.Material.Glacier |
| 503 | ball.MaterialVariant = "2022 Stud" |
| 504 | ball.Anchored = true; ball.Parent = workspace |
| 505 | local cuts = {} |
| 506 | local hole = Instance.new("Part") |
| 507 | hole.Shape = Enum.PartType.Ball |
| 508 | hole.Size = Vector3.new(11.6, 11.6, 11.6) |
| 509 | hole.CFrame = CFrame.new(pos) |
| 510 | hole.BrickColor = BrickColor.new("Bright green") |
| 511 | hole.Material = Enum.Material.Glacier |
| 512 | hole.MaterialVariant = "2022 Stud" |
| 513 | hole.Anchored = true; hole.Parent = workspace |
| 514 | table.insert(cuts, hole) |
| 515 | if #cuts > 0 then |
| 516 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 517 | for _, c in ipairs(cuts) do c:Destroy() end |
| 518 | if ok and result then |
| 519 | ball:Destroy() |
| 520 | result.Name = "MelonShell"; result.Anchored = true; result.Parent = model |
| 521 | else |
| 522 | ball.Name = "MelonShell"; ball.Parent = model |
| 523 | end |
| 524 | else |
| 525 | ball.Name = "MelonShell"; ball.Parent = model |
| 526 | end |
| 527 | end |
| 528 | do |
| 529 | local upV = Vector3.new(0,1,0).Unit |
| 530 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 531 | local forwardV = rightV:Cross(upV) |
| 532 | local pos = Vector3.new(0, 8, 0) |
| 533 | local ball = Instance.new("Part") |
| 534 | ball.Shape = Enum.PartType.Ball |
| 535 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 536 | ball.CFrame = CFrame.new(pos) |
| 537 | ball.BrickColor = BrickColor.new("Dark green") |
| 538 | ball.Material = Enum.Material.Glacier |
| 539 | ball.MaterialVariant = "2022 Stud" |
| 540 | ball.Anchored = true; ball.Parent = workspace |
| 541 | local cuts = {} |
| 542 | local hole = Instance.new("Part") |
| 543 | hole.Shape = Enum.PartType.Ball |
| 544 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 545 | hole.CFrame = CFrame.new(pos) |
| 546 | hole.BrickColor = BrickColor.new("Dark green") |
| 547 | hole.Material = Enum.Material.Glacier |
| 548 | hole.MaterialVariant = "2022 Stud" |
| 549 | hole.Anchored = true; hole.Parent = workspace |
| 550 | table.insert(cuts, hole) |
| 551 | local lonBoxes = {} |
| 552 | do |
| 553 | local edgeDir = 0.996195*rightV + -0.087156*forwardV |
| 554 | local edgePerp = 0.087156*rightV + 0.996195*forwardV |
| 555 | local cut = Instance.new("Part") |
| 556 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 557 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 558 | cut.BrickColor = BrickColor.new("Dark green") |
| 559 | cut.Material = Enum.Material.Glacier |
| 560 | cut.MaterialVariant = "2022 Stud" |
| 561 | cut.Anchored = true; cut.Parent = workspace |
| 562 | table.insert(lonBoxes, cut) |
| 563 | end |
| 564 | do |
| 565 | local edgeDir = 0.996195*rightV + 0.087156*forwardV |
| 566 | local edgePerp = -0.087156*rightV + 0.996195*forwardV |
| 567 | local cut = Instance.new("Part") |
| 568 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 569 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 570 | cut.BrickColor = BrickColor.new("Dark green") |
| 571 | cut.Material = Enum.Material.Glacier |
| 572 | cut.MaterialVariant = "2022 Stud" |
| 573 | cut.Anchored = true; cut.Parent = workspace |
| 574 | table.insert(lonBoxes, cut) |
| 575 | end |
| 576 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 577 | if #cuts > 0 then |
| 578 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 579 | for _, c in ipairs(cuts) do c:Destroy() end |
| 580 | if ok and result then |
| 581 | ball:Destroy() |
| 582 | result.Name = "MelonStripe_0"; result.Anchored = true; result.Parent = model |
| 583 | else |
| 584 | ball.Name = "MelonStripe_0"; ball.Parent = model |
| 585 | end |
| 586 | else |
| 587 | ball.Name = "MelonStripe_0"; ball.Parent = model |
| 588 | end |
| 589 | end |
| 590 | do |
| 591 | local upV = Vector3.new(0,1,0).Unit |
| 592 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 593 | local forwardV = rightV:Cross(upV) |
| 594 | local pos = Vector3.new(0, 8, 0) |
| 595 | local ball = Instance.new("Part") |
| 596 | ball.Shape = Enum.PartType.Ball |
| 597 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 598 | ball.CFrame = CFrame.new(pos) |
| 599 | ball.BrickColor = BrickColor.new("Dark green") |
| 600 | ball.Material = Enum.Material.Glacier |
| 601 | ball.MaterialVariant = "2022 Stud" |
| 602 | ball.Anchored = true; ball.Parent = workspace |
| 603 | local cuts = {} |
| 604 | local hole = Instance.new("Part") |
| 605 | hole.Shape = Enum.PartType.Ball |
| 606 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 607 | hole.CFrame = CFrame.new(pos) |
| 608 | hole.BrickColor = BrickColor.new("Dark green") |
| 609 | hole.Material = Enum.Material.Glacier |
| 610 | hole.MaterialVariant = "2022 Stud" |
| 611 | hole.Anchored = true; hole.Parent = workspace |
| 612 | table.insert(cuts, hole) |
| 613 | local lonBoxes = {} |
| 614 | do |
| 615 | local edgeDir = 0.766044*rightV + 0.642788*forwardV |
| 616 | local edgePerp = -0.642788*rightV + 0.766044*forwardV |
| 617 | local cut = Instance.new("Part") |
| 618 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 619 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 620 | cut.BrickColor = BrickColor.new("Dark green") |
| 621 | cut.Material = Enum.Material.Glacier |
| 622 | cut.MaterialVariant = "2022 Stud" |
| 623 | cut.Anchored = true; cut.Parent = workspace |
| 624 | table.insert(lonBoxes, cut) |
| 625 | end |
| 626 | do |
| 627 | local edgeDir = 0.642788*rightV + 0.766044*forwardV |
| 628 | local edgePerp = -0.766044*rightV + 0.642788*forwardV |
| 629 | local cut = Instance.new("Part") |
| 630 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 631 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 632 | cut.BrickColor = BrickColor.new("Dark green") |
| 633 | cut.Material = Enum.Material.Glacier |
| 634 | cut.MaterialVariant = "2022 Stud" |
| 635 | cut.Anchored = true; cut.Parent = workspace |
| 636 | table.insert(lonBoxes, cut) |
| 637 | end |
| 638 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 639 | if #cuts > 0 then |
| 640 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 641 | for _, c in ipairs(cuts) do c:Destroy() end |
| 642 | if ok and result then |
| 643 | ball:Destroy() |
| 644 | result.Name = "MelonStripe_1"; result.Anchored = true; result.Parent = model |
| 645 | else |
| 646 | ball.Name = "MelonStripe_1"; ball.Parent = model |
| 647 | end |
| 648 | else |
| 649 | ball.Name = "MelonStripe_1"; ball.Parent = model |
| 650 | end |
| 651 | end |
| 652 | do |
| 653 | local upV = Vector3.new(0,1,0).Unit |
| 654 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 655 | local forwardV = rightV:Cross(upV) |
| 656 | local pos = Vector3.new(0, 8, 0) |
| 657 | local ball = Instance.new("Part") |
| 658 | ball.Shape = Enum.PartType.Ball |
| 659 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 660 | ball.CFrame = CFrame.new(pos) |
| 661 | ball.BrickColor = BrickColor.new("Dark green") |
| 662 | ball.Material = Enum.Material.Glacier |
| 663 | ball.MaterialVariant = "2022 Stud" |
| 664 | ball.Anchored = true; ball.Parent = workspace |
| 665 | local cuts = {} |
| 666 | local hole = Instance.new("Part") |
| 667 | hole.Shape = Enum.PartType.Ball |
| 668 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 669 | hole.CFrame = CFrame.new(pos) |
| 670 | hole.BrickColor = BrickColor.new("Dark green") |
| 671 | hole.Material = Enum.Material.Glacier |
| 672 | hole.MaterialVariant = "2022 Stud" |
| 673 | hole.Anchored = true; hole.Parent = workspace |
| 674 | table.insert(cuts, hole) |
| 675 | local lonBoxes = {} |
| 676 | do |
| 677 | local edgeDir = 0.087156*rightV + 0.996195*forwardV |
| 678 | local edgePerp = -0.996195*rightV + 0.087156*forwardV |
| 679 | local cut = Instance.new("Part") |
| 680 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 681 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 682 | cut.BrickColor = BrickColor.new("Dark green") |
| 683 | cut.Material = Enum.Material.Glacier |
| 684 | cut.MaterialVariant = "2022 Stud" |
| 685 | cut.Anchored = true; cut.Parent = workspace |
| 686 | table.insert(lonBoxes, cut) |
| 687 | end |
| 688 | do |
| 689 | local edgeDir = -0.087156*rightV + 0.996195*forwardV |
| 690 | local edgePerp = -0.996195*rightV + -0.087156*forwardV |
| 691 | local cut = Instance.new("Part") |
| 692 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 693 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 694 | cut.BrickColor = BrickColor.new("Dark green") |
| 695 | cut.Material = Enum.Material.Glacier |
| 696 | cut.MaterialVariant = "2022 Stud" |
| 697 | cut.Anchored = true; cut.Parent = workspace |
| 698 | table.insert(lonBoxes, cut) |
| 699 | end |
| 700 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 701 | if #cuts > 0 then |
| 702 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 703 | for _, c in ipairs(cuts) do c:Destroy() end |
| 704 | if ok and result then |
| 705 | ball:Destroy() |
| 706 | result.Name = "MelonStripe_2"; result.Anchored = true; result.Parent = model |
| 707 | else |
| 708 | ball.Name = "MelonStripe_2"; ball.Parent = model |
| 709 | end |
| 710 | else |
| 711 | ball.Name = "MelonStripe_2"; ball.Parent = model |
| 712 | end |
| 713 | end |
| 714 | do |
| 715 | local upV = Vector3.new(0,1,0).Unit |
| 716 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 717 | local forwardV = rightV:Cross(upV) |
| 718 | local pos = Vector3.new(0, 8, 0) |
| 719 | local ball = Instance.new("Part") |
| 720 | ball.Shape = Enum.PartType.Ball |
| 721 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 722 | ball.CFrame = CFrame.new(pos) |
| 723 | ball.BrickColor = BrickColor.new("Dark green") |
| 724 | ball.Material = Enum.Material.Glacier |
| 725 | ball.MaterialVariant = "2022 Stud" |
| 726 | ball.Anchored = true; ball.Parent = workspace |
| 727 | local cuts = {} |
| 728 | local hole = Instance.new("Part") |
| 729 | hole.Shape = Enum.PartType.Ball |
| 730 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 731 | hole.CFrame = CFrame.new(pos) |
| 732 | hole.BrickColor = BrickColor.new("Dark green") |
| 733 | hole.Material = Enum.Material.Glacier |
| 734 | hole.MaterialVariant = "2022 Stud" |
| 735 | hole.Anchored = true; hole.Parent = workspace |
| 736 | table.insert(cuts, hole) |
| 737 | local lonBoxes = {} |
| 738 | do |
| 739 | local edgeDir = -0.642788*rightV + 0.766044*forwardV |
| 740 | local edgePerp = -0.766044*rightV + -0.642788*forwardV |
| 741 | local cut = Instance.new("Part") |
| 742 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 743 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 744 | cut.BrickColor = BrickColor.new("Dark green") |
| 745 | cut.Material = Enum.Material.Glacier |
| 746 | cut.MaterialVariant = "2022 Stud" |
| 747 | cut.Anchored = true; cut.Parent = workspace |
| 748 | table.insert(lonBoxes, cut) |
| 749 | end |
| 750 | do |
| 751 | local edgeDir = -0.766044*rightV + 0.642788*forwardV |
| 752 | local edgePerp = -0.642788*rightV + -0.766044*forwardV |
| 753 | local cut = Instance.new("Part") |
| 754 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 755 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 756 | cut.BrickColor = BrickColor.new("Dark green") |
| 757 | cut.Material = Enum.Material.Glacier |
| 758 | cut.MaterialVariant = "2022 Stud" |
| 759 | cut.Anchored = true; cut.Parent = workspace |
| 760 | table.insert(lonBoxes, cut) |
| 761 | end |
| 762 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 763 | if #cuts > 0 then |
| 764 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 765 | for _, c in ipairs(cuts) do c:Destroy() end |
| 766 | if ok and result then |
| 767 | ball:Destroy() |
| 768 | result.Name = "MelonStripe_3"; result.Anchored = true; result.Parent = model |
| 769 | else |
| 770 | ball.Name = "MelonStripe_3"; ball.Parent = model |
| 771 | end |
| 772 | else |
| 773 | ball.Name = "MelonStripe_3"; ball.Parent = model |
| 774 | end |
| 775 | end |
| 776 | do |
| 777 | local upV = Vector3.new(0,1,0).Unit |
| 778 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 779 | local forwardV = rightV:Cross(upV) |
| 780 | local pos = Vector3.new(0, 8, 0) |
| 781 | local ball = Instance.new("Part") |
| 782 | ball.Shape = Enum.PartType.Ball |
| 783 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 784 | ball.CFrame = CFrame.new(pos) |
| 785 | ball.BrickColor = BrickColor.new("Dark green") |
| 786 | ball.Material = Enum.Material.Glacier |
| 787 | ball.MaterialVariant = "2022 Stud" |
| 788 | ball.Anchored = true; ball.Parent = workspace |
| 789 | local cuts = {} |
| 790 | local hole = Instance.new("Part") |
| 791 | hole.Shape = Enum.PartType.Ball |
| 792 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 793 | hole.CFrame = CFrame.new(pos) |
| 794 | hole.BrickColor = BrickColor.new("Dark green") |
| 795 | hole.Material = Enum.Material.Glacier |
| 796 | hole.MaterialVariant = "2022 Stud" |
| 797 | hole.Anchored = true; hole.Parent = workspace |
| 798 | table.insert(cuts, hole) |
| 799 | local lonBoxes = {} |
| 800 | do |
| 801 | local edgeDir = -0.996195*rightV + 0.087156*forwardV |
| 802 | local edgePerp = -0.087156*rightV + -0.996195*forwardV |
| 803 | local cut = Instance.new("Part") |
| 804 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 805 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 806 | cut.BrickColor = BrickColor.new("Dark green") |
| 807 | cut.Material = Enum.Material.Glacier |
| 808 | cut.MaterialVariant = "2022 Stud" |
| 809 | cut.Anchored = true; cut.Parent = workspace |
| 810 | table.insert(lonBoxes, cut) |
| 811 | end |
| 812 | do |
| 813 | local edgeDir = -0.996195*rightV + -0.087156*forwardV |
| 814 | local edgePerp = 0.087156*rightV + -0.996195*forwardV |
| 815 | local cut = Instance.new("Part") |
| 816 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 817 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 818 | cut.BrickColor = BrickColor.new("Dark green") |
| 819 | cut.Material = Enum.Material.Glacier |
| 820 | cut.MaterialVariant = "2022 Stud" |
| 821 | cut.Anchored = true; cut.Parent = workspace |
| 822 | table.insert(lonBoxes, cut) |
| 823 | end |
| 824 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 825 | if #cuts > 0 then |
| 826 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 827 | for _, c in ipairs(cuts) do c:Destroy() end |
| 828 | if ok and result then |
| 829 | ball:Destroy() |
| 830 | result.Name = "MelonStripe_4"; result.Anchored = true; result.Parent = model |
| 831 | else |
| 832 | ball.Name = "MelonStripe_4"; ball.Parent = model |
| 833 | end |
| 834 | else |
| 835 | ball.Name = "MelonStripe_4"; ball.Parent = model |
| 836 | end |
| 837 | end |
| 838 | do |
| 839 | local upV = Vector3.new(0,1,0).Unit |
| 840 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 841 | local forwardV = rightV:Cross(upV) |
| 842 | local pos = Vector3.new(0, 8, 0) |
| 843 | local ball = Instance.new("Part") |
| 844 | ball.Shape = Enum.PartType.Ball |
| 845 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 846 | ball.CFrame = CFrame.new(pos) |
| 847 | ball.BrickColor = BrickColor.new("Dark green") |
| 848 | ball.Material = Enum.Material.Glacier |
| 849 | ball.MaterialVariant = "2022 Stud" |
| 850 | ball.Anchored = true; ball.Parent = workspace |
| 851 | local cuts = {} |
| 852 | local hole = Instance.new("Part") |
| 853 | hole.Shape = Enum.PartType.Ball |
| 854 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 855 | hole.CFrame = CFrame.new(pos) |
| 856 | hole.BrickColor = BrickColor.new("Dark green") |
| 857 | hole.Material = Enum.Material.Glacier |
| 858 | hole.MaterialVariant = "2022 Stud" |
| 859 | hole.Anchored = true; hole.Parent = workspace |
| 860 | table.insert(cuts, hole) |
| 861 | local lonBoxes = {} |
| 862 | do |
| 863 | local edgeDir = -0.766044*rightV + -0.642788*forwardV |
| 864 | local edgePerp = 0.642788*rightV + -0.766044*forwardV |
| 865 | local cut = Instance.new("Part") |
| 866 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 867 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 868 | cut.BrickColor = BrickColor.new("Dark green") |
| 869 | cut.Material = Enum.Material.Glacier |
| 870 | cut.MaterialVariant = "2022 Stud" |
| 871 | cut.Anchored = true; cut.Parent = workspace |
| 872 | table.insert(lonBoxes, cut) |
| 873 | end |
| 874 | do |
| 875 | local edgeDir = -0.642788*rightV + -0.766044*forwardV |
| 876 | local edgePerp = 0.766044*rightV + -0.642788*forwardV |
| 877 | local cut = Instance.new("Part") |
| 878 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 879 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 880 | cut.BrickColor = BrickColor.new("Dark green") |
| 881 | cut.Material = Enum.Material.Glacier |
| 882 | cut.MaterialVariant = "2022 Stud" |
| 883 | cut.Anchored = true; cut.Parent = workspace |
| 884 | table.insert(lonBoxes, cut) |
| 885 | end |
| 886 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 887 | if #cuts > 0 then |
| 888 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 889 | for _, c in ipairs(cuts) do c:Destroy() end |
| 890 | if ok and result then |
| 891 | ball:Destroy() |
| 892 | result.Name = "MelonStripe_5"; result.Anchored = true; result.Parent = model |
| 893 | else |
| 894 | ball.Name = "MelonStripe_5"; ball.Parent = model |
| 895 | end |
| 896 | else |
| 897 | ball.Name = "MelonStripe_5"; ball.Parent = model |
| 898 | end |
| 899 | end |
| 900 | do |
| 901 | local upV = Vector3.new(0,1,0).Unit |
| 902 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 903 | local forwardV = rightV:Cross(upV) |
| 904 | local pos = Vector3.new(0, 8, 0) |
| 905 | local ball = Instance.new("Part") |
| 906 | ball.Shape = Enum.PartType.Ball |
| 907 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 908 | ball.CFrame = CFrame.new(pos) |
| 909 | ball.BrickColor = BrickColor.new("Dark green") |
| 910 | ball.Material = Enum.Material.Glacier |
| 911 | ball.MaterialVariant = "2022 Stud" |
| 912 | ball.Anchored = true; ball.Parent = workspace |
| 913 | local cuts = {} |
| 914 | local hole = Instance.new("Part") |
| 915 | hole.Shape = Enum.PartType.Ball |
| 916 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 917 | hole.CFrame = CFrame.new(pos) |
| 918 | hole.BrickColor = BrickColor.new("Dark green") |
| 919 | hole.Material = Enum.Material.Glacier |
| 920 | hole.MaterialVariant = "2022 Stud" |
| 921 | hole.Anchored = true; hole.Parent = workspace |
| 922 | table.insert(cuts, hole) |
| 923 | local lonBoxes = {} |
| 924 | do |
| 925 | local edgeDir = -0.087156*rightV + -0.996195*forwardV |
| 926 | local edgePerp = 0.996195*rightV + -0.087156*forwardV |
| 927 | local cut = Instance.new("Part") |
| 928 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 929 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 930 | cut.BrickColor = BrickColor.new("Dark green") |
| 931 | cut.Material = Enum.Material.Glacier |
| 932 | cut.MaterialVariant = "2022 Stud" |
| 933 | cut.Anchored = true; cut.Parent = workspace |
| 934 | table.insert(lonBoxes, cut) |
| 935 | end |
| 936 | do |
| 937 | local edgeDir = 0.087156*rightV + -0.996195*forwardV |
| 938 | local edgePerp = 0.996195*rightV + 0.087156*forwardV |
| 939 | local cut = Instance.new("Part") |
| 940 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 941 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 942 | cut.BrickColor = BrickColor.new("Dark green") |
| 943 | cut.Material = Enum.Material.Glacier |
| 944 | cut.MaterialVariant = "2022 Stud" |
| 945 | cut.Anchored = true; cut.Parent = workspace |
| 946 | table.insert(lonBoxes, cut) |
| 947 | end |
| 948 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 949 | if #cuts > 0 then |
| 950 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 951 | for _, c in ipairs(cuts) do c:Destroy() end |
| 952 | if ok and result then |
| 953 | ball:Destroy() |
| 954 | result.Name = "MelonStripe_6"; result.Anchored = true; result.Parent = model |
| 955 | else |
| 956 | ball.Name = "MelonStripe_6"; ball.Parent = model |
| 957 | end |
| 958 | else |
| 959 | ball.Name = "MelonStripe_6"; ball.Parent = model |
| 960 | end |
| 961 | end |
| 962 | do |
| 963 | local upV = Vector3.new(0,1,0).Unit |
| 964 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 965 | local forwardV = rightV:Cross(upV) |
| 966 | local pos = Vector3.new(0, 8, 0) |
| 967 | local ball = Instance.new("Part") |
| 968 | ball.Shape = Enum.PartType.Ball |
| 969 | ball.Size = Vector3.new(12.1, 12.1, 12.1) |
| 970 | ball.CFrame = CFrame.new(pos) |
| 971 | ball.BrickColor = BrickColor.new("Dark green") |
| 972 | ball.Material = Enum.Material.Glacier |
| 973 | ball.MaterialVariant = "2022 Stud" |
| 974 | ball.Anchored = true; ball.Parent = workspace |
| 975 | local cuts = {} |
| 976 | local hole = Instance.new("Part") |
| 977 | hole.Shape = Enum.PartType.Ball |
| 978 | hole.Size = Vector3.new(11.8, 11.8, 11.8) |
| 979 | hole.CFrame = CFrame.new(pos) |
| 980 | hole.BrickColor = BrickColor.new("Dark green") |
| 981 | hole.Material = Enum.Material.Glacier |
| 982 | hole.MaterialVariant = "2022 Stud" |
| 983 | hole.Anchored = true; hole.Parent = workspace |
| 984 | table.insert(cuts, hole) |
| 985 | local lonBoxes = {} |
| 986 | do |
| 987 | local edgeDir = 0.642788*rightV + -0.766044*forwardV |
| 988 | local edgePerp = 0.766044*rightV + 0.642788*forwardV |
| 989 | local cut = Instance.new("Part") |
| 990 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 991 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 12.1 * edgePerp, edgeDir, upV) |
| 992 | cut.BrickColor = BrickColor.new("Dark green") |
| 993 | cut.Material = Enum.Material.Glacier |
| 994 | cut.MaterialVariant = "2022 Stud" |
| 995 | cut.Anchored = true; cut.Parent = workspace |
| 996 | table.insert(lonBoxes, cut) |
| 997 | end |
| 998 | do |
| 999 | local edgeDir = 0.766044*rightV + -0.642788*forwardV |
| 1000 | local edgePerp = 0.642788*rightV + 0.766044*forwardV |
| 1001 | local cut = Instance.new("Part") |
| 1002 | cut.Size = Vector3.new(24.2, 24.2, 24.2) |
| 1003 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 12.1 * edgePerp, edgeDir, upV) |
| 1004 | cut.BrickColor = BrickColor.new("Dark green") |
| 1005 | cut.Material = Enum.Material.Glacier |
| 1006 | cut.MaterialVariant = "2022 Stud" |
| 1007 | cut.Anchored = true; cut.Parent = workspace |
| 1008 | table.insert(lonBoxes, cut) |
| 1009 | end |
| 1010 | for _, b in ipairs(lonBoxes) do table.insert(cuts, b) end |
| 1011 | if #cuts > 0 then |
| 1012 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 1013 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1014 | if ok and result then |
| 1015 | ball:Destroy() |
| 1016 | result.Name = "MelonStripe_7"; result.Anchored = true; result.Parent = model |
| 1017 | else |
| 1018 | ball.Name = "MelonStripe_7"; ball.Parent = model |
| 1019 | end |
| 1020 | else |
| 1021 | ball.Name = "MelonStripe_7"; ball.Parent = model |
| 1022 | end |
| 1023 | end |
| 1024 | do |
| 1025 | local upV = Vector3.new(0,1,0).Unit |
| 1026 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 1027 | local forwardV = rightV:Cross(upV) |
| 1028 | local pos = Vector3.new(-1.5, 10.5, -4.5) |
| 1029 | local ball = Instance.new("Part") |
| 1030 | ball.Shape = Enum.PartType.Ball |
| 1031 | ball.Size = Vector3.new(4, 4, 4) |
| 1032 | ball.CFrame = CFrame.new(pos) |
| 1033 | ball.BrickColor = BrickColor.new("Medium stone grey") |
| 1034 | ball.Material = Enum.Material.Glacier |
| 1035 | ball.MaterialVariant = "2022 Inlet" |
| 1036 | ball.Anchored = true; ball.Parent = workspace |
| 1037 | local cuts = {} |
| 1038 | if #cuts > 0 then |
| 1039 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 1040 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1041 | if ok and result then |
| 1042 | ball:Destroy() |
| 1043 | result.Name = "PecLeft"; result.Anchored = true; result.Parent = model |
| 1044 | else |
| 1045 | ball.Name = "PecLeft"; ball.Parent = model |
| 1046 | end |
| 1047 | else |
| 1048 | ball.Name = "PecLeft"; ball.Parent = model |
| 1049 | end |
| 1050 | end |
| 1051 | do |
| 1052 | local upV = Vector3.new(0,1,0).Unit |
| 1053 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 1054 | local forwardV = rightV:Cross(upV) |
| 1055 | local pos = Vector3.new(1.5, 10.5, -4.5) |
| 1056 | local ball = Instance.new("Part") |
| 1057 | ball.Shape = Enum.PartType.Ball |
| 1058 | ball.Size = Vector3.new(4, 4, 4) |
| 1059 | ball.CFrame = CFrame.new(pos) |
| 1060 | ball.BrickColor = BrickColor.new("Medium stone grey") |
| 1061 | ball.Material = Enum.Material.Glacier |
| 1062 | ball.MaterialVariant = "2022 Inlet" |
| 1063 | ball.Anchored = true; ball.Parent = workspace |
| 1064 | local cuts = {} |
| 1065 | if #cuts > 0 then |
| 1066 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 1067 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1068 | if ok and result then |
| 1069 | ball:Destroy() |
| 1070 | result.Name = "PecRight"; result.Anchored = true; result.Parent = model |
| 1071 | else |
| 1072 | ball.Name = "PecRight"; ball.Parent = model |
| 1073 | end |
| 1074 | else |
| 1075 | ball.Name = "PecRight"; ball.Parent = model |
| 1076 | end |
| 1077 | end |
| 1078 | do |
| 1079 | local upV = Vector3.new(0,1,0).Unit |
| 1080 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 1081 | local forwardV = rightV:Cross(upV) |
| 1082 | local pos = Vector3.new(0, 15.54, -2) |
| 1083 | local ball = Instance.new("Part") |
| 1084 | ball.Shape = Enum.PartType.Ball |
| 1085 | ball.Size = Vector3.new(4.4, 4.4, 4.4) |
| 1086 | ball.CFrame = CFrame.new(pos) |
| 1087 | ball.BrickColor = BrickColor.new("Dark stone grey") |
| 1088 | ball.Material = Enum.Material.Glacier |
| 1089 | ball.MaterialVariant = "2022 Stud" |
| 1090 | ball.Anchored = true; ball.Parent = workspace |
| 1091 | local cuts = {} |
| 1092 | do |
| 1093 | local h = 0 |
| 1094 | local cut = Instance.new("Part") |
| 1095 | cut.Size = Vector3.new(8.8, 8.8, 8.8) |
| 1096 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-4.4), rightV, upV) |
| 1097 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 1098 | cut.Material = Enum.Material.Glacier |
| 1099 | cut.MaterialVariant = "2022 Stud" |
| 1100 | cut.Anchored = true; cut.Parent = workspace |
| 1101 | table.insert(cuts, cut) |
| 1102 | end |
| 1103 | if #cuts > 0 then |
| 1104 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 1105 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1106 | if ok and result then |
| 1107 | ball:Destroy() |
| 1108 | result.Name = "HeadDome"; result.Anchored = true; result.Parent = model |
| 1109 | else |
| 1110 | ball.Name = "HeadDome"; ball.Parent = model |
| 1111 | end |
| 1112 | else |
| 1113 | ball.Name = "HeadDome"; ball.Parent = model |
| 1114 | end |
| 1115 | end |
| 1116 | model.PrimaryPart = model:FindFirstChild("MelonShell") |
| 1117 | print("WatermelonGorilla built: " .. #model:GetChildren() .. " parts") |
Loading comments...