Loading model...
by Kylie Bogard · 10/5/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: Damselfish |
| 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 = "Damselfish" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Bright yellow"] = "2022 Big Stud", |
| 26 | ["Electric blue"] = "2022 Stud", |
| 27 | ["Ghost grey"] = "2022 Stud", |
| 28 | ["Really black"] = "2022 Universal", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Name = "BodyBlue_0" |
| 33 | p.Size = Vector3.new(0.4, 0.25, 1.3) |
| 34 | p.CFrame = CFrame.new(0, 0.165, -6) |
| 35 | p.BrickColor = BrickColor.new("Bright blue") |
| 36 | p.Material = Enum.Material.Glacier |
| 37 | p.MaterialVariant = "2022 Universal" |
| 38 | p.Anchored = true |
| 39 | p.Parent = model |
| 40 | end |
| 41 | do |
| 42 | local p = Instance.new("Part") |
| 43 | p.Name = "BodyYellow_0" |
| 44 | p.Size = Vector3.new(0.4, 0.25, 1.3) |
| 45 | p.CFrame = CFrame.new(0, -0.165, -6) |
| 46 | p.BrickColor = BrickColor.new("Bright yellow") |
| 47 | p.Material = Enum.Material.Glacier |
| 48 | p.MaterialVariant = "2022 Big Stud" |
| 49 | p.Anchored = true |
| 50 | p.Parent = model |
| 51 | end |
| 52 | do |
| 53 | local p = Instance.new("Part") |
| 54 | p.Name = "BodyBlue_1" |
| 55 | p.Size = Vector3.new(1.15244, 1.19056, 1.3) |
| 56 | p.CFrame = CFrame.new(0, 0.635278, -4.8) |
| 57 | p.BrickColor = BrickColor.new("Bright blue") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Universal" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Name = "BodyYellow_1" |
| 66 | p.Size = Vector3.new(1.15244, 1.19056, 1.3) |
| 67 | p.CFrame = CFrame.new(0, -0.635278, -4.8) |
| 68 | p.BrickColor = BrickColor.new("Bright yellow") |
| 69 | p.Material = Enum.Material.Glacier |
| 70 | p.MaterialVariant = "2022 Big Stud" |
| 71 | p.Anchored = true |
| 72 | p.Parent = model |
| 73 | end |
| 74 | do |
| 75 | local p = Instance.new("Part") |
| 76 | p.Name = "BodyBlue_2" |
| 77 | p.Size = Vector3.new(1.81413, 2.01767, 1.3) |
| 78 | p.CFrame = CFrame.new(0, 1.04883, -3.6) |
| 79 | p.BrickColor = BrickColor.new("Bright blue") |
| 80 | p.Material = Enum.Material.Glacier |
| 81 | p.MaterialVariant = "2022 Universal" |
| 82 | p.Anchored = true |
| 83 | p.Parent = model |
| 84 | end |
| 85 | do |
| 86 | local p = Instance.new("Part") |
| 87 | p.Name = "BodyYellow_2" |
| 88 | p.Size = Vector3.new(1.81413, 2.01767, 1.3) |
| 89 | p.CFrame = CFrame.new(0, -1.04883, -3.6) |
| 90 | p.BrickColor = BrickColor.new("Bright yellow") |
| 91 | p.Material = Enum.Material.Glacier |
| 92 | p.MaterialVariant = "2022 Big Stud" |
| 93 | p.Anchored = true |
| 94 | p.Parent = model |
| 95 | end |
| 96 | do |
| 97 | local p = Instance.new("Part") |
| 98 | p.Name = "BodyBlue_3" |
| 99 | p.Size = Vector3.new(2.30526, 2.63157, 1.3) |
| 100 | p.CFrame = CFrame.new(0, 1.35578, -2.4) |
| 101 | p.BrickColor = BrickColor.new("Bright blue") |
| 102 | p.Material = Enum.Material.Glacier |
| 103 | p.MaterialVariant = "2022 Universal" |
| 104 | p.Anchored = true |
| 105 | p.Parent = model |
| 106 | end |
| 107 | do |
| 108 | local p = Instance.new("Part") |
| 109 | p.Name = "BodyYellow_3" |
| 110 | p.Size = Vector3.new(2.30526, 2.63157, 1.3) |
| 111 | p.CFrame = CFrame.new(0, -1.35578, -2.4) |
| 112 | p.BrickColor = BrickColor.new("Bright yellow") |
| 113 | p.Material = Enum.Material.Glacier |
| 114 | p.MaterialVariant = "2022 Big Stud" |
| 115 | p.Anchored = true |
| 116 | p.Parent = model |
| 117 | end |
| 118 | do |
| 119 | local p = Instance.new("Part") |
| 120 | p.Name = "BodyBlue_4" |
| 121 | p.Size = Vector3.new(2.56658, 2.95822, 1.3) |
| 122 | p.CFrame = CFrame.new(0, 1.51911, -1.2) |
| 123 | p.BrickColor = BrickColor.new("Bright blue") |
| 124 | p.Material = Enum.Material.Glacier |
| 125 | p.MaterialVariant = "2022 Universal" |
| 126 | p.Anchored = true |
| 127 | p.Parent = model |
| 128 | end |
| 129 | do |
| 130 | local p = Instance.new("Part") |
| 131 | p.Name = "BodyYellow_4" |
| 132 | p.Size = Vector3.new(2.56658, 2.95822, 1.3) |
| 133 | p.CFrame = CFrame.new(0, -1.51911, -1.2) |
| 134 | p.BrickColor = BrickColor.new("Bright yellow") |
| 135 | p.Material = Enum.Material.Glacier |
| 136 | p.MaterialVariant = "2022 Big Stud" |
| 137 | p.Anchored = true |
| 138 | p.Parent = model |
| 139 | end |
| 140 | do |
| 141 | local p = Instance.new("Part") |
| 142 | p.Name = "BodyBlue_5" |
| 143 | p.Size = Vector3.new(2.56658, 2.95822, 1.3) |
| 144 | p.CFrame = CFrame.new(0, 1.51911, 0) |
| 145 | p.BrickColor = BrickColor.new("Bright blue") |
| 146 | p.Material = Enum.Material.Glacier |
| 147 | p.MaterialVariant = "2022 Universal" |
| 148 | p.Anchored = true |
| 149 | p.Parent = model |
| 150 | end |
| 151 | do |
| 152 | local p = Instance.new("Part") |
| 153 | p.Name = "BodyYellow_5" |
| 154 | p.Size = Vector3.new(2.56658, 2.95822, 1.3) |
| 155 | p.CFrame = CFrame.new(0, -1.47911, 0) |
| 156 | p.BrickColor = BrickColor.new("Bright yellow") |
| 157 | p.Material = Enum.Material.Glacier |
| 158 | p.MaterialVariant = "2022 Big Stud" |
| 159 | p.Anchored = true |
| 160 | p.Parent = model |
| 161 | end |
| 162 | do |
| 163 | local p = Instance.new("Part") |
| 164 | p.Name = "BodyBlue_6" |
| 165 | p.Size = Vector3.new(2.30526, 2.63157, 1.3) |
| 166 | p.CFrame = CFrame.new(0, 1.35578, 1.2) |
| 167 | p.BrickColor = BrickColor.new("Bright blue") |
| 168 | p.Material = Enum.Material.Glacier |
| 169 | p.MaterialVariant = "2022 Universal" |
| 170 | p.Anchored = true |
| 171 | p.Parent = model |
| 172 | end |
| 173 | do |
| 174 | local p = Instance.new("Part") |
| 175 | p.Name = "BodyYellow_6" |
| 176 | p.Size = Vector3.new(2.30526, 2.63157, 1.3) |
| 177 | p.CFrame = CFrame.new(0, -1.35578, 1.2) |
| 178 | p.BrickColor = BrickColor.new("Bright yellow") |
| 179 | p.Material = Enum.Material.Glacier |
| 180 | p.MaterialVariant = "2022 Big Stud" |
| 181 | p.Anchored = true |
| 182 | p.Parent = model |
| 183 | end |
| 184 | do |
| 185 | local p = Instance.new("Part") |
| 186 | p.Name = "BodyBlue_7" |
| 187 | p.Size = Vector3.new(1.81413, 2.01767, 1.3) |
| 188 | p.CFrame = CFrame.new(0, 1.04883, 2.4) |
| 189 | p.BrickColor = BrickColor.new("Bright blue") |
| 190 | p.Material = Enum.Material.Glacier |
| 191 | p.MaterialVariant = "2022 Universal" |
| 192 | p.Anchored = true |
| 193 | p.Parent = model |
| 194 | end |
| 195 | do |
| 196 | local p = Instance.new("Part") |
| 197 | p.Name = "BodyYellow_7" |
| 198 | p.Size = Vector3.new(1.81413, 2.01767, 1.3) |
| 199 | p.CFrame = CFrame.new(0, -1.04883, 2.4) |
| 200 | p.BrickColor = BrickColor.new("Bright yellow") |
| 201 | p.Material = Enum.Material.Glacier |
| 202 | p.MaterialVariant = "2022 Big Stud" |
| 203 | p.Anchored = true |
| 204 | p.Parent = model |
| 205 | end |
| 206 | do |
| 207 | local p = Instance.new("Part") |
| 208 | p.Name = "BodyBlue_8" |
| 209 | p.Size = Vector3.new(1.15244, 1.19056, 1.3) |
| 210 | p.CFrame = CFrame.new(0, 0.635278, 3.6) |
| 211 | p.BrickColor = BrickColor.new("Bright blue") |
| 212 | p.Material = Enum.Material.Glacier |
| 213 | p.MaterialVariant = "2022 Universal" |
| 214 | p.Anchored = true |
| 215 | p.Parent = model |
| 216 | end |
| 217 | do |
| 218 | local p = Instance.new("Part") |
| 219 | p.Name = "BodyYellow_8" |
| 220 | p.Size = Vector3.new(1.15244, 1.19056, 1.3) |
| 221 | p.CFrame = CFrame.new(0, -0.635278, 3.6) |
| 222 | p.BrickColor = BrickColor.new("Bright yellow") |
| 223 | p.Material = Enum.Material.Glacier |
| 224 | p.MaterialVariant = "2022 Big Stud" |
| 225 | p.Anchored = true |
| 226 | p.Parent = model |
| 227 | end |
| 228 | do |
| 229 | local p = Instance.new("Part") |
| 230 | p.Name = "BodyBlue_9" |
| 231 | p.Size = Vector3.new(0.4, 0.25, 1.3) |
| 232 | p.CFrame = CFrame.new(0, 0.165, 4.8) |
| 233 | p.BrickColor = BrickColor.new("Bright blue") |
| 234 | p.Material = Enum.Material.Glacier |
| 235 | p.MaterialVariant = "2022 Universal" |
| 236 | p.Anchored = true |
| 237 | p.Parent = model |
| 238 | end |
| 239 | do |
| 240 | local p = Instance.new("Part") |
| 241 | p.Name = "BodyYellow_9" |
| 242 | p.Size = Vector3.new(0.4, 0.25, 1.3) |
| 243 | p.CFrame = CFrame.new(0, -0.125, 4.8) |
| 244 | p.BrickColor = BrickColor.new("Bright yellow") |
| 245 | p.Material = Enum.Material.Glacier |
| 246 | p.MaterialVariant = "2022 Big Stud" |
| 247 | p.Anchored = true |
| 248 | p.Parent = model |
| 249 | end |
| 250 | do |
| 251 | local p = Instance.new("Part") |
| 252 | p.Name = "SnoutTop" |
| 253 | p.Size = Vector3.new(1.2, 0.8, 0.6) |
| 254 | p.CFrame = CFrame.new(0, 0.44, -6.5) |
| 255 | p.BrickColor = BrickColor.new("Bright blue") |
| 256 | p.Material = Enum.Material.Glacier |
| 257 | p.MaterialVariant = "2022 Universal" |
| 258 | p.Anchored = true |
| 259 | p.Parent = model |
| 260 | end |
| 261 | do |
| 262 | local p = Instance.new("Part") |
| 263 | p.Name = "SnoutBottom" |
| 264 | p.Size = Vector3.new(1.2, 0.8, 0.6) |
| 265 | p.CFrame = CFrame.new(0, -0.4, -6.5) |
| 266 | p.BrickColor = BrickColor.new("Bright yellow") |
| 267 | p.Material = Enum.Material.Glacier |
| 268 | p.MaterialVariant = "2022 Big Stud" |
| 269 | p.Anchored = true |
| 270 | p.Parent = model |
| 271 | end |
| 272 | do |
| 273 | local p = Instance.new("Part") |
| 274 | p.Name = "Mouth" |
| 275 | p.Size = Vector3.new(0.8, 0.3, 0.4) |
| 276 | p.CFrame = CFrame.new(0, -0.1, -6.9) |
| 277 | p.BrickColor = BrickColor.new("Really black") |
| 278 | p.Material = Enum.Material.Glacier |
| 279 | p.MaterialVariant = "2022 Universal" |
| 280 | p.Anchored = true |
| 281 | p.Parent = model |
| 282 | end |
| 283 | do |
| 284 | local p = Instance.new("Part") |
| 285 | p.Shape = Enum.PartType.Cylinder |
| 286 | p.Name = "EyeSclera_R" |
| 287 | p.Size = Vector3.new(0.3, 1.4, 1.4) |
| 288 | p.CFrame = CFrame.new(1.1, 0.5, -4.8) |
| 289 | p.BrickColor = BrickColor.new("Electric blue") |
| 290 | p.Material = Enum.Material.Glacier |
| 291 | p.MaterialVariant = "2022 Stud" |
| 292 | p.Anchored = true |
| 293 | p.Parent = model |
| 294 | end |
| 295 | do |
| 296 | local p = Instance.new("Part") |
| 297 | p.Shape = Enum.PartType.Cylinder |
| 298 | p.Name = "EyePupil_R" |
| 299 | p.Size = Vector3.new(0.2, 0.7, 0.7) |
| 300 | p.CFrame = CFrame.new(1.29, 0.5, -4.8) |
| 301 | p.BrickColor = BrickColor.new("Really black") |
| 302 | p.Material = Enum.Material.Glacier |
| 303 | p.MaterialVariant = "2022 Universal" |
| 304 | p.Anchored = true |
| 305 | p.Parent = model |
| 306 | end |
| 307 | do |
| 308 | local p = Instance.new("Part") |
| 309 | p.Shape = Enum.PartType.Cylinder |
| 310 | p.Name = "EyeSclera_L" |
| 311 | p.Size = Vector3.new(0.3, 1.4, 1.4) |
| 312 | p.CFrame = CFrame.new(-1.1, 0.5, -4.8) |
| 313 | p.BrickColor = BrickColor.new("Electric blue") |
| 314 | p.Material = Enum.Material.Glacier |
| 315 | p.MaterialVariant = "2022 Stud" |
| 316 | p.Anchored = true |
| 317 | p.Parent = model |
| 318 | end |
| 319 | do |
| 320 | local p = Instance.new("Part") |
| 321 | p.Shape = Enum.PartType.Cylinder |
| 322 | p.Name = "EyePupil_L" |
| 323 | p.Size = Vector3.new(0.2, 0.7, 0.7) |
| 324 | p.CFrame = CFrame.new(-1.29, 0.5, -4.8) |
| 325 | p.BrickColor = BrickColor.new("Really black") |
| 326 | p.Material = Enum.Material.Glacier |
| 327 | p.MaterialVariant = "2022 Universal" |
| 328 | p.Anchored = true |
| 329 | p.Parent = model |
| 330 | end |
| 331 | do |
| 332 | local p = Instance.new("Part") |
| 333 | p.Name = "DorsalSpine_0" |
| 334 | p.Size = Vector3.new(1.3, 0.15, 0.4) |
| 335 | p.CFrame = CFrame.new(0, 2.6, -3.75) * CFrame.Angles(math.rad(-67.3801), math.rad(-90), math.rad(0)) |
| 336 | p.BrickColor = BrickColor.new("Bright blue") |
| 337 | p.Material = Enum.Material.Glacier |
| 338 | p.MaterialVariant = "2022 Universal" |
| 339 | p.Anchored = true |
| 340 | p.Parent = model |
| 341 | end |
| 342 | do |
| 343 | local p = Instance.new("Part") |
| 344 | p.Name = "DorsalSpine_1" |
| 345 | p.Size = Vector3.new(1.66507, 0.15, 0.4) |
| 346 | p.CFrame = CFrame.new(0, 2.79411, -3.05) * CFrame.Angles(math.rad(-72.5252), math.rad(-90), math.rad(0)) |
| 347 | p.BrickColor = BrickColor.new("Bright blue") |
| 348 | p.Material = Enum.Material.Glacier |
| 349 | p.MaterialVariant = "2022 Universal" |
| 350 | p.Anchored = true |
| 351 | p.Parent = model |
| 352 | end |
| 353 | do |
| 354 | local p = Instance.new("Part") |
| 355 | p.Name = "DorsalSpine_2" |
| 356 | p.Size = Vector3.new(2.01308, 0.15, 0.4) |
| 357 | p.CFrame = CFrame.new(0, 2.975, -2.35) * CFrame.Angles(math.rad(-75.6186), math.rad(-90), math.rad(0)) |
| 358 | p.BrickColor = BrickColor.new("Bright blue") |
| 359 | p.Material = Enum.Material.Glacier |
| 360 | p.MaterialVariant = "2022 Universal" |
| 361 | p.Anchored = true |
| 362 | p.Parent = model |
| 363 | end |
| 364 | do |
| 365 | local p = Instance.new("Part") |
| 366 | p.Name = "DorsalSpine_3" |
| 367 | p.Size = Vector3.new(2.31529, 0.15, 0.4) |
| 368 | p.CFrame = CFrame.new(0, 3.13033, -1.65) * CFrame.Angles(math.rad(-77.5284), math.rad(-90), math.rad(0)) |
| 369 | p.BrickColor = BrickColor.new("Bright blue") |
| 370 | p.Material = Enum.Material.Glacier |
| 371 | p.MaterialVariant = "2022 Universal" |
| 372 | p.Anchored = true |
| 373 | p.Parent = model |
| 374 | end |
| 375 | do |
| 376 | local p = Instance.new("Part") |
| 377 | p.Name = "DorsalSpine_4" |
| 378 | p.Size = Vector3.new(2.54857, 0.15, 0.4) |
| 379 | p.CFrame = CFrame.new(0, 3.24952, -0.95) * CFrame.Angles(math.rad(-78.6858), math.rad(-90), math.rad(0)) |
| 380 | p.BrickColor = BrickColor.new("Bright blue") |
| 381 | p.Material = Enum.Material.Glacier |
| 382 | p.MaterialVariant = "2022 Universal" |
| 383 | p.Anchored = true |
| 384 | p.Parent = model |
| 385 | end |
| 386 | do |
| 387 | local p = Instance.new("Part") |
| 388 | p.Name = "DorsalSpine_5" |
| 389 | p.Size = Vector3.new(2.69566, 0.15, 0.4) |
| 390 | p.CFrame = CFrame.new(0, 3.32444, -0.25) * CFrame.Angles(math.rad(-79.3107), math.rad(-90), math.rad(0)) |
| 391 | p.BrickColor = BrickColor.new("Bright blue") |
| 392 | p.Material = Enum.Material.Glacier |
| 393 | p.MaterialVariant = "2022 Universal" |
| 394 | p.Anchored = true |
| 395 | p.Parent = model |
| 396 | end |
| 397 | do |
| 398 | local p = Instance.new("Part") |
| 399 | p.Name = "DorsalSpine_6" |
| 400 | p.Size = Vector3.new(2.74591, 0.15, 0.4) |
| 401 | p.CFrame = CFrame.new(0, 3.35, 0.45) * CFrame.Angles(math.rad(-79.5085), math.rad(-90), math.rad(0)) |
| 402 | p.BrickColor = BrickColor.new("Bright blue") |
| 403 | p.Material = Enum.Material.Glacier |
| 404 | p.MaterialVariant = "2022 Universal" |
| 405 | p.Anchored = true |
| 406 | p.Parent = model |
| 407 | end |
| 408 | do |
| 409 | local p = Instance.new("Part") |
| 410 | p.Name = "DorsalSpine_7" |
| 411 | p.Size = Vector3.new(2.69566, 0.15, 0.4) |
| 412 | p.CFrame = CFrame.new(0, 3.32444, 1.15) * CFrame.Angles(math.rad(-79.3107), math.rad(-90), math.rad(0)) |
| 413 | p.BrickColor = BrickColor.new("Bright blue") |
| 414 | p.Material = Enum.Material.Glacier |
| 415 | p.MaterialVariant = "2022 Universal" |
| 416 | p.Anchored = true |
| 417 | p.Parent = model |
| 418 | end |
| 419 | do |
| 420 | local p = Instance.new("Part") |
| 421 | p.Name = "DorsalSpine_8" |
| 422 | p.Size = Vector3.new(2.54857, 0.15, 0.4) |
| 423 | p.CFrame = CFrame.new(0, 3.24952, 1.85) * CFrame.Angles(math.rad(-78.6858), math.rad(-90), math.rad(0)) |
| 424 | p.BrickColor = BrickColor.new("Bright blue") |
| 425 | p.Material = Enum.Material.Glacier |
| 426 | p.MaterialVariant = "2022 Universal" |
| 427 | p.Anchored = true |
| 428 | p.Parent = model |
| 429 | end |
| 430 | do |
| 431 | local p = Instance.new("Part") |
| 432 | p.Name = "DorsalSpine_9" |
| 433 | p.Size = Vector3.new(2.31529, 0.15, 0.4) |
| 434 | p.CFrame = CFrame.new(0, 3.13033, 2.55) * CFrame.Angles(math.rad(-77.5284), math.rad(-90), math.rad(0)) |
| 435 | p.BrickColor = BrickColor.new("Bright blue") |
| 436 | p.Material = Enum.Material.Glacier |
| 437 | p.MaterialVariant = "2022 Universal" |
| 438 | p.Anchored = true |
| 439 | p.Parent = model |
| 440 | end |
| 441 | do |
| 442 | local p = Instance.new("Part") |
| 443 | p.Name = "DorsalSpine_10" |
| 444 | p.Size = Vector3.new(2.01308, 0.15, 0.4) |
| 445 | p.CFrame = CFrame.new(0, 2.975, 3.25) * CFrame.Angles(math.rad(-75.6186), math.rad(-90), math.rad(0)) |
| 446 | p.BrickColor = BrickColor.new("Bright blue") |
| 447 | p.Material = Enum.Material.Glacier |
| 448 | p.MaterialVariant = "2022 Universal" |
| 449 | p.Anchored = true |
| 450 | p.Parent = model |
| 451 | end |
| 452 | do |
| 453 | local p = Instance.new("Part") |
| 454 | p.Name = "DorsalSpine_11" |
| 455 | p.Size = Vector3.new(1.66507, 0.15, 0.4) |
| 456 | p.CFrame = CFrame.new(0, 2.79411, 3.95) * CFrame.Angles(math.rad(-72.5252), math.rad(-90), math.rad(0)) |
| 457 | p.BrickColor = BrickColor.new("Bright blue") |
| 458 | p.Material = Enum.Material.Glacier |
| 459 | p.MaterialVariant = "2022 Universal" |
| 460 | p.Anchored = true |
| 461 | p.Parent = model |
| 462 | end |
| 463 | do |
| 464 | local p = Instance.new("Part") |
| 465 | p.Name = "AnalSpine_0" |
| 466 | p.Size = Vector3.new(1.07703, 0.15, 0.6) |
| 467 | p.CFrame = CFrame.new(0, -2.5, -0.8) * CFrame.Angles(math.rad(68.1986), math.rad(-90), math.rad(0)) |
| 468 | p.BrickColor = BrickColor.new("Bright yellow") |
| 469 | p.Material = Enum.Material.Glacier |
| 470 | p.MaterialVariant = "2022 Big Stud" |
| 471 | p.Anchored = true |
| 472 | p.Parent = model |
| 473 | end |
| 474 | do |
| 475 | local p = Instance.new("Part") |
| 476 | p.Name = "AnalSpine_1" |
| 477 | p.Size = Vector3.new(1.64924, 0.15, 0.6) |
| 478 | p.CFrame = CFrame.new(0, -2.8, 0) * CFrame.Angles(math.rad(75.9638), math.rad(-90), math.rad(0)) |
| 479 | p.BrickColor = BrickColor.new("Bright yellow") |
| 480 | p.Material = Enum.Material.Glacier |
| 481 | p.MaterialVariant = "2022 Big Stud" |
| 482 | p.Anchored = true |
| 483 | p.Parent = model |
| 484 | end |
| 485 | do |
| 486 | local p = Instance.new("Part") |
| 487 | p.Name = "AnalSpine_2" |
| 488 | p.Size = Vector3.new(2.07809, 0.15, 0.6) |
| 489 | p.CFrame = CFrame.new(0, -3.01961, 0.8) * CFrame.Angles(math.rad(78.9022), math.rad(-90), math.rad(0)) |
| 490 | p.BrickColor = BrickColor.new("Bright yellow") |
| 491 | p.Material = Enum.Material.Glacier |
| 492 | p.MaterialVariant = "2022 Big Stud" |
| 493 | p.Anchored = true |
| 494 | p.Parent = model |
| 495 | end |
| 496 | do |
| 497 | local p = Instance.new("Part") |
| 498 | p.Name = "AnalSpine_3" |
| 499 | p.Size = Vector3.new(2.23607, 0.15, 0.6) |
| 500 | p.CFrame = CFrame.new(0, -3.1, 1.6) * CFrame.Angles(math.rad(79.6952), math.rad(-90), math.rad(0)) |
| 501 | p.BrickColor = BrickColor.new("Bright yellow") |
| 502 | p.Material = Enum.Material.Glacier |
| 503 | p.MaterialVariant = "2022 Big Stud" |
| 504 | p.Anchored = true |
| 505 | p.Parent = model |
| 506 | end |
| 507 | do |
| 508 | local p = Instance.new("Part") |
| 509 | p.Name = "AnalSpine_4" |
| 510 | p.Size = Vector3.new(2.07809, 0.15, 0.6) |
| 511 | p.CFrame = CFrame.new(0, -3.01961, 2.4) * CFrame.Angles(math.rad(78.9022), math.rad(-90), math.rad(0)) |
| 512 | p.BrickColor = BrickColor.new("Bright yellow") |
| 513 | p.Material = Enum.Material.Glacier |
| 514 | p.MaterialVariant = "2022 Big Stud" |
| 515 | p.Anchored = true |
| 516 | p.Parent = model |
| 517 | end |
| 518 | do |
| 519 | local p = Instance.new("Part") |
| 520 | p.Name = "AnalSpine_5" |
| 521 | p.Size = Vector3.new(1.64924, 0.15, 0.6) |
| 522 | p.CFrame = CFrame.new(0, -2.8, 3.2) * CFrame.Angles(math.rad(75.9638), math.rad(-90), math.rad(0)) |
| 523 | p.BrickColor = BrickColor.new("Bright yellow") |
| 524 | p.Material = Enum.Material.Glacier |
| 525 | p.MaterialVariant = "2022 Big Stud" |
| 526 | p.Anchored = true |
| 527 | p.Parent = model |
| 528 | end |
| 529 | do |
| 530 | local p = Instance.new("Part") |
| 531 | p.Name = "Pelvic_R" |
| 532 | p.Size = Vector3.new(1.93391, 0.1, 0.8) |
| 533 | p.CFrame = CFrame.new(0.85, -2.75, -2.5) * CFrame.Angles(math.rad(0), math.rad(-55.008), math.rad(-50.8623)) |
| 534 | p.BrickColor = BrickColor.new("Bright yellow") |
| 535 | p.Material = Enum.Material.Glacier |
| 536 | p.MaterialVariant = "2022 Big Stud" |
| 537 | p.Anchored = true |
| 538 | p.Parent = model |
| 539 | end |
| 540 | do |
| 541 | local p = Instance.new("Part") |
| 542 | p.Name = "Pelvic_L" |
| 543 | p.Size = Vector3.new(1.93391, 0.1, 0.8) |
| 544 | p.CFrame = CFrame.new(-0.85, -2.75, -2.5) * CFrame.Angles(math.rad(-180), math.rad(-55.008), math.rad(129.138)) |
| 545 | p.BrickColor = BrickColor.new("Bright yellow") |
| 546 | p.Material = Enum.Material.Glacier |
| 547 | p.MaterialVariant = "2022 Big Stud" |
| 548 | p.Anchored = true |
| 549 | p.Parent = model |
| 550 | end |
| 551 | do |
| 552 | local p = Instance.new("Part") |
| 553 | p.Name = "TailBase" |
| 554 | p.Size = Vector3.new(1.2, 2, 0.6) |
| 555 | p.CFrame = CFrame.new(0, 0, 5.8) |
| 556 | p.BrickColor = BrickColor.new("Bright yellow") |
| 557 | p.Material = Enum.Material.Glacier |
| 558 | p.MaterialVariant = "2022 Big Stud" |
| 559 | p.Anchored = true |
| 560 | p.Parent = model |
| 561 | end |
| 562 | do |
| 563 | local p = Instance.new("Part") |
| 564 | p.Name = "TailInner_0" |
| 565 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 566 | p.CFrame = CFrame.new(0, -0.674927, 6.80435) * CFrame.Angles(math.rad(40), math.rad(-90), math.rad(0)) |
| 567 | p.BrickColor = BrickColor.new("Bright yellow") |
| 568 | p.Material = Enum.Material.Glacier |
| 569 | p.MaterialVariant = "2022 Big Stud" |
| 570 | p.Anchored = true |
| 571 | p.Parent = model |
| 572 | end |
| 573 | do |
| 574 | local p = Instance.new("Part") |
| 575 | p.Name = "TailOuter_0" |
| 576 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 577 | p.CFrame = CFrame.new(0, -1.82552, 8.17556) * CFrame.Angles(math.rad(40), math.rad(-90), math.rad(0)) |
| 578 | p.BrickColor = BrickColor.new("Ghost grey") |
| 579 | p.Material = Enum.Material.Glacier |
| 580 | p.MaterialVariant = "2022 Stud" |
| 581 | p.Anchored = true |
| 582 | p.Parent = model |
| 583 | end |
| 584 | do |
| 585 | local p = Instance.new("Part") |
| 586 | p.Name = "TailInner_1" |
| 587 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 588 | p.CFrame = CFrame.new(0, -0.525, 6.90933) * CFrame.Angles(math.rad(30), math.rad(-90), math.rad(0)) |
| 589 | p.BrickColor = BrickColor.new("Bright yellow") |
| 590 | p.Material = Enum.Material.Glacier |
| 591 | p.MaterialVariant = "2022 Big Stud" |
| 592 | p.Anchored = true |
| 593 | p.Parent = model |
| 594 | end |
| 595 | do |
| 596 | local p = Instance.new("Part") |
| 597 | p.Name = "TailOuter_1" |
| 598 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 599 | p.CFrame = CFrame.new(0, -1.42, 8.45951) * CFrame.Angles(math.rad(30), math.rad(-90), math.rad(0)) |
| 600 | p.BrickColor = BrickColor.new("Ghost grey") |
| 601 | p.Material = Enum.Material.Glacier |
| 602 | p.MaterialVariant = "2022 Stud" |
| 603 | p.Anchored = true |
| 604 | p.Parent = model |
| 605 | end |
| 606 | do |
| 607 | local p = Instance.new("Part") |
| 608 | p.Name = "TailInner_2" |
| 609 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 610 | p.CFrame = CFrame.new(0, -0.359121, 6.98668) * CFrame.Angles(math.rad(20), math.rad(-90), math.rad(0)) |
| 611 | p.BrickColor = BrickColor.new("Bright yellow") |
| 612 | p.Material = Enum.Material.Glacier |
| 613 | p.MaterialVariant = "2022 Big Stud" |
| 614 | p.Anchored = true |
| 615 | p.Parent = model |
| 616 | end |
| 617 | do |
| 618 | local p = Instance.new("Part") |
| 619 | p.Name = "TailOuter_2" |
| 620 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 621 | p.CFrame = CFrame.new(0, -0.971337, 8.66873) * CFrame.Angles(math.rad(20), math.rad(-90), math.rad(0)) |
| 622 | p.BrickColor = BrickColor.new("Ghost grey") |
| 623 | p.Material = Enum.Material.Glacier |
| 624 | p.MaterialVariant = "2022 Stud" |
| 625 | p.Anchored = true |
| 626 | p.Parent = model |
| 627 | end |
| 628 | do |
| 629 | local p = Instance.new("Part") |
| 630 | p.Name = "TailInner_3" |
| 631 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 632 | p.CFrame = CFrame.new(0, -0.182331, 7.03405) * CFrame.Angles(math.rad(10), math.rad(-90), math.rad(0)) |
| 633 | p.BrickColor = BrickColor.new("Bright yellow") |
| 634 | p.Material = Enum.Material.Glacier |
| 635 | p.MaterialVariant = "2022 Big Stud" |
| 636 | p.Anchored = true |
| 637 | p.Parent = model |
| 638 | end |
| 639 | do |
| 640 | local p = Instance.new("Part") |
| 641 | p.Name = "TailOuter_3" |
| 642 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 643 | p.CFrame = CFrame.new(0, -0.493161, 8.79685) * CFrame.Angles(math.rad(10), math.rad(-90), math.rad(0)) |
| 644 | p.BrickColor = BrickColor.new("Ghost grey") |
| 645 | p.Material = Enum.Material.Glacier |
| 646 | p.MaterialVariant = "2022 Stud" |
| 647 | p.Anchored = true |
| 648 | p.Parent = model |
| 649 | end |
| 650 | do |
| 651 | local p = Instance.new("Part") |
| 652 | p.Name = "TailInner_4" |
| 653 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 654 | p.CFrame = CFrame.new(0, 0, 7.05) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) |
| 655 | p.BrickColor = BrickColor.new("Bright yellow") |
| 656 | p.Material = Enum.Material.Glacier |
| 657 | p.MaterialVariant = "2022 Big Stud" |
| 658 | p.Anchored = true |
| 659 | p.Parent = model |
| 660 | end |
| 661 | do |
| 662 | local p = Instance.new("Part") |
| 663 | p.Name = "TailOuter_4" |
| 664 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 665 | p.CFrame = CFrame.new(0, 0, 8.84) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) |
| 666 | p.BrickColor = BrickColor.new("Ghost grey") |
| 667 | p.Material = Enum.Material.Glacier |
| 668 | p.MaterialVariant = "2022 Stud" |
| 669 | p.Anchored = true |
| 670 | p.Parent = model |
| 671 | end |
| 672 | do |
| 673 | local p = Instance.new("Part") |
| 674 | p.Name = "TailInner_5" |
| 675 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 676 | p.CFrame = CFrame.new(0, 0.182331, 7.03405) * CFrame.Angles(math.rad(-10), math.rad(-90), math.rad(0)) |
| 677 | p.BrickColor = BrickColor.new("Bright yellow") |
| 678 | p.Material = Enum.Material.Glacier |
| 679 | p.MaterialVariant = "2022 Big Stud" |
| 680 | p.Anchored = true |
| 681 | p.Parent = model |
| 682 | end |
| 683 | do |
| 684 | local p = Instance.new("Part") |
| 685 | p.Name = "TailOuter_5" |
| 686 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 687 | p.CFrame = CFrame.new(0, 0.493161, 8.79685) * CFrame.Angles(math.rad(-10), math.rad(-90), math.rad(0)) |
| 688 | p.BrickColor = BrickColor.new("Ghost grey") |
| 689 | p.Material = Enum.Material.Glacier |
| 690 | p.MaterialVariant = "2022 Stud" |
| 691 | p.Anchored = true |
| 692 | p.Parent = model |
| 693 | end |
| 694 | do |
| 695 | local p = Instance.new("Part") |
| 696 | p.Name = "TailInner_6" |
| 697 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 698 | p.CFrame = CFrame.new(0, 0.359121, 6.98668) * CFrame.Angles(math.rad(-20), math.rad(-90), math.rad(0)) |
| 699 | p.BrickColor = BrickColor.new("Bright yellow") |
| 700 | p.Material = Enum.Material.Glacier |
| 701 | p.MaterialVariant = "2022 Big Stud" |
| 702 | p.Anchored = true |
| 703 | p.Parent = model |
| 704 | end |
| 705 | do |
| 706 | local p = Instance.new("Part") |
| 707 | p.Name = "TailOuter_6" |
| 708 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 709 | p.CFrame = CFrame.new(0, 0.971337, 8.66873) * CFrame.Angles(math.rad(-20), math.rad(-90), math.rad(0)) |
| 710 | p.BrickColor = BrickColor.new("Ghost grey") |
| 711 | p.Material = Enum.Material.Glacier |
| 712 | p.MaterialVariant = "2022 Stud" |
| 713 | p.Anchored = true |
| 714 | p.Parent = model |
| 715 | end |
| 716 | do |
| 717 | local p = Instance.new("Part") |
| 718 | p.Name = "TailInner_7" |
| 719 | p.Size = Vector3.new(2.1, 0.15, 0.8) |
| 720 | p.CFrame = CFrame.new(0, 0.525, 6.90933) * CFrame.Angles(math.rad(-30), math.rad(-90), math.rad(0)) |
| 721 | p.BrickColor = BrickColor.new("Bright yellow") |
| 722 | p.Material = Enum.Material.Glacier |
| 723 | p.MaterialVariant = "2022 Big Stud" |
| 724 | p.Anchored = true |
| 725 | p.Parent = model |
| 726 | end |
| 727 | do |
| 728 | local p = Instance.new("Part") |
| 729 | p.Name = "TailOuter_7" |
| 730 | p.Size = Vector3.new(1.4, 0.1, 0.7) |
| 731 | p.CFrame = CFrame.new(0, 1.42, 8.45951) * CFrame.Angles(math.rad(-30), math.rad(-90), math.rad(0)) |
| 732 | p.BrickColor = BrickColor.new("Ghost grey") |
| 733 | p.Material = Enum.Material.Glacier |
| 734 | p.MaterialVariant = "2022 Stud" |
| 735 | p.Anchored = true |
| 736 | p.Parent = model |
| 737 | end |
| 738 | do |
| 739 | local p = Instance.new("Part") |
| 740 | p.Name = "Gill_R" |
| 741 | p.Size = Vector3.new(0.1, 2.5, 0.3) |
| 742 | p.CFrame = CFrame.new(1.15, 0, -3.5) |
| 743 | p.BrickColor = BrickColor.new("Bright blue") |
| 744 | p.Material = Enum.Material.Glacier |
| 745 | p.MaterialVariant = "2022 Universal" |
| 746 | p.Anchored = true |
| 747 | p.Parent = model |
| 748 | end |
| 749 | do |
| 750 | local p = Instance.new("Part") |
| 751 | p.Name = "Gill_L" |
| 752 | p.Size = Vector3.new(0.1, 2.5, 0.3) |
| 753 | p.CFrame = CFrame.new(-1.15, 0, -3.5) |
| 754 | p.BrickColor = BrickColor.new("Bright blue") |
| 755 | p.Material = Enum.Material.Glacier |
| 756 | p.MaterialVariant = "2022 Universal" |
| 757 | p.Anchored = true |
| 758 | p.Parent = model |
| 759 | end |
| 760 | do |
| 761 | local rightV = Vector3.new(0,0,1).Unit |
| 762 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 763 | local normalV = upV:Cross(rightV) |
| 764 | local pos = Vector3.new(1.18, -0.5, -3) |
| 765 | local cyl = Instance.new("Part") |
| 766 | cyl.Shape = Enum.PartType.Cylinder |
| 767 | cyl.Size = Vector3.new(0.1, 5, 5) |
| 768 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 769 | cyl.BrickColor = BrickColor.new("Electric blue") |
| 770 | cyl.Material = Enum.Material.Glacier |
| 771 | cyl.MaterialVariant = "2022 Stud" |
| 772 | cyl.Anchored = true; cyl.Parent = workspace |
| 773 | local cuts = {} |
| 774 | local angBoxes = {} |
| 775 | do |
| 776 | local edgeDir = 0.866025*rightV + -0.5*upV |
| 777 | local edgePerp = 0.5*rightV + 0.866025*upV |
| 778 | local cut = Instance.new("Part") |
| 779 | cut.Size = Vector3.new(10, 0.3, 10) |
| 780 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5 * edgePerp, edgeDir, normalV) |
| 781 | cut.BrickColor = BrickColor.new("Electric blue") |
| 782 | cut.Material = Enum.Material.Glacier |
| 783 | cut.MaterialVariant = "2022 Stud" |
| 784 | cut.Anchored = true; cut.Parent = workspace |
| 785 | table.insert(angBoxes, cut) |
| 786 | end |
| 787 | do |
| 788 | local edgeDir = 0.866025*rightV + 0.5*upV |
| 789 | local edgePerp = -0.5*rightV + 0.866025*upV |
| 790 | local cut = Instance.new("Part") |
| 791 | cut.Size = Vector3.new(10, 0.3, 10) |
| 792 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5 * edgePerp, edgeDir, normalV) |
| 793 | cut.BrickColor = BrickColor.new("Electric blue") |
| 794 | cut.Material = Enum.Material.Glacier |
| 795 | cut.MaterialVariant = "2022 Stud" |
| 796 | cut.Anchored = true; cut.Parent = workspace |
| 797 | table.insert(angBoxes, cut) |
| 798 | end |
| 799 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 800 | if #cuts > 0 then |
| 801 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 802 | for _, c in ipairs(cuts) do c:Destroy() end |
| 803 | if ok and result then |
| 804 | cyl:Destroy() |
| 805 | result.Name = "Pectoral_R"; result.Anchored = true; result.Parent = model |
| 806 | else |
| 807 | cyl.Name = "Pectoral_R"; cyl.Parent = model |
| 808 | end |
| 809 | else |
| 810 | cyl.Name = "Pectoral_R"; cyl.Parent = model |
| 811 | end |
| 812 | end |
| 813 | do |
| 814 | local rightV = Vector3.new(0,0,1).Unit |
| 815 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 816 | local normalV = upV:Cross(rightV) |
| 817 | local pos = Vector3.new(-1.18, -0.5, -3) |
| 818 | local cyl = Instance.new("Part") |
| 819 | cyl.Shape = Enum.PartType.Cylinder |
| 820 | cyl.Size = Vector3.new(0.1, 5, 5) |
| 821 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 822 | cyl.BrickColor = BrickColor.new("Electric blue") |
| 823 | cyl.Material = Enum.Material.Glacier |
| 824 | cyl.MaterialVariant = "2022 Stud" |
| 825 | cyl.Anchored = true; cyl.Parent = workspace |
| 826 | local cuts = {} |
| 827 | local angBoxes = {} |
| 828 | do |
| 829 | local edgeDir = -0.866025*rightV + 0.5*upV |
| 830 | local edgePerp = -0.5*rightV + -0.866025*upV |
| 831 | local cut = Instance.new("Part") |
| 832 | cut.Size = Vector3.new(10, 0.3, 10) |
| 833 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5 * edgePerp, edgeDir, normalV) |
| 834 | cut.BrickColor = BrickColor.new("Electric blue") |
| 835 | cut.Material = Enum.Material.Glacier |
| 836 | cut.MaterialVariant = "2022 Stud" |
| 837 | cut.Anchored = true; cut.Parent = workspace |
| 838 | table.insert(angBoxes, cut) |
| 839 | end |
| 840 | do |
| 841 | local edgeDir = -0.866025*rightV + -0.5*upV |
| 842 | local edgePerp = 0.5*rightV + -0.866025*upV |
| 843 | local cut = Instance.new("Part") |
| 844 | cut.Size = Vector3.new(10, 0.3, 10) |
| 845 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5 * edgePerp, edgeDir, normalV) |
| 846 | cut.BrickColor = BrickColor.new("Electric blue") |
| 847 | cut.Material = Enum.Material.Glacier |
| 848 | cut.MaterialVariant = "2022 Stud" |
| 849 | cut.Anchored = true; cut.Parent = workspace |
| 850 | table.insert(angBoxes, cut) |
| 851 | end |
| 852 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 853 | if #cuts > 0 then |
| 854 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 855 | for _, c in ipairs(cuts) do c:Destroy() end |
| 856 | if ok and result then |
| 857 | cyl:Destroy() |
| 858 | result.Name = "Pectoral_L"; result.Anchored = true; result.Parent = model |
| 859 | else |
| 860 | cyl.Name = "Pectoral_L"; cyl.Parent = model |
| 861 | end |
| 862 | else |
| 863 | cyl.Name = "Pectoral_L"; cyl.Parent = model |
| 864 | end |
| 865 | end |
| 866 | model.PrimaryPart = model:FindFirstChild("BodyBlue_4") |
| 867 | print("Damselfish built: " .. #model:GetChildren() .. " parts") |
Loading comments...