TheProNoob2004

Epic Dragon

Jun 24th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.70 KB | None | 0 0
  1. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.  
  3.  
  4.  
  5. pcall(function ()
  6.  
  7. for i,v in pairs(script:GetChildren()) do
  8.  
  9. if v:IsA('StringValue') then
  10.  
  11. v.Value = ''
  12.  
  13. v:Destroy()
  14.  
  15. end
  16.  
  17. end
  18.  
  19. end)
  20.  
  21. script.Parent = nil
  22.  
  23.  
  24.  
  25. local _ = game.Players.LocalPlayer
  26.  
  27. local dawn = false
  28.  
  29. local up = true
  30.  
  31. local fromup = 1
  32.  
  33. local fire = false
  34.  
  35. local ice = false
  36.  
  37. local heal = false
  38.  
  39. local col1 = BrickColor.new("Bright red")
  40.  
  41. local col2 = BrickColor.new("Gold")
  42.  
  43.  
  44.  
  45. repeat wait() until _ ~= nil
  46.  
  47.  
  48.  
  49. local mouse = _:GetMouse()
  50.  
  51.  
  52.  
  53. local BlackMagic = Instance.new("Model", workspace)
  54.  
  55. BlackMagic.Name = ""
  56.  
  57.  
  58.  
  59. length = 3
  60.  
  61.  
  62.  
  63. away = 2
  64.  
  65.  
  66.  
  67. gap = 0
  68.  
  69.  
  70.  
  71. segs = 40
  72.  
  73.  
  74.  
  75. distance = length/3
  76.  
  77.  
  78.  
  79. speed = 1
  80.  
  81.  
  82.  
  83. Wave = 0
  84.  
  85.  
  86.  
  87. part1 = Instance.new("Part")
  88.  
  89. part1.BrickColor = BrickColor.Green()
  90.  
  91. part1.Transparency = 0
  92.  
  93. part1.Locked = true
  94.  
  95. part1.Size = Vector3.new(1,1,1)
  96.  
  97. part1.Anchored = true
  98.  
  99. part1.CanCollide = true
  100.  
  101. part1.Parent = nil
  102.  
  103. part1.Name = "Part1"
  104.  
  105. part1.TopSurface = "Smooth"
  106.  
  107. part1.BottomSurface = "Smooth"
  108.  
  109.  
  110.  
  111. local Tail = {}
  112.  
  113.  
  114.  
  115. local Tail2 = {}
  116.  
  117.  
  118.  
  119. local part0 = Instance.new("Part")
  120.  
  121.  
  122.  
  123. part0.BrickColor = col1
  124.  
  125.  
  126.  
  127. part0.TopSurface = 0
  128.  
  129.  
  130.  
  131. part0.BottomSurface = 0
  132.  
  133.  
  134.  
  135. part0.Locked = true
  136.  
  137.  
  138.  
  139. part0.FormFactor = "Symmetric"
  140.  
  141.  
  142.  
  143. part0.Size = Vector3.new(3,3,4)
  144.  
  145.  
  146.  
  147. part0.Anchored = true
  148.  
  149.  
  150.  
  151. part0.Shape = 1
  152.  
  153.  
  154.  
  155. part0.CanCollide = true
  156.  
  157.  
  158.  
  159. part0.Parent = nil
  160.  
  161.  
  162.  
  163. part0.Name = "Part0"
  164.  
  165.  
  166.  
  167. local A = Instance.new("SpecialMesh")
  168.  
  169.  
  170.  
  171. A.MeshType = "Brick"
  172.  
  173.  
  174.  
  175. A.Parent = part0
  176.  
  177.  
  178.  
  179. A.Name = "Mesh"
  180.  
  181.  
  182.  
  183. A.Scale = Vector3.new(1.1, 1.1, 1.1)
  184.  
  185.  
  186.  
  187. local part1 = Instance.new("Part")
  188.  
  189.  
  190.  
  191. part1.BrickColor = col2
  192.  
  193.  
  194.  
  195. part1.TopSurface = 0
  196.  
  197.  
  198.  
  199. part1.BottomSurface = 0
  200.  
  201.  
  202.  
  203. part1.Locked = true
  204.  
  205.  
  206.  
  207. part1.FormFactor = "Symmetric"
  208.  
  209.  
  210.  
  211. part1.Size = Vector3.new(1,2,1)
  212.  
  213.  
  214.  
  215. part1.Anchored = true
  216.  
  217.  
  218.  
  219. part1.Shape = 1
  220.  
  221.  
  222.  
  223. part1.CanCollide = true
  224.  
  225.  
  226.  
  227. part1.Parent = nil
  228.  
  229.  
  230.  
  231. part1.Name = "Part1"
  232.  
  233.  
  234.  
  235. local A2 = Instance.new("SpecialMesh")
  236.  
  237.  
  238.  
  239. A2.MeshId = "http://www.roblox.com/asset/?id=19326912"
  240.  
  241.  
  242.  
  243. A2.Parent = part1
  244.  
  245.  
  246.  
  247. A2.Scale = Vector3.new(3,1,1)
  248.  
  249.  
  250.  
  251. A2.Name = "Mesh"
  252.  
  253.  
  254.  
  255. for p = 1,segs do
  256.  
  257.  
  258.  
  259. Tail[p] = part0:Clone()
  260.  
  261.  
  262.  
  263. Tail[p].Parent = nil
  264.  
  265.  
  266.  
  267. Tail[p].Name = "Part"..p
  268.  
  269.  
  270.  
  271. Tail[p].CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  272.  
  273.  
  274.  
  275. Tail[p].Mesh.Scale = Vector3.new(1.1 - (p/1000), 1.4 - (p/1000), 1.1 - (p/1000))
  276.  
  277.  
  278.  
  279. Tail2[p] = part1:Clone()
  280.  
  281.  
  282.  
  283. Tail2[p].Size = Vector3.new(1,2,1)
  284.  
  285.  
  286.  
  287. Tail2[p].BrickColor = col2
  288.  
  289.  
  290.  
  291. Tail2[p].Parent = nil
  292.  
  293.  
  294.  
  295. Tail2[p].Name = "Limb"..p
  296.  
  297.  
  298.  
  299. Tail2[p].CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  300.  
  301.  
  302.  
  303. end
  304.  
  305.  
  306.  
  307. for z=26,28 do
  308.  
  309. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.1,0.1,0.1)
  310.  
  311. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(0.5,0.1,0.1)
  312.  
  313. end
  314.  
  315.  
  316.  
  317. for z=29,31 do
  318.  
  319. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.2,0.2,0.2)
  320.  
  321. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(1,0.2,0.2)
  322.  
  323. end
  324.  
  325.  
  326.  
  327. for z=32,34 do
  328.  
  329. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.3,0.3,0.3)
  330.  
  331. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(1.5,0.3,0.3)
  332.  
  333.  
  334.  
  335. end
  336.  
  337.  
  338.  
  339. for z=35,37 do
  340.  
  341. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.4,0.4,0.4)
  342.  
  343. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(2,0.4,0.4)
  344.  
  345.  
  346.  
  347. end
  348.  
  349.  
  350.  
  351. for z=38,40 do
  352.  
  353. Tail[z].Mesh.Scale = Tail[z].Mesh.Scale - Vector3.new(0.5,0.5,0.5)
  354.  
  355. Tail2[z].Mesh.Scale = Tail2[z].Mesh.Scale - Vector3.new(2.5,0.5,0.5)
  356.  
  357.  
  358.  
  359. end
  360.  
  361.  
  362.  
  363. limb6 = part1:clone()
  364.  
  365. limb6.Size = Vector3.new(1,1,1)
  366.  
  367. limb6.BrickColor = col2
  368.  
  369. limb6.Name = "Head4"
  370.  
  371. limb6.Mesh.Scale = Vector3.new(3,4,4)
  372.  
  373.  
  374.  
  375. limb7 = part0:clone()
  376.  
  377. limb7.Size = Vector3.new(1,2,3)
  378.  
  379. limb7.BrickColor = col1
  380.  
  381. limb7.Name = "Head3"
  382.  
  383. limb7.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  384.  
  385.  
  386.  
  387. limb8 = part0:clone()
  388.  
  389. limb8.Size = Vector3.new(1,1,4)
  390.  
  391. limb8.BrickColor = col2
  392.  
  393. limb8.Name = "horn1"
  394.  
  395. limb8.Mesh.Scale = Vector3.new(3.5,3.5,3.5)
  396.  
  397. limb8.Mesh.MeshType = 'FileMesh'
  398.  
  399. limb8.Mesh.MeshId = 'http://www.roblox.com/asset/?id=20518365'
  400.  
  401.  
  402.  
  403. limb9 = part0:clone()
  404.  
  405. limb9.Size = Vector3.new(1,1,4)
  406.  
  407. limb9.BrickColor = col2
  408.  
  409. limb9.Name = "horn2"
  410.  
  411. limb9.Mesh.Scale = Vector3.new(3.5,3.5,3.5)
  412.  
  413. limb9.Mesh.MeshType = 'FileMesh'
  414.  
  415. limb9.Mesh.MeshId = 'http://www.roblox.com/asset/?id=20518365'
  416.  
  417.  
  418.  
  419. limb10 = part0:clone()
  420.  
  421. limb10.Size = Vector3.new(2,2,5)
  422.  
  423. limb10.BrickColor = col1
  424.  
  425. limb10.Name = "Head2"
  426.  
  427. limb10.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  428.  
  429.  
  430.  
  431. limb11 = part0:clone()
  432.  
  433. limb11.Size = Vector3.new(1,2,1)
  434.  
  435. limb11.BrickColor = col1
  436.  
  437. limb11.Name = "Leg1"
  438.  
  439. limb11.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  440.  
  441.  
  442.  
  443. limb12 = part0:clone()
  444.  
  445. limb12.Size = Vector3.new(1,2,1)
  446.  
  447. limb12.BrickColor = col1
  448.  
  449. limb12.Name = "Leg2"
  450.  
  451. limb12.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  452.  
  453.  
  454.  
  455. limb13 = part0:clone()
  456.  
  457. limb13.Size = Vector3.new(1,2,1)
  458.  
  459. limb13.BrickColor = col1
  460.  
  461. limb13.Name = "Leg3"
  462.  
  463. limb13.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  464.  
  465.  
  466.  
  467. limb14 = part0:clone()
  468.  
  469. limb14.Size = Vector3.new(1,2,1)
  470.  
  471. limb14.BrickColor = col1
  472.  
  473. limb14.Name = "Leg4"
  474.  
  475. limb14.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  476.  
  477.  
  478.  
  479. limb15 = part0:clone()
  480.  
  481. limb15.Size = Vector3.new(1,2,1)
  482.  
  483. limb15.BrickColor = col1
  484.  
  485. limb15.Name = "Leg5"
  486.  
  487. limb15.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  488.  
  489.  
  490.  
  491. limb16 = part0:clone()
  492.  
  493. limb16.Size = Vector3.new(1,2,1)
  494.  
  495. limb16.BrickColor = col1
  496.  
  497. limb16.Name = "Leg6"
  498.  
  499. limb16.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  500.  
  501.  
  502.  
  503. limb17 = part0:clone()
  504.  
  505. limb17.Size = Vector3.new(1,2,1)
  506.  
  507. limb17.BrickColor = col1
  508.  
  509. limb17.Name = "Leg7"
  510.  
  511. limb17.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  512.  
  513.  
  514.  
  515. limb18 = part0:clone()
  516.  
  517. limb18.Size = Vector3.new(1,2,1)
  518.  
  519. limb18.BrickColor = col1
  520.  
  521. limb18.Name = "Leg8"
  522.  
  523. limb18.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  524.  
  525.  
  526.  
  527. limb41 = part0:clone()
  528.  
  529. limb41.Size = Vector3.new(1,1,1)
  530.  
  531. limb41.BrickColor = col2
  532.  
  533. limb41.Name = "TailEnd"
  534.  
  535. limb41.Mesh.Scale = Vector3.new(1.5,4,1.5)
  536.  
  537. limb41.Mesh.MeshType = "FileMesh"
  538.  
  539. limb41.Mesh.MeshId = "http://www.roblox.com/asset/?id=25212400"
  540.  
  541.  
  542.  
  543. local main = part0:Clone()
  544.  
  545. main.Name = "Head"
  546.  
  547. main.Size = Vector3.new(3, 4, 4)
  548.  
  549. main.Transparency = 0
  550.  
  551. main.Anchored = true
  552.  
  553. main.BrickColor = col1
  554.  
  555. main.TopSurface = 0
  556.  
  557. main.BottomSurface = 0
  558.  
  559.  
  560.  
  561. pos = Instance.new("BodyVelocity", main)
  562.  
  563. stay = Instance.new("BodyGyro", main)
  564.  
  565. pos.maxForce = Vector3.new(100000,100000,100000)
  566.  
  567. stay.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  568.  
  569. stay.cframe = CFrame.new(0,0,0)
  570.  
  571.  
  572.  
  573. function onButton1Down(mouse)
  574.  
  575. local player = game.Players.LocalPlayer
  576.  
  577. if player == nil then return end
  578.  
  579. if player ~= nil then
  580.  
  581. player.Parent = nil
  582.  
  583. end
  584.  
  585.  
  586.  
  587. print("trigger")
  588.  
  589.  
  590.  
  591. if main.Parent ~= BlackMagic then
  592.  
  593.  
  594.  
  595. main.Parent = BlackMagic
  596.  
  597. limb6.Parent = BlackMagic
  598.  
  599. limb7.Parent = BlackMagic
  600.  
  601. limb8.Parent = BlackMagic
  602.  
  603. limb9.Parent = BlackMagic
  604.  
  605. limb10.Parent = BlackMagic
  606.  
  607. limb11.Parent = BlackMagic
  608.  
  609. limb12.Parent = BlackMagic
  610.  
  611. limb13.Parent = BlackMagic
  612.  
  613. limb14.Parent = BlackMagic
  614.  
  615. limb15.Parent = BlackMagic
  616.  
  617. limb16.Parent = BlackMagic
  618.  
  619. limb17.Parent = BlackMagic
  620.  
  621. limb18.Parent = BlackMagic
  622.  
  623. limb41.Parent = BlackMagic
  624.  
  625. end
  626.  
  627.  
  628.  
  629. -- find the best cf
  630.  
  631. me = BlackMagic
  632.  
  633.  
  634.  
  635. workspace.CurrentCamera.CameraSubject = main
  636.  
  637. workspace.CurrentCamera.CameraType = "Track"
  638.  
  639.  
  640.  
  641. for p = 1,segs do
  642.  
  643.  
  644.  
  645. Tail[p].Parent = me
  646.  
  647.  
  648.  
  649. Tail2[p].Parent = me
  650.  
  651.  
  652.  
  653. end
  654.  
  655.  
  656.  
  657.  
  658.  
  659. part1 = Tail[1]
  660.  
  661.  
  662.  
  663.  
  664.  
  665. follow = true
  666.  
  667.  
  668.  
  669. while follow do
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677. Wave = Wave + 0.02
  678.  
  679.  
  680.  
  681. distance = length/3
  682.  
  683.  
  684.  
  685. mousehit = mouse.Hit.p
  686.  
  687.  
  688.  
  689. if (main.Position - mousehit).magnitude >speed then
  690.  
  691.  
  692.  
  693. main_mousehit = (main.Position - mousehit).unit*speed
  694.  
  695.  
  696.  
  697. else
  698.  
  699.  
  700.  
  701. main_mousehit = (main.Position - mousehit).unit*1
  702.  
  703.  
  704.  
  705. end
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713. start1 = main.Position-main_mousehit
  714.  
  715.  
  716.  
  717. main.CFrame = CFrame.new(start1.x, start1.y, start1.z)
  718.  
  719.  
  720.  
  721. p1pos = part1.Position
  722.  
  723.  
  724.  
  725. start1_p1pos = (start1 - p1pos).unit
  726.  
  727.  
  728.  
  729. spreadp1 = start1_p1pos*(distance+away)
  730.  
  731.  
  732.  
  733. part1.CFrame = CFrame.new(start1-spreadp1, start1)
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741. main.CFrame=Tail[1].CFrame*CFrame.new(0,0.5,-4)*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749. Wave = Wave + 0.02
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757. pc = main.CFrame
  758.  
  759.  
  760.  
  761. starti = main.Position-(pc.lookVector*distance)
  762.  
  763.  
  764.  
  765. pipos = Tail[1].Position
  766.  
  767.  
  768.  
  769. starti_pipos = (starti - pipos).unit
  770.  
  771.  
  772.  
  773. spreadpi = starti_pipos*(distance+gap)
  774.  
  775.  
  776.  
  777. Tail[1].CFrame = CFrame.new(starti-spreadpi, starti) + (part0.CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6)/4
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785. --[[
  786.  
  787.  
  788.  
  789. for i = 1,39 do
  790.  
  791.  
  792.  
  793. wait()
  794.  
  795.  
  796.  
  797. print("p2c = Tail["..i.."].CFrame\
  798.  
  799.  
  800.  
  801. start3 = Tail["..i.."].Position-(p2c.lookVector*distance)\
  802.  
  803.  
  804.  
  805. p3pos = Tail["..(i+1).."].Position\
  806.  
  807.  
  808.  
  809. start3_p3pos = (start3 - p3pos).unit\
  810.  
  811.  
  812.  
  813. spreadp3 = start3_p3pos*(distance+gap)\
  814.  
  815.  
  816.  
  817. Tail["..(i+1).."].CFrame = CFrame.new(start3-spreadp3, start3 - Vector3.new(0,math.sin(Wave*6+"..((i-1)/100)..")/4,0) ) + Vector3.new(0,math.sin(Wave*6+"..((i)/100)..")/4,0)\
  818.  
  819.  
  820.  
  821. " )
  822.  
  823.  
  824.  
  825. end
  826.  
  827.  
  828.  
  829. ]]
  830.  
  831.  
  832.  
  833. p2c = Tail[1].CFrame start3 = Tail[1].Position-(p2c.lookVector*distance) p3pos = Tail[2].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[2].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[1].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0)/4 ) + (Tail[2].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.01)/4
  834.  
  835.  
  836.  
  837. p2c = Tail[2].CFrame start3 = Tail[2].Position-(p2c.lookVector*distance) p3pos = Tail[3].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[3].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[2].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.01)/4 ) + (Tail[3].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.02)/4
  838.  
  839.  
  840.  
  841. p2c = Tail[3].CFrame start3 = Tail[3].Position-(p2c.lookVector*distance) p3pos = Tail[4].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[4].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[3].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.02)/4 ) + (Tail[4].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.03)/4
  842.  
  843.  
  844.  
  845. p2c = Tail[4].CFrame start3 = Tail[4].Position-(p2c.lookVector*distance) p3pos = Tail[5].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[5].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[4].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.03)/4 ) + (Tail[5].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.04)/4
  846.  
  847.  
  848.  
  849. p2c = Tail[5].CFrame start3 = Tail[5].Position-(p2c.lookVector*distance) p3pos = Tail[6].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[6].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[5].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.04)/4 ) + (Tail[6].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.05)/4
  850.  
  851.  
  852.  
  853. p2c = Tail[6].CFrame start3 = Tail[6].Position-(p2c.lookVector*distance) p3pos = Tail[7].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[7].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[6].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.05)/4 ) + (Tail[7].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.06)/4
  854.  
  855.  
  856.  
  857. p2c = Tail[7].CFrame start3 = Tail[7].Position-(p2c.lookVector*distance) p3pos = Tail[8].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[8].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[7].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.06)/4 ) + (Tail[8].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.07)/4
  858.  
  859.  
  860.  
  861. p2c = Tail[8].CFrame start3 = Tail[8].Position-(p2c.lookVector*distance) p3pos = Tail[9].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[9].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[8].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.07)/4 ) + (Tail[9].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.08)/4
  862.  
  863.  
  864.  
  865. p2c = Tail[9].CFrame start3 = Tail[9].Position-(p2c.lookVector*distance) p3pos = Tail[10].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[10].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[9].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.08)/4 ) + (Tail[10].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.09)/4
  866.  
  867.  
  868.  
  869. p2c = Tail[10].CFrame start3 = Tail[10].Position-(p2c.lookVector*distance) p3pos = Tail[11].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[11].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[10].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.09)/4 ) + (Tail[11].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.1)/4
  870.  
  871.  
  872.  
  873. p2c = Tail[11].CFrame start3 = Tail[11].Position-(p2c.lookVector*distance) p3pos = Tail[12].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[12].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[11].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.1)/4 ) + (Tail[12].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.11)/4
  874.  
  875.  
  876.  
  877. p2c = Tail[12].CFrame start3 = Tail[12].Position-(p2c.lookVector*distance) p3pos = Tail[13].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[13].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[12].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.11)/4 ) + (Tail[13].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.12)/4
  878.  
  879.  
  880.  
  881. p2c = Tail[13].CFrame start3 = Tail[13].Position-(p2c.lookVector*distance) p3pos = Tail[14].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[14].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[13].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.12)/4 ) + (Tail[14].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.13)/4
  882.  
  883.  
  884.  
  885. p2c = Tail[14].CFrame start3 = Tail[14].Position-(p2c.lookVector*distance) p3pos = Tail[15].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[15].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[14].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.13)/4 ) + (Tail[15].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.14)/4
  886.  
  887.  
  888.  
  889. p2c = Tail[15].CFrame start3 = Tail[15].Position-(p2c.lookVector*distance) p3pos = Tail[16].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[16].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[15].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.14)/4 ) + (Tail[16].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.15)/4
  890.  
  891.  
  892.  
  893. p2c = Tail[16].CFrame start3 = Tail[16].Position-(p2c.lookVector*distance) p3pos = Tail[17].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[17].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[16].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.15)/4 ) + (Tail[17].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.16)/4
  894.  
  895.  
  896.  
  897. p2c = Tail[17].CFrame start3 = Tail[17].Position-(p2c.lookVector*distance) p3pos = Tail[18].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[18].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[17].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.16)/4 ) + (Tail[18].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.17)/4
  898.  
  899.  
  900.  
  901. p2c = Tail[18].CFrame start3 = Tail[18].Position-(p2c.lookVector*distance) p3pos = Tail[19].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[19].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[18].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.17)/4 ) + (Tail[19].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.18)/4
  902.  
  903.  
  904.  
  905. p2c = Tail[19].CFrame start3 = Tail[19].Position-(p2c.lookVector*distance) p3pos = Tail[20].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[20].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[19].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.18)/4 ) + (Tail[20].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.19)/4
  906.  
  907.  
  908.  
  909. p2c = Tail[20].CFrame start3 = Tail[20].Position-(p2c.lookVector*distance) p3pos = Tail[21].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[21].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[20].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.19)/4 ) + (Tail[21].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.2)/4
  910.  
  911.  
  912.  
  913. p2c = Tail[21].CFrame start3 = Tail[21].Position-(p2c.lookVector*distance) p3pos = Tail[22].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[22].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[21].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.2)/4 ) + (Tail[22].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.21)/4
  914.  
  915.  
  916.  
  917. p2c = Tail[22].CFrame start3 = Tail[22].Position-(p2c.lookVector*distance) p3pos = Tail[23].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[23].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[22].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.21)/4 ) + (Tail[23].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.22)/4
  918.  
  919.  
  920.  
  921. p2c = Tail[23].CFrame start3 = Tail[23].Position-(p2c.lookVector*distance) p3pos = Tail[24].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[24].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[23].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.22)/4 ) + (Tail[24].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.23)/4
  922.  
  923.  
  924.  
  925. p2c = Tail[24].CFrame start3 = Tail[24].Position-(p2c.lookVector*distance) p3pos = Tail[25].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[25].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[24].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.23)/4 ) + (Tail[25].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.24)/4
  926.  
  927.  
  928.  
  929. p2c = Tail[25].CFrame start3 = Tail[25].Position-(p2c.lookVector*distance) p3pos = Tail[26].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[26].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[25].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.24)/4 ) + (Tail[26].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.25)/4
  930.  
  931.  
  932.  
  933. p2c = Tail[26].CFrame start3 = Tail[26].Position-(p2c.lookVector*distance) p3pos = Tail[27].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[27].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[26].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.25)/4 ) + (Tail[27].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.26)/4
  934.  
  935.  
  936.  
  937. p2c = Tail[27].CFrame start3 = Tail[27].Position-(p2c.lookVector*distance) p3pos = Tail[28].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[28].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[27].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.26)/4 ) + (Tail[28].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.27)/4
  938.  
  939.  
  940.  
  941. p2c = Tail[28].CFrame start3 = Tail[28].Position-(p2c.lookVector*distance) p3pos = Tail[29].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[29].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[28].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.27)/4 ) + (Tail[29].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.28)/4
  942.  
  943.  
  944.  
  945. p2c = Tail[29].CFrame start3 = Tail[29].Position-(p2c.lookVector*distance) p3pos = Tail[30].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[30].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[29].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.28)/4 ) + (Tail[30].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.29)/4
  946.  
  947.  
  948.  
  949. p2c = Tail[30].CFrame start3 = Tail[30].Position-(p2c.lookVector*distance) p3pos = Tail[31].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[31].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[30].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.29)/4 ) + (Tail[31].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.3)/4
  950.  
  951.  
  952.  
  953. p2c = Tail[31].CFrame start3 = Tail[31].Position-(p2c.lookVector*distance) p3pos = Tail[32].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[32].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[31].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.3)/4 ) + (Tail[32].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.31)/4
  954.  
  955.  
  956.  
  957. p2c = Tail[32].CFrame start3 = Tail[32].Position-(p2c.lookVector*distance) p3pos = Tail[33].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[33].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[32].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.31)/4 ) + (Tail[33].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.32)/4
  958.  
  959.  
  960.  
  961. p2c = Tail[33].CFrame start3 = Tail[33].Position-(p2c.lookVector*distance) p3pos = Tail[34].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[34].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[33].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.32)/4 ) + (Tail[34].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.33)/4
  962.  
  963.  
  964.  
  965. p2c = Tail[34].CFrame start3 = Tail[34].Position-(p2c.lookVector*distance) p3pos = Tail[35].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[35].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[34].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.33)/4 ) + (Tail[35].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.34)/4
  966.  
  967.  
  968.  
  969. p2c = Tail[35].CFrame start3 = Tail[35].Position-(p2c.lookVector*distance) p3pos = Tail[36].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[36].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[35].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.34)/4 ) + (Tail[36].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.35)/4
  970.  
  971.  
  972.  
  973. p2c = Tail[36].CFrame start3 = Tail[36].Position-(p2c.lookVector*distance) p3pos = Tail[37].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[37].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[36].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.35)/4 ) + (Tail[37].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.36)/4
  974.  
  975.  
  976.  
  977. p2c = Tail[37].CFrame start3 = Tail[37].Position-(p2c.lookVector*distance) p3pos = Tail[38].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[38].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[37].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.36)/4 ) + (Tail[38].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.37)/4
  978.  
  979.  
  980.  
  981. p2c = Tail[38].CFrame start3 = Tail[38].Position-(p2c.lookVector*distance) p3pos = Tail[39].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[39].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[38].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.37)/4 ) + (Tail[39].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.38)/4
  982.  
  983.  
  984.  
  985. p2c = Tail[39].CFrame start3 = Tail[39].Position-(p2c.lookVector*distance) p3pos = Tail[40].Position start3_p3pos = (start3 - p3pos).unit spreadp3 = start3_p3pos*(distance+gap) Tail[40].CFrame = CFrame.new(start3-spreadp3, start3 - (Tail[39].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.38)/4 ) + (Tail[40].CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector * math.sin(Wave*6+0.39)/4
  986.  
  987.  
  988.  
  989. for i=1,40 do
  990.  
  991. Tail2[i].CFrame = Tail[i].CFrame * CFrame.new(0,2,0) *CFrame.Angles(-3.8,-1.5,2)
  992.  
  993. end
  994.  
  995.  
  996.  
  997. limb8.CFrame = main.CFrame * CFrame.new(-1,1.5,4)
  998.  
  999. limb9.CFrame = limb8.CFrame * CFrame.new(2,0,0)
  1000.  
  1001.  
  1002.  
  1003. limb10.CFrame = main.CFrame - Vector3.new(0,2,0)
  1004.  
  1005. limb10.CFrame = limb10.CFrame * CFrame.Angles(-0.25,0,0)
  1006.  
  1007.  
  1008.  
  1009. limb6.CFrame = main.CFrame * CFrame.new(0,-1.5,0)
  1010.  
  1011. limb6.CFrame = limb6.CFrame*CFrame.Angles(2,0,0)
  1012.  
  1013.  
  1014.  
  1015. limb7.CFrame = limb10.CFrame * CFrame.new(0,1.5,-1)
  1016.  
  1017. limb41.CFrame = (Tail[40].CFrame * CFrame.new(0,0,5))* CFrame.Angles(math.rad(90),0,0)
  1018.  
  1019.  
  1020.  
  1021. back2 = Tail[10].CFrame
  1022.  
  1023.  
  1024.  
  1025. limb11.CFrame = back2 * CFrame.new(1,-2,0) * CFrame.Angles(2.5,0,0)
  1026.  
  1027. limb12.CFrame = back2 * CFrame.new(-1,-2,0) * CFrame.Angles(2.5,0,0)
  1028.  
  1029. limb13.CFrame = limb11.CFrame * CFrame.new(0,1.5 ,0.8) * CFrame.Angles(-2.2,0,0)
  1030.  
  1031. limb14.CFrame = limb12.CFrame * CFrame.new(0,1.5 ,0.8) * CFrame.Angles(-2.2,0,0)
  1032.  
  1033.  
  1034.  
  1035. back3 = Tail[25].CFrame
  1036.  
  1037.  
  1038.  
  1039. limb15.CFrame = back3 * CFrame.new(1,-2,0) * CFrame.Angles(-2.5,0,0)
  1040.  
  1041. limb16.CFrame = back3 * CFrame.new(-1,-2,0) * CFrame.Angles(-2.5,0,0)
  1042.  
  1043. limb17.CFrame = limb15.CFrame * CFrame.new(0,0.8 ,-0.8) * CFrame.Angles(-1.5,0,0)
  1044.  
  1045. limb18.CFrame = limb16.CFrame * CFrame.new(0,0.8 ,-0.8) * CFrame.Angles(-1.5,0,0)
  1046.  
  1047.  
  1048.  
  1049. wait()
  1050.  
  1051.  
  1052.  
  1053. end
  1054.  
  1055.  
  1056.  
  1057. end
  1058.  
  1059.  
  1060.  
  1061. function onButton1Up(mouse)
  1062.  
  1063. follow = false
  1064.  
  1065. end
  1066.  
  1067.  
  1068.  
  1069. function chat()
  1070.  
  1071. ChatColor = "Green"
  1072.  
  1073. if main ~= nil then
  1074.  
  1075. _.Chatted:connect(function(Message)game:GetService("Chat"):Chat(workspace:findFirstChild("").Head,Message,Enum.ChatColor[ChatColor]) end)
  1076.  
  1077. end
  1078.  
  1079. end
  1080.  
  1081. chat()
  1082.  
  1083.  
  1084.  
  1085. function keys(key)
  1086.  
  1087. key:lower()
  1088.  
  1089. if key == "f" then
  1090.  
  1091. if fire == false then
  1092.  
  1093. fire = true
  1094.  
  1095. end
  1096.  
  1097. elseif key == "g" then
  1098.  
  1099. if ice == false then
  1100.  
  1101. ice = true
  1102.  
  1103. end
  1104.  
  1105. elseif key == "h" then
  1106.  
  1107. if heal == false then
  1108.  
  1109. heal = true
  1110.  
  1111. end
  1112.  
  1113. elseif key == "r" then
  1114.  
  1115.  
  1116.  
  1117. BlackMagic.Parent = workspace
  1118.  
  1119. BlackMagic:MakeJoints()
  1120.  
  1121.  
  1122.  
  1123. repeat wait() until BlackMagic ~= nil
  1124.  
  1125.  
  1126.  
  1127. BlackMagic.Parent = workspace
  1128.  
  1129. BlackMagic:MakeJoints()
  1130.  
  1131. main.Parent = BlackMagic
  1132.  
  1133. limb6.Parent = BlackMagic
  1134.  
  1135. limb7.Parent = BlackMagic
  1136.  
  1137. limb8.Parent = BlackMagic
  1138.  
  1139. limb9.Parent = BlackMagic
  1140.  
  1141. limb10.Parent = BlackMagic
  1142.  
  1143. limb11.Parent = BlackMagic
  1144.  
  1145. limb12.Parent = BlackMagic
  1146.  
  1147. limb13.Parent = BlackMagic
  1148.  
  1149. limb14.Parent = BlackMagic
  1150.  
  1151. limb15.Parent = BlackMagic
  1152.  
  1153. limb16.Parent = BlackMagic
  1154.  
  1155. limb17.Parent = BlackMagic
  1156.  
  1157. limb18.Parent = BlackMagic
  1158.  
  1159. limb41.Parent = BlackMagic
  1160.  
  1161. for i=1,40 do
  1162.  
  1163. Tail[i].Parent = BlackMagic
  1164.  
  1165. Tail2[i].Parent = BlackMagic
  1166.  
  1167. end
  1168.  
  1169. main.Anchored = true
  1170.  
  1171. limb6.Anchored = true
  1172.  
  1173. limb7.Anchored = true
  1174.  
  1175. limb8.Anchored = true
  1176.  
  1177. limb9.Anchored = true
  1178.  
  1179. limb10.Anchored = true
  1180.  
  1181. limb11.Anchored = true
  1182.  
  1183. limb12.Anchored = true
  1184.  
  1185. limb13.Anchored = true
  1186.  
  1187. limb14.Anchored = true
  1188.  
  1189. limb15.Anchored = true
  1190.  
  1191. limb16.Anchored = true
  1192.  
  1193. limb17.Anchored = true
  1194.  
  1195. limb18.Anchored = true
  1196.  
  1197. limb41.Anchored = true
  1198.  
  1199. for i=1,40 do
  1200.  
  1201. Tail[i].Anchored = true
  1202.  
  1203. Tail2[i].Anchored = true
  1204.  
  1205. end
  1206.  
  1207. main.Transparency = 0
  1208.  
  1209. limb6.Transparency = 0
  1210.  
  1211. limb7.Transparency = 0
  1212.  
  1213. limb8.Transparency = 0
  1214.  
  1215. limb9.Transparency = 0
  1216.  
  1217. limb10.Transparency = 0
  1218.  
  1219. limb11.Transparency = 0
  1220.  
  1221. limb12.Transparency = 0
  1222.  
  1223. limb13.Transparency = 0
  1224.  
  1225. limb14.Transparency = 0
  1226.  
  1227. limb15.Transparency = 0
  1228.  
  1229. limb16.Transparency = 0
  1230.  
  1231. limb17.Transparency = 0
  1232.  
  1233. limb18.Transparency = 0
  1234.  
  1235. limb41.Transparency = 0
  1236.  
  1237. for i=1,40 do
  1238.  
  1239. Tail[i].Transparency = 0
  1240.  
  1241. Tail2[i].Transparency = 0
  1242.  
  1243. end
  1244.  
  1245. main.BrickColor = col1
  1246.  
  1247. limb6.BrickColor = col2
  1248.  
  1249. limb7.BrickColor = col1
  1250.  
  1251. limb8.BrickColor = col2
  1252.  
  1253. limb9.BrickColor = col2
  1254.  
  1255. limb10.BrickColor = col1
  1256.  
  1257. limb11.BrickColor = col1
  1258.  
  1259. limb12.BrickColor = col1
  1260.  
  1261. limb13.BrickColor = col1
  1262.  
  1263. limb14.BrickColor = col1
  1264.  
  1265. limb15.BrickColor = col1
  1266.  
  1267. limb16.BrickColor = col1
  1268.  
  1269. limb17.BrickColor = col1
  1270.  
  1271. limb18.BrickColor = col1
  1272.  
  1273. limb41.BrickColor = col2
  1274.  
  1275. for i=1,40 do
  1276.  
  1277. Tail[i].BrickColor = col1
  1278.  
  1279. Tail2[i].BrickColor = col2
  1280.  
  1281. end
  1282.  
  1283. BlackMagic:MakeJoints()
  1284.  
  1285. chat()
  1286.  
  1287. end
  1288.  
  1289. end
  1290.  
  1291.  
  1292.  
  1293. function keyss()
  1294.  
  1295. if fire == true then
  1296.  
  1297. fire = false
  1298.  
  1299. end
  1300.  
  1301. if ice == true then
  1302.  
  1303. ice = false
  1304.  
  1305. end
  1306.  
  1307. if heal == true then
  1308.  
  1309. heal = false
  1310.  
  1311. end
  1312.  
  1313. end
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1320.  
  1321. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1322.  
  1323. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  1324.  
  1325. mouse.KeyDown:connect(keys)
  1326.  
  1327. mouse.KeyUp:connect(keyss)
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333. while true do
  1334.  
  1335.  
  1336.  
  1337. wait()
  1338.  
  1339.  
  1340.  
  1341. for i,v in pairs(BlackMagic:GetChildren()) do
  1342.  
  1343. if v.Name ~= "Breeze" and v.Name ~= "Flame" and v.Name ~= "Heal" then
  1344.  
  1345. for i,d in pairs(v:GetChildren()) do
  1346.  
  1347. if d.ClassName ~= "SpecialMesh" then
  1348.  
  1349. d:Destroy()
  1350.  
  1351. end
  1352.  
  1353. end
  1354.  
  1355. end
  1356.  
  1357. end
  1358.  
  1359.  
  1360.  
  1361. Stuff = Workspace:GetChildren()
  1362.  
  1363. for i = 1 , #Stuff do
  1364.  
  1365. Stuff2 = Stuff[i]:GetChildren()
  1366.  
  1367. for i = 1 , #Stuff2 do
  1368.  
  1369. Stuff3 = Stuff2[i]:GetChildren()
  1370.  
  1371. for i = 1 , #Stuff3 do
  1372.  
  1373. if Stuff3[i].className == "ForceField" then
  1374.  
  1375. Stuff3[i]:Remove()
  1376.  
  1377. end
  1378.  
  1379. end
  1380.  
  1381. if Stuff2[i].className == "ForceField" then
  1382.  
  1383. Stuff2[i]:Remove()
  1384.  
  1385. end
  1386.  
  1387. end
  1388.  
  1389. end
  1390.  
  1391. if fire == true then
  1392.  
  1393. Flame = Instance.new("Part")
  1394.  
  1395. Instance.new("Fire",Flame)
  1396.  
  1397. Flame.Parent = BlackMagic
  1398.  
  1399. Flame.Anchored = true
  1400.  
  1401. Flame.BrickColor = BrickColor.new("Really black")
  1402.  
  1403. Flame.CanCollide = false
  1404.  
  1405. Flame.Name = "Flame"
  1406.  
  1407. Color = math.random(1, 3)
  1408.  
  1409. if Color == 1 then
  1410.  
  1411. Flame.BrickColor = BrickColor.new(21)
  1412.  
  1413. else
  1414.  
  1415. if Color == 2 then
  1416.  
  1417. Flame.BrickColor = BrickColor.new(24)
  1418.  
  1419. end
  1420.  
  1421. if Color == 3 then
  1422.  
  1423. Flame.BrickColor = BrickColor.new(105)
  1424.  
  1425. end
  1426.  
  1427. end
  1428.  
  1429. Flame.Locked = true
  1430.  
  1431. Flame.Shape = "Ball"
  1432.  
  1433. Flame.Transparency = 0
  1434.  
  1435. Flame.Size = Vector3.new(1, 1, 1)
  1436.  
  1437. Flame.TopSurface = "Smooth"
  1438.  
  1439. Flame.BottomSurface = "Smooth"
  1440.  
  1441. Flame.CFrame = main.CFrame * CFrame.new(math.random(-2, 2), math.random(-2, 2), 0)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1442.  
  1443. FlameMesh = Instance.new("SpecialMesh")
  1444.  
  1445. FlameMesh.MeshType = "FileMesh"
  1446.  
  1447. FlameMesh.MeshId = "http://www.roblox.com/asset/?id=25212400"
  1448.  
  1449. FlameMesh.Parent = Flame
  1450.  
  1451. FlameMesh.Scale = Vector3.new(1, 1, 1)
  1452.  
  1453. end
  1454.  
  1455. if heal == true then
  1456.  
  1457. Heal = Instance.new("Part")
  1458.  
  1459. local fire = Instance.new("Fire",Heal)
  1460.  
  1461. fire.Color = Color3.new(0/255,255/255,0/255)
  1462.  
  1463. Heal.Parent = BlackMagic
  1464.  
  1465. Heal.Anchored = true
  1466.  
  1467. Heal.BrickColor = BrickColor.new("Br. yellowish green")
  1468.  
  1469. Heal.CanCollide = false
  1470.  
  1471. Heal.Name = "Heal"
  1472.  
  1473. Color = math.random(1, 3)
  1474.  
  1475. if Color == 1 then
  1476.  
  1477. Heal.BrickColor = BrickColor.new(28)
  1478.  
  1479. else
  1480.  
  1481. if Color == 2 then
  1482.  
  1483. Heal.BrickColor = BrickColor.new(37)
  1484.  
  1485. end
  1486.  
  1487. if Color == 3 then
  1488.  
  1489. Heal.BrickColor = BrickColor.new(119)
  1490.  
  1491. end
  1492.  
  1493. end
  1494.  
  1495. Heal.Locked = true
  1496.  
  1497. Heal.Shape = "Ball"
  1498.  
  1499. Heal.Transparency = 0
  1500.  
  1501. Heal.Size = Vector3.new(1, 1, 1)
  1502.  
  1503. Heal.TopSurface = "Smooth"
  1504.  
  1505. Heal.BottomSurface = "Smooth"
  1506.  
  1507. Heal.CFrame = main.CFrame * CFrame.new(math.random(-2, 2), math.random(-2, 2), 0)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1508.  
  1509. HealMesh = Instance.new("SpecialMesh")
  1510.  
  1511. HealMesh.MeshType = "FileMesh"
  1512.  
  1513. HealMesh.MeshId = "http://www.roblox.com/asset/?id=25212400"
  1514.  
  1515. HealMesh.Parent = Heal
  1516.  
  1517. HealMesh.Scale = Vector3.new(1, 1, 1)
  1518.  
  1519. end
  1520.  
  1521. if ice == true then
  1522.  
  1523. Breeze = Instance.new("Part")
  1524.  
  1525. local fire = Instance.new("Fire",Breeze)
  1526.  
  1527. fire.Color = Color3.new(0/255,255/255,255/255)
  1528.  
  1529. Breeze.Parent = BlackMagic
  1530.  
  1531. Breeze.Anchored = true
  1532.  
  1533. Breeze.BrickColor = BrickColor.new("White")
  1534.  
  1535. Breeze.CanCollide = false
  1536.  
  1537. Breeze.Name = "Breeze"
  1538.  
  1539. Color = math.random(1, 3)
  1540.  
  1541. if Color == 1 then
  1542.  
  1543. Breeze.BrickColor = BrickColor.new(23)
  1544.  
  1545. else
  1546.  
  1547. if Color == 2 then
  1548.  
  1549. Breeze.BrickColor = BrickColor.new(42)
  1550.  
  1551. end
  1552.  
  1553. if Color == 3 then
  1554.  
  1555. Breeze.BrickColor = BrickColor.new(43)
  1556.  
  1557. end
  1558.  
  1559. end
  1560.  
  1561. Breeze.Locked = true
  1562.  
  1563. Breeze.Shape = "Ball"
  1564.  
  1565. Breeze.Transparency = 0
  1566.  
  1567. Breeze.Size = Vector3.new(1, 1, 1)
  1568.  
  1569. Breeze.TopSurface = "Smooth"
  1570.  
  1571. Breeze.BottomSurface = "Smooth"
  1572.  
  1573. Breeze.CFrame = main.CFrame * CFrame.new(math.random(-2, 2), math.random(-2, 2), 0)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1574.  
  1575. BreezeMesh = Instance.new("SpecialMesh")
  1576.  
  1577. BreezeMesh.MeshType = "FileMesh"
  1578.  
  1579. BreezeMesh.MeshId = "http://www.roblox.com/asset/?id=25212400"
  1580.  
  1581. BreezeMesh.Parent = Breeze
  1582.  
  1583. BreezeMesh.Scale = Vector3.new(1, 1, 1)
  1584.  
  1585. end
  1586.  
  1587. Stuff = BlackMagic:GetChildren()
  1588.  
  1589. for i = 1 , #Stuff do
  1590.  
  1591. if Stuff[i].className == "Part" then
  1592.  
  1593. if Stuff[i].Name == "Shadow" then
  1594.  
  1595. Stuff[i].Transparency = Stuff[i].Transparency + 0.2
  1596.  
  1597. if Stuff[i].Transparency >= 1 then
  1598.  
  1599. Stuff[i]:Remove()
  1600.  
  1601. end
  1602.  
  1603. end
  1604.  
  1605. if Stuff[i].Name == "Flame" then
  1606.  
  1607. local p = Stuff[i].CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  1608.  
  1609. Stuff[i].Mesh.Scale = Stuff[i].Mesh.Scale + Vector3.new(1, 1, 1)
  1610.  
  1611. pcall(function () Stuff[i].Fire.Size = Stuff[i].Fire.Size + 1 end)
  1612.  
  1613. Stuff[i].Transparency = Stuff[i].Transparency + 0.0785
  1614.  
  1615. Stuff[i].CFrame = p
  1616.  
  1617. Stuff[i].CFrame = Stuff[i].CFrame * CFrame.new(0,math.random(-5, -3),0)
  1618.  
  1619. Stuff2 = Workspace:GetChildren()
  1620.  
  1621. for ii = 1 , #Stuff2 do
  1622.  
  1623. if Stuff2[ii].className == "Part" then
  1624.  
  1625. if (Stuff[i].Position-Stuff2[ii].Position).magnitude <= Stuff[i].Mesh.Scale.X then
  1626.  
  1627. if Stuff2[ii].Name ~= "Base" then
  1628.  
  1629. Stuff2[ii].Anchored = false
  1630.  
  1631. Stuff2[ii].Material = "Concrete"
  1632.  
  1633. Stuff2[ii].BrickColor = BrickColor.new("Really black")
  1634.  
  1635. Stuff2[ii]:BreakJoints()
  1636.  
  1637. Stuff2[ii].Reflectance = 0
  1638.  
  1639. end
  1640.  
  1641. end
  1642.  
  1643. end
  1644.  
  1645. if Stuff2[ii].className == "Model" and Stuff2[ii].Name ~= "" then
  1646.  
  1647. local Torso = Stuff2[ii]:findFirstChild("Torso")
  1648.  
  1649. local Humanoid = Stuff2[ii]:findFirstChild("Humanoid")
  1650.  
  1651. if Humanoid ~= nil and Torso ~= nil then
  1652.  
  1653. if (Stuff[i].Position-Torso.Position).magnitude <= Stuff[i].Mesh.Scale.X then
  1654.  
  1655. Humanoid.MaxHealth = 100
  1656.  
  1657. Damage = 15
  1658.  
  1659. Humanoid:TakeDamage(Damage)
  1660.  
  1661. Parts = Humanoid.Parent:GetChildren()
  1662.  
  1663. for i = 1 , #Parts do
  1664.  
  1665. if Parts[i].className == "Part" then
  1666.  
  1667. Parts[i].BrickColor = BrickColor.new("Really black")
  1668.  
  1669. Parts[i].Material = "Concrete"
  1670.  
  1671. Parts[i].Reflectance = 0
  1672.  
  1673. Parts[i].Anchored = false
  1674.  
  1675. if Humanoid.Health <= 0 then
  1676.  
  1677. Parts[i]:BreakJoints()
  1678.  
  1679. end
  1680.  
  1681. end
  1682.  
  1683. end
  1684.  
  1685. end
  1686.  
  1687. end
  1688.  
  1689. end
  1690.  
  1691. end
  1692.  
  1693. if Stuff[i].Fire.Size >= 15 then
  1694.  
  1695. Stuff[i]:Remove()
  1696.  
  1697. end
  1698.  
  1699. end
  1700.  
  1701. if Stuff[i].Name == "Breeze" then
  1702.  
  1703. local p = Stuff[i].CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  1704.  
  1705. Stuff[i].Mesh.Scale = Stuff[i].Mesh.Scale + Vector3.new(1, 1, 1)
  1706.  
  1707. pcall(function () Stuff[i].Fire.Size = Stuff[i].Fire.Size + 1 end)
  1708.  
  1709. Stuff[i].Transparency = Stuff[i].Transparency + 0.0785
  1710.  
  1711. Stuff[i].CFrame = p
  1712.  
  1713. Stuff[i].CFrame = Stuff[i].CFrame * CFrame.new(0,math.random(-5, -3),0)
  1714.  
  1715. Stuff2 = Workspace:GetChildren()
  1716.  
  1717. for ii = 1 , #Stuff2 do
  1718.  
  1719. if Stuff2[ii].className == "Part" then
  1720.  
  1721. if (Stuff[i].Position-Stuff2[ii].Position).magnitude <= Stuff[i].Mesh.Scale.X then
  1722.  
  1723. if Stuff2[ii].Name ~= "Base" then
  1724.  
  1725. Stuff2[ii].BrickColor = BrickColor.new("Light blue")
  1726.  
  1727. Stuff2[ii].Anchored = true
  1728.  
  1729. Stuff2[ii].Reflectance = 0.1
  1730.  
  1731. Stuff2[ii].Material = "Ice"
  1732.  
  1733. end
  1734.  
  1735. end
  1736.  
  1737. end
  1738.  
  1739. if Stuff2[ii].className == "Model" and Stuff2[ii].Name ~= "" then
  1740.  
  1741. local Torso = Stuff2[ii]:findFirstChild("Torso")
  1742.  
  1743. local Humanoid = Stuff2[ii]:findFirstChild("Humanoid")
  1744.  
  1745. if Humanoid ~= nil and Torso ~= nil then
  1746.  
  1747. if (Stuff[i].Position-Torso.Position).magnitude <= Stuff[i].Mesh.Scale.X then
  1748.  
  1749. Humanoid.MaxHealth = 100
  1750.  
  1751. Damage = 10
  1752.  
  1753. Humanoid:TakeDamage(Damage)
  1754.  
  1755. Parts = Humanoid.Parent:GetChildren()
  1756.  
  1757. for i = 1 , #Parts do
  1758.  
  1759. if Parts[i].className == "Part" then
  1760.  
  1761. Parts[i].BrickColor = BrickColor.new("Light blue")
  1762.  
  1763. Parts[i].Anchored = true
  1764.  
  1765. Parts[i].Reflectance = 0.1
  1766.  
  1767. Parts[i].Material = "Ice"
  1768.  
  1769. end
  1770.  
  1771. end
  1772.  
  1773. end
  1774.  
  1775. end
  1776.  
  1777. end
  1778.  
  1779. end
  1780.  
  1781. end
  1782.  
  1783. if Stuff[i]:findFirstChild("Fire") ~= nil then
  1784.  
  1785. if Stuff[i]:findFirstChild("Fire").Size >= 15 then
  1786.  
  1787. Stuff[i]:Remove()
  1788.  
  1789. end
  1790.  
  1791. end
  1792.  
  1793. if Stuff[i].Name == "Heal" then
  1794.  
  1795. local p = Stuff[i].CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  1796.  
  1797. Stuff[i].Mesh.Scale = Stuff[i].Mesh.Scale + Vector3.new(1, 1, 1)
  1798.  
  1799. pcall(function () Stuff[i].Fire.Size = Stuff[i].Fire.Size + 1 end)
  1800.  
  1801. Stuff[i].Transparency = Stuff[i].Transparency + 0.0785
  1802.  
  1803. Stuff[i].CFrame = p
  1804.  
  1805. Stuff[i].CFrame = Stuff[i].CFrame * CFrame.new(0,math.random(-5, -3),0)
  1806.  
  1807. Stuff2 = Workspace:GetChildren()
  1808.  
  1809. for ii = 1 , #Stuff2 do
  1810.  
  1811. if Stuff2[ii].className == "Part" then
  1812.  
  1813. if (Stuff[i].Position-Stuff2[ii].Position).magnitude <= Stuff[i].Mesh.Scale.X then
  1814.  
  1815. if Stuff2[ii].Name ~= "Base" then
  1816.  
  1817. Stuff2[ii].BrickColor = BrickColor.new("Bright green")
  1818.  
  1819. Stuff2[ii].Anchored = false
  1820.  
  1821. Stuff2[ii].Material = "Grass"
  1822.  
  1823. end
  1824.  
  1825. end
  1826.  
  1827. end
  1828.  
  1829. if Stuff2[ii].className == "Model" and Stuff2[ii].Name ~= "" then
  1830.  
  1831. local Torso = Stuff2[ii]:findFirstChild("Torso")
  1832.  
  1833. local Humanoid = Stuff2[ii]:findFirstChild("Humanoid")
  1834.  
  1835. if Humanoid ~= nil and Torso ~= nil then
  1836.  
  1837. if (Stuff[i].Position-Torso.Position).magnitude <= Stuff[i].Mesh.Scale.X then
  1838.  
  1839. Healness = 10
  1840.  
  1841. Humanoid.Health = Humanoid.Health + Healness;
  1842.  
  1843. Parts = Humanoid.Parent:GetChildren()
  1844.  
  1845. for i = 1 , #Parts do
  1846.  
  1847. if Parts[i].className == "Part" then
  1848.  
  1849. Parts[i].Anchored = false
  1850.  
  1851. Parts[i].Reflectance = 0
  1852.  
  1853. Parts[i].Material = "Plastic"
  1854.  
  1855. end
  1856.  
  1857. end
  1858.  
  1859. end
  1860.  
  1861. end
  1862.  
  1863. end
  1864.  
  1865. end
  1866.  
  1867. end
  1868.  
  1869. if Stuff[i]:findFirstChild("Fire") ~= nil then
  1870.  
  1871. if Stuff[i]:findFirstChild("Fire").Size >= 15 then
  1872.  
  1873. Stuff[i]:Remove()
  1874.  
  1875. end
  1876.  
  1877. end
  1878.  
  1879. end
  1880.  
  1881. end
  1882.  
  1883. end
Add Comment
Please, Sign In to add comment