Advertisement
IINaoki

Untitled

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