SHOW:
|
|
- or go back to the newest paste.
| 1 | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------donte. | |
| 2 | ||
| 3 | - | Player = game:GetService("Players").DDB_Dex
|
| 3 | + | Player = game:GetService("Players").Deishuu_Kaiki
|
| 4 | Character = Player.Character | |
| 5 | ||
| 6 | PlayerGui = Player.PlayerGui | |
| 7 | ||
| 8 | Backpack = Player.Backpack | |
| 9 | ||
| 10 | Torso = Character.Torso | |
| 11 | ||
| 12 | Head = Character.Head | |
| 13 | ||
| 14 | LeftArm = Character["Left Arm"] | |
| 15 | ||
| 16 | LeftLeg = Character["Left Leg"] | |
| 17 | ||
| 18 | RightArm = Character["Right Arm"] | |
| 19 | ||
| 20 | RightLeg = Character["Right Leg"] | |
| 21 | ||
| 22 | LS = Torso["Left Shoulder"] | |
| 23 | ||
| 24 | LH = Torso["Left Hip"] | |
| 25 | ||
| 26 | RS = Torso["Right Shoulder"] | |
| 27 | ||
| 28 | RH = Torso["Right Hip"] | |
| 29 | ||
| 30 | attack = false | |
| 31 | ||
| 32 | attackdebounce = false | |
| 33 | ||
| 34 | combo = 0 | |
| 35 | ||
| 36 | --player | |
| 37 | ||
| 38 | player = nil | |
| 39 | ||
| 40 | --save shoulders | |
| 41 | ||
| 42 | RSH, LSH = nil, nil | |
| 43 | ||
| 44 | --welds | |
| 45 | ||
| 46 | RW, LW = Instance.new("Weld"), Instance.new("Weld")
| |
| 47 | ||
| 48 | ||
| 49 | if Character:findFirstChild("Glaive",true) ~= nil then
| |
| 50 | ||
| 51 | Character:findFirstChild("Glaive",true).Parent = nil
| |
| 52 | ||
| 53 | end | |
| 54 | ||
| 55 | if Player:findFirstChild("Team",true) ~= nil then
| |
| 56 | ||
| 57 | Player:findFirstChild("Team",true).Parent = nil
| |
| 58 | ||
| 59 | end | |
| 60 | ||
| 61 | if Player:findFirstChild("Team") then
| |
| 62 | ||
| 63 | Player:findFirstChild("Team").Value = "Magic Knight"
| |
| 64 | ||
| 65 | else | |
| 66 | ||
| 67 | local s = Instance.new("StringValue")
| |
| 68 | ||
| 69 | s.Parent = Player | |
| 70 | ||
| 71 | s.Value = "Magic Knight" | |
| 72 | ||
| 73 | s.Name = "Team" | |
| 74 | ||
| 75 | end | |
| 76 | ||
| 77 | ||
| 78 | local glaive = Instance.new("Model")
| |
| 79 | ||
| 80 | glaive.Parent = Character | |
| 81 | ||
| 82 | glaive.Name = "Glaive" | |
| 83 | ||
| 84 | local part1 = Instance.new("Part")
| |
| 85 | ||
| 86 | part1.formFactor = 1 | |
| 87 | ||
| 88 | part1.CanCollide = false | |
| 89 | ||
| 90 | part1.Name = "Handle1" | |
| 91 | ||
| 92 | part1.Locked = true | |
| 93 | ||
| 94 | part1.Size = Vector3.new(1,4,1) | |
| 95 | ||
| 96 | part1.Parent = glaive | |
| 97 | ||
| 98 | part1.BrickColor = BrickColor.new("Really black")
| |
| 99 | ||
| 100 | local part2 = Instance.new("Part")
| |
| 101 | ||
| 102 | part2.formFactor = 1 | |
| 103 | ||
| 104 | part2.CanCollide = false | |
| 105 | ||
| 106 | part2.Name = "Handle2" | |
| 107 | ||
| 108 | part2.Locked = true | |
| 109 | ||
| 110 | part2.Size = Vector3.new(1,1,1) | |
| 111 | ||
| 112 | part2.Parent = glaive | |
| 113 | ||
| 114 | part2.BrickColor = BrickColor.new("Really red")
| |
| 115 | ||
| 116 | local part3 = Instance.new("Part")
| |
| 117 | ||
| 118 | part3.formFactor = 1 | |
| 119 | ||
| 120 | part3.CanCollide = false | |
| 121 | ||
| 122 | part3.Name = "Handle3" | |
| 123 | ||
| 124 | part3.Locked = true | |
| 125 | ||
| 126 | part3.Size = Vector3.new(1,1,1) | |
| 127 | ||
| 128 | part3.Parent = glaive | |
| 129 | ||
| 130 | part3.BrickColor = BrickColor.new("Really black")
| |
| 131 | ||
| 132 | local part4 = Instance.new("Part")
| |
| 133 | ||
| 134 | part4.formFactor = 1 | |
| 135 | ||
| 136 | part4.CanCollide = false | |
| 137 | ||
| 138 | part4.Name = "Handle4" | |
| 139 | ||
| 140 | part4.Locked = true | |
| 141 | ||
| 142 | part4.Size = Vector3.new(1,1,1) | |
| 143 | ||
| 144 | part4.Parent = glaive | |
| 145 | ||
| 146 | part4.BrickColor = BrickColor.new("Really red")
| |
| 147 | ||
| 148 | local part5 = Instance.new("Part")
| |
| 149 | ||
| 150 | part5.formFactor = 1 | |
| 151 | ||
| 152 | part5.CanCollide = false | |
| 153 | ||
| 154 | part5.Name = "Handle5" | |
| 155 | ||
| 156 | part5.Locked = true | |
| 157 | ||
| 158 | part5.Size = Vector3.new(1,1,1) | |
| 159 | ||
| 160 | part5.Parent = glaive | |
| 161 | ||
| 162 | part5.BrickColor = BrickColor.new("Really black")
| |
| 163 | ||
| 164 | local part6 = Instance.new("Part")
| |
| 165 | ||
| 166 | part6.formFactor = 1 | |
| 167 | ||
| 168 | part6.CanCollide = false | |
| 169 | ||
| 170 | part6.Name = "Handle6" | |
| 171 | ||
| 172 | part6.Locked = true | |
| 173 | ||
| 174 | part6.Size = Vector3.new(1,1,1) | |
| 175 | ||
| 176 | part6.Parent = glaive | |
| 177 | ||
| 178 | part6.BrickColor = BrickColor.new("Really red")
| |
| 179 | ||
| 180 | local part7 = Instance.new("Part")
| |
| 181 | ||
| 182 | part7.formFactor = 1 | |
| 183 | ||
| 184 | part7.CanCollide = false | |
| 185 | ||
| 186 | part7.Name = "Handle7" | |
| 187 | ||
| 188 | part7.Locked = true | |
| 189 | ||
| 190 | part7.Size = Vector3.new(1,1,1) | |
| 191 | ||
| 192 | part7.Parent = glaive | |
| 193 | ||
| 194 | part7.BrickColor = BrickColor.new("Really black")
| |
| 195 | ||
| 196 | local part8 = Instance.new("Part")
| |
| 197 | ||
| 198 | part8.formFactor = 1 | |
| 199 | ||
| 200 | part8.CanCollide = false | |
| 201 | ||
| 202 | part8.Name = "Handle8" | |
| 203 | ||
| 204 | part8.Locked = true | |
| 205 | ||
| 206 | part8.Size = Vector3.new(1,1,1) | |
| 207 | ||
| 208 | part8.Parent = glaive | |
| 209 | ||
| 210 | part8.BrickColor = BrickColor.new("Really red")
| |
| 211 | ||
| 212 | local part9 = Instance.new("Part")
| |
| 213 | ||
| 214 | part9.formFactor = 1 | |
| 215 | ||
| 216 | part9.CanCollide = false | |
| 217 | ||
| 218 | part9.Name = "Handle9" | |
| 219 | ||
| 220 | part9.Locked = true | |
| 221 | ||
| 222 | part9.Size = Vector3.new(1,1,1) | |
| 223 | ||
| 224 | part9.Parent = glaive | |
| 225 | ||
| 226 | part9.BrickColor = BrickColor.new("Really black")
| |
| 227 | ||
| 228 | local part10 = Instance.new("Part")
| |
| 229 | ||
| 230 | part10.formFactor = 1 | |
| 231 | ||
| 232 | part10.CanCollide = false | |
| 233 | ||
| 234 | part10.Name = "Handle10" | |
| 235 | ||
| 236 | part10.Locked = true | |
| 237 | ||
| 238 | part10.Size = Vector3.new(1,1,1) | |
| 239 | ||
| 240 | part10.Parent = glaive | |
| 241 | ||
| 242 | part10.BrickColor = BrickColor.new("Really red")
| |
| 243 | ||
| 244 | local part11 = Instance.new("Part")
| |
| 245 | ||
| 246 | part11.formFactor = 1 | |
| 247 | ||
| 248 | part11.CanCollide = false | |
| 249 | ||
| 250 | part11.Name = "Blade1" | |
| 251 | ||
| 252 | part11.Locked = true | |
| 253 | ||
| 254 | part11.Size = Vector3.new(1,1,1) | |
| 255 | ||
| 256 | part11.Parent = glaive | |
| 257 | ||
| 258 | part11.BrickColor = BrickColor.new("Really black")
| |
| 259 | ||
| 260 | local part12 = Instance.new("Part")
| |
| 261 | ||
| 262 | part12.formFactor = 1 | |
| 263 | ||
| 264 | part12.CanCollide = false | |
| 265 | ||
| 266 | part12.Name = "Blade2" | |
| 267 | ||
| 268 | part12.Locked = true | |
| 269 | ||
| 270 | part12.Size = Vector3.new(1,1,1) | |
| 271 | ||
| 272 | part12.Parent = glaive | |
| 273 | ||
| 274 | part12.BrickColor = BrickColor.new("Really red")
| |
| 275 | ||
| 276 | local part13 = Instance.new("Part")
| |
| 277 | ||
| 278 | part13.formFactor = 1 | |
| 279 | ||
| 280 | part13.CanCollide = false | |
| 281 | ||
| 282 | part13.Name = "Blade3" | |
| 283 | ||
| 284 | part13.Locked = true | |
| 285 | ||
| 286 | part13.Size = Vector3.new(1,1,1) | |
| 287 | ||
| 288 | part13.Parent = glaive | |
| 289 | ||
| 290 | part13.BrickColor = BrickColor.new("Really black")
| |
| 291 | ||
| 292 | local part14 = Instance.new("Part")
| |
| 293 | ||
| 294 | part14.formFactor = 1 | |
| 295 | ||
| 296 | part14.CanCollide = false | |
| 297 | ||
| 298 | part14.Name = "Blade4" | |
| 299 | ||
| 300 | part14.Locked = true | |
| 301 | ||
| 302 | part14.Size = Vector3.new(1,1,1) | |
| 303 | ||
| 304 | part14.Parent = glaive | |
| 305 | ||
| 306 | part14.BrickColor = BrickColor.new("Really red")
| |
| 307 | ||
| 308 | local part15 = Instance.new("Part")
| |
| 309 | ||
| 310 | part15.formFactor = 1 | |
| 311 | ||
| 312 | part15.CanCollide = false | |
| 313 | ||
| 314 | part15.Name = "Blade5" | |
| 315 | ||
| 316 | part15.Locked = true | |
| 317 | ||
| 318 | part15.Size = Vector3.new(1,1,1) | |
| 319 | ||
| 320 | part15.Parent = glaive | |
| 321 | ||
| 322 | part15.BrickColor = BrickColor.new("Really black")
| |
| 323 | ||
| 324 | local part16 = Instance.new("Part")
| |
| 325 | ||
| 326 | part16.formFactor = 1 | |
| 327 | ||
| 328 | part16.CanCollide = false | |
| 329 | ||
| 330 | part16.Name = "Blade6" | |
| 331 | ||
| 332 | part16.Locked = true | |
| 333 | ||
| 334 | part16.Size = Vector3.new(1,1,1) | |
| 335 | ||
| 336 | part16.Parent = glaive | |
| 337 | ||
| 338 | part16.BrickColor = BrickColor.new("Really red")
| |
| 339 | ||
| 340 | local part17 = Instance.new("Part")
| |
| 341 | ||
| 342 | part17.formFactor = 1 | |
| 343 | ||
| 344 | part17.CanCollide = false | |
| 345 | ||
| 346 | part17.Reflectance = 0.3 | |
| 347 | ||
| 348 | part17.Name = "Blade7" | |
| 349 | ||
| 350 | part17.Locked = true | |
| 351 | ||
| 352 | part17.Size = Vector3.new(1,2,1) | |
| 353 | ||
| 354 | part17.Parent = glaive | |
| 355 | ||
| 356 | part17.BrickColor = BrickColor.new("Really black")
| |
| 357 | ||
| 358 | local part18 = Instance.new("Part")
| |
| 359 | ||
| 360 | part18.formFactor = 1 | |
| 361 | ||
| 362 | part18.CanCollide = false | |
| 363 | ||
| 364 | part18.Reflectance = 0.3 | |
| 365 | ||
| 366 | part18.Name = "Blade8" | |
| 367 | ||
| 368 | part18.Locked = true | |
| 369 | ||
| 370 | part18.Size = Vector3.new(1,2,1) | |
| 371 | ||
| 372 | part18.Parent = glaive | |
| 373 | ||
| 374 | part18.BrickColor = BrickColor.new("Really red")
| |
| 375 | ||
| 376 | local part19 = Instance.new("Part")
| |
| 377 | ||
| 378 | part19.formFactor = 1 | |
| 379 | ||
| 380 | part19.CanCollide = false | |
| 381 | ||
| 382 | part19.Reflectance = 0.1 | |
| 383 | ||
| 384 | part19.Name = "Blade9" | |
| 385 | ||
| 386 | part19.Locked = true | |
| 387 | ||
| 388 | part19.Size = Vector3.new(1,1,1) | |
| 389 | ||
| 390 | part19.Parent = glaive | |
| 391 | ||
| 392 | part19.BrickColor = BrickColor.new("Really black")
| |
| 393 | ||
| 394 | local part20 = Instance.new("Part")
| |
| 395 | ||
| 396 | part20.formFactor = 1 | |
| 397 | ||
| 398 | part20.CanCollide = false | |
| 399 | ||
| 400 | part20.Reflectance = 0.1 | |
| 401 | ||
| 402 | part20.Name = "Blade10" | |
| 403 | ||
| 404 | part20.Locked = true | |
| 405 | ||
| 406 | part20.Size = Vector3.new(1,1,1) | |
| 407 | ||
| 408 | part20.Parent = glaive | |
| 409 | ||
| 410 | part20.BrickColor = BrickColor.new("Really red")
| |
| 411 | ||
| 412 | local part21 = Instance.new("Part")
| |
| 413 | ||
| 414 | part21.formFactor = 1 | |
| 415 | ||
| 416 | part21.CanCollide = false | |
| 417 | ||
| 418 | part21.Reflectance = 0.1 | |
| 419 | ||
| 420 | part21.Name = "Blade11" | |
| 421 | ||
| 422 | part21.Locked = true | |
| 423 | ||
| 424 | part21.Size = Vector3.new(1,1,1) | |
| 425 | ||
| 426 | part21.Parent = glaive | |
| 427 | ||
| 428 | part21.BrickColor = BrickColor.new("Really black")
| |
| 429 | ||
| 430 | local part22 = Instance.new("Part")
| |
| 431 | ||
| 432 | part22.formFactor = 1 | |
| 433 | ||
| 434 | part22.CanCollide = false | |
| 435 | ||
| 436 | part22.Reflectance = 0.1 | |
| 437 | ||
| 438 | part22.Name = "Blade12" | |
| 439 | ||
| 440 | part22.Locked = true | |
| 441 | ||
| 442 | part22.Size = Vector3.new(1,1,1) | |
| 443 | ||
| 444 | part22.Parent = glaive | |
| 445 | ||
| 446 | part22.BrickColor = BrickColor.new("Really red")
| |
| 447 | ||
| 448 | local part23 = Instance.new("Part")
| |
| 449 | ||
| 450 | part23.formFactor = 1 | |
| 451 | ||
| 452 | part23.CanCollide = false | |
| 453 | ||
| 454 | part23.Reflectance = 0.1 | |
| 455 | ||
| 456 | part23.Name = "Blade13" | |
| 457 | ||
| 458 | part23.Locked = true | |
| 459 | ||
| 460 | part23.Size = Vector3.new(1,1,1) | |
| 461 | ||
| 462 | part23.Parent = glaive | |
| 463 | ||
| 464 | part23.BrickColor = BrickColor.new("Really black")
| |
| 465 | ||
| 466 | local part24 = Instance.new("Part")
| |
| 467 | ||
| 468 | part24.formFactor = 1 | |
| 469 | ||
| 470 | part24.CanCollide = false | |
| 471 | ||
| 472 | part24.Reflectance = 0.1 | |
| 473 | ||
| 474 | part24.Name = "Blade14" | |
| 475 | ||
| 476 | part24.Locked = true | |
| 477 | ||
| 478 | part24.Size = Vector3.new(1,1,1) | |
| 479 | ||
| 480 | part24.Parent = glaive | |
| 481 | ||
| 482 | part24.BrickColor = BrickColor.new("Really red")
| |
| 483 | ||
| 484 | local part25 = Instance.new("Part")
| |
| 485 | ||
| 486 | part25.formFactor = 1 | |
| 487 | ||
| 488 | part25.CanCollide = false | |
| 489 | ||
| 490 | part25.Reflectance = 0.1 | |
| 491 | ||
| 492 | part25.Name = "Blade15" | |
| 493 | ||
| 494 | part25.Locked = true | |
| 495 | ||
| 496 | part25.Size = Vector3.new(1,1,1) | |
| 497 | ||
| 498 | part25.Parent = glaive | |
| 499 | ||
| 500 | part25.BrickColor = BrickColor.new("Really black")
| |
| 501 | ||
| 502 | local part26 = Instance.new("Part")
| |
| 503 | ||
| 504 | part26.formFactor = 1 | |
| 505 | ||
| 506 | part26.CanCollide = false | |
| 507 | ||
| 508 | part26.Reflectance = 0 | |
| 509 | ||
| 510 | part26.Name = "Blade16" | |
| 511 | ||
| 512 | part26.Locked = true | |
| 513 | ||
| 514 | part26.Size = Vector3.new(1,1,1) | |
| 515 | ||
| 516 | part26.Parent = glaive | |
| 517 | ||
| 518 | part26.BrickColor = BrickColor.new("Really red")
| |
| 519 | ||
| 520 | local part27 = Instance.new("Part")
| |
| 521 | ||
| 522 | part27.formFactor = 1 | |
| 523 | ||
| 524 | part27.CanCollide = false | |
| 525 | ||
| 526 | part27.Reflectance = 0 | |
| 527 | ||
| 528 | part27.Name = "Blade17" | |
| 529 | ||
| 530 | part27.Locked = true | |
| 531 | ||
| 532 | part27.Size = Vector3.new(1,1,1) | |
| 533 | ||
| 534 | part27.Parent = glaive | |
| 535 | ||
| 536 | part27.BrickColor = BrickColor.new("Really black")
| |
| 537 | ||
| 538 | local mesh1 = Instance.new("CylinderMesh")
| |
| 539 | ||
| 540 | mesh1.Scale = Vector3.new(0.4,1,0.4) | |
| 541 | ||
| 542 | mesh1.Parent = part1 | |
| 543 | ||
| 544 | local mesh2 = Instance.new("CylinderMesh")
| |
| 545 | ||
| 546 | mesh2.Scale = Vector3.new(0.41,0.6,0.41) | |
| 547 | ||
| 548 | mesh2.Parent = part2 | |
| 549 | ||
| 550 | local mesh3 = Instance.new("CylinderMesh")
| |
| 551 | ||
| 552 | mesh3.Scale = Vector3.new(0.55,0.4,0.55) | |
| 553 | ||
| 554 | mesh3.Parent = part3 | |
| 555 | ||
| 556 | local mesh4 = Instance.new("CylinderMesh")
| |
| 557 | ||
| 558 | mesh4.Scale = Vector3.new(0.56,0.2,0.56) | |
| 559 | ||
| 560 | mesh4.Parent = part4 | |
| 561 | ||
| 562 | local mesh5 = Instance.new("CylinderMesh")
| |
| 563 | ||
| 564 | mesh5.Scale = Vector3.new(0.56,0.2,0.56) | |
| 565 | ||
| 566 | mesh5.Parent = part5 | |
| 567 | ||
| 568 | local mesh6 = Instance.new("SpecialMesh")
| |
| 569 | ||
| 570 | mesh6.Scale = Vector3.new(0.42,0.2,0.42) | |
| 571 | ||
| 572 | mesh6.Parent = part6 | |
| 573 | ||
| 574 | mesh6.MeshId = "http://www.roblox.com/asset/?id=1778999" | |
| 575 | ||
| 576 | local mesh7 = Instance.new("SpecialMesh")
| |
| 577 | ||
| 578 | mesh7.Scale = Vector3.new(0.4,0.3,0.7) | |
| 579 | ||
| 580 | mesh7.Parent = part7 | |
| 581 | ||
| 582 | mesh7.MeshType = "Wedge" | |
| 583 | ||
| 584 | local mesh8 = Instance.new("CylinderMesh")
| |
| 585 | ||
| 586 | mesh8.Scale = Vector3.new(0.56,0.335,0.56) | |
| 587 | ||
| 588 | mesh8.Parent = part8 | |
| 589 | ||
| 590 | local mesh9 = Instance.new("SpecialMesh")
| |
| 591 | ||
| 592 | mesh9.Scale = Vector3.new(0.4,0.3,0.7) | |
| 593 | ||
| 594 | mesh9.Parent = part9 | |
| 595 | ||
| 596 | mesh9.MeshType = "Wedge" | |
| 597 | ||
| 598 | local mesh10 = Instance.new("CylinderMesh")
| |
| 599 | ||
| 600 | mesh10.Scale = Vector3.new(0.5,0.2,0.5) | |
| 601 | ||
| 602 | mesh10.Parent = part10 | |
| 603 | ||
| 604 | local mesh11 = Instance.new("SpecialMesh")
| |
| 605 | ||
| 606 | mesh11.Scale = Vector3.new(0.6,0.4,0.7) | |
| 607 | ||
| 608 | mesh11.Parent = part11 | |
| 609 | ||
| 610 | mesh11.MeshId = "http://www.roblox.com/asset/?id=1778999" | |
| 611 | ||
| 612 | local mesh12 = Instance.new("SpecialMesh")
| |
| 613 | ||
| 614 | mesh12.Scale = Vector3.new(0.9,0.7,1) | |
| 615 | ||
| 616 | mesh12.Parent = part12 | |
| 617 | ||
| 618 | mesh12.MeshType = "Wedge" | |
| 619 | ||
| 620 | local mesh13 = Instance.new("SpecialMesh")
| |
| 621 | ||
| 622 | mesh13.Scale = Vector3.new(0.9,0.7,1) | |
| 623 | ||
| 624 | mesh13.Parent = part13 | |
| 625 | ||
| 626 | mesh13.MeshType = "Wedge" | |
| 627 | ||
| 628 | local mesh14 = Instance.new("BlockMesh")
| |
| 629 | ||
| 630 | mesh14.Scale = Vector3.new(0.5,0.9,0.9) | |
| 631 | ||
| 632 | mesh14.Parent = part14 | |
| 633 | ||
| 634 | local mesh15 = Instance.new("BlockMesh")
| |
| 635 | ||
| 636 | mesh15.Scale = Vector3.new(0.9,0.9,0.7) | |
| 637 | ||
| 638 | mesh15.Parent = part15 | |
| 639 | ||
| 640 | local mesh16 = Instance.new("BlockMesh")
| |
| 641 | ||
| 642 | mesh16.Scale = Vector3.new(1,1,0.5) | |
| 643 | ||
| 644 | mesh16.Parent = part16 | |
| 645 | ||
| 646 | local mesh17 = Instance.new("SpecialMesh")
| |
| 647 | ||
| 648 | mesh17.Scale = Vector3.new(0.3,1,1) | |
| 649 | ||
| 650 | mesh17.Parent = part17 | |
| 651 | ||
| 652 | mesh17.MeshType = "Wedge" | |
| 653 | ||
| 654 | local mesh18 = Instance.new("SpecialMesh")
| |
| 655 | ||
| 656 | mesh18.Scale = Vector3.new(0.3,1,1) | |
| 657 | ||
| 658 | mesh18.Parent = part18 | |
| 659 | ||
| 660 | mesh18.MeshType = "Wedge" | |
| 661 | ||
| 662 | local mesh19 = Instance.new("BlockMesh")
| |
| 663 | ||
| 664 | mesh19.Scale = Vector3.new(0.6,0.6,1) | |
| 665 | ||
| 666 | mesh19.Parent = part19 | |
| 667 | ||
| 668 | local mesh20 = Instance.new("BlockMesh")
| |
| 669 | ||
| 670 | mesh20.Scale = Vector3.new(0.3,0.6,1) | |
| 671 | ||
| 672 | mesh20.Parent = part20 | |
| 673 | ||
| 674 | local mesh21 = Instance.new("BlockMesh")
| |
| 675 | ||
| 676 | mesh21.Scale = Vector3.new(0.3,0.6,1) | |
| 677 | ||
| 678 | mesh21.Parent = part21 | |
| 679 | ||
| 680 | local mesh22 = Instance.new("BlockMesh")
| |
| 681 | ||
| 682 | mesh22.Scale = Vector3.new(0.3,0.6,1) | |
| 683 | ||
| 684 | mesh22.Parent = part22 | |
| 685 | ||
| 686 | local mesh23 = Instance.new("BlockMesh")
| |
| 687 | ||
| 688 | mesh23.Scale = Vector3.new(0.3,0.6,1) | |
| 689 | ||
| 690 | mesh23.Parent = part23 | |
| 691 | ||
| 692 | local mesh24 = Instance.new("BlockMesh")
| |
| 693 | ||
| 694 | mesh24.Scale = Vector3.new(0.5,0.6,1) | |
| 695 | ||
| 696 | mesh24.Parent = part24 | |
| 697 | ||
| 698 | local mesh25 = Instance.new("BlockMesh")
| |
| 699 | ||
| 700 | mesh25.Scale = Vector3.new(0.6,0.7,1) | |
| 701 | ||
| 702 | mesh25.Parent = part25 | |
| 703 | ||
| 704 | local mesh26 = Instance.new("SpecialMesh")
| |
| 705 | ||
| 706 | mesh26.Scale = Vector3.new(1,0.6,0.5) | |
| 707 | ||
| 708 | mesh26.Parent = part26 | |
| 709 | ||
| 710 | mesh26.MeshType = "Wedge" | |
| 711 | ||
| 712 | local mesh27 = Instance.new("SpecialMesh")
| |
| 713 | ||
| 714 | mesh27.Scale = Vector3.new(1,0.6,0.5) | |
| 715 | ||
| 716 | mesh27.Parent = part27 | |
| 717 | ||
| 718 | mesh27.MeshType = "Wedge" | |
| 719 | ||
| 720 | local weld1 = Instance.new("Weld")
| |
| 721 | ||
| 722 | weld1.Parent = part1 | |
| 723 | ||
| 724 | weld1.Part0 = part1 | |
| 725 | ||
| 726 | weld1.Part1 = Torso | |
| 727 | ||
| 728 | weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7) | |
| 729 | ||
| 730 | local weld2 = Instance.new("Weld")
| |
| 731 | ||
| 732 | weld2.Parent = part2 | |
| 733 | ||
| 734 | weld2.Part0 = part2 | |
| 735 | ||
| 736 | weld2.Part1 = part1 | |
| 737 | ||
| 738 | weld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.5,0) | |
| 739 | ||
| 740 | local weld3 = Instance.new("Weld")
| |
| 741 | ||
| 742 | weld3.Parent = part3 | |
| 743 | ||
| 744 | weld3.Part0 = part3 | |
| 745 | ||
| 746 | weld3.Part1 = part2 | |
| 747 | ||
| 748 | weld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.2,0) | |
| 749 | ||
| 750 | local weld4 = Instance.new("Weld")
| |
| 751 | ||
| 752 | weld4.Parent = part4 | |
| 753 | ||
| 754 | weld4.Part0 = part4 | |
| 755 | ||
| 756 | weld4.Part1 = part3 | |
| 757 | ||
| 758 | weld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,0) | |
| 759 | ||
| 760 | local weld5 = Instance.new("Weld")
| |
| 761 | ||
| 762 | weld5.Parent = part5 | |
| 763 | ||
| 764 | weld5.Part0 = part5 | |
| 765 | ||
| 766 | weld5.Part1 = part3 | |
| 767 | ||
| 768 | weld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.35,0) | |
| 769 | ||
| 770 | local weld6 = Instance.new("Weld")
| |
| 771 | ||
| 772 | weld6.Parent = part6 | |
| 773 | ||
| 774 | weld6.Part0 = part6 | |
| 775 | ||
| 776 | weld6.Part1 = part5 | |
| 777 | ||
| 778 | weld6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,0.28,0) | |
| 779 | ||
| 780 | local weld7 = Instance.new("Weld")
| |
| 781 | ||
| 782 | weld7.Parent = part7 | |
| 783 | ||
| 784 | weld7.Part0 = part7 | |
| 785 | ||
| 786 | weld7.Part1 = part6 | |
| 787 | ||
| 788 | weld7.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0.4,0,0) | |
| 789 | ||
| 790 | local weld8 = Instance.new("Weld")
| |
| 791 | ||
| 792 | weld8.Parent = part8 | |
| 793 | ||
| 794 | weld8.Part0 = part8 | |
| 795 | ||
| 796 | weld8.Part1 = part6 | |
| 797 | ||
| 798 | weld8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,-0.2,0) | |
| 799 | ||
| 800 | local weld9 = Instance.new("Weld")
| |
| 801 | ||
| 802 | weld9.Parent = part9 | |
| 803 | ||
| 804 | weld9.Part0 = part9 | |
| 805 | ||
| 806 | weld9.Part1 = part6 | |
| 807 | ||
| 808 | weld9.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),-math.rad(90),0) * CFrame.new(-0.4,0,0) | |
| 809 | ||
| 810 | local weld10 = Instance.new("Weld")
| |
| 811 | ||
| 812 | weld10.Parent = part10 | |
| 813 | ||
| 814 | weld10.Part0 = part10 | |
| 815 | ||
| 816 | weld10.Part1 = part1 | |
| 817 | ||
| 818 | weld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0) | |
| 819 | ||
| 820 | local weld11 = Instance.new("Weld")
| |
| 821 | ||
| 822 | weld11.Parent = part11 | |
| 823 | ||
| 824 | weld11.Part0 = part11 | |
| 825 | ||
| 826 | weld11.Part1 = part1 | |
| 827 | ||
| 828 | weld11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,-1.6,0) | |
| 829 | ||
| 830 | local weld12 = Instance.new("Weld")
| |
| 831 | ||
| 832 | weld12.Parent = part12 | |
| 833 | ||
| 834 | weld12.Part0 = part12 | |
| 835 | ||
| 836 | weld12.Part1 = part11 | |
| 837 | ||
| 838 | weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(90),0) * CFrame.new(-0.6,0.8,0) | |
| 839 | ||
| 840 | local weld13 = Instance.new("Weld")
| |
| 841 | ||
| 842 | weld13.Parent = part13 | |
| 843 | ||
| 844 | weld13.Part0 = part13 | |
| 845 | ||
| 846 | weld13.Part1 = part11 | |
| 847 | ||
| 848 | weld13.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-math.rad(90),0) * CFrame.new(0.6,0.8,0) | |
| 849 | ||
| 850 | local weld14 = Instance.new("Weld")
| |
| 851 | ||
| 852 | weld14.Parent = part14 | |
| 853 | ||
| 854 | weld14.Part0 = part14 | |
| 855 | ||
| 856 | weld14.Part1 = part11 | |
| 857 | ||
| 858 | weld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.87,0) | |
| 859 | ||
| 860 | local weld15 = Instance.new("Weld")
| |
| 861 | ||
| 862 | weld15.Parent = part15 | |
| 863 | ||
| 864 | weld15.Part0 = part15 | |
| 865 | ||
| 866 | weld15.Part1 = part14 | |
| 867 | ||
| 868 | weld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0) | |
| 869 | ||
| 870 | local weld16 = Instance.new("Weld")
| |
| 871 | ||
| 872 | weld16.Parent = part16 | |
| 873 | ||
| 874 | weld16.Part0 = part16 | |
| 875 | ||
| 876 | weld16.Part1 = part15 | |
| 877 | ||
| 878 | weld16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.1,0) | |
| 879 | ||
| 880 | local weld17 = Instance.new("Weld")
| |
| 881 | ||
| 882 | weld17.Parent = part17 | |
| 883 | ||
| 884 | weld17.Part0 = part17 | |
| 885 | ||
| 886 | weld17.Part1 = part16 | |
| 887 | ||
| 888 | weld17.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(90),0) * CFrame.new(0.5,1,0) | |
| 889 | ||
| 890 | local weld18 = Instance.new("Weld")
| |
| 891 | ||
| 892 | weld18.Parent = part18 | |
| 893 | ||
| 894 | weld18.Part0 = part18 | |
| 895 | ||
| 896 | weld18.Part1 = part16 | |
| 897 | ||
| 898 | weld18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),-math.rad(90),0) * CFrame.new(-0.5,1,0) | |
| 899 | ||
| 900 | local weld19 = Instance.new("Weld")
| |
| 901 | ||
| 902 | weld19.Parent = part19 | |
| 903 | ||
| 904 | weld19.Part0 = part19 | |
| 905 | ||
| 906 | weld19.Part1 = part15 | |
| 907 | ||
| 908 | weld19.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
| 909 | ||
| 910 | local weld20 = Instance.new("Weld")
| |
| 911 | ||
| 912 | weld20.Parent = part20 | |
| 913 | ||
| 914 | weld20.Part0 = part20 | |
| 915 | ||
| 916 | weld20.Part1 = part19 | |
| 917 | ||
| 918 | weld20.C0 = CFrame.fromEulerAnglesXYZ(0,0,1) * CFrame.new(0.5,0.5,0) | |
| 919 | ||
| 920 | local weld21 = Instance.new("Weld")
| |
| 921 | ||
| 922 | weld21.Parent = part21 | |
| 923 | ||
| 924 | weld21.Part0 = part21 | |
| 925 | ||
| 926 | weld21.Part1 = part19 | |
| 927 | ||
| 928 | weld21.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(-0.5,0.5,0) | |
| 929 | ||
| 930 | local weld22 = Instance.new("Weld")
| |
| 931 | ||
| 932 | weld22.Parent = part22 | |
| 933 | ||
| 934 | weld22.Part0 = part22 | |
| 935 | ||
| 936 | weld22.Part1 = part19 | |
| 937 | ||
| 938 | weld22.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(0.5,-0.4,0) | |
| 939 | ||
| 940 | local weld23 = Instance.new("Weld")
| |
| 941 | ||
| 942 | weld23.Parent = part23 | |
| 943 | ||
| 944 | weld23.Part0 = part23 | |
| 945 | ||
| 946 | weld23.Part1 = part19 | |
| 947 | ||
| 948 | weld23.C0 = CFrame.fromEulerAnglesXYZ(0,0,1) * CFrame.new(-0.5,-0.4,0) | |
| 949 | ||
| 950 | local weld24 = Instance.new("Weld")
| |
| 951 | ||
| 952 | weld24.Parent = part24 | |
| 953 | ||
| 954 | weld24.Part0 = part24 | |
| 955 | ||
| 956 | weld24.Part1 = part19 | |
| 957 | ||
| 958 | weld24.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0) | |
| 959 | ||
| 960 | local weld25 = Instance.new("Weld")
| |
| 961 | ||
| 962 | weld25.Parent = part25 | |
| 963 | ||
| 964 | weld25.Part0 = part25 | |
| 965 | ||
| 966 | weld25.Part1 = part19 | |
| 967 | ||
| 968 | weld25.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.6,0) | |
| 969 | ||
| 970 | local weld26 = Instance.new("Weld")
| |
| 971 | ||
| 972 | weld26.Parent = part26 | |
| 973 | ||
| 974 | weld26.Part0 = part26 | |
| 975 | ||
| 976 | weld26.Part1 = part15 | |
| 977 | ||
| 978 | weld26.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(90),0) * CFrame.new(0.3,1.3,0) | |
| 979 | ||
| 980 | local weld27 = Instance.new("Weld")
| |
| 981 | ||
| 982 | weld27.Parent = part27 | |
| 983 | ||
| 984 | weld27.Part0 = part27 | |
| 985 | ||
| 986 | weld27.Part1 = part15 | |
| 987 | ||
| 988 | weld27.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),-math.rad(90),0) * CFrame.new(-0.3,1.3,0) | |
| 989 | ||
| 990 | local gairo = Instance.new("BodyGyro")
| |
| 991 | ||
| 992 | gairo.Parent = nil | |
| 993 | ||
| 994 | function ss(parent,pitch) --linerider64 was here :D | |
| 995 | ||
| 996 | local SlashSound = Instance.new("Sound")
| |
| 997 | ||
| 998 | SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
| 999 | ||
| 1000 | SlashSound.Parent = parent | |
| 1001 | ||
| 1002 | SlashSound.Volume = .7 | |
| 1003 | ||
| 1004 | SlashSound.Pitch = pitch --linerider64 was also here XD | |
| 1005 | ||
| 1006 | SlashSound.PlayOnRemove = true | |
| 1007 | ||
| 1008 | --SlashSound:play() | |
| 1009 | ||
| 1010 | coroutine.resume(coroutine.create(function() | |
| 1011 | ||
| 1012 | wait(0) | |
| 1013 | ||
| 1014 | SlashSound.Parent = nil | |
| 1015 | ||
| 1016 | end)) | |
| 1017 | ||
| 1018 | end | |
| 1019 | ||
| 1020 | if (script.Parent.className ~= "HopperBin") then | |
| 1021 | ||
| 1022 | Tool = Instance.new("HopperBin")
| |
| 1023 | ||
| 1024 | Tool.Parent = Backpack | |
| 1025 | ||
| 1026 | Tool.Name = "Glaive" | |
| 1027 | ||
| 1028 | script.Parent = Tool | |
| 1029 | ||
| 1030 | end | |
| 1031 | ||
| 1032 | Bin = script.Parent | |
| 1033 | ||
| 1034 | ||
| 1035 | function unequipweld() | |
| 1036 | ||
| 1037 | weld1.Part1 = Torso | |
| 1038 | ||
| 1039 | weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7) | |
| 1040 | ||
| 1041 | end | |
| 1042 | ||
| 1043 | function equipweld() | |
| 1044 | ||
| 1045 | weld1.Part1 = LeftArm | |
| 1046 | ||
| 1047 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),2.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1048 | ||
| 1049 | end | |
| 1050 | ||
| 1051 | function hideanim() | |
| 1052 | ||
| 1053 | for i = 0 , 1 , 0.1 do | |
| 1054 | ||
| 1055 | wait(0) | |
| 1056 | ||
| 1057 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),2.7*i,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1058 | ||
| 1059 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,-0.5*i+0.5,1.5*i-0.5) | |
| 1060 | ||
| 1061 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1062 | ||
| 1063 | end | |
| 1064 | ||
| 1065 | wait(0.1) | |
| 1066 | ||
| 1067 | unequipweld() | |
| 1068 | ||
| 1069 | wait(0.1) | |
| 1070 | ||
| 1071 | for i = 0 , 1 , 0.1 do | |
| 1072 | ||
| 1073 | wait(0) | |
| 1074 | ||
| 1075 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0,-1*i+1) | |
| 1076 | ||
| 1077 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1078 | ||
| 1079 | end | |
| 1080 | ||
| 1081 | end | |
| 1082 | ||
| 1083 | function equipanim() | |
| 1084 | ||
| 1085 | for i = 0 , 1 , 0.1 do | |
| 1086 | ||
| 1087 | wait(0) | |
| 1088 | ||
| 1089 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,0,1*i) | |
| 1090 | ||
| 1091 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1092 | ||
| 1093 | end | |
| 1094 | ||
| 1095 | equipweld() | |
| 1096 | ||
| 1097 | wait(0.1) | |
| 1098 | ||
| 1099 | for i = 0 , 1 , 0.1 do | |
| 1100 | ||
| 1101 | wait(0) | |
| 1102 | ||
| 1103 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2.7*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1104 | ||
| 1105 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0.5*i,-1.5*i+1) | |
| 1106 | ||
| 1107 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1108 | ||
| 1109 | end | |
| 1110 | ||
| 1111 | end | |
| 1112 | ||
| 1113 | function oneslash() | |
| 1114 | ||
| 1115 | attack = true | |
| 1116 | ||
| 1117 | combo = 1 | |
| 1118 | ||
| 1119 | for i = 0 , 1 , 0.1 do | |
| 1120 | ||
| 1121 | wait(0) | |
| 1122 | ||
| 1123 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,-0.5*i+0.5,0.5*i-0.5) | |
| 1124 | ||
| 1125 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1126 | ||
| 1127 | end | |
| 1128 | ||
| 1129 | gairo.Parent = Head | |
| 1130 | ||
| 1131 | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
| 1132 | ||
| 1133 | gairo.P = 20e+003 | |
| 1134 | ||
| 1135 | gairo.cframe = Head.CFrame | |
| 1136 | ||
| 1137 | ss(part16,0.8) | |
| 1138 | ||
| 1139 | con1=part16.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1140 | ||
| 1141 | con2=part17.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1142 | ||
| 1143 | for i = 0 , 1 , 0.2 do | |
| 1144 | ||
| 1145 | wait(0) | |
| 1146 | ||
| 1147 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i) * CFrame.new(0,0,-0.5) | |
| 1148 | ||
| 1149 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+2,1*i,0) | |
| 1150 | ||
| 1151 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0) | |
| 1152 | ||
| 1153 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i) | |
| 1154 | ||
| 1155 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1156 | ||
| 1157 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i,math.rad(90)) * CFrame.new(0, 1, 0.4*i) | |
| 1158 | ||
| 1159 | end | |
| 1160 | ||
| 1161 | wait(0.3) | |
| 1162 | ||
| 1163 | con1:disconnect() | |
| 1164 | ||
| 1165 | con2:disconnect() | |
| 1166 | ||
| 1167 | --Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1168 | ||
| 1169 | attack = false | |
| 1170 | ||
| 1171 | end | |
| 1172 | ||
| 1173 | function twoslash() | |
| 1174 | ||
| 1175 | attack = true | |
| 1176 | ||
| 1177 | combo = 2 | |
| 1178 | ||
| 1179 | ss(part16,0.8) | |
| 1180 | ||
| 1181 | con1=part16.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1182 | ||
| 1183 | con2=part17.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1184 | ||
| 1185 | for i = 0 , 1 , 0.2 do | |
| 1186 | ||
| 1187 | wait(0) | |
| 1188 | ||
| 1189 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,2*i-1) * CFrame.new(0,0,-0.5) | |
| 1190 | ||
| 1191 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,-2*i+1,0) | |
| 1192 | ||
| 1193 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2*i-1,0,0) | |
| 1194 | ||
| 1195 | RW.C0 = CFrame.new(-0.5*i+1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1,0,-2*i+1) | |
| 1196 | ||
| 1197 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1198 | ||
| 1199 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2*i+1,math.rad(90)) * CFrame.new(0, 0.3*i+1, -0.9*i+0.4) | |
| 1200 | ||
| 1201 | end | |
| 1202 | ||
| 1203 | wait(0.3) | |
| 1204 | ||
| 1205 | con1:disconnect() | |
| 1206 | ||
| 1207 | con2:disconnect() | |
| 1208 | ||
| 1209 | attack = false | |
| 1210 | ||
| 1211 | end | |
| 1212 | ||
| 1213 | function threeslash() | |
| 1214 | ||
| 1215 | attack = true | |
| 1216 | ||
| 1217 | combo = 3 | |
| 1218 | ||
| 1219 | for i = 0 , 1 , 0.1 do | |
| 1220 | ||
| 1221 | wait(0) | |
| 1222 | ||
| 1223 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i+1) * CFrame.new(0,0,-0.5) | |
| 1224 | ||
| 1225 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1*i-1,0) | |
| 1226 | ||
| 1227 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.57*i+1,0,0) | |
| 1228 | ||
| 1229 | RW.C0 = CFrame.new(0.5*i-0.5+1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1.5*i+1,0,1*i-1) | |
| 1230 | ||
| 1231 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1232 | ||
| 1233 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),4.2*i-1,math.rad(90)) * CFrame.new(0, -0.3*i+1.3, 1.2*i-0.5) | |
| 1234 | ||
| 1235 | end | |
| 1236 | ||
| 1237 | wait() | |
| 1238 | ||
| 1239 | ss(part16,0.8) | |
| 1240 | ||
| 1241 | con1=part16.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1242 | ||
| 1243 | con2=part17.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1244 | ||
| 1245 | for i = 0 , 1.2 , 0.3 do | |
| 1246 | ||
| 1247 | wait(0) | |
| 1248 | ||
| 1249 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1250 | ||
| 1251 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1252 | ||
| 1253 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.5*i+3.57,0,0) | |
| 1254 | ||
| 1255 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-0.5*i+3.2,math.rad(90)) * CFrame.new(0, 1, -0.7*i+0.7) | |
| 1256 | ||
| 1257 | end | |
| 1258 | ||
| 1259 | wait(0.2) | |
| 1260 | ||
| 1261 | con1:disconnect() | |
| 1262 | ||
| 1263 | con2:disconnect() | |
| 1264 | ||
| 1265 | for i = 0 , 1.2 , 0.2 do | |
| 1266 | ||
| 1267 | wait(0) | |
| 1268 | ||
| 1269 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1270 | ||
| 1271 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1272 | ||
| 1273 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i+0.5+3.57,0,0) | |
| 1274 | ||
| 1275 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),2.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1276 | ||
| 1277 | end | |
| 1278 | ||
| 1279 | ss(part16,0.8) | |
| 1280 | ||
| 1281 | con1=part16.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1282 | ||
| 1283 | con2=part17.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1284 | ||
| 1285 | for i = 0 , 1.2 , 0.3 do | |
| 1286 | ||
| 1287 | wait(0) | |
| 1288 | ||
| 1289 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1290 | ||
| 1291 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1292 | ||
| 1293 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.5*i+3.57,0,0) | |
| 1294 | ||
| 1295 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),2.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1296 | ||
| 1297 | end | |
| 1298 | ||
| 1299 | con1:disconnect() | |
| 1300 | ||
| 1301 | con2:disconnect() | |
| 1302 | ||
| 1303 | wait(0.3) | |
| 1304 | ||
| 1305 | attack = false | |
| 1306 | ||
| 1307 | end | |
| 1308 | ||
| 1309 | function fourslash() | |
| 1310 | ||
| 1311 | attack = true | |
| 1312 | ||
| 1313 | combo = 4 | |
| 1314 | ||
| 1315 | for i = 0 , 1 , 0.1 do | |
| 1316 | ||
| 1317 | wait(0) | |
| 1318 | ||
| 1319 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1320 | ||
| 1321 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1322 | ||
| 1323 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5*i+4.07,0,0) | |
| 1324 | ||
| 1325 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1326 | ||
| 1327 | end | |
| 1328 | ||
| 1329 | ss(part16,0.8) | |
| 1330 | ||
| 1331 | con1=part16.Touched:connect(function(hit) Damagefunc2(hit,900000000,900000000) end) | |
| 1332 | ||
| 1333 | con2=part17.Touched:connect(function(hit) Damagefunc2(hit,900000000,900000000) end) | |
| 1334 | ||
| 1335 | for i = 0 , 1 , 0.1 do | |
| 1336 | ||
| 1337 | wait(0) | |
| 1338 | ||
| 1339 | MMMAGIC(part16,2,2,2,0,0,0,BrickColor.new("Really black"))
| |
| 1340 | ||
| 1341 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1342 | ||
| 1343 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1344 | ||
| 1345 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-3*i+2.5+4.07,0,0) | |
| 1346 | ||
| 1347 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2*i+1+2.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1348 | ||
| 1349 | end | |
| 1350 | ||
| 1351 | con1:disconnect() | |
| 1352 | ||
| 1353 | con2:disconnect() | |
| 1354 | ||
| 1355 | wait(0.5) | |
| 1356 | ||
| 1357 | attack = false | |
| 1358 | ||
| 1359 | end | |
| 1360 | ||
| 1361 | function sparklesparkle() | |
| 1362 | ||
| 1363 | attack = true | |
| 1364 | ||
| 1365 | imfloatinglulz = true | |
| 1366 | ||
| 1367 | coroutine.resume(coroutine.create(function() | |
| 1368 | ||
| 1369 | while imfloatinglulz == true do | |
| 1370 | ||
| 1371 | wait() | |
| 1372 | ||
| 1373 | local bawleffecty = Instance.new("Part")
| |
| 1374 | ||
| 1375 | bawleffecty.formFactor = 1 | |
| 1376 | ||
| 1377 | bawleffecty.CanCollide = false | |
| 1378 | ||
| 1379 | bawleffecty.Name = "Effect" | |
| 1380 | ||
| 1381 | bawleffecty.Locked = true | |
| 1382 | ||
| 1383 | bawleffecty.Size = Vector3.new(1,1,1) | |
| 1384 | ||
| 1385 | bawleffecty.Parent = glaive | |
| 1386 | ||
| 1387 | bawleffecty.Anchored = true | |
| 1388 | ||
| 1389 | bawleffecty.BrickColor = BrickColor.new("Really red")
| |
| 1390 | ||
| 1391 | bawleffecty.CFrame = Torso.CFrame * CFrame.new(math.random(-1,1)+math.random()-math.random(),math.random(-1,1)+math.random()-math.random(),math.random(-1,1)+math.random()-math.random()) | |
| 1392 | ||
| 1393 | local bawlmesh = Instance.new("SpecialMesh")
| |
| 1394 | ||
| 1395 | bawlmesh.Parent = bawleffecty | |
| 1396 | ||
| 1397 | bawlmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
| 1398 | ||
| 1399 | bawlmesh.MeshType = "Sphere" | |
| 1400 | ||
| 1401 | coroutine.resume(coroutine.create(function() | |
| 1402 | ||
| 1403 | wait(0.2) | |
| 1404 | ||
| 1405 | for i = 0,1,0.1 do | |
| 1406 | ||
| 1407 | wait() | |
| 1408 | ||
| 1409 | bawleffecty.Transparency = i | |
| 1410 | ||
| 1411 | end | |
| 1412 | ||
| 1413 | bawleffecty.Parent = nil | |
| 1414 | ||
| 1415 | end)) | |
| 1416 | ||
| 1417 | end | |
| 1418 | ||
| 1419 | end)) | |
| 1420 | ||
| 1421 | local bov = Instance.new("BodyPosition")
| |
| 1422 | ||
| 1423 | bov.position = Torso.Position | |
| 1424 | ||
| 1425 | bov.Parent = Torso | |
| 1426 | ||
| 1427 | bov.maxForce = Vector3.new(50000000,50000000,50000000) | |
| 1428 | ||
| 1429 | Character.Humanoid.WalkSpeed = 0 | |
| 1430 | ||
| 1431 | for i = 0,1,0.05 do | |
| 1432 | ||
| 1433 | wait() | |
| 1434 | ||
| 1435 | bov.position = Torso.Position + Vector3.new(0,i*2,0) | |
| 1436 | ||
| 1437 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.5*i+1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1438 | ||
| 1439 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,-0.5*i+0.5,-0.5*i-0.5) | |
| 1440 | ||
| 1441 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1442 | ||
| 1443 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i) | |
| 1444 | ||
| 1445 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1446 | ||
| 1447 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1448 | ||
| 1449 | end | |
| 1450 | ||
| 1451 | wait(2) | |
| 1452 | ||
| 1453 | local bawleffecty = Instance.new("Part")
| |
| 1454 | ||
| 1455 | bawleffecty.formFactor = 1 | |
| 1456 | ||
| 1457 | bawleffecty.CanCollide = false | |
| 1458 | ||
| 1459 | bawleffecty.Name = "Effect" | |
| 1460 | ||
| 1461 | bawleffecty.Locked = true | |
| 1462 | ||
| 1463 | bawleffecty.Size = Vector3.new(1,1,1) | |
| 1464 | ||
| 1465 | bawleffecty.Parent = glaive | |
| 1466 | ||
| 1467 | bawleffecty.Anchored = true | |
| 1468 | ||
| 1469 | bawleffecty.BrickColor = BrickColor.new("Really black")
| |
| 1470 | ||
| 1471 | bawleffecty.CFrame = Torso.CFrame | |
| 1472 | ||
| 1473 | local c = game.Workspace:GetChildren(); | |
| 1474 | ||
| 1475 | for i = 1, #c do | |
| 1476 | ||
| 1477 | local hum = c:findFirstChild("Humanoid")
| |
| 1478 | ||
| 1479 | if hum ~= nil and hum.Health ~= 0 then | |
| 1480 | ||
| 1481 | local head = c:findFirstChild("Head");
| |
| 1482 | ||
| 1483 | if head ~= nil then | |
| 1484 | ||
| 1485 | local targ = head.Position - bawleffecty.Position; | |
| 1486 | ||
| 1487 | local mag = targ.magnitude; | |
| 1488 | ||
| 1489 | if mag <= 25 and c.Name ~= Player.Name then | |
| 1490 | ||
| 1491 | coroutine.resume(coroutine.create(function() | |
| 1492 | ||
| 1493 | BALLFUNC(head,20,0) | |
| 1494 | ||
| 1495 | end)) | |
| 1496 | ||
| 1497 | end | |
| 1498 | ||
| 1499 | end | |
| 1500 | ||
| 1501 | end | |
| 1502 | ||
| 1503 | end | |
| 1504 | ||
| 1505 | local bawlmesh = Instance.new("SpecialMesh")
| |
| 1506 | ||
| 1507 | bawlmesh.Parent = bawleffecty | |
| 1508 | ||
| 1509 | bawlmesh.Scale = Vector3.new(1,1,1) | |
| 1510 | ||
| 1511 | bawlmesh.MeshType = "Sphere" | |
| 1512 | ||
| 1513 | coroutine.resume(coroutine.create(function() | |
| 1514 | ||
| 1515 | wait(0) | |
| 1516 | ||
| 1517 | for i = 0,1,0.05 do | |
| 1518 | ||
| 1519 | wait() | |
| 1520 | ||
| 1521 | bawlmesh.Scale = bawlmesh.Scale + Vector3.new(3,3,3) | |
| 1522 | ||
| 1523 | bawleffecty.Transparency = i | |
| 1524 | ||
| 1525 | end | |
| 1526 | ||
| 1527 | bawleffecty.Parent = nil | |
| 1528 | ||
| 1529 | end)) | |
| 1530 | ||
| 1531 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1532 | ||
| 1533 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5) | |
| 1534 | ||
| 1535 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1536 | ||
| 1537 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1538 | ||
| 1539 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1540 | ||
| 1541 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1542 | ||
| 1543 | bov.Parent = nil | |
| 1544 | ||
| 1545 | Character.Humanoid.WalkSpeed = 16 | |
| 1546 | ||
| 1547 | imfloatinglulz = false | |
| 1548 | ||
| 1549 | attack = false | |
| 1550 | ||
| 1551 | end | |
| 1552 | ||
| 1553 | function HolyWave() | |
| 1554 | ||
| 1555 | attack = true | |
| 1556 | ||
| 1557 | for i = 0,1,0.1 do | |
| 1558 | ||
| 1559 | wait() | |
| 1560 | ||
| 1561 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1562 | ||
| 1563 | LW.C0 = CFrame.new(0.3*i-1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57*i,-2.07*i+0.5,0.5*i-0.5) | |
| 1564 | ||
| 1565 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
| 1566 | ||
| 1567 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1*i) | |
| 1568 | ||
| 1569 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1570 | ||
| 1571 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0.5*i,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1572 | ||
| 1573 | end | |
| 1574 | ||
| 1575 | gairo.Parent = Head | |
| 1576 | ||
| 1577 | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
| 1578 | ||
| 1579 | gairo.P = 20e+003 | |
| 1580 | ||
| 1581 | gairo.cframe = Head.CFrame | |
| 1582 | ||
| 1583 | CeEff = Head.CFrame | |
| 1584 | ||
| 1585 | ss(part16,0.8) | |
| 1586 | ||
| 1587 | con1=part16.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1588 | ||
| 1589 | con2=part17.Touched:connect(function(hit) Damagefunc1(hit,900000000,900000000) end) | |
| 1590 | ||
| 1591 | for i = 0,1,0.1 do | |
| 1592 | ||
| 1593 | wait() | |
| 1594 | ||
| 1595 | gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0) | |
| 1596 | ||
| 1597 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1598 | ||
| 1599 | LW.C0 = CFrame.new(-0.3*i+0.3-1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(1.57,-2.07+0.5,0.5-0.5) | |
| 1600 | ||
| 1601 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5*i-0.5,0,0) | |
| 1602 | ||
| 1603 | RW.C0 = CFrame.new(-0.5*i+1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-2*i+1) | |
| 1604 | ||
| 1605 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1606 | ||
| 1607 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0.2*i+0.5,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1608 | ||
| 1609 | end | |
| 1610 | ||
| 1611 | ss(part16,0.8) | |
| 1612 | ||
| 1613 | for i = 0,1,0.1 do | |
| 1614 | ||
| 1615 | wait() | |
| 1616 | ||
| 1617 | gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.5,0) | |
| 1618 | ||
| 1619 | end | |
| 1620 | ||
| 1621 | ss(part16,0.8) | |
| 1622 | ||
| 1623 | for i = 0,1,0.1 do | |
| 1624 | ||
| 1625 | wait() | |
| 1626 | ||
| 1627 | gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.5,0) | |
| 1628 | ||
| 1629 | end | |
| 1630 | ||
| 1631 | gairo.cframe = CeEff | |
| 1632 | ||
| 1633 | con1:disconnect() | |
| 1634 | ||
| 1635 | con2:disconnect() | |
| 1636 | ||
| 1637 | for i = 0,1,0.1 do | |
| 1638 | ||
| 1639 | wait() | |
| 1640 | ||
| 1641 | MMMAGIC(part16,3,3,3,0,0,0,BrickColor.new("Really black"))
| |
| 1642 | ||
| 1643 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1644 | ||
| 1645 | LW.C0 = CFrame.new(0.5*i-1.5,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(0.93*i+1.57,-1.57*i-1.57,-0.8*i) | |
| 1646 | ||
| 1647 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2*i+2,0,0) | |
| 1648 | ||
| 1649 | RW.C0 = CFrame.new(-0.5+1.5,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.93*i+1.57,math.rad(180)*i,1.8*i-1) | |
| 1650 | ||
| 1651 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1652 | ||
| 1653 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-0.7*i+0.7,math.rad(90)) * CFrame.new(0, 1, -1*i) | |
| 1654 | ||
| 1655 | end | |
| 1656 | ||
| 1657 | wait(0.2) | |
| 1658 | ||
| 1659 | ss(part16,0.8) | |
| 1660 | ||
| 1661 | for i = 0,1,0.2 do | |
| 1662 | ||
| 1663 | wait() | |
| 1664 | ||
| 1665 | MMMAGIC(part16,3,3,3,0,0,0,BrickColor.new("Really red"))
| |
| 1666 | ||
| 1667 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1668 | ||
| 1669 | LW.C0 = CFrame.new(-1,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.93*i+0.93+1.57,-3.14,-0.8) | |
| 1670 | ||
| 1671 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1672 | ||
| 1673 | RW.C0 = CFrame.new(1,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.93*i+0.93+1.57,math.rad(180),0.8) | |
| 1674 | ||
| 1675 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1676 | ||
| 1677 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, -1) | |
| 1678 | ||
| 1679 | end | |
| 1680 | ||
| 1681 | local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
| |
| 1682 | ||
| 1683 | msh1.Scale = Vector3.new(0.01,0.01,0.01) | |
| 1684 | ||
| 1685 | msh1.MeshType = "Sphere" | |
| 1686 | ||
| 1687 | S=Instance.new("Part")
| |
| 1688 | ||
| 1689 | S.Name="Effect" | |
| 1690 | ||
| 1691 | S.formFactor=0 | |
| 1692 | ||
| 1693 | S.Size=Vector3.new(3,3,3) | |
| 1694 | ||
| 1695 | S.BrickColor=BrickColor.new("Really black")
| |
| 1696 | ||
| 1697 | S.Reflectance = 0 | |
| 1698 | ||
| 1699 | S.TopSurface=0 | |
| 1700 | ||
| 1701 | S.BottomSurface=0 | |
| 1702 | ||
| 1703 | S.Transparency=0 | |
| 1704 | ||
| 1705 | S.Anchored=true | |
| 1706 | ||
| 1707 | S.CanCollide=false | |
| 1708 | ||
| 1709 | S.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1710 | ||
| 1711 | S.Parent=Character | |
| 1712 | ||
| 1713 | msh1.Parent = S | |
| 1714 | ||
| 1715 | r=Instance.new("Part")
| |
| 1716 | ||
| 1717 | r.Anchored=true | |
| 1718 | ||
| 1719 | r.Name="Ring" | |
| 1720 | ||
| 1721 | r.CanCollide=false | |
| 1722 | ||
| 1723 | r.TopSurface=0 | |
| 1724 | ||
| 1725 | r.BottomSurface=0 | |
| 1726 | ||
| 1727 | r.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1728 | ||
| 1729 | r.Parent=workspace | |
| 1730 | ||
| 1731 | local ring = Instance.new("SpecialMesh")
| |
| 1732 | ||
| 1733 | ring.Parent = r | |
| 1734 | ||
| 1735 | ring.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1736 | ||
| 1737 | ring.Name = "RingMesh" | |
| 1738 | ||
| 1739 | r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1) | |
| 1740 | ||
| 1741 | r.BrickColor=BrickColor.new("Really red")
| |
| 1742 | ||
| 1743 | coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r) | |
| 1744 | ||
| 1745 | p=Instance.new("Part")
| |
| 1746 | ||
| 1747 | p.Name="BlastRing" | |
| 1748 | ||
| 1749 | p.TopSurface=0 | |
| 1750 | ||
| 1751 | p.BottomSurface=0 | |
| 1752 | ||
| 1753 | p.CanCollide=false | |
| 1754 | ||
| 1755 | p.Anchored=true | |
| 1756 | ||
| 1757 | p.BrickColor=BrickColor.new("Really black")
| |
| 1758 | ||
| 1759 | p.Size=Vector3.new(1,1,1) | |
| 1760 | ||
| 1761 | p.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1762 | ||
| 1763 | p.CFrame=p.CFrame | |
| 1764 | ||
| 1765 | p.Parent=workspace | |
| 1766 | ||
| 1767 | local mesheh = Instance.new("SpecialMesh")
| |
| 1768 | ||
| 1769 | mesheh.Parent = p | |
| 1770 | ||
| 1771 | mesheh.Name = "BlastMesh" | |
| 1772 | ||
| 1773 | mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1774 | ||
| 1775 | p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1) | |
| 1776 | ||
| 1777 | coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1.5,1) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) wait() end par.Parent=nil end),p) | |
| 1778 | ||
| 1779 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 wait() end Part.Parent=nil end),S,S.CFrame) | |
| 1780 | ||
| 1781 | local msh1 = Instance.new("SpecialMesh")
| |
| 1782 | ||
| 1783 | msh1.Scale = Vector3.new(0.01,0.01,0.01) | |
| 1784 | ||
| 1785 | msh1.MeshType = "Sphere" | |
| 1786 | ||
| 1787 | S=Instance.new("Part")
| |
| 1788 | ||
| 1789 | S.Name="Effect" | |
| 1790 | ||
| 1791 | S.formFactor=0 | |
| 1792 | ||
| 1793 | S.Size=Vector3.new(3,3,3) | |
| 1794 | ||
| 1795 | S.BrickColor=BrickColor.new("Really red")
| |
| 1796 | ||
| 1797 | S.Reflectance = 0 | |
| 1798 | ||
| 1799 | S.TopSurface=0 | |
| 1800 | ||
| 1801 | S.BottomSurface=0 | |
| 1802 | ||
| 1803 | S.Transparency=0 | |
| 1804 | ||
| 1805 | S.Anchored=true | |
| 1806 | ||
| 1807 | S.CanCollide=false | |
| 1808 | ||
| 1809 | S.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1810 | ||
| 1811 | S.Parent=Character | |
| 1812 | ||
| 1813 | msh1.Parent = S | |
| 1814 | ||
| 1815 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 wait() end Part.Parent=nil end),S,S.CFrame) | |
| 1816 | ||
| 1817 | Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z) | |
| 1818 | ||
| 1819 | v=Instance.new("BodyVelocity")
| |
| 1820 | ||
| 1821 | v.P=3000 | |
| 1822 | ||
| 1823 | v.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1824 | ||
| 1825 | v.velocity=Vel | |
| 1826 | ||
| 1827 | v.Parent=S | |
| 1828 | ||
| 1829 | local c = game.Workspace:GetChildren(); | |
| 1830 | ||
| 1831 | for i = 1, #c do | |
| 1832 | ||
| 1833 | local hum = c:findFirstChild("Humanoid")
| |
| 1834 | ||
| 1835 | if hum ~= nil and hum.Health ~= 0 then | |
| 1836 | ||
| 1837 | local head = c:findFirstChild("Head");
| |
| 1838 | ||
| 1839 | if head ~= nil then | |
| 1840 | ||
| 1841 | local targ = head.Position - S.Position; | |
| 1842 | ||
| 1843 | local mag = targ.magnitude; | |
| 1844 | ||
| 1845 | if mag <= 10 and c.Name ~= Player.Name then | |
| 1846 | ||
| 1847 | coroutine.resume(coroutine.create(function() | |
| 1848 | ||
| 1849 | for i = 0,1,0.1 do | |
| 1850 | ||
| 1851 | wait() | |
| 1852 | ||
| 1853 | DBHit(head,S) | |
| 1854 | ||
| 1855 | end | |
| 1856 | ||
| 1857 | end)) | |
| 1858 | ||
| 1859 | end | |
| 1860 | ||
| 1861 | end | |
| 1862 | ||
| 1863 | end | |
| 1864 | ||
| 1865 | end | |
| 1866 | ||
| 1867 | wait(0.3) | |
| 1868 | ||
| 1869 | gairo.Parent = nil | |
| 1870 | ||
| 1871 | for i = 0,1,0.1 do | |
| 1872 | ||
| 1873 | wait() | |
| 1874 | ||
| 1875 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 1876 | ||
| 1877 | LW.C0 = CFrame.new(-0.5*i-1,0.5,0.7*i-0.7) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,3.64*i-3.14,0.3*i-0.8) | |
| 1878 | ||
| 1879 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1880 | ||
| 1881 | RW.C0 = CFrame.new(0.5*i+1,0.5,0.7*i-0.7) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,-math.rad(180)*i+math.rad(180),-0.8*i+0.8) | |
| 1882 | ||
| 1883 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1884 | ||
| 1885 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, -1) | |
| 1886 | ||
| 1887 | end | |
| 1888 | ||
| 1889 | attack = false | |
| 1890 | ||
| 1891 | end | |
| 1892 | ||
| 1893 | function MagicBlast() | |
| 1894 | ||
| 1895 | attack = true | |
| 1896 | ||
| 1897 | gairo.Parent = Head | |
| 1898 | ||
| 1899 | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
| 1900 | ||
| 1901 | gairo.P = 20e+003 | |
| 1902 | ||
| 1903 | gairo.cframe = Head.CFrame | |
| 1904 | ||
| 1905 | for i = 0,1,0.1 do | |
| 1906 | ||
| 1907 | wait() | |
| 1908 | ||
| 1909 | MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Really black"))
| |
| 1910 | ||
| 1911 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57*i) * CFrame.new(0,0,-0.5) | |
| 1912 | ||
| 1913 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5) | |
| 1914 | ||
| 1915 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1916 | ||
| 1917 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)*i) | |
| 1918 | ||
| 1919 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1920 | ||
| 1921 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 1922 | ||
| 1923 | end | |
| 1924 | ||
| 1925 | for i = 0,1,0.05 do | |
| 1926 | ||
| 1927 | wait() | |
| 1928 | ||
| 1929 | MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Really red"))
| |
| 1930 | ||
| 1931 | end | |
| 1932 | ||
| 1933 | Shot=Instance.new("Part")
| |
| 1934 | ||
| 1935 | Shot.Name="Effect" | |
| 1936 | ||
| 1937 | Shot.formFactor=0 | |
| 1938 | ||
| 1939 | Shot.Size=Vector3.new(1,1,1) | |
| 1940 | ||
| 1941 | Shot.BrickColor=BrickColor.new("Really black")
| |
| 1942 | ||
| 1943 | Shot.Reflectance = 0 | |
| 1944 | ||
| 1945 | Shot.TopSurface=0 | |
| 1946 | ||
| 1947 | Shot.BottomSurface=0 | |
| 1948 | ||
| 1949 | Shot.Transparency=0 | |
| 1950 | ||
| 1951 | Shot.Anchored=false | |
| 1952 | ||
| 1953 | Shot.CanCollide=false | |
| 1954 | ||
| 1955 | Shot.CFrame=RightArm.CFrame*CFrame.new(0,-1,0) | |
| 1956 | ||
| 1957 | Shot.Parent=workspace | |
| 1958 | ||
| 1959 | --Shot.Velocity = Head.CFrame.lookVector * 100 | |
| 1960 | ||
| 1961 | coroutine.resume(coroutine.create(function() | |
| 1962 | ||
| 1963 | while Shot.Parent ~= nil do | |
| 1964 | ||
| 1965 | wait() | |
| 1966 | ||
| 1967 | MMMAGIC(Shot,1,1,1,0,0,0,BrickColor.new("Really red"))
| |
| 1968 | ||
| 1969 | end | |
| 1970 | ||
| 1971 | end)) | |
| 1972 | ||
| 1973 | coroutine.resume(coroutine.create(function() | |
| 1974 | ||
| 1975 | while Shot.Parent ~= nil do --I use this function instead of the touch function :3 | |
| 1976 | ||
| 1977 | wait() | |
| 1978 | ||
| 1979 | local c = game.Workspace:GetChildren(); | |
| 1980 | ||
| 1981 | for i = 1, #c do | |
| 1982 | ||
| 1983 | local hum = c:findFirstChild("Humanoid")
| |
| 1984 | ||
| 1985 | if hum ~= nil and hum.Health ~= 0 then | |
| 1986 | ||
| 1987 | local head = c:findFirstChild("Head");
| |
| 1988 | ||
| 1989 | if head ~= nil then | |
| 1990 | ||
| 1991 | local targ = head.Position - Shot.Position; | |
| 1992 | ||
| 1993 | local mag = targ.magnitude; | |
| 1994 | ||
| 1995 | if mag <= 4 and c.Name ~= Player.Name then | |
| 1996 | ||
| 1997 | Damagefunc2(head.Parent.Torso,10,30) | |
| 1998 | ||
| 1999 | v=Instance.new("BodyVelocity")
| |
| 2000 | ||
| 2001 | v.P=1000 | |
| 2002 | ||
| 2003 | v.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 2004 | ||
| 2005 | v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05 | |
| 2006 | ||
| 2007 | v.Parent=hum.Parent.Torso | |
| 2008 | ||
| 2009 | coroutine.resume(coroutine.create(function() | |
| 2010 | ||
| 2011 | wait(0.3) | |
| 2012 | ||
| 2013 | v.Parent = nil | |
| 2014 | ||
| 2015 | end)) | |
| 2016 | ||
| 2017 | game:GetService("Debris"):AddItem(v,.1)
| |
| 2018 | ||
| 2019 | Shot.Parent = nil | |
| 2020 | ||
| 2021 | end | |
| 2022 | ||
| 2023 | end | |
| 2024 | ||
| 2025 | end | |
| 2026 | ||
| 2027 | end | |
| 2028 | ||
| 2029 | end | |
| 2030 | ||
| 2031 | end)) | |
| 2032 | ||
| 2033 | coroutine.resume(coroutine.create(function() | |
| 2034 | ||
| 2035 | wait(3) | |
| 2036 | ||
| 2037 | for i = 0,1,0.05 do | |
| 2038 | ||
| 2039 | wait() | |
| 2040 | ||
| 2041 | Shot.Transparency = i | |
| 2042 | ||
| 2043 | end | |
| 2044 | ||
| 2045 | Shot.Parent = nil | |
| 2046 | ||
| 2047 | end)) | |
| 2048 | ||
| 2049 | local v = Instance.new("BodyVelocity")
| |
| 2050 | ||
| 2051 | v.Parent = Shot | |
| 2052 | ||
| 2053 | v.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2054 | ||
| 2055 | v.velocity = Head.CFrame.lookVector * 100 | |
| 2056 | ||
| 2057 | local force = Instance.new("BodyForce")
| |
| 2058 | ||
| 2059 | force.Parent = Shot | |
| 2060 | ||
| 2061 | force.force = Vector3.new(0,190,0) | |
| 2062 | ||
| 2063 | local meh = Instance.new("SpecialMesh")
| |
| 2064 | ||
| 2065 | meh.Parent = Shot | |
| 2066 | ||
| 2067 | meh.Scale = Vector3.new(1,2,1) | |
| 2068 | ||
| 2069 | meh.MeshType = "Sphere" | |
| 2070 | ||
| 2071 | MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("Really black"))
| |
| 2072 | ||
| 2073 | MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Really red"))
| |
| 2074 | ||
| 2075 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really black"))
| |
| 2076 | ||
| 2077 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really red"))
| |
| 2078 | ||
| 2079 | wait(0.3) | |
| 2080 | ||
| 2081 | for i = 0,1,0.05 do | |
| 2082 | ||
| 2083 | wait() | |
| 2084 | ||
| 2085 | MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Really black"))
| |
| 2086 | ||
| 2087 | end | |
| 2088 | ||
| 2089 | Shot2=Instance.new("Part")
| |
| 2090 | ||
| 2091 | Shot2.Name="Effect" | |
| 2092 | ||
| 2093 | Shot2.formFactor=0 | |
| 2094 | ||
| 2095 | Shot2.Size=Vector3.new(1,1,1) | |
| 2096 | ||
| 2097 | Shot2.BrickColor=BrickColor.new("Really red")
| |
| 2098 | ||
| 2099 | Shot2.Reflectance = 0 | |
| 2100 | ||
| 2101 | Shot2.TopSurface=0 | |
| 2102 | ||
| 2103 | Shot2.BottomSurface=0 | |
| 2104 | ||
| 2105 | Shot2.Transparency=0 | |
| 2106 | ||
| 2107 | Shot2.Anchored=false | |
| 2108 | ||
| 2109 | Shot2.CanCollide=false | |
| 2110 | ||
| 2111 | Shot2.CFrame=RightArm.CFrame*CFrame.new(0,-1,0) | |
| 2112 | ||
| 2113 | Shot2.Parent=workspace | |
| 2114 | ||
| 2115 | --Shot2.Velocity = Head.CFrame.lookVector * 100 | |
| 2116 | ||
| 2117 | coroutine.resume(coroutine.create(function() | |
| 2118 | ||
| 2119 | while Shot2.Parent ~= nil do | |
| 2120 | ||
| 2121 | wait() | |
| 2122 | ||
| 2123 | MMMAGIC(Shot2,1,1,1,0,0,0,BrickColor.new("Really black"))
| |
| 2124 | ||
| 2125 | end | |
| 2126 | ||
| 2127 | end)) | |
| 2128 | ||
| 2129 | coroutine.resume(coroutine.create(function() | |
| 2130 | ||
| 2131 | while Shot2.Parent ~= nil do --I use this function instead of the touch function :3 | |
| 2132 | ||
| 2133 | wait() | |
| 2134 | ||
| 2135 | local c = game.Workspace:GetChildren(); | |
| 2136 | ||
| 2137 | for i = 1, #c do | |
| 2138 | ||
| 2139 | local hum = c:findFirstChild("Humanoid")
| |
| 2140 | ||
| 2141 | if hum ~= nil and hum.Health ~= 0 then | |
| 2142 | ||
| 2143 | local head = c:findFirstChild("Head");
| |
| 2144 | ||
| 2145 | if head ~= nil then | |
| 2146 | ||
| 2147 | local targ = head.Position - Shot2.Position; | |
| 2148 | ||
| 2149 | local mag = targ.magnitude; | |
| 2150 | ||
| 2151 | if mag <= 4 and c.Name ~= Player.Name then | |
| 2152 | ||
| 2153 | Damagefunc2(head.Parent.Torso,10,30) | |
| 2154 | ||
| 2155 | v=Instance.new("BodyVelocity")
| |
| 2156 | ||
| 2157 | v.P=1000 | |
| 2158 | ||
| 2159 | v.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 2160 | ||
| 2161 | v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05 | |
| 2162 | ||
| 2163 | v.Parent=hum.Parent.Torso | |
| 2164 | ||
| 2165 | coroutine.resume(coroutine.create(function() | |
| 2166 | ||
| 2167 | wait(0.3) | |
| 2168 | ||
| 2169 | v.Parent = nil | |
| 2170 | ||
| 2171 | end)) | |
| 2172 | ||
| 2173 | game:GetService("Debris"):AddItem(v,.1)
| |
| 2174 | ||
| 2175 | Shot2.Parent = nil | |
| 2176 | ||
| 2177 | end | |
| 2178 | ||
| 2179 | end | |
| 2180 | ||
| 2181 | end | |
| 2182 | ||
| 2183 | end | |
| 2184 | ||
| 2185 | end | |
| 2186 | ||
| 2187 | end)) | |
| 2188 | ||
| 2189 | coroutine.resume(coroutine.create(function() | |
| 2190 | ||
| 2191 | wait(3) | |
| 2192 | ||
| 2193 | for i = 0,1,0.05 do | |
| 2194 | ||
| 2195 | wait() | |
| 2196 | ||
| 2197 | Shot2.Transparency = i | |
| 2198 | ||
| 2199 | end | |
| 2200 | ||
| 2201 | Shot2.Parent = nil | |
| 2202 | ||
| 2203 | end)) | |
| 2204 | ||
| 2205 | local v = Instance.new("BodyVelocity")
| |
| 2206 | ||
| 2207 | v.Parent = Shot2 | |
| 2208 | ||
| 2209 | v.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2210 | ||
| 2211 | v.velocity = Head.CFrame.lookVector * 100 | |
| 2212 | ||
| 2213 | local force = Instance.new("BodyForce")
| |
| 2214 | ||
| 2215 | force.Parent = Shot2 | |
| 2216 | ||
| 2217 | force.force = Vector3.new(0,190,0) | |
| 2218 | ||
| 2219 | local meh = Instance.new("SpecialMesh")
| |
| 2220 | ||
| 2221 | meh.Parent = Shot2 | |
| 2222 | ||
| 2223 | meh.Scale = Vector3.new(1,2,1) | |
| 2224 | ||
| 2225 | meh.MeshType = "Sphere" | |
| 2226 | ||
| 2227 | MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("Really black"))
| |
| 2228 | ||
| 2229 | MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Really red"))
| |
| 2230 | ||
| 2231 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really black"))
| |
| 2232 | ||
| 2233 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really red"))
| |
| 2234 | ||
| 2235 | wait(0.3) | |
| 2236 | ||
| 2237 | for i = 0,1,0.05 do | |
| 2238 | ||
| 2239 | wait() | |
| 2240 | ||
| 2241 | MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Really black"))
| |
| 2242 | ||
| 2243 | end | |
| 2244 | ||
| 2245 | Shot3=Instance.new("Part")
| |
| 2246 | ||
| 2247 | Shot3.Name="Effect" | |
| 2248 | ||
| 2249 | Shot3.formFactor=0 | |
| 2250 | ||
| 2251 | Shot3.Size=Vector3.new(1,1,1) | |
| 2252 | ||
| 2253 | Shot3.BrickColor=BrickColor.new("Really red")
| |
| 2254 | ||
| 2255 | Shot3.Reflectance = 0 | |
| 2256 | ||
| 2257 | Shot3.TopSurface=0 | |
| 2258 | ||
| 2259 | Shot3.BottomSurface=0 | |
| 2260 | ||
| 2261 | Shot3.Transparency=0 | |
| 2262 | ||
| 2263 | Shot3.Anchored=false | |
| 2264 | ||
| 2265 | Shot3.CanCollide=false | |
| 2266 | ||
| 2267 | Shot3.CFrame=RightArm.CFrame*CFrame.new(0,-1,0) | |
| 2268 | ||
| 2269 | Shot3.Parent=workspace | |
| 2270 | ||
| 2271 | --Shot3.Velocity = Head.CFrame.lookVector * 100 | |
| 2272 | ||
| 2273 | coroutine.resume(coroutine.create(function() | |
| 2274 | ||
| 2275 | while Shot3.Parent ~= nil do | |
| 2276 | ||
| 2277 | wait() | |
| 2278 | ||
| 2279 | MMMAGIC(Shot3,1,1,1,0,0,0,BrickColor.new("Really black"))
| |
| 2280 | ||
| 2281 | end | |
| 2282 | ||
| 2283 | end)) | |
| 2284 | ||
| 2285 | coroutine.resume(coroutine.create(function() | |
| 2286 | ||
| 2287 | while Shot3.Parent ~= nil do --I use this function instead of the touch function :3 | |
| 2288 | ||
| 2289 | wait() | |
| 2290 | ||
| 2291 | local c = game.Workspace:GetChildren(); | |
| 2292 | ||
| 2293 | for i = 1, #c do | |
| 2294 | ||
| 2295 | local hum = c:findFirstChild("Humanoid")
| |
| 2296 | ||
| 2297 | if hum ~= nil and hum.Health ~= 0 then | |
| 2298 | ||
| 2299 | local head = c:findFirstChild("Head");
| |
| 2300 | ||
| 2301 | if head ~= nil then | |
| 2302 | ||
| 2303 | local targ = head.Position - Shot3.Position; | |
| 2304 | ||
| 2305 | local mag = targ.magnitude; | |
| 2306 | ||
| 2307 | if mag <= 4 and c.Name ~= Player.Name then | |
| 2308 | ||
| 2309 | Damagefunc2(head.Parent.Torso,10,30) | |
| 2310 | ||
| 2311 | v=Instance.new("BodyVelocity")
| |
| 2312 | ||
| 2313 | v.P=1000 | |
| 2314 | ||
| 2315 | v.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 2316 | ||
| 2317 | v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05 | |
| 2318 | ||
| 2319 | v.Parent=hum.Parent.Torso | |
| 2320 | ||
| 2321 | coroutine.resume(coroutine.create(function() | |
| 2322 | ||
| 2323 | wait(0.3) | |
| 2324 | ||
| 2325 | v.Parent = nil | |
| 2326 | ||
| 2327 | end)) | |
| 2328 | ||
| 2329 | game:GetService("Debris"):AddItem(v,.1)
| |
| 2330 | ||
| 2331 | Shot3.Parent = nil | |
| 2332 | ||
| 2333 | end | |
| 2334 | ||
| 2335 | end | |
| 2336 | ||
| 2337 | end | |
| 2338 | ||
| 2339 | end | |
| 2340 | ||
| 2341 | end | |
| 2342 | ||
| 2343 | end)) | |
| 2344 | ||
| 2345 | coroutine.resume(coroutine.create(function() | |
| 2346 | ||
| 2347 | wait(3) | |
| 2348 | ||
| 2349 | for i = 0,1,0.05 do | |
| 2350 | ||
| 2351 | wait() | |
| 2352 | ||
| 2353 | Shot3.Transparency = i | |
| 2354 | ||
| 2355 | end | |
| 2356 | ||
| 2357 | Shot3.Parent = nil | |
| 2358 | ||
| 2359 | end)) | |
| 2360 | ||
| 2361 | local v = Instance.new("BodyVelocity")
| |
| 2362 | ||
| 2363 | v.Parent = Shot3 | |
| 2364 | ||
| 2365 | v.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2366 | ||
| 2367 | v.velocity = Head.CFrame.lookVector * 100 | |
| 2368 | ||
| 2369 | local force = Instance.new("BodyForce")
| |
| 2370 | ||
| 2371 | force.Parent = Shot3 | |
| 2372 | ||
| 2373 | force.force = Vector3.new(0,190,0) | |
| 2374 | ||
| 2375 | local meh = Instance.new("SpecialMesh")
| |
| 2376 | ||
| 2377 | meh.Parent = Shot3 | |
| 2378 | ||
| 2379 | meh.Scale = Vector3.new(1,2,1) | |
| 2380 | ||
| 2381 | meh.MeshType = "Sphere" | |
| 2382 | ||
| 2383 | MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("Really black"))
| |
| 2384 | ||
| 2385 | MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Really red"))
| |
| 2386 | ||
| 2387 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really black"))
| |
| 2388 | ||
| 2389 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really red"))
| |
| 2390 | ||
| 2391 | wait(0.3) | |
| 2392 | ||
| 2393 | for i = 0,1,0.1 do | |
| 2394 | ||
| 2395 | wait() | |
| 2396 | ||
| 2397 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57*i+1.57) * CFrame.new(0,0,-0.5) | |
| 2398 | ||
| 2399 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5) | |
| 2400 | ||
| 2401 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2402 | ||
| 2403 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)*i+math.rad(90)) | |
| 2404 | ||
| 2405 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2406 | ||
| 2407 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 2408 | ||
| 2409 | end | |
| 2410 | ||
| 2411 | gairo.Parent = nil | |
| 2412 | ||
| 2413 | attack = false | |
| 2414 | ||
| 2415 | end | |
| 2416 | ||
| 2417 | function LightOrb() | |
| 2418 | ||
| 2419 | attack = true | |
| 2420 | ||
| 2421 | gairo.Parent = Head | |
| 2422 | ||
| 2423 | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
| 2424 | ||
| 2425 | gairo.P = 20e+003 | |
| 2426 | ||
| 2427 | gairo.cframe = Head.CFrame | |
| 2428 | ||
| 2429 | for i = 0,1,0.1 do | |
| 2430 | ||
| 2431 | wait() | |
| 2432 | ||
| 2433 | MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Really black"))
| |
| 2434 | ||
| 2435 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57*i) * CFrame.new(0,0,-0.5) | |
| 2436 | ||
| 2437 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5) | |
| 2438 | ||
| 2439 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2440 | ||
| 2441 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)*i) | |
| 2442 | ||
| 2443 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2444 | ||
| 2445 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 2446 | ||
| 2447 | end | |
| 2448 | ||
| 2449 | for i = 0,1,0.02 do | |
| 2450 | ||
| 2451 | wait() | |
| 2452 | ||
| 2453 | MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Really red"))
| |
| 2454 | ||
| 2455 | end | |
| 2456 | ||
| 2457 | Shoty=Instance.new("Part")
| |
| 2458 | ||
| 2459 | Shoty.Name="Effect" | |
| 2460 | ||
| 2461 | Shoty.formFactor=0 | |
| 2462 | ||
| 2463 | Shoty.Size=Vector3.new(1,1,1) | |
| 2464 | ||
| 2465 | Shoty.BrickColor=BrickColor.new("Really black")
| |
| 2466 | ||
| 2467 | Shoty.Reflectance = 0 | |
| 2468 | ||
| 2469 | Shoty.TopSurface=0 | |
| 2470 | ||
| 2471 | Shoty.BottomSurface=0 | |
| 2472 | ||
| 2473 | Shoty.Transparency=0 | |
| 2474 | ||
| 2475 | Shoty.Anchored=false | |
| 2476 | ||
| 2477 | Shoty.CanCollide=false | |
| 2478 | ||
| 2479 | Shoty.CFrame=RightArm.CFrame*CFrame.new(0,-1,0) | |
| 2480 | ||
| 2481 | Shoty.Parent=workspace | |
| 2482 | ||
| 2483 | --Shot.Velocity = Head.CFrame.lookVector * 100 | |
| 2484 | ||
| 2485 | coroutine.resume(coroutine.create(function() | |
| 2486 | ||
| 2487 | while Shoty.Parent ~= nil do | |
| 2488 | ||
| 2489 | wait(0.2) | |
| 2490 | ||
| 2491 | p=Instance.new("Part")
| |
| 2492 | ||
| 2493 | p.Name="BlastRing" | |
| 2494 | ||
| 2495 | p.TopSurface=0 | |
| 2496 | ||
| 2497 | p.BottomSurface=0 | |
| 2498 | ||
| 2499 | p.CanCollide=false | |
| 2500 | ||
| 2501 | p.Anchored=true | |
| 2502 | ||
| 2503 | p.BrickColor=BrickColor.new("Really red")
| |
| 2504 | ||
| 2505 | p.Size=Vector3.new(1,1,1) | |
| 2506 | ||
| 2507 | p.CFrame=Shoty.CFrame*CFrame.new(-3,0,0)*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) | |
| 2508 | ||
| 2509 | p.CFrame=p.CFrame | |
| 2510 | ||
| 2511 | p.Parent=workspace | |
| 2512 | ||
| 2513 | local mesheh = Instance.new("SpecialMesh")
| |
| 2514 | ||
| 2515 | mesheh.Parent = p | |
| 2516 | ||
| 2517 | mesheh.Name = "BlastMesh" | |
| 2518 | ||
| 2519 | mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2520 | ||
| 2521 | p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1) | |
| 2522 | ||
| 2523 | coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.2,0.2,0.2) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) wait() end par.Parent=nil end),p) | |
| 2524 | ||
| 2525 | end | |
| 2526 | ||
| 2527 | end)) | |
| 2528 | ||
| 2529 | local v = Instance.new("BodyVelocity")
| |
| 2530 | ||
| 2531 | v.Parent = Shoty | |
| 2532 | ||
| 2533 | v.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2534 | ||
| 2535 | v.velocity = Head.CFrame.lookVector * 20 | |
| 2536 | ||
| 2537 | local force = Instance.new("BodyForce")
| |
| 2538 | ||
| 2539 | force.Parent = Shoty | |
| 2540 | ||
| 2541 | force.force = Vector3.new(0,190,0) | |
| 2542 | ||
| 2543 | local meh = Instance.new("SpecialMesh")
| |
| 2544 | ||
| 2545 | meh.Parent = Shoty | |
| 2546 | ||
| 2547 | meh.Scale = Vector3.new(3,3,3) | |
| 2548 | ||
| 2549 | meh.MeshType = "Sphere" | |
| 2550 | ||
| 2551 | MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Really black"))
| |
| 2552 | ||
| 2553 | MMMAGIC(RightArm,6,6,6,0,-1,0,BrickColor.new("Really red"))
| |
| 2554 | ||
| 2555 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really black"))
| |
| 2556 | ||
| 2557 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really red"))
| |
| 2558 | ||
| 2559 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really black"))
| |
| 2560 | ||
| 2561 | MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Really red"))
| |
| 2562 | ||
| 2563 | coroutine.resume(coroutine.create(function() | |
| 2564 | ||
| 2565 | wait(5) | |
| 2566 | ||
| 2567 | Shoty.Parent = nil | |
| 2568 | ||
| 2569 | local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
| |
| 2570 | ||
| 2571 | msh1.Scale = Vector3.new(0.01,0.01,0.01) | |
| 2572 | ||
| 2573 | msh1.MeshType = "Sphere" | |
| 2574 | ||
| 2575 | S=Instance.new("Part")
| |
| 2576 | ||
| 2577 | S.Name="Effect" | |
| 2578 | ||
| 2579 | S.formFactor=0 | |
| 2580 | ||
| 2581 | S.Size=Vector3.new(3,3,3) | |
| 2582 | ||
| 2583 | S.BrickColor=BrickColor.new("Really black")
| |
| 2584 | ||
| 2585 | S.Reflectance = 0 | |
| 2586 | ||
| 2587 | S.TopSurface=0 | |
| 2588 | ||
| 2589 | S.BottomSurface=0 | |
| 2590 | ||
| 2591 | S.Transparency=0 | |
| 2592 | ||
| 2593 | S.Anchored=true | |
| 2594 | ||
| 2595 | S.CanCollide=false | |
| 2596 | ||
| 2597 | S.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2598 | ||
| 2599 | S.Parent=Character | |
| 2600 | ||
| 2601 | msh1.Parent = S | |
| 2602 | ||
| 2603 | r=Instance.new("Part")
| |
| 2604 | ||
| 2605 | r.Anchored=true | |
| 2606 | ||
| 2607 | r.Name="Ring" | |
| 2608 | ||
| 2609 | r.CanCollide=false | |
| 2610 | ||
| 2611 | r.TopSurface=0 | |
| 2612 | ||
| 2613 | r.BottomSurface=0 | |
| 2614 | ||
| 2615 | r.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2616 | ||
| 2617 | r.Parent=workspace | |
| 2618 | ||
| 2619 | local ring = Instance.new("SpecialMesh")
| |
| 2620 | ||
| 2621 | ring.Parent = r | |
| 2622 | ||
| 2623 | ring.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2624 | ||
| 2625 | ring.Name = "RingMesh" | |
| 2626 | ||
| 2627 | r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1) | |
| 2628 | ||
| 2629 | r.BrickColor=BrickColor.new("Really red")
| |
| 2630 | ||
| 2631 | coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r) | |
| 2632 | ||
| 2633 | p=Instance.new("Part")
| |
| 2634 | ||
| 2635 | p.Name="BlastRing" | |
| 2636 | ||
| 2637 | p.TopSurface=0 | |
| 2638 | ||
| 2639 | p.BottomSurface=0 | |
| 2640 | ||
| 2641 | p.CanCollide=false | |
| 2642 | ||
| 2643 | p.Anchored=true | |
| 2644 | ||
| 2645 | p.BrickColor=BrickColor.new("Really black")
| |
| 2646 | ||
| 2647 | p.Size=Vector3.new(1,1,1) | |
| 2648 | ||
| 2649 | p.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) | |
| 2650 | ||
| 2651 | p.CFrame=p.CFrame | |
| 2652 | ||
| 2653 | p.Parent=workspace | |
| 2654 | ||
| 2655 | local mesheh = Instance.new("SpecialMesh")
| |
| 2656 | ||
| 2657 | mesheh.Parent = p | |
| 2658 | ||
| 2659 | mesheh.Name = "BlastMesh" | |
| 2660 | ||
| 2661 | mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2662 | ||
| 2663 | p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1) | |
| 2664 | ||
| 2665 | coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1.5,1) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) wait() end par.Parent=nil end),p) | |
| 2666 | ||
| 2667 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 wait() end Part.Parent=nil end),S,S.CFrame) | |
| 2668 | ||
| 2669 | local msh1 = Instance.new("SpecialMesh")
| |
| 2670 | ||
| 2671 | msh1.Scale = Vector3.new(0.01,0.01,0.01) | |
| 2672 | ||
| 2673 | msh1.MeshType = "Sphere" | |
| 2674 | ||
| 2675 | S=Instance.new("Part")
| |
| 2676 | ||
| 2677 | S.Name="Effect" | |
| 2678 | ||
| 2679 | S.formFactor=0 | |
| 2680 | ||
| 2681 | S.Size=Vector3.new(3,3,3) | |
| 2682 | ||
| 2683 | S.BrickColor=BrickColor.new("Really red")
| |
| 2684 | ||
| 2685 | S.Reflectance = 0 | |
| 2686 | ||
| 2687 | S.TopSurface=0 | |
| 2688 | ||
| 2689 | S.BottomSurface=0 | |
| 2690 | ||
| 2691 | S.Transparency=0 | |
| 2692 | ||
| 2693 | S.Anchored=true | |
| 2694 | ||
| 2695 | S.CanCollide=false | |
| 2696 | ||
| 2697 | S.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2698 | ||
| 2699 | S.Parent=Character | |
| 2700 | ||
| 2701 | msh1.Parent = S | |
| 2702 | ||
| 2703 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 wait() end Part.Parent=nil end),S,S.CFrame) | |
| 2704 | ||
| 2705 | Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z) | |
| 2706 | ||
| 2707 | v=Instance.new("BodyVelocity")
| |
| 2708 | ||
| 2709 | v.P=3000 | |
| 2710 | ||
| 2711 | v.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 2712 | ||
| 2713 | v.velocity=Vel | |
| 2714 | ||
| 2715 | v.Parent=S | |
| 2716 | ||
| 2717 | local c = game.Workspace:GetChildren(); | |
| 2718 | ||
| 2719 | for i = 1, #c do | |
| 2720 | ||
| 2721 | local hum = c:findFirstChild("Humanoid")
| |
| 2722 | ||
| 2723 | if hum ~= nil and hum.Health ~= 0 then | |
| 2724 | ||
| 2725 | local head = c:findFirstChild("Head");
| |
| 2726 | ||
| 2727 | if head ~= nil then | |
| 2728 | ||
| 2729 | local targ = head.Position - S.Position; | |
| 2730 | ||
| 2731 | local mag = targ.magnitude; | |
| 2732 | ||
| 2733 | if mag <= 10 and c.Name ~= Player.Name then | |
| 2734 | ||
| 2735 | coroutine.resume(coroutine.create(function() | |
| 2736 | ||
| 2737 | for i = 0,1,0.1 do | |
| 2738 | ||
| 2739 | wait() | |
| 2740 | ||
| 2741 | DBHit(head,S) | |
| 2742 | ||
| 2743 | end | |
| 2744 | ||
| 2745 | end)) | |
| 2746 | ||
| 2747 | end | |
| 2748 | ||
| 2749 | end | |
| 2750 | ||
| 2751 | end | |
| 2752 | ||
| 2753 | end | |
| 2754 | ||
| 2755 | end)) | |
| 2756 | ||
| 2757 | for i = 0,1,0.1 do | |
| 2758 | ||
| 2759 | wait() | |
| 2760 | ||
| 2761 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57*i+1.57) * CFrame.new(0,0,-0.5) | |
| 2762 | ||
| 2763 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5) | |
| 2764 | ||
| 2765 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2766 | ||
| 2767 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)*i+math.rad(90)) | |
| 2768 | ||
| 2769 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2770 | ||
| 2771 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 2772 | ||
| 2773 | end | |
| 2774 | ||
| 2775 | gairo.Parent = nil | |
| 2776 | ||
| 2777 | attack = false | |
| 2778 | ||
| 2779 | end | |
| 2780 | ||
| 2781 | function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
| 2782 | ||
| 2783 | local msh1 = Instance.new("BlockMesh")
| |
| 2784 | ||
| 2785 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
| 2786 | ||
| 2787 | S=Instance.new("Part")
| |
| 2788 | ||
| 2789 | S.Name="Effect" | |
| 2790 | ||
| 2791 | S.formFactor=0 | |
| 2792 | ||
| 2793 | S.Size=Vector3.new(x1,y1,z1) | |
| 2794 | ||
| 2795 | S.BrickColor=color | |
| 2796 | ||
| 2797 | S.Reflectance = 0 | |
| 2798 | ||
| 2799 | S.TopSurface=0 | |
| 2800 | ||
| 2801 | S.BottomSurface=0 | |
| 2802 | ||
| 2803 | S.Transparency=0 | |
| 2804 | ||
| 2805 | S.Anchored=true | |
| 2806 | ||
| 2807 | S.CanCollide=false | |
| 2808 | ||
| 2809 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2810 | ||
| 2811 | S.Parent=Character | |
| 2812 | ||
| 2813 | msh1.Parent = S | |
| 2814 | ||
| 2815 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
| 2816 | ||
| 2817 | end | |
| 2818 | ||
| 2819 | function MOREMAGIX(part,cframe,x,y,z,color) | |
| 2820 | ||
| 2821 | p2=Instance.new("Part")
| |
| 2822 | ||
| 2823 | p2.Name="Blast" | |
| 2824 | ||
| 2825 | p2.TopSurface=0 | |
| 2826 | ||
| 2827 | p2.BottomSurface=0 | |
| 2828 | ||
| 2829 | p2.CanCollide=false | |
| 2830 | ||
| 2831 | p2.Anchored=true | |
| 2832 | ||
| 2833 | p2.BrickColor=color | |
| 2834 | ||
| 2835 | p2.Size=Vector3.new(x,y,z) | |
| 2836 | ||
| 2837 | p2.formFactor="Symmetric" | |
| 2838 | ||
| 2839 | p2.CFrame=part.CFrame*CFrame.new(0,cframe,0) | |
| 2840 | ||
| 2841 | p2.Parent=workspace | |
| 2842 | ||
| 2843 | m=Instance.new("BlockMesh")
| |
| 2844 | ||
| 2845 | m.Parent=p2 | |
| 2846 | ||
| 2847 | m.Name="BlastMesh" | |
| 2848 | ||
| 2849 | coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) | |
| 2850 | ||
| 2851 | end | |
| 2852 | ||
| 2853 | Damagefunc1=function(hit,Damage,Knockback) | |
| 2854 | ||
| 2855 | if attackdebounce == false then | |
| 2856 | ||
| 2857 | attackdebounce = true | |
| 2858 | ||
| 2859 | coroutine.resume(coroutine.create(function() | |
| 2860 | ||
| 2861 | wait(0.1) | |
| 2862 | ||
| 2863 | attackdebounce = false | |
| 2864 | ||
| 2865 | end)) | |
| 2866 | ||
| 2867 | if hit.Parent==nil then | |
| 2868 | ||
| 2869 | return | |
| 2870 | ||
| 2871 | end | |
| 2872 | ||
| 2873 | CPlayer=Bin | |
| 2874 | ||
| 2875 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 2876 | ||
| 2877 | if h~=nil and hit.Parent.Name~="BloodWizard21" and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 2878 | ||
| 2879 | Damage=Damage | |
| 2880 | ||
| 2881 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 2882 | ||
| 2883 | return | |
| 2884 | ||
| 2885 | end]] | |
| 2886 | ||
| 2887 | c=Instance.new("ObjectValue")
| |
| 2888 | ||
| 2889 | c.Name="creator" | |
| 2890 | ||
| 2891 | c.Value=game.Players.LocalPlayer | |
| 2892 | ||
| 2893 | c.Parent=h | |
| 2894 | ||
| 2895 | game:GetService("Debris"):AddItem(c,.5)
| |
| 2896 | ||
| 2897 | -- print(c.Value) | |
| 2898 | ||
| 2899 | if math.random(1,5)==1 then | |
| 2900 | ||
| 2901 | CRIT=true | |
| 2902 | ||
| 2903 | Damage=Damage*2 | |
| 2904 | ||
| 2905 | coroutine.resume(coroutine.create(function() | |
| 2906 | ||
| 2907 | for i = 0,5 do | |
| 2908 | ||
| 2909 | wait() | |
| 2910 | ||
| 2911 | MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("Really black"))
| |
| 2912 | ||
| 2913 | end | |
| 2914 | ||
| 2915 | wait(1) | |
| 2916 | ||
| 2917 | for i = 0,8 do | |
| 2918 | ||
| 2919 | wait(0.1) | |
| 2920 | ||
| 2921 | MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Really red"))
| |
| 2922 | ||
| 2923 | end | |
| 2924 | ||
| 2925 | end)) | |
| 2926 | ||
| 2927 | Knockback=Knockback*2 | |
| 2928 | ||
| 2929 | r=Instance.new("BodyAngularVelocity")
| |
| 2930 | ||
| 2931 | r.P=3000 | |
| 2932 | ||
| 2933 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
| 2934 | ||
| 2935 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 2936 | ||
| 2937 | r.Parent=hit.Parent.Torso | |
| 2938 | ||
| 2939 | s=Instance.new("Sound")
| |
| 2940 | ||
| 2941 | s.SoundId="http://www.roblox.com/asset/?id=2801263" | |
| 2942 | ||
| 2943 | s.Volume=1 | |
| 2944 | ||
| 2945 | s.Pitch=2 | |
| 2946 | ||
| 2947 | s.Parent=hit | |
| 2948 | ||
| 2949 | s.PlayOnRemove=true | |
| 2950 | ||
| 2951 | s.Parent=nil | |
| 2952 | ||
| 2953 | ||
| 2954 | ||
| 2955 | end | |
| 2956 | ||
| 2957 | Damage=Damage+math.random(0,10) | |
| 2958 | ||
| 2959 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
| 2960 | ||
| 2961 | h:TakeDamage(Damage) | |
| 2962 | ||
| 2963 | showDamage(hit.Parent,Damage,.5) | |
| 2964 | ||
| 2965 | vp=Instance.new("BodyVelocity")
| |
| 2966 | ||
| 2967 | vp.P=500 | |
| 2968 | ||
| 2969 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 2970 | ||
| 2971 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 2972 | ||
| 2973 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
| 2974 | ||
| 2975 | if Knockback>0 then | |
| 2976 | ||
| 2977 | vp.Parent=hit.Parent.Torso | |
| 2978 | ||
| 2979 | end | |
| 2980 | ||
| 2981 | game:GetService("Debris"):AddItem(vp,.25)
| |
| 2982 | ||
| 2983 | --[[ r=Instance.new("BodyAngularVelocity")
| |
| 2984 | ||
| 2985 | r.P=3000 | |
| 2986 | ||
| 2987 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
| 2988 | ||
| 2989 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 2990 | ||
| 2991 | r.Parent=hit.Parent.Torso]] | |
| 2992 | ||
| 2993 | game:GetService("Debris"):AddItem(r,.5)
| |
| 2994 | ||
| 2995 | c=Instance.new("ObjectValue")
| |
| 2996 | ||
| 2997 | c.Name="creator" | |
| 2998 | ||
| 2999 | c.Value=Player | |
| 3000 | ||
| 3001 | c.Parent=h | |
| 3002 | ||
| 3003 | game:GetService("Debris"):AddItem(c,.5)
| |
| 3004 | ||
| 3005 | CRIT=false | |
| 3006 | ||
| 3007 | hitDeb=true | |
| 3008 | ||
| 3009 | AttackPos=6 | |
| 3010 | ||
| 3011 | end | |
| 3012 | ||
| 3013 | end | |
| 3014 | ||
| 3015 | end | |
| 3016 | ||
| 3017 | Damagefunc2=function(hit,Damage,Knockback) | |
| 3018 | ||
| 3019 | if attackdebounce == false then | |
| 3020 | ||
| 3021 | attackdebounce = true | |
| 3022 | ||
| 3023 | coroutine.resume(coroutine.create(function() | |
| 3024 | ||
| 3025 | wait(0.1) | |
| 3026 | ||
| 3027 | attackdebounce = false | |
| 3028 | ||
| 3029 | end)) | |
| 3030 | ||
| 3031 | if hit.Parent==nil then | |
| 3032 | ||
| 3033 | return | |
| 3034 | ||
| 3035 | end | |
| 3036 | ||
| 3037 | CPlayer=Bin | |
| 3038 | ||
| 3039 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 3040 | ||
| 3041 | if h~=nil and hit.Parent.Name~="BloodWizard21" and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 3042 | ||
| 3043 | Damage=Damage | |
| 3044 | ||
| 3045 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 3046 | ||
| 3047 | return | |
| 3048 | ||
| 3049 | end]] | |
| 3050 | ||
| 3051 | c=Instance.new("ObjectValue")
| |
| 3052 | ||
| 3053 | c.Name="creator" | |
| 3054 | ||
| 3055 | c.Value=game.Players.LocalPlayer | |
| 3056 | ||
| 3057 | c.Parent=h | |
| 3058 | ||
| 3059 | game:GetService("Debris"):AddItem(c,.5)
| |
| 3060 | ||
| 3061 | -- print(c.Value) | |
| 3062 | ||
| 3063 | if math.random(1,1)==1 then | |
| 3064 | ||
| 3065 | CRIT=true | |
| 3066 | ||
| 3067 | Damage=Damage*2 | |
| 3068 | ||
| 3069 | coroutine.resume(coroutine.create(function() | |
| 3070 | ||
| 3071 | for i = 0,5 do | |
| 3072 | ||
| 3073 | wait() | |
| 3074 | ||
| 3075 | MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("Really black"))
| |
| 3076 | ||
| 3077 | end | |
| 3078 | ||
| 3079 | wait(1) | |
| 3080 | ||
| 3081 | for i = 0,8 do | |
| 3082 | ||
| 3083 | wait(0.1) | |
| 3084 | ||
| 3085 | MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Really red"))
| |
| 3086 | ||
| 3087 | end | |
| 3088 | ||
| 3089 | end)) | |
| 3090 | ||
| 3091 | Knockback=Knockback*2 | |
| 3092 | ||
| 3093 | r=Instance.new("BodyAngularVelocity")
| |
| 3094 | ||
| 3095 | r.P=3000 | |
| 3096 | ||
| 3097 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
| 3098 | ||
| 3099 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 3100 | ||
| 3101 | r.Parent=hit.Parent.Torso | |
| 3102 | ||
| 3103 | s=Instance.new("Sound")
| |
| 3104 | ||
| 3105 | s.SoundId="http://www.roblox.com/asset/?id=2801263" | |
| 3106 | ||
| 3107 | s.Volume=1 | |
| 3108 | ||
| 3109 | s.Pitch=2 | |
| 3110 | ||
| 3111 | s.Parent=hit | |
| 3112 | ||
| 3113 | s.PlayOnRemove=true | |
| 3114 | ||
| 3115 | s.Parent=nil | |
| 3116 | ||
| 3117 | ||
| 3118 | ||
| 3119 | end | |
| 3120 | ||
| 3121 | Damage=Damage+math.random(0,10) | |
| 3122 | ||
| 3123 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
| 3124 | ||
| 3125 | h:TakeDamage(Damage) | |
| 3126 | ||
| 3127 | showDamage(hit.Parent,Damage,.5) | |
| 3128 | ||
| 3129 | vp=Instance.new("BodyVelocity")
| |
| 3130 | ||
| 3131 | vp.P=500 | |
| 3132 | ||
| 3133 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 3134 | ||
| 3135 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 3136 | ||
| 3137 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
| 3138 | ||
| 3139 | if Knockback>0 then | |
| 3140 | ||
| 3141 | vp.Parent=hit.Parent.Torso | |
| 3142 | ||
| 3143 | end | |
| 3144 | ||
| 3145 | game:GetService("Debris"):AddItem(vp,.25)
| |
| 3146 | ||
| 3147 | --[[ r=Instance.new("BodyAngularVelocity")
| |
| 3148 | ||
| 3149 | r.P=3000 | |
| 3150 | ||
| 3151 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
| 3152 | ||
| 3153 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 3154 | ||
| 3155 | r.Parent=hit.Parent.Torso]] | |
| 3156 | ||
| 3157 | game:GetService("Debris"):AddItem(r,.5)
| |
| 3158 | ||
| 3159 | c=Instance.new("ObjectValue")
| |
| 3160 | ||
| 3161 | c.Name="creator" | |
| 3162 | ||
| 3163 | c.Value=Player | |
| 3164 | ||
| 3165 | c.Parent=h | |
| 3166 | ||
| 3167 | game:GetService("Debris"):AddItem(c,.5)
| |
| 3168 | ||
| 3169 | CRIT=false | |
| 3170 | ||
| 3171 | hitDeb=true | |
| 3172 | ||
| 3173 | AttackPos=6 | |
| 3174 | ||
| 3175 | end | |
| 3176 | ||
| 3177 | end | |
| 3178 | ||
| 3179 | end | |
| 3180 | ||
| 3181 | BALLFUNC=function(hit,Damage,Knockback) | |
| 3182 | ||
| 3183 | if hit.Parent==nil then | |
| 3184 | ||
| 3185 | return | |
| 3186 | ||
| 3187 | end | |
| 3188 | ||
| 3189 | CPlayer=Bin | |
| 3190 | ||
| 3191 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 3192 | ||
| 3193 | if h~=nil and hit.Parent.Name~="BloodWizard21" and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 3194 | ||
| 3195 | Damage=Damage | |
| 3196 | ||
| 3197 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 3198 | ||
| 3199 | return | |
| 3200 | ||
| 3201 | end]] | |
| 3202 | ||
| 3203 | c=Instance.new("ObjectValue")
| |
| 3204 | ||
| 3205 | c.Name="creator" | |
| 3206 | ||
| 3207 | c.Value=game.Players.LocalPlayer | |
| 3208 | ||
| 3209 | c.Parent=h | |
| 3210 | ||
| 3211 | game:GetService("Debris"):AddItem(c,.5)
| |
| 3212 | ||
| 3213 | -- print(c.Value) | |
| 3214 | ||
| 3215 | if math.random(1,1)==1 then | |
| 3216 | ||
| 3217 | CRIT=true | |
| 3218 | ||
| 3219 | Damage=Damage*2 | |
| 3220 | ||
| 3221 | coroutine.resume(coroutine.create(function() | |
| 3222 | ||
| 3223 | for i = 0,5 do | |
| 3224 | ||
| 3225 | wait() | |
| 3226 | ||
| 3227 | MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("Really black"))
| |
| 3228 | ||
| 3229 | end | |
| 3230 | ||
| 3231 | wait(1) | |
| 3232 | ||
| 3233 | for i = 0,8 do | |
| 3234 | ||
| 3235 | wait(0.1) | |
| 3236 | ||
| 3237 | MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Really red"))
| |
| 3238 | ||
| 3239 | end | |
| 3240 | ||
| 3241 | end)) | |
| 3242 | ||
| 3243 | Knockback=Knockback*2 | |
| 3244 | ||
| 3245 | r=Instance.new("BodyAngularVelocity")
| |
| 3246 | ||
| 3247 | r.P=3000 | |
| 3248 | ||
| 3249 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
| 3250 | ||
| 3251 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 3252 | ||
| 3253 | r.Parent=hit.Parent.Torso | |
| 3254 | ||
| 3255 | s=Instance.new("Sound")
| |
| 3256 | ||
| 3257 | s.SoundId="http://www.roblox.com/asset/?id=2801263" | |
| 3258 | ||
| 3259 | s.Volume=1 | |
| 3260 | ||
| 3261 | s.Pitch=2 | |
| 3262 | ||
| 3263 | s.Parent=hit | |
| 3264 | ||
| 3265 | s.PlayOnRemove=true | |
| 3266 | ||
| 3267 | s.Parent=nil | |
| 3268 | ||
| 3269 | ||
| 3270 | ||
| 3271 | end | |
| 3272 | ||
| 3273 | Damage=Damage+math.random(0,10) | |
| 3274 | ||
| 3275 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
| 3276 | ||
| 3277 | h:TakeDamage(Damage) | |
| 3278 | ||
| 3279 | showDamage(hit.Parent,Damage,.5) | |
| 3280 | ||
| 3281 | vp=Instance.new("BodyVelocity")
| |
| 3282 | ||
| 3283 | vp.P=500 | |
| 3284 | ||
| 3285 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 3286 | ||
| 3287 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 3288 | ||
| 3289 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
| 3290 | ||
| 3291 | if Knockback>0 then | |
| 3292 | ||
| 3293 | vp.Parent=hit.Parent.Torso | |
| 3294 | ||
| 3295 | end | |
| 3296 | ||
| 3297 | game:GetService("Debris"):AddItem(vp,.25)
| |
| 3298 | ||
| 3299 | --[[ r=Instance.new("BodyAngularVelocity")
| |
| 3300 | ||
| 3301 | r.P=3000 | |
| 3302 | ||
| 3303 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
| 3304 | ||
| 3305 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 3306 | ||
| 3307 | r.Parent=hit.Parent.Torso]] | |
| 3308 | ||
| 3309 | game:GetService("Debris"):AddItem(r,.5)
| |
| 3310 | ||
| 3311 | c=Instance.new("ObjectValue")
| |
| 3312 | ||
| 3313 | c.Name="creator" | |
| 3314 | ||
| 3315 | c.Value=Player | |
| 3316 | ||
| 3317 | c.Parent=h | |
| 3318 | ||
| 3319 | game:GetService("Debris"):AddItem(c,.5)
| |
| 3320 | ||
| 3321 | CRIT=false | |
| 3322 | ||
| 3323 | hitDeb=true | |
| 3324 | ||
| 3325 | AttackPos=6 | |
| 3326 | ||
| 3327 | end | |
| 3328 | ||
| 3329 | end | |
| 3330 | ||
| 3331 | DBHit=function(hit,DB) --credits to turdulator for making this function :D | |
| 3332 | ||
| 3333 | if hit.Parent==nil then | |
| 3334 | ||
| 3335 | return | |
| 3336 | ||
| 3337 | end | |
| 3338 | ||
| 3339 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 3340 | ||
| 3341 | t=hit.Parent:FindFirstChild("Torso")
| |
| 3342 | ||
| 3343 | if h~=nil and t~=nil then | |
| 3344 | ||
| 3345 | if h.Parent==Character then | |
| 3346 | ||
| 3347 | return | |
| 3348 | ||
| 3349 | end | |
| 3350 | ||
| 3351 | h:TakeDamage(5) | |
| 3352 | ||
| 3353 | showDamage(hit.Parent,5,.5) | |
| 3354 | ||
| 3355 | coroutine.resume(coroutine.create(function() | |
| 3356 | ||
| 3357 | MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("Really black"))
| |
| 3358 | ||
| 3359 | wait(1) | |
| 3360 | ||
| 3361 | wait(0.1) | |
| 3362 | ||
| 3363 | MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Really red"))
| |
| 3364 | ||
| 3365 | end)) | |
| 3366 | ||
| 3367 | vl=Instance.new("BodyVelocity")
| |
| 3368 | ||
| 3369 | vl.P=4500 | |
| 3370 | ||
| 3371 | vl.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 3372 | ||
| 3373 | vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0) | |
| 3374 | ||
| 3375 | vl.Parent=t | |
| 3376 | ||
| 3377 | game:GetService("Debris"):AddItem(vl,.2)
| |
| 3378 | ||
| 3379 | rl=Instance.new("BodyAngularVelocity")
| |
| 3380 | ||
| 3381 | rl.P=3000 | |
| 3382 | ||
| 3383 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 3384 | ||
| 3385 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 3386 | ||
| 3387 | rl.Parent=t | |
| 3388 | ||
| 3389 | game:GetService("Debris"):AddItem(rl,.2)
| |
| 3390 | ||
| 3391 | else | |
| 3392 | ||
| 3393 | if hit.CanCollide==false then | |
| 3394 | ||
| 3395 | return | |
| 3396 | ||
| 3397 | end | |
| 3398 | ||
| 3399 | MagicCom:disconnect() | |
| 3400 | ||
| 3401 | -- DBExplode(DB) | |
| 3402 | ||
| 3403 | end | |
| 3404 | ||
| 3405 | end | |
| 3406 | ||
| 3407 | showDamage=function(Char,Dealt,du) | |
| 3408 | ||
| 3409 | m=Instance.new("Model")
| |
| 3410 | ||
| 3411 | m.Name=tostring(Dealt) | |
| 3412 | ||
| 3413 | h=Instance.new("Humanoid")
| |
| 3414 | ||
| 3415 | h.Health=0 | |
| 3416 | ||
| 3417 | h.MaxHealth=0 | |
| 3418 | ||
| 3419 | h.Parent=m | |
| 3420 | ||
| 3421 | c=Instance.new("Part")
| |
| 3422 | ||
| 3423 | c.Transparency=0 | |
| 3424 | ||
| 3425 | c.BrickColor=BrickColor:Red() | |
| 3426 | ||
| 3427 | if CRIT==true then | |
| 3428 | ||
| 3429 | c.BrickColor=BrickColor.new("Really black")
| |
| 3430 | ||
| 3431 | end | |
| 3432 | ||
| 3433 | c.Name="Head" | |
| 3434 | ||
| 3435 | c.TopSurface=0 | |
| 3436 | ||
| 3437 | c.BottomSurface=0 | |
| 3438 | ||
| 3439 | c.formFactor="Plate" | |
| 3440 | ||
| 3441 | c.Size=Vector3.new(1,.4,1) | |
| 3442 | ||
| 3443 | ms=Instance.new("CylinderMesh")
| |
| 3444 | ||
| 3445 | ms.Bevel=.1 | |
| 3446 | ||
| 3447 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 3448 | ||
| 3449 | if CRIT==true then | |
| 3450 | ||
| 3451 | ms.Scale=Vector3.new(1.25,1.5,1.25) | |
| 3452 | ||
| 3453 | ms.Bevel=.2 | |
| 3454 | ||
| 3455 | end | |
| 3456 | ||
| 3457 | ms.Parent=c | |
| 3458 | ||
| 3459 | c.Reflectance=0 | |
| 3460 | ||
| 3461 | Instance.new("BodyGyro").Parent=c
| |
| 3462 | ||
| 3463 | c.Parent=m | |
| 3464 | ||
| 3465 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 3466 | ||
| 3467 | f=Instance.new("BodyPosition")
| |
| 3468 | ||
| 3469 | f.P=2000 | |
| 3470 | ||
| 3471 | f.D=100 | |
| 3472 | ||
| 3473 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 3474 | ||
| 3475 | f.position=c.Position+Vector3.new(0,3,0) | |
| 3476 | ||
| 3477 | f.Parent=c | |
| 3478 | ||
| 3479 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 3480 | ||
| 3481 | c.CanCollide=false | |
| 3482 | ||
| 3483 | m.Parent=workspace | |
| 3484 | ||
| 3485 | c.CanCollide=false | |
| 3486 | ||
| 3487 | end | |
| 3488 | ||
| 3489 | ||
| 3490 | function ob1d(mouse) | |
| 3491 | ||
| 3492 | if attack == true then return end | |
| 3493 | ||
| 3494 | hold = true | |
| 3495 | ||
| 3496 | if combo == 0 then | |
| 3497 | ||
| 3498 | oneslash() | |
| 3499 | ||
| 3500 | coroutine.resume(coroutine.create(function() | |
| 3501 | ||
| 3502 | wait(0.5) | |
| 3503 | ||
| 3504 | if attack == false then | |
| 3505 | ||
| 3506 | combo = 0 | |
| 3507 | ||
| 3508 | for i = 0,1,0.1 do | |
| 3509 | ||
| 3510 | wait() | |
| 3511 | ||
| 3512 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5) | |
| 3513 | ||
| 3514 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i) | |
| 3515 | ||
| 3516 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0) | |
| 3517 | ||
| 3518 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i+1,0,-1*i+1) | |
| 3519 | ||
| 3520 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 3521 | ||
| 3522 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4) | |
| 3523 | ||
| 3524 | end | |
| 3525 | ||
| 3526 | wait(0.1) | |
| 3527 | ||
| 3528 | gairo.Parent = nil | |
| 3529 | ||
| 3530 | end | |
| 3531 | ||
| 3532 | end)) | |
| 3533 | ||
| 3534 | elseif combo == 1 then | |
| 3535 | ||
| 3536 | twoslash() | |
| 3537 | ||
| 3538 | coroutine.resume(coroutine.create(function() | |
| 3539 | ||
| 3540 | wait(0.5) | |
| 3541 | ||
| 3542 | if attack == false then | |
| 3543 | ||
| 3544 | combo = 0 | |
| 3545 | ||
| 3546 | for i = 0,1,0.1 do | |
| 3547 | ||
| 3548 | wait() | |
| 3549 | ||
| 3550 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i+1) * CFrame.new(0,0,-0.5) | |
| 3551 | ||
| 3552 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1.5*i-1,-0.5*i) | |
| 3553 | ||
| 3554 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i+1,0,0) | |
| 3555 | ||
| 3556 | RW.C0 = CFrame.new(0.5*i-0.5+1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1*i+1,0,1*i-1) | |
| 3557 | ||
| 3558 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 3559 | ||
| 3560 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i-1,math.rad(90)) * CFrame.new(0, -0.3*i+0.3+1, 0.5*i-0.5) | |
| 3561 | ||
| 3562 | end | |
| 3563 | ||
| 3564 | wait(0.1) | |
| 3565 | ||
| 3566 | gairo.Parent = nil | |
| 3567 | ||
| 3568 | end | |
| 3569 | ||
| 3570 | end)) | |
| 3571 | ||
| 3572 | elseif combo == 2 then | |
| 3573 | ||
| 3574 | threeslash() | |
| 3575 | ||
| 3576 | coroutine.resume(coroutine.create(function() | |
| 3577 | ||
| 3578 | wait(0.2) | |
| 3579 | ||
| 3580 | if attack == false then | |
| 3581 | ||
| 3582 | combo = 0 | |
| 3583 | ||
| 3584 | for i = 0,1,0.1 do | |
| 3585 | ||
| 3586 | wait(0) | |
| 3587 | ||
| 3588 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 3589 | ||
| 3590 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5*i,-0.5*i) | |
| 3591 | ||
| 3592 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2*i+4.07,0,0) | |
| 3593 | ||
| 3594 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i-0.5,0,0) | |
| 3595 | ||
| 3596 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 3597 | ||
| 3598 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2.7*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 3599 | ||
| 3600 | end | |
| 3601 | ||
| 3602 | wait(0.1) | |
| 3603 | ||
| 3604 | gairo.Parent = nil | |
| 3605 | ||
| 3606 | end | |
| 3607 | ||
| 3608 | end)) | |
| 3609 | ||
| 3610 | elseif combo == 3 then | |
| 3611 | ||
| 3612 | fourslash() | |
| 3613 | ||
| 3614 | coroutine.resume(coroutine.create(function() | |
| 3615 | ||
| 3616 | wait(0.2) | |
| 3617 | ||
| 3618 | if attack == false then | |
| 3619 | ||
| 3620 | combo = 0 | |
| 3621 | ||
| 3622 | for i = 0 , 1 , 0.1 do | |
| 3623 | ||
| 3624 | wait(0) | |
| 3625 | ||
| 3626 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 3627 | ||
| 3628 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5*i,-0.5*i) | |
| 3629 | ||
| 3630 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3*i+3.57,0,0) | |
| 3631 | ||
| 3632 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i-0.5,0,0) | |
| 3633 | ||
| 3634 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 3635 | ||
| 3636 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1.7*i+1.7,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 3637 | ||
| 3638 | end | |
| 3639 | ||
| 3640 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
| 3641 | ||
| 3642 | gairo.Parent = nil | |
| 3643 | ||
| 3644 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5) | |
| 3645 | ||
| 3646 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 3647 | ||
| 3648 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 3649 | ||
| 3650 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 3651 | ||
| 3652 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0) | |
| 3653 | ||
| 3654 | end | |
| 3655 | ||
| 3656 | end)) | |
| 3657 | ||
| 3658 | end | |
| 3659 | ||
| 3660 | end | |
| 3661 | ||
| 3662 | function ob1u(mouse) | |
| 3663 | ||
| 3664 | hold = false | |
| 3665 | ||
| 3666 | end | |
| 3667 | ||
| 3668 | buttonhold = false | |
| 3669 | ||
| 3670 | function key(key) | |
| 3671 | ||
| 3672 | if attack == true then return end | |
| 3673 | ||
| 3674 | if key == "q" then | |
| 3675 | ||
| 3676 | HolyWave() | |
| 3677 | ||
| 3678 | end | |
| 3679 | ||
| 3680 | if key == "z" then | |
| 3681 | ||
| 3682 | MagicBlast() | |
| 3683 | ||
| 3684 | end | |
| 3685 | ||
| 3686 | if key == "c" then | |
| 3687 | ||
| 3688 | LightOrb() | |
| 3689 | ||
| 3690 | end | |
| 3691 | ||
| 3692 | if key == "x" then | |
| 3693 | ||
| 3694 | sparklesparkle() | |
| 3695 | ||
| 3696 | end | |
| 3697 | ||
| 3698 | end | |
| 3699 | ||
| 3700 | function key2(key) | |
| 3701 | ||
| 3702 | end | |
| 3703 | ||
| 3704 | function s(mouse) | |
| 3705 | ||
| 3706 | mouse.Button1Down:connect(function() ob1d(mouse) end) | |
| 3707 | ||
| 3708 | mouse.Button1Up:connect(function() ob1u(mouse) end) | |
| 3709 | ||
| 3710 | mouse.KeyDown:connect(key) | |
| 3711 | ||
| 3712 | mouse.KeyUp:connect(key2) | |
| 3713 | ||
| 3714 | unsheathed = true | |
| 3715 | ||
| 3716 | player = Player | |
| 3717 | ||
| 3718 | ch = Character | |
| 3719 | ||
| 3720 | RSH = ch.Torso["Right Shoulder"] | |
| 3721 | ||
| 3722 | LSH = ch.Torso["Left Shoulder"] | |
| 3723 | ||
| 3724 | -- | |
| 3725 | ||
| 3726 | RSH.Parent = nil | |
| 3727 | ||
| 3728 | LSH.Parent = nil | |
| 3729 | ||
| 3730 | -- | |
| 3731 | ||
| 3732 | RW.Part0 = ch.Torso | |
| 3733 | ||
| 3734 | RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 3735 | ||
| 3736 | RW.C1 = CFrame.new(0, 0.5, 0) | |
| 3737 | ||
| 3738 | RW.Part1 = ch["Right Arm"] | |
| 3739 | ||
| 3740 | RW.Parent = ch.Torso | |
| 3741 | ||
| 3742 | --_G.R = RW | |
| 3743 | ||
| 3744 | -- | |
| 3745 | ||
| 3746 | LW.Part0 = ch.Torso | |
| 3747 | ||
| 3748 | LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 3749 | ||
| 3750 | LW.C1 = CFrame.new(0, 0.5, 0) | |
| 3751 | ||
| 3752 | LW.Part1 = ch["Left Arm"] | |
| 3753 | ||
| 3754 | LW.Parent = ch.Torso | |
| 3755 | ||
| 3756 | --_G.L = LW | |
| 3757 | ||
| 3758 | -- | |
| 3759 | ||
| 3760 | equipanim() | |
| 3761 | ||
| 3762 | end | |
| 3763 | ||
| 3764 | function ds(mouse) | |
| 3765 | ||
| 3766 | unsheathed = false | |
| 3767 | ||
| 3768 | hideanim() | |
| 3769 | ||
| 3770 | wait(0) | |
| 3771 | ||
| 3772 | RW.Parent = nil | |
| 3773 | ||
| 3774 | LW.Parent = nil | |
| 3775 | ||
| 3776 | RSH.Parent = player.Character.Torso | |
| 3777 | ||
| 3778 | LSH.Parent = player.Character.Torso | |
| 3779 | ||
| 3780 | end | |
| 3781 | ||
| 3782 | Bin.Selected:connect(s) | |
| 3783 | ||
| 3784 | Bin.Deselected:connect(ds) | |
| 3785 | ||
| 3786 | ||
| 3787 | coroutine.resume(coroutine.create(function() | |
| 3788 | ||
| 3789 | while true do | |
| 3790 | ||
| 3791 | wait(0.2) | |
| 3792 | ||
| 3793 | if unsheathed == true then | |
| 3794 | ||
| 3795 | local bawleffect = Instance.new("Part")
| |
| 3796 | ||
| 3797 | bawleffect.formFactor = 1 | |
| 3798 | ||
| 3799 | bawleffect.CanCollide = false | |
| 3800 | ||
| 3801 | bawleffect.Name = "Effect" | |
| 3802 | ||
| 3803 | bawleffect.Locked = true | |
| 3804 | ||
| 3805 | bawleffect.Size = Vector3.new(1,1,1) | |
| 3806 | ||
| 3807 | bawleffect.Parent = glaive | |
| 3808 | ||
| 3809 | bawleffect.Anchored = true | |
| 3810 | ||
| 3811 | bawleffect.BrickColor = BrickColor.new("Really red")
| |
| 3812 | ||
| 3813 | bawleffect.CFrame = part17.CFrame * CFrame.new(math.random(),math.random(),math.random()) | |
| 3814 | ||
| 3815 | local bawlmesh = Instance.new("SpecialMesh")
| |
| 3816 | ||
| 3817 | bawlmesh.Parent = bawleffect | |
| 3818 | ||
| 3819 | bawlmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
| 3820 | ||
| 3821 | bawlmesh.MeshType = "Sphere" | |
| 3822 | ||
| 3823 | coroutine.resume(coroutine.create(function() | |
| 3824 | ||
| 3825 | wait(0.2) | |
| 3826 | ||
| 3827 | for i = 0,1,0.1 do | |
| 3828 | ||
| 3829 | wait() | |
| 3830 | ||
| 3831 | bawleffect.Transparency = i | |
| 3832 | ||
| 3833 | end | |
| 3834 | ||
| 3835 | bawleffect.Parent = nil | |
| 3836 | ||
| 3837 | end)) | |
| 3838 | ||
| 3839 | local bawleffect = Instance.new("Part")
| |
| 3840 | ||
| 3841 | bawleffect.formFactor = 1 | |
| 3842 | ||
| 3843 | bawleffect.CanCollide = false | |
| 3844 | ||
| 3845 | bawleffect.Name = "Effect" | |
| 3846 | ||
| 3847 | bawleffect.Locked = true | |
| 3848 | ||
| 3849 | bawleffect.Size = Vector3.new(1,1,1) | |
| 3850 | ||
| 3851 | bawleffect.Parent = glaive | |
| 3852 | ||
| 3853 | bawleffect.Anchored = true | |
| 3854 | ||
| 3855 | bawleffect.BrickColor = BrickColor.new("Really black")
| |
| 3856 | ||
| 3857 | bawleffect.CFrame = part18.CFrame * CFrame.new(math.random(),math.random(),math.random()) | |
| 3858 | ||
| 3859 | local bawlmesh = Instance.new("SpecialMesh")
| |
| 3860 | ||
| 3861 | bawlmesh.Parent = bawleffect | |
| 3862 | ||
| 3863 | bawlmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
| 3864 | ||
| 3865 | bawlmesh.MeshType = "Sphere" | |
| 3866 | ||
| 3867 | coroutine.resume(coroutine.create(function() | |
| 3868 | ||
| 3869 | wait(0.2) | |
| 3870 | ||
| 3871 | for i = 0,1,0.1 do | |
| 3872 | ||
| 3873 | wait() | |
| 3874 | ||
| 3875 | bawleffect.Transparency = i | |
| 3876 | ||
| 3877 | end | |
| 3878 | ||
| 3879 | bawleffect.Parent = nil | |
| 3880 | ||
| 3881 | end)) | |
| 3882 | ||
| 3883 | local bawleffect = Instance.new("Part")
| |
| 3884 | ||
| 3885 | bawleffect.formFactor = 1 | |
| 3886 | ||
| 3887 | bawleffect.CanCollide = false | |
| 3888 | ||
| 3889 | bawleffect.Name = "Effect" | |
| 3890 | ||
| 3891 | bawleffect.Locked = true | |
| 3892 | ||
| 3893 | bawleffect.Size = Vector3.new(1,1,1) | |
| 3894 | ||
| 3895 | bawleffect.Parent = glaive | |
| 3896 | ||
| 3897 | bawleffect.Anchored = true | |
| 3898 | ||
| 3899 | bawleffect.BrickColor = BrickColor.new("Really black")
| |
| 3900 | ||
| 3901 | bawleffect.CFrame = part17.CFrame * CFrame.new(-math.random(),math.random(),math.random()) | |
| 3902 | ||
| 3903 | local bawlmesh = Instance.new("SpecialMesh")
| |
| 3904 | ||
| 3905 | bawlmesh.Parent = bawleffect | |
| 3906 | ||
| 3907 | bawlmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
| 3908 | ||
| 3909 | bawlmesh.MeshType = "Sphere" | |
| 3910 | ||
| 3911 | coroutine.resume(coroutine.create(function() | |
| 3912 | ||
| 3913 | wait(0.2) | |
| 3914 | ||
| 3915 | for i = 0,1,0.1 do | |
| 3916 | ||
| 3917 | wait() | |
| 3918 | ||
| 3919 | bawleffect.Transparency = i | |
| 3920 | ||
| 3921 | end | |
| 3922 | ||
| 3923 | bawleffect.Parent = nil | |
| 3924 | ||
| 3925 | end)) | |
| 3926 | ||
| 3927 | local bawleffect = Instance.new("Part")
| |
| 3928 | ||
| 3929 | bawleffect.formFactor = 1 | |
| 3930 | ||
| 3931 | bawleffect.CanCollide = false | |
| 3932 | ||
| 3933 | bawleffect.Name = "Effect" | |
| 3934 | ||
| 3935 | bawleffect.Locked = true | |
| 3936 | ||
| 3937 | bawleffect.Size = Vector3.new(1,1,1) | |
| 3938 | ||
| 3939 | bawleffect.Parent = glaive | |
| 3940 | ||
| 3941 | bawleffect.Anchored = true | |
| 3942 | ||
| 3943 | bawleffect.BrickColor = BrickColor.new("Really red")
| |
| 3944 | ||
| 3945 | bawleffect.CFrame = part18.CFrame * CFrame.new(-math.random(),math.random(),math.random()) | |
| 3946 | ||
| 3947 | local bawlmesh = Instance.new("SpecialMesh")
| |
| 3948 | ||
| 3949 | bawlmesh.Parent = bawleffect | |
| 3950 | ||
| 3951 | bawlmesh.Scale = Vector3.new(0.1,0.1,0.1) | |
| 3952 | ||
| 3953 | bawlmesh.MeshType = "Sphere" | |
| 3954 | ||
| 3955 | coroutine.resume(coroutine.create(function() | |
| 3956 | ||
| 3957 | wait(0.2) | |
| 3958 | ||
| 3959 | for i = 0,1,0.1 do | |
| 3960 | ||
| 3961 | wait() | |
| 3962 | ||
| 3963 | bawleffect.Transparency = i | |
| 3964 | ||
| 3965 | end | |
| 3966 | ||
| 3967 | bawleffect.Parent = nil | |
| 3968 | ||
| 3969 | end)) | |
| 3970 | ||
| 3971 | end | |
| 3972 | ||
| 3973 | --pie | |
| 3974 | ||
| 3975 | end | |
| 3976 | ||
| 3977 | end)) |