Loading model...
by Rik Fennema · 9/7/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: DragonCoil |
| 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 = "DragonCoil" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["Bright yellow"] = "2022 Big Stud", |
| 26 | ["Dark stone grey"] = "2022 Stud", |
| 27 | ["Medium stone grey"] = "2022 Inlet", |
| 28 | ["Reddish brown"] = "2022 Small Stud", |
| 29 | ["White"] = "2022 Stud", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Shape = Enum.PartType.Ball |
| 34 | p.Name = "CoreSphere" |
| 35 | p.Size = Vector3.new(12, 12, 12) |
| 36 | p.CFrame = CFrame.new(0, 0, -1) |
| 37 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Inlet" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Name = "BandDetail1" |
| 46 | p.Size = Vector3.new(1.5, 1.5, 0.5) |
| 47 | p.CFrame = CFrame.new(-3.5, 0, 5) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) |
| 48 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Inlet" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Name = "BandDetail2" |
| 57 | p.Size = Vector3.new(1.5, 1.5, 0.5) |
| 58 | p.CFrame = CFrame.new(0, 0, 5.2) |
| 59 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 60 | p.Material = Enum.Material.Glacier |
| 61 | p.MaterialVariant = "2022 Inlet" |
| 62 | p.Anchored = true |
| 63 | p.Parent = model |
| 64 | end |
| 65 | do |
| 66 | local p = Instance.new("Part") |
| 67 | p.Name = "BandDetail3" |
| 68 | p.Size = Vector3.new(1.5, 1.5, 0.5) |
| 69 | p.CFrame = CFrame.new(3.5, 0, 5) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) |
| 70 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 71 | p.Material = Enum.Material.Glacier |
| 72 | p.MaterialVariant = "2022 Inlet" |
| 73 | p.Anchored = true |
| 74 | p.Parent = model |
| 75 | end |
| 76 | do |
| 77 | local p = Instance.new("Part") |
| 78 | p.Name = "Stand" |
| 79 | p.Size = Vector3.new(3, 2, 3) |
| 80 | p.CFrame = CFrame.new(0, -6.5, -1) |
| 81 | p.BrickColor = BrickColor.new("Reddish brown") |
| 82 | p.Material = Enum.Material.Glacier |
| 83 | p.MaterialVariant = "2022 Small Stud" |
| 84 | p.Anchored = true |
| 85 | p.Parent = model |
| 86 | end |
| 87 | do |
| 88 | local p = Instance.new("Part") |
| 89 | p.Name = "Spike_70" |
| 90 | p.Size = Vector3.new(2, 1.5, 2) |
| 91 | p.CFrame = CFrame.new(3.07818, 8.45723, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)) |
| 92 | p.BrickColor = BrickColor.new("Bright red") |
| 93 | p.Material = Enum.Material.Glacier |
| 94 | p.MaterialVariant = "2022 Stud" |
| 95 | p.Anchored = true |
| 96 | p.Parent = model |
| 97 | end |
| 98 | do |
| 99 | local p = Instance.new("Part") |
| 100 | p.Name = "Spike_90" |
| 101 | p.Size = Vector3.new(2, 1.5, 2) |
| 102 | p.CFrame = CFrame.new(0, 9, 1.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 103 | p.BrickColor = BrickColor.new("Bright red") |
| 104 | p.Material = Enum.Material.Glacier |
| 105 | p.MaterialVariant = "2022 Stud" |
| 106 | p.Anchored = true |
| 107 | p.Parent = model |
| 108 | end |
| 109 | do |
| 110 | local p = Instance.new("Part") |
| 111 | p.Name = "Spike_110" |
| 112 | p.Size = Vector3.new(2, 1.5, 2) |
| 113 | p.CFrame = CFrame.new(-3.07818, 8.45723, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(110)) |
| 114 | p.BrickColor = BrickColor.new("Bright red") |
| 115 | p.Material = Enum.Material.Glacier |
| 116 | p.MaterialVariant = "2022 Stud" |
| 117 | p.Anchored = true |
| 118 | p.Parent = model |
| 119 | end |
| 120 | do |
| 121 | local p = Instance.new("Part") |
| 122 | p.Name = "Spike_130" |
| 123 | p.Size = Vector3.new(2, 1.5, 2) |
| 124 | p.CFrame = CFrame.new(-5.78509, 6.8944, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(130)) |
| 125 | p.BrickColor = BrickColor.new("Bright red") |
| 126 | p.Material = Enum.Material.Glacier |
| 127 | p.MaterialVariant = "2022 Stud" |
| 128 | p.Anchored = true |
| 129 | p.Parent = model |
| 130 | end |
| 131 | do |
| 132 | local p = Instance.new("Part") |
| 133 | p.Name = "Spike_150" |
| 134 | p.Size = Vector3.new(2, 1.5, 2) |
| 135 | p.CFrame = CFrame.new(-7.79423, 4.5, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(150)) |
| 136 | p.BrickColor = BrickColor.new("Bright red") |
| 137 | p.Material = Enum.Material.Glacier |
| 138 | p.MaterialVariant = "2022 Stud" |
| 139 | p.Anchored = true |
| 140 | p.Parent = model |
| 141 | end |
| 142 | do |
| 143 | local p = Instance.new("Part") |
| 144 | p.Name = "Spike_170" |
| 145 | p.Size = Vector3.new(2, 1.5, 2) |
| 146 | p.CFrame = CFrame.new(-8.86327, 1.56283, 1.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(170)) |
| 147 | p.BrickColor = BrickColor.new("Bright red") |
| 148 | p.Material = Enum.Material.Glacier |
| 149 | p.MaterialVariant = "2022 Stud" |
| 150 | p.Anchored = true |
| 151 | p.Parent = model |
| 152 | end |
| 153 | do |
| 154 | local p = Instance.new("Part") |
| 155 | p.Name = "Spike_190" |
| 156 | p.Size = Vector3.new(2, 1.5, 2) |
| 157 | p.CFrame = CFrame.new(-8.86327, -1.56283, 1.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(190)) |
| 158 | p.BrickColor = BrickColor.new("Bright red") |
| 159 | p.Material = Enum.Material.Glacier |
| 160 | p.MaterialVariant = "2022 Stud" |
| 161 | p.Anchored = true |
| 162 | p.Parent = model |
| 163 | end |
| 164 | do |
| 165 | local p = Instance.new("Part") |
| 166 | p.Name = "Spike_210" |
| 167 | p.Size = Vector3.new(2, 1.5, 2) |
| 168 | p.CFrame = CFrame.new(-7.79423, -4.5, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(210)) |
| 169 | p.BrickColor = BrickColor.new("Bright red") |
| 170 | p.Material = Enum.Material.Glacier |
| 171 | p.MaterialVariant = "2022 Stud" |
| 172 | p.Anchored = true |
| 173 | p.Parent = model |
| 174 | end |
| 175 | do |
| 176 | local p = Instance.new("Part") |
| 177 | p.Name = "Spike_230" |
| 178 | p.Size = Vector3.new(2, 1.5, 2) |
| 179 | p.CFrame = CFrame.new(-5.78509, -6.8944, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(230)) |
| 180 | p.BrickColor = BrickColor.new("Bright red") |
| 181 | p.Material = Enum.Material.Glacier |
| 182 | p.MaterialVariant = "2022 Stud" |
| 183 | p.Anchored = true |
| 184 | p.Parent = model |
| 185 | end |
| 186 | do |
| 187 | local p = Instance.new("Part") |
| 188 | p.Name = "Spike_250" |
| 189 | p.Size = Vector3.new(2, 1.5, 2) |
| 190 | p.CFrame = CFrame.new(-3.07818, -8.45723, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(250)) |
| 191 | p.BrickColor = BrickColor.new("Bright red") |
| 192 | p.Material = Enum.Material.Glacier |
| 193 | p.MaterialVariant = "2022 Stud" |
| 194 | p.Anchored = true |
| 195 | p.Parent = model |
| 196 | end |
| 197 | do |
| 198 | local p = Instance.new("Part") |
| 199 | p.Name = "Spike_270" |
| 200 | p.Size = Vector3.new(2, 1.5, 2) |
| 201 | p.CFrame = CFrame.new(0, -9, 1.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(270)) |
| 202 | p.BrickColor = BrickColor.new("Bright red") |
| 203 | p.Material = Enum.Material.Glacier |
| 204 | p.MaterialVariant = "2022 Stud" |
| 205 | p.Anchored = true |
| 206 | p.Parent = model |
| 207 | end |
| 208 | do |
| 209 | local p = Instance.new("Part") |
| 210 | p.Name = "Spike_290" |
| 211 | p.Size = Vector3.new(2, 1.5, 2) |
| 212 | p.CFrame = CFrame.new(3.07818, -8.45723, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(290)) |
| 213 | p.BrickColor = BrickColor.new("Bright red") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Stud" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Name = "Spike_310" |
| 222 | p.Size = Vector3.new(2, 1.5, 2) |
| 223 | p.CFrame = CFrame.new(5.78509, -6.8944, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(310)) |
| 224 | p.BrickColor = BrickColor.new("Bright red") |
| 225 | p.Material = Enum.Material.Glacier |
| 226 | p.MaterialVariant = "2022 Stud" |
| 227 | p.Anchored = true |
| 228 | p.Parent = model |
| 229 | end |
| 230 | do |
| 231 | local p = Instance.new("Part") |
| 232 | p.Name = "TailTip" |
| 233 | p.Size = Vector3.new(3, 2, 2) |
| 234 | p.CFrame = CFrame.new(6.9282, -4, 1.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(330)) |
| 235 | p.BrickColor = BrickColor.new("Bright red") |
| 236 | p.Material = Enum.Material.Glacier |
| 237 | p.MaterialVariant = "2022 Stud" |
| 238 | p.Anchored = true |
| 239 | p.Parent = model |
| 240 | end |
| 241 | do |
| 242 | local p = Instance.new("Part") |
| 243 | p.Name = "HeadTop" |
| 244 | p.Size = Vector3.new(3.5, 1.5, 2.8) |
| 245 | p.CFrame = CFrame.new(4.5, 7, 2) |
| 246 | p.BrickColor = BrickColor.new("White") |
| 247 | p.Material = Enum.Material.Glacier |
| 248 | p.MaterialVariant = "2022 Stud" |
| 249 | p.Anchored = true |
| 250 | p.Parent = model |
| 251 | end |
| 252 | do |
| 253 | local p = Instance.new("Part") |
| 254 | p.Name = "Snout" |
| 255 | p.Size = Vector3.new(3, 1.5, 2.5) |
| 256 | p.CFrame = CFrame.new(7, 6, 2) |
| 257 | p.BrickColor = BrickColor.new("White") |
| 258 | p.Material = Enum.Material.Glacier |
| 259 | p.MaterialVariant = "2022 Stud" |
| 260 | p.Anchored = true |
| 261 | p.Parent = model |
| 262 | end |
| 263 | do |
| 264 | local p = Instance.new("Part") |
| 265 | p.Name = "NoseTip" |
| 266 | p.Size = Vector3.new(1, 1, 2.5) |
| 267 | p.CFrame = CFrame.new(8.3, 6.3, 2.04) |
| 268 | p.BrickColor = BrickColor.new("White") |
| 269 | p.Material = Enum.Material.Glacier |
| 270 | p.MaterialVariant = "2022 Stud" |
| 271 | p.Anchored = true |
| 272 | p.Parent = model |
| 273 | end |
| 274 | do |
| 275 | local p = Instance.new("Part") |
| 276 | p.Name = "LowerJaw" |
| 277 | p.Size = Vector3.new(2.5, 1, 2) |
| 278 | p.CFrame = CFrame.new(6.7, 4.7, 2) |
| 279 | p.BrickColor = BrickColor.new("White") |
| 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 = "ToothL" |
| 288 | p.Size = Vector3.new(0.4, 0.8, 0.4) |
| 289 | p.CFrame = CFrame.new(7.5, 5.3, 3) |
| 290 | p.BrickColor = BrickColor.new("White") |
| 291 | p.Material = Enum.Material.Glacier |
| 292 | p.MaterialVariant = "2022 Stud" |
| 293 | p.Anchored = true |
| 294 | p.Parent = model |
| 295 | end |
| 296 | do |
| 297 | local p = Instance.new("Part") |
| 298 | p.Name = "ToothR" |
| 299 | p.Size = Vector3.new(0.4, 0.8, 0.4) |
| 300 | p.CFrame = CFrame.new(7.5, 5.3, 1) |
| 301 | p.BrickColor = BrickColor.new("White") |
| 302 | p.Material = Enum.Material.Glacier |
| 303 | p.MaterialVariant = "2022 Stud" |
| 304 | p.Anchored = true |
| 305 | p.Parent = model |
| 306 | end |
| 307 | do |
| 308 | local p = Instance.new("Part") |
| 309 | p.Name = "EyeL" |
| 310 | p.Size = Vector3.new(0.5, 0.5, 0.2) |
| 311 | p.CFrame = CFrame.new(6, 6.7, 3.45) |
| 312 | p.BrickColor = BrickColor.new("Really red") |
| 313 | p.Material = Enum.Material.Neon |
| 314 | p.Anchored = true |
| 315 | p.Parent = model |
| 316 | end |
| 317 | do |
| 318 | local p = Instance.new("Part") |
| 319 | p.Name = "EyeR" |
| 320 | p.Size = Vector3.new(0.5, 0.5, 0.2) |
| 321 | p.CFrame = CFrame.new(6, 6.7, 0.55) |
| 322 | p.BrickColor = BrickColor.new("Really red") |
| 323 | p.Material = Enum.Material.Neon |
| 324 | p.Anchored = true |
| 325 | p.Parent = model |
| 326 | end |
| 327 | do |
| 328 | local p = Instance.new("Part") |
| 329 | p.Name = "HeadTrim" |
| 330 | p.Size = Vector3.new(2, 0.5, 2.6) |
| 331 | p.CFrame = CFrame.new(5.04, 7.7, 2) |
| 332 | p.BrickColor = BrickColor.new("Bright yellow") |
| 333 | p.Material = Enum.Material.Glacier |
| 334 | p.MaterialVariant = "2022 Big Stud" |
| 335 | p.Anchored = true |
| 336 | p.Parent = model |
| 337 | end |
| 338 | do |
| 339 | local p = Instance.new("Part") |
| 340 | p.Name = "HornL" |
| 341 | p.Size = Vector3.new(2.34521, 0.8, 0.8) |
| 342 | p.CFrame = CFrame.new(3.75, 8.75, 3.5) * CFrame.Angles(math.rad(-180), math.rad(-33.6901), math.rad(-140.238)) |
| 343 | p.BrickColor = BrickColor.new("Bright yellow") |
| 344 | p.Material = Enum.Material.Glacier |
| 345 | p.MaterialVariant = "2022 Big Stud" |
| 346 | p.Anchored = true |
| 347 | p.Parent = model |
| 348 | end |
| 349 | do |
| 350 | local p = Instance.new("Part") |
| 351 | p.Name = "HornR" |
| 352 | p.Size = Vector3.new(2.34521, 0.8, 0.8) |
| 353 | p.CFrame = CFrame.new(3.75, 8.75, 0.5) * CFrame.Angles(math.rad(-180), math.rad(33.6901), math.rad(-140.238)) |
| 354 | p.BrickColor = BrickColor.new("Bright yellow") |
| 355 | p.Material = Enum.Material.Glacier |
| 356 | p.MaterialVariant = "2022 Big Stud" |
| 357 | p.Anchored = true |
| 358 | p.Parent = model |
| 359 | end |
| 360 | do |
| 361 | local p = Instance.new("Part") |
| 362 | p.Name = "WhiskerL" |
| 363 | p.Size = Vector3.new(1.97231, 0.5, 0.5) |
| 364 | p.CFrame = CFrame.new(8.5, 5.25, 3.6) * CFrame.Angles(math.rad(0), math.rad(-38.6598), math.rad(-49.511)) |
| 365 | p.BrickColor = BrickColor.new("Bright yellow") |
| 366 | p.Material = Enum.Material.Glacier |
| 367 | p.MaterialVariant = "2022 Big Stud" |
| 368 | p.Anchored = true |
| 369 | p.Parent = model |
| 370 | end |
| 371 | do |
| 372 | local p = Instance.new("Part") |
| 373 | p.Name = "WhiskerR" |
| 374 | p.Size = Vector3.new(1.97231, 0.5, 0.5) |
| 375 | p.CFrame = CFrame.new(8.5, 5.25, 0.4) * CFrame.Angles(math.rad(0), math.rad(38.6598), math.rad(-49.511)) |
| 376 | p.BrickColor = BrickColor.new("Bright yellow") |
| 377 | p.Material = Enum.Material.Glacier |
| 378 | p.MaterialVariant = "2022 Big Stud" |
| 379 | p.Anchored = true |
| 380 | p.Parent = model |
| 381 | end |
| 382 | do |
| 383 | local p = Instance.new("Part") |
| 384 | p.Name = "HeadMane1" |
| 385 | p.Size = Vector3.new(2, 3, 3) |
| 386 | p.CFrame = CFrame.new(3, 6.5, 2) |
| 387 | p.BrickColor = BrickColor.new("Bright red") |
| 388 | p.Material = Enum.Material.Glacier |
| 389 | p.MaterialVariant = "2022 Stud" |
| 390 | p.Anchored = true |
| 391 | p.Parent = model |
| 392 | end |
| 393 | do |
| 394 | local p = Instance.new("Part") |
| 395 | p.Name = "HeadMane2" |
| 396 | p.Size = Vector3.new(2, 2, 3) |
| 397 | p.CFrame = CFrame.new(2, 7.5, 2.04) |
| 398 | p.BrickColor = BrickColor.new("Bright red") |
| 399 | p.Material = Enum.Material.Glacier |
| 400 | p.MaterialVariant = "2022 Stud" |
| 401 | p.Anchored = true |
| 402 | p.Parent = model |
| 403 | end |
| 404 | do |
| 405 | local p = Instance.new("Part") |
| 406 | p.Name = "ArmTL" |
| 407 | p.Size = Vector3.new(3.17805, 1.2, 1.2) |
| 408 | p.CFrame = CFrame.new(-5.05, 2.85, 2) * CFrame.Angles(math.rad(0), math.rad(-43.6028), math.rad(24.1455)) |
| 409 | p.BrickColor = BrickColor.new("White") |
| 410 | p.Material = Enum.Material.Glacier |
| 411 | p.MaterialVariant = "2022 Stud" |
| 412 | p.Anchored = true |
| 413 | p.Parent = model |
| 414 | end |
| 415 | do |
| 416 | local p = Instance.new("Part") |
| 417 | p.Name = "ClawTL1" |
| 418 | p.Size = Vector3.new(1.22474, 0.5, 0.5) |
| 419 | p.CFrame = CFrame.new(-3.5, 3.75, 3.25) * CFrame.Angles(math.rad(0), math.rad(-26.5651), math.rad(24.0948)) |
| 420 | p.BrickColor = BrickColor.new("Bright yellow") |
| 421 | p.Material = Enum.Material.Glacier |
| 422 | p.MaterialVariant = "2022 Big Stud" |
| 423 | p.Anchored = true |
| 424 | p.Parent = model |
| 425 | end |
| 426 | do |
| 427 | local p = Instance.new("Part") |
| 428 | p.Name = "ClawTL2" |
| 429 | p.Size = Vector3.new(1.22474, 0.5, 0.5) |
| 430 | p.CFrame = CFrame.new(-3.75, 3, 3.25) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-54.7356)) |
| 431 | p.BrickColor = BrickColor.new("Bright yellow") |
| 432 | p.Material = Enum.Material.Glacier |
| 433 | p.MaterialVariant = "2022 Big Stud" |
| 434 | p.Anchored = true |
| 435 | p.Parent = model |
| 436 | end |
| 437 | do |
| 438 | local p = Instance.new("Part") |
| 439 | p.Name = "ArmBR" |
| 440 | p.Size = Vector3.new(3.41321, 1.2, 1.2) |
| 441 | p.CFrame = CFrame.new(3.1, -5.05, 2) * CFrame.Angles(math.rad(0), math.rad(-48.0128), math.rad(37.9706)) |
| 442 | p.BrickColor = BrickColor.new("White") |
| 443 | p.Material = Enum.Material.Glacier |
| 444 | p.MaterialVariant = "2022 Stud" |
| 445 | p.Anchored = true |
| 446 | p.Parent = model |
| 447 | end |
| 448 | do |
| 449 | local p = Instance.new("Part") |
| 450 | p.Name = "ClawBR1" |
| 451 | p.Size = Vector3.new(1.65831, 0.5, 0.5) |
| 452 | p.CFrame = CFrame.new(4.25, -3.25, 3.25) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(64.7606)) |
| 453 | p.BrickColor = BrickColor.new("Bright yellow") |
| 454 | p.Material = Enum.Material.Glacier |
| 455 | p.MaterialVariant = "2022 Big Stud" |
| 456 | p.Anchored = true |
| 457 | p.Parent = model |
| 458 | end |
| 459 | do |
| 460 | local p = Instance.new("Part") |
| 461 | p.Name = "ClawBR2" |
| 462 | p.Size = Vector3.new(1.22474, 0.5, 0.5) |
| 463 | p.CFrame = CFrame.new(4.5, -4.25, 3.25) * CFrame.Angles(math.rad(0), math.rad(-26.5651), math.rad(-24.0948)) |
| 464 | p.BrickColor = BrickColor.new("Bright yellow") |
| 465 | p.Material = Enum.Material.Glacier |
| 466 | p.MaterialVariant = "2022 Big Stud" |
| 467 | p.Anchored = true |
| 468 | p.Parent = model |
| 469 | end |
| 470 | do |
| 471 | local p = Instance.new("Part") |
| 472 | p.Name = "Cloud1a" |
| 473 | p.Size = Vector3.new(4, 1.5, 2) |
| 474 | p.CFrame = CFrame.new(-8, -6, 0) |
| 475 | p.BrickColor = BrickColor.new("White") |
| 476 | p.Material = Enum.Material.Glacier |
| 477 | p.MaterialVariant = "2022 Stud" |
| 478 | p.Anchored = true |
| 479 | p.Parent = model |
| 480 | end |
| 481 | do |
| 482 | local p = Instance.new("Part") |
| 483 | p.Name = "Cloud1b" |
| 484 | p.Size = Vector3.new(3, 1.5, 2) |
| 485 | p.CFrame = CFrame.new(-7, -5, 0.04) |
| 486 | p.BrickColor = BrickColor.new("White") |
| 487 | p.Material = Enum.Material.Glacier |
| 488 | p.MaterialVariant = "2022 Stud" |
| 489 | p.Anchored = true |
| 490 | p.Parent = model |
| 491 | end |
| 492 | do |
| 493 | local p = Instance.new("Part") |
| 494 | p.Name = "Cloud1c" |
| 495 | p.Size = Vector3.new(2, 1.5, 2) |
| 496 | p.CFrame = CFrame.new(-9.04, -7, 0.04) |
| 497 | p.BrickColor = BrickColor.new("White") |
| 498 | p.Material = Enum.Material.Glacier |
| 499 | p.MaterialVariant = "2022 Stud" |
| 500 | p.Anchored = true |
| 501 | p.Parent = model |
| 502 | end |
| 503 | do |
| 504 | local p = Instance.new("Part") |
| 505 | p.Name = "Cloud2a" |
| 506 | p.Size = Vector3.new(4, 1.5, 2) |
| 507 | p.CFrame = CFrame.new(-8, 6, -2) |
| 508 | p.BrickColor = BrickColor.new("White") |
| 509 | p.Material = Enum.Material.Glacier |
| 510 | p.MaterialVariant = "2022 Stud" |
| 511 | p.Anchored = true |
| 512 | p.Parent = model |
| 513 | end |
| 514 | do |
| 515 | local p = Instance.new("Part") |
| 516 | p.Name = "Cloud2b" |
| 517 | p.Size = Vector3.new(2, 1.5, 2) |
| 518 | p.CFrame = CFrame.new(-9.04, 7, -1.96) |
| 519 | p.BrickColor = BrickColor.new("White") |
| 520 | p.Material = Enum.Material.Glacier |
| 521 | p.MaterialVariant = "2022 Stud" |
| 522 | p.Anchored = true |
| 523 | p.Parent = model |
| 524 | end |
| 525 | do |
| 526 | local p = Instance.new("Part") |
| 527 | p.Name = "Cloud2c" |
| 528 | p.Size = Vector3.new(2, 1.5, 2) |
| 529 | p.CFrame = CFrame.new(-6.96, 5, -1.96) |
| 530 | p.BrickColor = BrickColor.new("White") |
| 531 | p.Material = Enum.Material.Glacier |
| 532 | p.MaterialVariant = "2022 Stud" |
| 533 | p.Anchored = true |
| 534 | p.Parent = model |
| 535 | end |
| 536 | do |
| 537 | local p = Instance.new("Part") |
| 538 | p.Name = "Cloud3a" |
| 539 | p.Size = Vector3.new(4, 1.5, 2) |
| 540 | p.CFrame = CFrame.new(8, -5, 0) |
| 541 | p.BrickColor = BrickColor.new("White") |
| 542 | p.Material = Enum.Material.Glacier |
| 543 | p.MaterialVariant = "2022 Stud" |
| 544 | p.Anchored = true |
| 545 | p.Parent = model |
| 546 | end |
| 547 | do |
| 548 | local p = Instance.new("Part") |
| 549 | p.Name = "Cloud3b" |
| 550 | p.Size = Vector3.new(2, 1.5, 2) |
| 551 | p.CFrame = CFrame.new(9.04, -4, 0.04) |
| 552 | p.BrickColor = BrickColor.new("White") |
| 553 | p.Material = Enum.Material.Glacier |
| 554 | p.MaterialVariant = "2022 Stud" |
| 555 | p.Anchored = true |
| 556 | p.Parent = model |
| 557 | end |
| 558 | do |
| 559 | local p = Instance.new("Part") |
| 560 | p.Name = "Cloud3c" |
| 561 | p.Size = Vector3.new(2, 1.5, 2) |
| 562 | p.CFrame = CFrame.new(6.96, -6, 0.04) |
| 563 | p.BrickColor = BrickColor.new("White") |
| 564 | p.Material = Enum.Material.Glacier |
| 565 | p.MaterialVariant = "2022 Stud" |
| 566 | p.Anchored = true |
| 567 | p.Parent = model |
| 568 | end |
| 569 | do |
| 570 | local p = Instance.new("Part") |
| 571 | p.Name = "Cloud4a" |
| 572 | p.Size = Vector3.new(3, 1.5, 2) |
| 573 | p.CFrame = CFrame.new(10, 2, -1) |
| 574 | p.BrickColor = BrickColor.new("White") |
| 575 | p.Material = Enum.Material.Glacier |
| 576 | p.MaterialVariant = "2022 Stud" |
| 577 | p.Anchored = true |
| 578 | p.Parent = model |
| 579 | end |
| 580 | do |
| 581 | local p = Instance.new("Part") |
| 582 | p.Name = "Cloud4b" |
| 583 | p.Size = Vector3.new(2, 1.5, 2) |
| 584 | p.CFrame = CFrame.new(11, 3, -0.96) |
| 585 | p.BrickColor = BrickColor.new("White") |
| 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 rightV = Vector3.new(1,0,0).Unit |
| 593 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 594 | local normalV = upV:Cross(rightV) |
| 595 | local pos = Vector3.new(0, 0, -1) |
| 596 | local cyl = Instance.new("Part") |
| 597 | cyl.Shape = Enum.PartType.Cylinder |
| 598 | cyl.Size = Vector3.new(5, 12.4, 12.4) |
| 599 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 600 | cyl.BrickColor = BrickColor.new("Dark stone grey") |
| 601 | cyl.Material = Enum.Material.Glacier |
| 602 | cyl.MaterialVariant = "2022 Stud" |
| 603 | cyl.Anchored = true; cyl.Parent = workspace |
| 604 | local cuts = {} |
| 605 | local hole = Instance.new("Part") |
| 606 | hole.Shape = Enum.PartType.Cylinder |
| 607 | hole.Size = Vector3.new(5.2, 11.6, 11.6) |
| 608 | hole.CFrame = cyl.CFrame |
| 609 | hole.BrickColor = BrickColor.new("Dark stone grey") |
| 610 | hole.Material = Enum.Material.Glacier |
| 611 | hole.MaterialVariant = "2022 Stud" |
| 612 | hole.Anchored = true; hole.Parent = workspace |
| 613 | table.insert(cuts, hole) |
| 614 | if #cuts > 0 then |
| 615 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 616 | for _, c in ipairs(cuts) do c:Destroy() end |
| 617 | if ok and result then |
| 618 | cyl:Destroy() |
| 619 | result.Name = "SphereBand"; result.Anchored = true; result.Parent = model |
| 620 | else |
| 621 | cyl.Name = "SphereBand"; cyl.Parent = model |
| 622 | end |
| 623 | else |
| 624 | cyl.Name = "SphereBand"; cyl.Parent = model |
| 625 | end |
| 626 | end |
| 627 | do |
| 628 | local rightV = Vector3.new(1,0,0).Unit |
| 629 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 630 | local normalV = upV:Cross(rightV) |
| 631 | local pos = Vector3.new(0, 0, 1.04) |
| 632 | local cyl = Instance.new("Part") |
| 633 | cyl.Shape = Enum.PartType.Cylinder |
| 634 | cyl.Size = Vector3.new(2, 14, 14) |
| 635 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 636 | cyl.BrickColor = BrickColor.new("White") |
| 637 | cyl.Material = Enum.Material.Glacier |
| 638 | cyl.MaterialVariant = "2022 Stud" |
| 639 | cyl.Anchored = true; cyl.Parent = workspace |
| 640 | local cuts = {} |
| 641 | local hole = Instance.new("Part") |
| 642 | hole.Shape = Enum.PartType.Cylinder |
| 643 | hole.Size = Vector3.new(2.2, 12, 12) |
| 644 | hole.CFrame = cyl.CFrame |
| 645 | hole.BrickColor = BrickColor.new("White") |
| 646 | hole.Material = Enum.Material.Glacier |
| 647 | hole.MaterialVariant = "2022 Stud" |
| 648 | hole.Anchored = true; hole.Parent = workspace |
| 649 | table.insert(cuts, hole) |
| 650 | local angBoxes = {} |
| 651 | do |
| 652 | local edgeDir = 0.5*rightV + 0.866025*upV |
| 653 | local edgePerp = -0.866025*rightV + 0.5*upV |
| 654 | local cut = Instance.new("Part") |
| 655 | cut.Size = Vector3.new(28, 2.2, 28) |
| 656 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 14 * edgePerp, edgeDir, normalV) |
| 657 | cut.BrickColor = BrickColor.new("White") |
| 658 | cut.Material = Enum.Material.Glacier |
| 659 | cut.MaterialVariant = "2022 Stud" |
| 660 | cut.Anchored = true; cut.Parent = workspace |
| 661 | table.insert(angBoxes, cut) |
| 662 | end |
| 663 | do |
| 664 | local edgeDir = 0.866025*rightV + -0.5*upV |
| 665 | local edgePerp = 0.5*rightV + 0.866025*upV |
| 666 | local cut = Instance.new("Part") |
| 667 | cut.Size = Vector3.new(28, 2.2, 28) |
| 668 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 14 * edgePerp, edgeDir, normalV) |
| 669 | cut.BrickColor = BrickColor.new("White") |
| 670 | cut.Material = Enum.Material.Glacier |
| 671 | cut.MaterialVariant = "2022 Stud" |
| 672 | cut.Anchored = true; cut.Parent = workspace |
| 673 | table.insert(angBoxes, cut) |
| 674 | end |
| 675 | do |
| 676 | local w = angBoxes[1]:IntersectAsync({angBoxes[2]}) |
| 677 | angBoxes[1]:Destroy(); angBoxes[2]:Destroy() |
| 678 | w.Anchored = true; w.Parent = workspace |
| 679 | table.insert(cuts, w) |
| 680 | end |
| 681 | if #cuts > 0 then |
| 682 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 683 | for _, c in ipairs(cuts) do c:Destroy() end |
| 684 | if ok and result then |
| 685 | cyl:Destroy() |
| 686 | result.Name = "DragonBelly"; result.Anchored = true; result.Parent = model |
| 687 | else |
| 688 | cyl.Name = "DragonBelly"; cyl.Parent = model |
| 689 | end |
| 690 | else |
| 691 | cyl.Name = "DragonBelly"; cyl.Parent = model |
| 692 | end |
| 693 | end |
| 694 | do |
| 695 | local rightV = Vector3.new(1,0,0).Unit |
| 696 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 697 | local normalV = upV:Cross(rightV) |
| 698 | local pos = Vector3.new(0, 0, 1.08) |
| 699 | local cyl = Instance.new("Part") |
| 700 | cyl.Shape = Enum.PartType.Cylinder |
| 701 | cyl.Size = Vector3.new(2, 15, 15) |
| 702 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 703 | cyl.BrickColor = BrickColor.new("Bright yellow") |
| 704 | cyl.Material = Enum.Material.Glacier |
| 705 | cyl.MaterialVariant = "2022 Big Stud" |
| 706 | cyl.Anchored = true; cyl.Parent = workspace |
| 707 | local cuts = {} |
| 708 | local hole = Instance.new("Part") |
| 709 | hole.Shape = Enum.PartType.Cylinder |
| 710 | hole.Size = Vector3.new(2.2, 14, 14) |
| 711 | hole.CFrame = cyl.CFrame |
| 712 | hole.BrickColor = BrickColor.new("Bright yellow") |
| 713 | hole.Material = Enum.Material.Glacier |
| 714 | hole.MaterialVariant = "2022 Big Stud" |
| 715 | hole.Anchored = true; hole.Parent = workspace |
| 716 | table.insert(cuts, hole) |
| 717 | local angBoxes = {} |
| 718 | do |
| 719 | local edgeDir = 0.5*rightV + 0.866025*upV |
| 720 | local edgePerp = -0.866025*rightV + 0.5*upV |
| 721 | local cut = Instance.new("Part") |
| 722 | cut.Size = Vector3.new(30, 2.2, 30) |
| 723 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 15 * edgePerp, edgeDir, normalV) |
| 724 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 725 | cut.Material = Enum.Material.Glacier |
| 726 | cut.MaterialVariant = "2022 Big Stud" |
| 727 | cut.Anchored = true; cut.Parent = workspace |
| 728 | table.insert(angBoxes, cut) |
| 729 | end |
| 730 | do |
| 731 | local edgeDir = 0.866025*rightV + -0.5*upV |
| 732 | local edgePerp = 0.5*rightV + 0.866025*upV |
| 733 | local cut = Instance.new("Part") |
| 734 | cut.Size = Vector3.new(30, 2.2, 30) |
| 735 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 15 * edgePerp, edgeDir, normalV) |
| 736 | cut.BrickColor = BrickColor.new("Bright yellow") |
| 737 | cut.Material = Enum.Material.Glacier |
| 738 | cut.MaterialVariant = "2022 Big Stud" |
| 739 | cut.Anchored = true; cut.Parent = workspace |
| 740 | table.insert(angBoxes, cut) |
| 741 | end |
| 742 | do |
| 743 | local w = angBoxes[1]:IntersectAsync({angBoxes[2]}) |
| 744 | angBoxes[1]:Destroy(); angBoxes[2]:Destroy() |
| 745 | w.Anchored = true; w.Parent = workspace |
| 746 | table.insert(cuts, w) |
| 747 | end |
| 748 | if #cuts > 0 then |
| 749 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 750 | for _, c in ipairs(cuts) do c:Destroy() end |
| 751 | if ok and result then |
| 752 | cyl:Destroy() |
| 753 | result.Name = "DragonTrim"; result.Anchored = true; result.Parent = model |
| 754 | else |
| 755 | cyl.Name = "DragonTrim"; cyl.Parent = model |
| 756 | end |
| 757 | else |
| 758 | cyl.Name = "DragonTrim"; cyl.Parent = model |
| 759 | end |
| 760 | end |
| 761 | do |
| 762 | local rightV = Vector3.new(1,0,0).Unit |
| 763 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 764 | local normalV = upV:Cross(rightV) |
| 765 | local pos = Vector3.new(0, 0, 1) |
| 766 | local cyl = Instance.new("Part") |
| 767 | cyl.Shape = Enum.PartType.Cylinder |
| 768 | cyl.Size = Vector3.new(2, 18, 18) |
| 769 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 770 | cyl.BrickColor = BrickColor.new("Bright red") |
| 771 | cyl.Material = Enum.Material.Glacier |
| 772 | cyl.MaterialVariant = "2022 Stud" |
| 773 | cyl.Anchored = true; cyl.Parent = workspace |
| 774 | local cuts = {} |
| 775 | local hole = Instance.new("Part") |
| 776 | hole.Shape = Enum.PartType.Cylinder |
| 777 | hole.Size = Vector3.new(2.2, 15, 15) |
| 778 | hole.CFrame = cyl.CFrame |
| 779 | hole.BrickColor = BrickColor.new("Bright red") |
| 780 | hole.Material = Enum.Material.Glacier |
| 781 | hole.MaterialVariant = "2022 Stud" |
| 782 | hole.Anchored = true; hole.Parent = workspace |
| 783 | table.insert(cuts, hole) |
| 784 | local angBoxes = {} |
| 785 | do |
| 786 | local edgeDir = 0.5*rightV + 0.866025*upV |
| 787 | local edgePerp = -0.866025*rightV + 0.5*upV |
| 788 | local cut = Instance.new("Part") |
| 789 | cut.Size = Vector3.new(36, 2.2, 36) |
| 790 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 18 * edgePerp, edgeDir, normalV) |
| 791 | cut.BrickColor = BrickColor.new("Bright red") |
| 792 | cut.Material = Enum.Material.Glacier |
| 793 | cut.MaterialVariant = "2022 Stud" |
| 794 | cut.Anchored = true; cut.Parent = workspace |
| 795 | table.insert(angBoxes, cut) |
| 796 | end |
| 797 | do |
| 798 | local edgeDir = 0.866025*rightV + -0.5*upV |
| 799 | local edgePerp = 0.5*rightV + 0.866025*upV |
| 800 | local cut = Instance.new("Part") |
| 801 | cut.Size = Vector3.new(36, 2.2, 36) |
| 802 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 18 * edgePerp, edgeDir, normalV) |
| 803 | cut.BrickColor = BrickColor.new("Bright red") |
| 804 | cut.Material = Enum.Material.Glacier |
| 805 | cut.MaterialVariant = "2022 Stud" |
| 806 | cut.Anchored = true; cut.Parent = workspace |
| 807 | table.insert(angBoxes, cut) |
| 808 | end |
| 809 | do |
| 810 | local w = angBoxes[1]:IntersectAsync({angBoxes[2]}) |
| 811 | angBoxes[1]:Destroy(); angBoxes[2]:Destroy() |
| 812 | w.Anchored = true; w.Parent = workspace |
| 813 | table.insert(cuts, w) |
| 814 | end |
| 815 | if #cuts > 0 then |
| 816 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 817 | for _, c in ipairs(cuts) do c:Destroy() end |
| 818 | if ok and result then |
| 819 | cyl:Destroy() |
| 820 | result.Name = "DragonBack"; result.Anchored = true; result.Parent = model |
| 821 | else |
| 822 | cyl.Name = "DragonBack"; cyl.Parent = model |
| 823 | end |
| 824 | else |
| 825 | cyl.Name = "DragonBack"; cyl.Parent = model |
| 826 | end |
| 827 | end |
| 828 | model.PrimaryPart = model:FindFirstChild("CoreSphere") |
| 829 | print("DragonCoil built: " .. #model:GetChildren() .. " parts") |
Loading comments...