Advertisement
Gmodmoney2

Untitled

Aug 6th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 148.48 KB | None | 0 0
  1. Player = game.Players.iikevin098
  2.  
  3. Character = Player.Character
  4.  
  5. PlayerGui = Player.PlayerGui
  6.  
  7. Backpack = Player.Backpack
  8.  
  9. Torso = Character.Torso
  10.  
  11. Head = Character.Head
  12.  
  13. LeftArm = Character["Left Arm"]
  14.  
  15. LeftLeg = Character["Left Leg"]
  16. MrLonely1221
  17. RightArm = Character["Right Arm"]
  18.  
  19. RightLeg = Character["Right Leg"]
  20.  
  21. LS = Torso["Left Shoulder"]
  22.  
  23. LH = Torso["Left Hip"]
  24.  
  25. RS = Torso["Right Shoulder"]
  26.  
  27. RH = Torso["Right Hip"]
  28.  
  29. ModelName = "Chocobo"
  30.  
  31. attack = false
  32.  
  33. attacktype = 1
  34.  
  35. Hitdeb = 0
  36.  
  37. value1=0
  38.  
  39. Neck = Torso.Neck
  40.  
  41. local neckcf0 = Neck.C0
  42.  
  43.  
  44. ----------------------------
  45.  
  46. --Customize
  47.  
  48. Energy = 200
  49.  
  50. MaxEnergy = 200
  51.  
  52. ChocoboHP = 500
  53.  
  54.  
  55. Alive = false
  56.  
  57.  
  58. mindamage = 20
  59.  
  60. maxdamage = 40
  61.  
  62. crtmaxdamage = 50
  63.  
  64. omindamage = mindamage
  65.  
  66. omaxdamage = maxdamage
  67.  
  68. ocrtmaxdamage = crtmaxdamage
  69.  
  70. crtrate = 100/5
  71.  
  72. --100%/critpercentage
  73.  
  74.  
  75. oblkbrkr = 2
  76.  
  77. blockbreaker = oblkbrkr
  78.  
  79.  
  80. speed = 30
  81.  
  82. jump = 60
  83.  
  84.  
  85. if Character.Name=="Name" then
  86.  
  87. ColorVariation = "Name her"
  88.  
  89. elseif Character.Name=="DahNoob" then
  90.  
  91. ColorVariation = "DahNoob"
  92.  
  93. elseif Character.Name=="Robloxshathelper" then
  94.  
  95. ColorVariation = "Robloxshathelper"
  96.  
  97. else
  98.  
  99. ColorVariation = "Yellow"
  100.  
  101. end
  102.  
  103.  
  104. if ColorVariation == "Yellow" then
  105.  
  106. handlecolor = BrickColor.new("Bright yellow")
  107.  
  108. bcolor = BrickColor.new("Bright orange")
  109.  
  110. beakcolor = BrickColor.new("Bright orange")
  111.  
  112. ropecolor = BrickColor.new("Brown")
  113.  
  114. eyecolor = BrickColor.new("Bright blue")
  115.  
  116. elseif ColorVariation == "Red" then
  117.  
  118. handlecolor =BrickColor.new("Bright red")
  119.  
  120. bcolor = BrickColor.new("Black")
  121.  
  122. beakcolor = BrickColor.new("Really red")
  123.  
  124. ropecolor = BrickColor.new("Brown")
  125.  
  126. eyecolor = BrickColor.new("Bright blue")
  127.  
  128. elseif ColorVariation == "Black" then
  129.  
  130. handlecolor = BrickColor.new("Black")
  131.  
  132. bcolor = BrickColor.new("Brown")
  133.  
  134. beakcolor = BrickColor.new("Bright orange")
  135.  
  136. ropecolor = BrickColor.new("Brown")
  137.  
  138. eyecolor = BrickColor.new("Bright blue")
  139.  
  140. elseif ColorVariation == "Purple" then
  141.  
  142. handlecolor = BrickColor.new("Alder")
  143.  
  144. bcolor = BrickColor.new("Bright violet")
  145.  
  146. beakcolor = BrickColor.new("Bright orange")
  147.  
  148. ropecolor = BrickColor.new("Brown")
  149.  
  150. eyecolor = BrickColor.new("Bright blue")
  151.  
  152. elseif ColorVariation == "Name" then
  153.  
  154. handlecolor =BrickColor.new("White")
  155.  
  156. bcolor = BrickColor.new("Bright orange")
  157.  
  158. beakcolor = BrickColor.new("Bright orange")
  159.  
  160. ropecolor = BrickColor.new("Brown")
  161.  
  162. eyecolor = BrickColor.new("Navy blue")
  163.  
  164. elseif ColorVariation == "Orange" then
  165.  
  166. handlecolor =BrickColor.new("Neon orange")
  167.  
  168. bcolor = BrickColor.new("Brown")
  169.  
  170. beakcolor = BrickColor.new("Brown")
  171.  
  172. ropecolor = BrickColor.new("Bright yellow")
  173.  
  174. eyecolor = BrickColor.new("Royal purple")
  175.  
  176. elseif ColorVariation == "DahNoob" then
  177.  
  178. handlecolor = BrickColor.new("Black")
  179.  
  180. bcolor = BrickColor.new("Medium stone grey")
  181.  
  182. beakcolor = BrickColor.new("Medium stone grey")
  183.  
  184. ropecolor = BrickColor.new("Brown")
  185.  
  186. eyecolor = BrickColor.new("Really black")
  187.  
  188. elseif ColorVariation == "Robloxshathelper" then
  189.  
  190. handlecolor = BrickColor.new("Bright blue")
  191.  
  192. bcolor = BrickColor.new("Bright orange")
  193.  
  194. beakcolor = BrickColor.new("Bright orange")
  195.  
  196. ropecolor = BrickColor.new("Brown")
  197.  
  198. eyecolor = BrickColor.new("Bright blue")
  199.  
  200. else
  201.  
  202. --Custom
  203.  
  204. handlecolor =BrickColor.new("Bright blue")
  205.  
  206. bcolor = BrickColor.new("Medium blue")
  207.  
  208. beakcolor = BrickColor.new("Medium blue")
  209.  
  210. ropecolor = BrickColor.new("White")
  211.  
  212. end
  213.  
  214.  
  215. Ride = true
  216.  
  217. Rope = true
  218.  
  219.  
  220.  
  221. ToolName = "Chocobo"
  222.  
  223.  
  224. ---------------------------------------------------------------------------------------------------------------------------------------
  225.  
  226. if Character:findFirstChild("EquippedVal",true) ~= nil then
  227.  
  228. Character:findFirstChild("EquippedVal",true).Parent = nil
  229.  
  230. end
  231.  
  232. ev = Instance.new("BoolValue",Character)
  233.  
  234. ev.Name = "EquippedVal"
  235.  
  236. ev.Value = false
  237.  
  238. if Character:findFirstChild("Block",true) ~= nil then
  239.  
  240. Character:findFirstChild("Block",true).Parent = nil
  241.  
  242. end
  243.  
  244.  
  245.  
  246. --player
  247.  
  248. player = nil
  249.  
  250. --welds
  251.  
  252. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  253.  
  254. --what anim
  255.  
  256. anim = "none"
  257.  
  258. --other var
  259.  
  260. player = Player
  261.  
  262. ch = Character
  263.  
  264. --save shoulders
  265.  
  266. AoETrue = {}
  267.  
  268. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  269.  
  270.  
  271.  
  272. function RWFunc()
  273.  
  274. RW.Part1 = ch["Right Arm"]
  275.  
  276. RSH.Part1 = nil
  277.  
  278. end
  279.  
  280. function LWFunc()
  281.  
  282. LW.Part1 = ch["Left Arm"]
  283.  
  284. LSH.Part1 = nil
  285.  
  286. end
  287.  
  288. function RWLFunc()
  289.  
  290. RWL.Part1 = ch["Right Leg"]
  291.  
  292. RHL.Part1 = nil
  293.  
  294. RightLeg.CanCollide = false
  295.  
  296. end
  297.  
  298.  
  299. function LWLFunc()
  300.  
  301. LWL.Part1 = ch["Left Leg"]
  302.  
  303. LHL.Part1 = nil
  304.  
  305. LeftLeg.CanCollide = true
  306.  
  307. end
  308.  
  309.  
  310. function RWLRem()
  311.  
  312. RWL.Part1 = nil
  313.  
  314. RHL.Part1 = ch["Right Leg"]
  315.  
  316. RightLeg.CanCollide = false
  317.  
  318. end
  319.  
  320. function LWLRem()
  321.  
  322. LWL.Part1 = nil
  323.  
  324. LHL.Part1 = ch["Left Leg"]
  325.  
  326. LeftLeg.CanCollide = false
  327.  
  328. end
  329.  
  330. function RWRem()
  331.  
  332. RW.Part1 = nil
  333.  
  334. RSH.Part1 = ch["Right Arm"]
  335.  
  336. end
  337.  
  338. function LWRem()
  339.  
  340. LW.Part1 = nil
  341.  
  342. LSH.Part1 = ch["Left Arm"]
  343.  
  344. end
  345.  
  346.  
  347.  
  348.  
  349.  
  350. if Character:findFirstChild(ModelName,true) ~= nil then
  351.  
  352. Character:findFirstChild(ModelName,true).Parent = nil
  353.  
  354. RHL.Part1 = ch["Right Leg"]
  355.  
  356. LHL.Part1 = ch["Left Leg"]
  357.  
  358. RSH.Part1 = ch["Right Arm"]
  359.  
  360. LSH.Part1 = ch["Left Arm"]
  361.  
  362. end
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370. local swordholder = Instance.new("Model")
  371.  
  372. swordholder.Name = ModelName
  373.  
  374. swordholder.Parent = Character
  375.  
  376.  
  377. --derp
  378.  
  379. RW.Part0 = ch.Torso
  380.  
  381. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  382.  
  383. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  384.  
  385. RW.Parent = swordholder
  386.  
  387. --
  388.  
  389. LW.Part0 = ch.Torso
  390.  
  391. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  392.  
  393. LW.C1 = CFrame.new(0, 0.5, 0)
  394.  
  395. LW.Parent = swordholder
  396.  
  397. --
  398.  
  399. RWL.Part0 = ch.Torso
  400.  
  401. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  402.  
  403. RWL.C1 = CFrame.new(0.5, 1, 0)
  404.  
  405. RWL.Parent = swordholder
  406.  
  407. --
  408.  
  409. LWL.Part0 = ch.Torso
  410.  
  411. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  412.  
  413. LWL.C1 = CFrame.new(-0.5, 1, 0)
  414.  
  415. LWL.Parent = swordholder
  416.  
  417.  
  418.  
  419.  
  420.  
  421. local msh1 = Instance.new("SpecialMesh")
  422.  
  423. msh1.Scale = Vector3.new(1,1.2,1.2)
  424.  
  425. msh1.MeshType = "Sphere"
  426.  
  427. local msh2 = Instance.new("CylinderMesh")
  428.  
  429. local msh3 = Instance.new("CylinderMesh")
  430.  
  431. local msh4 = Instance.new("SpecialMesh")
  432.  
  433. msh4.Scale = Vector3.new(1,1,1)
  434.  
  435. msh4.MeshType = "Sphere"
  436.  
  437. local msh5 = Instance.new("SpecialMesh")
  438.  
  439. msh5.Scale = Vector3.new(1,0.75,1.2)
  440.  
  441. msh5.MeshId = "http://www.roblox.com/asset/?id=1778999"
  442.  
  443. local msh6 = Instance.new("SpecialMesh")
  444.  
  445. msh6.Scale = Vector3.new(1,1,1)
  446.  
  447. msh6.MeshType = "Sphere"
  448.  
  449. local msh7 = Instance.new("SpecialMesh")
  450.  
  451. msh7.Scale = Vector3.new(1,1,1)
  452.  
  453. msh7.MeshType = "Sphere"
  454.  
  455. local msh6a = Instance.new("SpecialMesh")
  456.  
  457. msh6a.Scale = Vector3.new(1,1,1)
  458.  
  459. msh6a.MeshType = "Sphere"
  460.  
  461. local msh7a = Instance.new("SpecialMesh")
  462.  
  463. msh7a.Scale = Vector3.new(1,1,1)
  464.  
  465. msh7a.MeshType = "Sphere"
  466.  
  467. local msh8 = Instance.new("SpecialMesh")
  468.  
  469. msh8.Scale = Vector3.new(1,1,1)
  470.  
  471. msh8.MeshType = "Sphere"
  472.  
  473. local msh9 = Instance.new("SpecialMesh")
  474.  
  475. msh9.Scale = Vector3.new(1,1,1)
  476.  
  477. msh9.MeshType = "Sphere"
  478.  
  479. local msh10 = Instance.new("SpecialMesh")
  480.  
  481. msh10.Scale = Vector3.new(1,1,1)
  482.  
  483. msh10.MeshType = "Sphere"
  484.  
  485. local msh11 = Instance.new("SpecialMesh")
  486.  
  487. msh11.Scale = Vector3.new(1,1,1)
  488.  
  489. msh11.MeshType = "Sphere"
  490.  
  491. local msh12 = Instance.new("SpecialMesh")
  492.  
  493. msh12.Scale = Vector3.new(1,1,1)
  494.  
  495. msh12.MeshType = "Sphere"
  496.  
  497. local msh13 = Instance.new("SpecialMesh")
  498.  
  499. msh13.Scale = Vector3.new(1,1,1)
  500.  
  501. msh13.MeshType = "Sphere"
  502.  
  503. local msh14 = Instance.new("SpecialMesh")
  504.  
  505. msh14.Scale = Vector3.new(1,1,1)
  506.  
  507. msh14.MeshType = "Sphere"
  508.  
  509. local msh15 = Instance.new("SpecialMesh")
  510.  
  511. msh15.Scale = Vector3.new(1,1,1)
  512.  
  513. msh15.MeshType = "Sphere"
  514.  
  515. local msh16 = Instance.new("SpecialMesh")
  516.  
  517. msh16.Scale = Vector3.new(1,1,1)
  518.  
  519. msh16.MeshType = "Sphere"
  520.  
  521. local msh17 = Instance.new("SpecialMesh")
  522.  
  523. msh17.Scale = Vector3.new(1,1,1)
  524.  
  525. msh17.MeshType = "Sphere"
  526.  
  527. local msh18 = Instance.new("SpecialMesh")
  528.  
  529. msh18.Scale = Vector3.new(1,1,1)
  530.  
  531. msh18.MeshType = "Sphere"
  532.  
  533. local msh19 = Instance.new("SpecialMesh")
  534.  
  535. msh19.Scale = Vector3.new(1,1,1)
  536.  
  537. msh19.MeshType = "Sphere"
  538.  
  539. local msh20 = Instance.new("SpecialMesh")
  540.  
  541. msh20.Scale = Vector3.new(1,1,1)
  542.  
  543. msh20.MeshType = "Sphere"
  544.  
  545. local msh21 = Instance.new("SpecialMesh")
  546.  
  547. msh21.Scale = Vector3.new(1,1,1)
  548.  
  549. msh21.MeshType = "Sphere"
  550.  
  551. local msh22 = Instance.new("CylinderMesh")
  552.  
  553. local msh23 = Instance.new("CylinderMesh")
  554.  
  555. local msh24 = Instance.new("BlockMesh")
  556.  
  557. local msh25 = Instance.new("BlockMesh")
  558.  
  559. local msh26 = Instance.new("BlockMesh")
  560.  
  561. local msh27 = Instance.new("BlockMesh")
  562.  
  563. local msh28 = Instance.new("CylinderMesh")
  564.  
  565. local msh29 = Instance.new("CylinderMesh")
  566.  
  567. local msh30 = Instance.new("BlockMesh")
  568.  
  569. local msh31 = Instance.new("BlockMesh")
  570.  
  571. local msh32 = Instance.new("BlockMesh")
  572.  
  573. local msh33 = Instance.new("BlockMesh")
  574.  
  575.  
  576. local prt1 = Instance.new("Part")
  577.  
  578. prt1.formFactor = 3
  579.  
  580. prt1.CanCollide = true
  581.  
  582. prt1.Name = "ChocoboBody"
  583.  
  584. prt1.Locked = true
  585.  
  586. prt1.Size = Vector3.new(3.5,2.5,5)
  587.  
  588. prt1.Parent = swordholder
  589.  
  590. msh1.Parent = prt1
  591.  
  592. prt1.BrickColor = handlecolor
  593.  
  594. local prt2 = Instance.new("Part")
  595.  
  596. prt2.formFactor = 3
  597.  
  598. prt2.CanCollide = true
  599.  
  600. prt2.Name = "ChocoboNeck"
  601.  
  602. prt2.Locked = true
  603.  
  604. prt2.Size = Vector3.new(1.25,2,1.25)
  605.  
  606. prt2.Parent = swordholder
  607.  
  608. msh2.Parent = prt2
  609.  
  610. prt2.BrickColor = handlecolor
  611.  
  612. local prt3 = Instance.new("Part")
  613.  
  614. prt3.formFactor = 3
  615.  
  616. prt3.CanCollide = true
  617.  
  618. prt3.Name = "ChocoboNeck2"
  619.  
  620. prt3.Locked = true
  621.  
  622. prt3.Size = Vector3.new(1.25,2,1.25)
  623.  
  624. prt3.Parent = swordholder
  625.  
  626. msh3.Parent = prt3
  627.  
  628. prt3.BrickColor = handlecolor
  629.  
  630. local prt3a = Instance.new("Part")
  631.  
  632. prt3a.formFactor = 3
  633.  
  634. prt3a.CanCollide = false
  635.  
  636. prt3a.Name = "ChocoboNeck2Joint"
  637.  
  638. prt3a.Locked = true
  639.  
  640. prt3a.Size = Vector3.new(0.2,0.2,0.2)
  641.  
  642. prt3a.Parent = swordholder
  643.  
  644. prt3a.Transparency = 1
  645.  
  646. local prt4 = Instance.new("Part")
  647.  
  648. prt4.formFactor = 3
  649.  
  650. prt4.CanCollide = true
  651.  
  652. prt4.Name = "Head"
  653.  
  654. prt4.Locked = true
  655.  
  656. prt4.Size = Vector3.new(2,2,3)
  657.  
  658. prt4.Parent = swordholder
  659.  
  660. msh4.Parent = prt4
  661.  
  662. prt4.BrickColor = handlecolor
  663.  
  664. local trs = Instance.new("Part")
  665.  
  666. trs.formFactor = 3
  667.  
  668. trs.CanCollide = true
  669.  
  670. trs.Name = "Torso"
  671.  
  672. trs.Locked = true
  673.  
  674. trs.Size = Vector3.new(0.2,0.2,0.2)
  675.  
  676. trs.Parent = swordholder
  677.  
  678. trs.Transparency = 1
  679.  
  680. local wt = Instance.new("Weld")
  681.  
  682. wt.Parent = trs
  683.  
  684. wt.Part0 = trs
  685.  
  686. wt.Part1 = prt4
  687.  
  688. wt.C0 = CFrame.Angles(math.rad(25),0,0)
  689.  
  690. local prt5 = Instance.new("Part")
  691.  
  692. prt5.formFactor = 3
  693.  
  694. prt5.CanCollide = false
  695.  
  696. prt5.Name = "Beak"
  697.  
  698. prt5.Locked = true
  699.  
  700. prt5.Size = Vector3.new(1,1.5,1)
  701.  
  702. prt5.Parent = swordholder
  703.  
  704. msh5.Parent = prt5
  705.  
  706. prt5.BrickColor = beakcolor
  707.  
  708.  
  709. local prt6 = Instance.new("Part")
  710.  
  711. prt6.formFactor = 3
  712.  
  713. prt6.CanCollide = false
  714.  
  715. prt6.Name = "Eye1"
  716.  
  717. prt6.Locked = true
  718.  
  719. prt6.Size = Vector3.new(0.3,0.3,0.6)
  720.  
  721. prt6.Parent = swordholder
  722.  
  723. msh6.Parent = prt6
  724.  
  725. prt6.BrickColor = BrickColor.new("White")
  726.  
  727. local prt7 = Instance.new("Part")
  728.  
  729. prt7.formFactor = 3
  730.  
  731. prt7.CanCollide = false
  732.  
  733. prt7.Name = "Eye2"
  734.  
  735. prt7.Locked = true
  736.  
  737. prt7.Size = Vector3.new(0.3,0.3,0.6)
  738.  
  739. prt7.Parent = swordholder
  740.  
  741. msh7.Parent = prt7
  742.  
  743. prt7.BrickColor = BrickColor.new("White")
  744.  
  745. local prt6a = Instance.new("Part")
  746.  
  747. prt6a.formFactor = 3
  748.  
  749. prt6a.CanCollide = false
  750.  
  751. prt6a.Name = "Eye1a"
  752.  
  753. prt6a.Locked = true
  754.  
  755. prt6a.Size = Vector3.new(0.2,0.2,0.3)
  756.  
  757. prt6a.Parent = swordholder
  758.  
  759. msh6a.Parent = prt6a
  760.  
  761. prt6a.BrickColor = eyecolor
  762.  
  763. local prt7a = Instance.new("Part")
  764.  
  765. prt7a.formFactor = 3
  766.  
  767. prt7a.CanCollide = false
  768.  
  769. prt7a.Name = "Eye2a"
  770.  
  771. prt7a.Locked = true
  772.  
  773. prt7a.Size = Vector3.new(0.2,0.2,0.3)
  774.  
  775. prt7a.Parent = swordholder
  776.  
  777. msh7a.Parent = prt7a
  778.  
  779. prt7a.BrickColor = eyecolor
  780.  
  781.  
  782. local prt8 = Instance.new("Part")
  783.  
  784. prt8.formFactor = 3
  785.  
  786. prt8.CanCollide = false
  787.  
  788. prt8.Name = "HeadFeathers"
  789.  
  790. prt8.Locked = true
  791.  
  792. prt8.Size = Vector3.new(1,0.2,3)
  793.  
  794. prt8.Parent = swordholder
  795.  
  796. msh8.Parent = prt8
  797.  
  798. prt8.BrickColor = handlecolor
  799.  
  800. local prt9 = Instance.new("Part")
  801.  
  802. prt9.formFactor = 3
  803.  
  804. prt9.CanCollide = false
  805.  
  806. prt9.Name = "HeadFeathers"
  807.  
  808. prt9.Locked = true
  809.  
  810. prt9.Size = Vector3.new(1,0.2,3)
  811.  
  812. prt9.Parent = swordholder
  813.  
  814. msh9.Parent = prt9
  815.  
  816. prt9.BrickColor = handlecolor
  817.  
  818. local prt10 = Instance.new("Part")
  819.  
  820. prt10.formFactor = 3
  821.  
  822. prt10.CanCollide = false
  823.  
  824. prt10.Name = "HeadFeathers"
  825.  
  826. prt10.Locked = true
  827.  
  828. prt10.Size = Vector3.new(1,0.2,3)
  829.  
  830. prt10.Parent = swordholder
  831.  
  832. msh10.Parent = prt10
  833.  
  834. prt10.BrickColor = handlecolor
  835.  
  836.  
  837. --Wings!!
  838.  
  839. local prt11 = Instance.new("Part")
  840.  
  841. prt11.formFactor = 3
  842.  
  843. prt11.CanCollide = false
  844.  
  845. prt11.Name = "RightWing"
  846.  
  847. prt11.Locked = true
  848.  
  849. prt11.Size = Vector3.new(1,3,5)
  850.  
  851. prt11.Parent = swordholder
  852.  
  853. msh11.Parent = prt11
  854.  
  855. prt11.BrickColor = handlecolor
  856.  
  857. local prt12 = Instance.new("Part")
  858.  
  859. prt12.formFactor = 3
  860.  
  861. prt12.CanCollide = false
  862.  
  863. prt12.Name = "RightWing1"
  864.  
  865. prt12.Locked = true
  866.  
  867. prt12.Size = Vector3.new(0.5,1,2)
  868.  
  869. prt12.Parent = swordholder
  870.  
  871. msh12.Parent = prt12
  872.  
  873. prt12.BrickColor = handlecolor
  874.  
  875. local prt13 = Instance.new("Part")
  876.  
  877. prt13.formFactor = 3
  878.  
  879. prt13.CanCollide = false
  880.  
  881. prt13.Name = "RightWing2"
  882.  
  883. prt13.Locked = true
  884.  
  885. prt13.Size = Vector3.new(0.5,1,2)
  886.  
  887. prt13.Parent = swordholder
  888.  
  889. msh13.Parent = prt13
  890.  
  891. prt13.BrickColor = handlecolor
  892.  
  893. local prt14 = Instance.new("Part")
  894.  
  895. prt14.formFactor = 3
  896.  
  897. prt14.CanCollide = false
  898.  
  899. prt14.Name = "RightWing3"
  900.  
  901. prt14.Locked = true
  902.  
  903. prt14.Size = Vector3.new(0.5,1,2)
  904.  
  905. prt14.Parent = swordholder
  906.  
  907. msh14.Parent = prt14
  908.  
  909. prt14.BrickColor = handlecolor
  910.  
  911. local prt15 = Instance.new("Part")
  912.  
  913. prt15.formFactor = 3
  914.  
  915. prt15.CanCollide = false
  916.  
  917. prt15.Name = "RightWing4"
  918.  
  919. prt15.Locked = true
  920.  
  921. prt15.Size = Vector3.new(0.5,1,2)
  922.  
  923. prt15.Parent = swordholder
  924.  
  925. msh15.Parent = prt15
  926.  
  927. prt15.BrickColor = handlecolor
  928.  
  929.  
  930. local prt16 = Instance.new("Part")
  931.  
  932. prt16.formFactor = 3
  933.  
  934. prt16.CanCollide = false
  935.  
  936. prt16.Name = "LeftWing"
  937.  
  938. prt16.Locked = true
  939.  
  940. prt16.Size = Vector3.new(1,3,5)
  941.  
  942. prt16.Parent = swordholder
  943.  
  944. msh16.Parent = prt16
  945.  
  946. prt16.BrickColor = handlecolor
  947.  
  948. local prt17 = Instance.new("Part")
  949.  
  950. prt17.formFactor = 3
  951.  
  952. prt17.CanCollide = false
  953.  
  954. prt17.Name = "LeftWing1"
  955.  
  956. prt17.Locked = true
  957.  
  958. prt17.Size = Vector3.new(0.5,1,2)
  959.  
  960. prt17.Parent = swordholder
  961.  
  962. msh17.Parent = prt17
  963.  
  964. prt17.BrickColor = handlecolor
  965.  
  966. local prt18 = Instance.new("Part")
  967.  
  968. prt18.formFactor = 3
  969.  
  970. prt18.CanCollide = false
  971.  
  972. prt18.Name = "LeftWing2"
  973.  
  974. prt18.Locked = true
  975.  
  976. prt18.Size = Vector3.new(0.5,1,2)
  977.  
  978. prt18.Parent = swordholder
  979.  
  980. msh18.Parent = prt18
  981.  
  982. prt18.BrickColor = handlecolor
  983.  
  984. local prt19 = Instance.new("Part")
  985.  
  986. prt19.formFactor = 3
  987.  
  988. prt19.CanCollide = false
  989.  
  990. prt19.Name = "LeftWing3"
  991.  
  992. prt19.Locked = true
  993.  
  994. prt19.Size = Vector3.new(0.5,1,2)
  995.  
  996. prt19.Parent = swordholder
  997.  
  998. msh19.Parent = prt19
  999.  
  1000. prt19.BrickColor = handlecolor
  1001.  
  1002. local prt20 = Instance.new("Part")
  1003.  
  1004. prt20.formFactor = 3
  1005.  
  1006. prt20.CanCollide = false
  1007.  
  1008. prt20.Name = "LeftWing4"
  1009.  
  1010. prt20.Locked = true
  1011.  
  1012. prt20.Size = Vector3.new(0.5,1,2)
  1013.  
  1014. prt20.Parent = swordholder
  1015.  
  1016. msh20.Parent = prt20
  1017.  
  1018. prt20.BrickColor = handlecolor
  1019.  
  1020.  
  1021. --Tail
  1022.  
  1023. local prt21 = Instance.new("Part")
  1024.  
  1025. prt21.formFactor = 3
  1026.  
  1027. prt21.CanCollide = false
  1028.  
  1029. prt21.Name = "Tail"
  1030.  
  1031. prt21.Locked = true
  1032.  
  1033. prt21.Size = Vector3.new(3,6,1)
  1034.  
  1035. prt21.Parent = swordholder
  1036.  
  1037. msh21.Parent = prt21
  1038.  
  1039. prt21.BrickColor = handlecolor
  1040.  
  1041.  
  1042. --Legs
  1043.  
  1044. local prt22 = Instance.new("Part")
  1045.  
  1046. prt22.formFactor = 3
  1047.  
  1048. prt22.CanCollide = true
  1049.  
  1050. prt22.Name = "RightLeg"
  1051.  
  1052. prt22.Locked = true
  1053.  
  1054. prt22.Size = Vector3.new(1,2,1)
  1055.  
  1056. prt22.Parent = swordholder
  1057.  
  1058. msh22.Parent = prt22
  1059.  
  1060. prt22.BrickColor = handlecolor
  1061.  
  1062. local prt22a = Instance.new("Part")
  1063.  
  1064. prt22a.formFactor = 3
  1065.  
  1066. prt22a.CanCollide = false
  1067.  
  1068. prt22a.Name = "RightLega"
  1069.  
  1070. prt22a.Locked = true
  1071.  
  1072. prt22a.Size = Vector3.new(0.2,0.2,0.2)
  1073.  
  1074. prt22a.Parent = swordholder
  1075.  
  1076. prt22a.Transparency = 1
  1077.  
  1078. local prt23 = Instance.new("Part")
  1079.  
  1080. prt23.formFactor = 3
  1081.  
  1082. prt23.CanCollide = false
  1083.  
  1084. prt23.Name = "RightLeg2"
  1085.  
  1086. prt23.Locked = true
  1087.  
  1088. prt23.Size = Vector3.new(0.75,2,0.75)
  1089.  
  1090. prt23.Parent = swordholder
  1091.  
  1092. msh23.Parent = prt23
  1093.  
  1094. prt23.BrickColor = bcolor
  1095.  
  1096. local prt24 = Instance.new("Part")
  1097.  
  1098. prt24.formFactor = 3
  1099.  
  1100. prt24.CanCollide = false
  1101.  
  1102. prt24.Name = "RightFeet"
  1103.  
  1104. prt24.Locked = true
  1105.  
  1106. prt24.Size = Vector3.new(1,0.75,2.5)
  1107.  
  1108. prt24.Parent = swordholder
  1109.  
  1110. msh24.Parent = prt24
  1111.  
  1112. prt24.BrickColor = bcolor
  1113.  
  1114. local prt25 = Instance.new("Part")
  1115.  
  1116. prt25.formFactor = 3
  1117.  
  1118. prt25.CanCollide = false
  1119.  
  1120. prt25.Name = "RightFeet1"
  1121.  
  1122. prt25.Locked = true
  1123.  
  1124. prt25.Size = Vector3.new(0.3,0.3,1.5)
  1125.  
  1126. prt25.Parent = swordholder
  1127.  
  1128. msh25.Parent = prt25
  1129.  
  1130. prt25.BrickColor = bcolor
  1131.  
  1132. local prt26 = Instance.new("Part")
  1133.  
  1134. prt26.formFactor = 3
  1135.  
  1136. prt26.CanCollide = false
  1137.  
  1138. prt26.Name = "RightFeet2"
  1139.  
  1140. prt26.Locked = true
  1141.  
  1142. prt26.Size = Vector3.new(0.5,0.5,1.5)
  1143.  
  1144. prt26.Parent = swordholder
  1145.  
  1146. msh26.Parent = prt26
  1147.  
  1148. prt26.BrickColor = bcolor
  1149.  
  1150. local prt27 = Instance.new("Part")
  1151.  
  1152. prt27.formFactor = 3
  1153.  
  1154. prt27.CanCollide = false
  1155.  
  1156. prt27.Name = "RightFeet3"
  1157.  
  1158. prt27.Locked = true
  1159.  
  1160. prt27.Size = Vector3.new(0.5,0.5,1.5)
  1161.  
  1162. prt27.Parent = swordholder
  1163.  
  1164. msh27.Parent = prt27
  1165.  
  1166. prt27.BrickColor = bcolor
  1167.  
  1168.  
  1169. local prt28 = Instance.new("Part")
  1170.  
  1171. prt28.formFactor = 3
  1172.  
  1173. prt28.CanCollide = true
  1174.  
  1175. prt28.Name = "LeftLeg"
  1176.  
  1177. prt28.Locked = true
  1178.  
  1179. prt28.Size = Vector3.new(1,2,1)
  1180.  
  1181. prt28.Parent = swordholder
  1182.  
  1183. msh28.Parent = prt28
  1184.  
  1185. prt28.BrickColor = handlecolor
  1186.  
  1187. local prt28a = Instance.new("Part")
  1188.  
  1189. prt28a.formFactor = 3
  1190.  
  1191. prt28a.CanCollide = false
  1192.  
  1193. prt28a.Name = "LeftLega"
  1194.  
  1195. prt28a.Locked = true
  1196.  
  1197. prt28a.Size = Vector3.new(0.2,0.2,0.2)
  1198.  
  1199. prt28a.Parent = swordholder
  1200.  
  1201. prt28a.Transparency = 1
  1202.  
  1203. local prt29 = Instance.new("Part")
  1204.  
  1205. prt29.formFactor = 3
  1206.  
  1207. prt29.CanCollide = false
  1208.  
  1209. prt29.Name = "LeftLeg2"
  1210.  
  1211. prt29.Locked = true
  1212.  
  1213. prt29.Size = Vector3.new(0.75,2,0.75)
  1214.  
  1215. prt29.Parent = swordholder
  1216.  
  1217. msh29.Parent = prt29
  1218.  
  1219. prt29.BrickColor = bcolor
  1220.  
  1221. local prt30 = Instance.new("Part")
  1222.  
  1223. prt30.formFactor = 3
  1224.  
  1225. prt30.CanCollide = false
  1226.  
  1227. prt30.Name = "LeftFeet"
  1228.  
  1229. prt30.Locked = true
  1230.  
  1231. prt30.Size = Vector3.new(1,0.75,2.5)
  1232.  
  1233. prt30.Parent = swordholder
  1234.  
  1235. msh30.Parent = prt30
  1236.  
  1237. prt30.BrickColor = bcolor
  1238.  
  1239. local prt31 = Instance.new("Part")
  1240.  
  1241. prt31.formFactor = 3
  1242.  
  1243. prt31.CanCollide = false
  1244.  
  1245. prt31.Name = "LeftFeet1"
  1246.  
  1247. prt31.Locked = true
  1248.  
  1249. prt31.Size = Vector3.new(0.3,0.3,1.5)
  1250.  
  1251. prt31.Parent = swordholder
  1252.  
  1253. msh31.Parent = prt31
  1254.  
  1255. prt31.BrickColor = bcolor
  1256.  
  1257. local prt32 = Instance.new("Part")
  1258.  
  1259. prt32.formFactor = 3
  1260.  
  1261. prt32.CanCollide = false
  1262.  
  1263. prt32.Name = "LeftFeet2"
  1264.  
  1265. prt32.Locked = true
  1266.  
  1267. prt32.Size = Vector3.new(0.5,0.5,1.5)
  1268.  
  1269. prt32.Parent = swordholder
  1270.  
  1271. msh32.Parent = prt32
  1272.  
  1273. prt32.BrickColor = bcolor
  1274.  
  1275. local prt33 = Instance.new("Part")
  1276.  
  1277. prt33.formFactor = 3
  1278.  
  1279. prt33.CanCollide = false
  1280.  
  1281. prt33.Name = "RightFeet3"
  1282.  
  1283. prt33.Locked = true
  1284.  
  1285. prt33.Size = Vector3.new(0.5,0.5,1.5)
  1286.  
  1287. prt33.Parent = swordholder
  1288.  
  1289. msh33.Parent = prt33
  1290.  
  1291. prt33.BrickColor = bcolor
  1292.  
  1293.  
  1294. --Backseat :D
  1295.  
  1296. local prt34 = Instance.new("Seat")
  1297.  
  1298. prt34.formFactor = 3
  1299.  
  1300. prt34.CanCollide = false
  1301.  
  1302. prt34.Name = "Backseat"
  1303.  
  1304. prt34.Locked = true
  1305.  
  1306. prt34.Size = Vector3.new(0.2,1,0.2)
  1307.  
  1308. prt34.Parent = swordholder
  1309.  
  1310. prt34.Transparency = 1
  1311.  
  1312.  
  1313. --
  1314.  
  1315. local prt35 = Instance.new("Part")
  1316.  
  1317. prt35.formFactor = 3
  1318.  
  1319. prt35.CanCollide = true
  1320.  
  1321. prt35.Name = "Stand"
  1322.  
  1323. prt35.Locked = true
  1324.  
  1325. prt35.Size = Vector3.new(1,4,1)
  1326.  
  1327. prt35.Parent = swordholder
  1328.  
  1329. prt35.Transparency = 1
  1330.  
  1331. local w35 = Instance.new("Weld")
  1332.  
  1333. w35.Parent = prt35
  1334.  
  1335. w35.Part0 = prt35
  1336.  
  1337. w35.Part1 = prt1
  1338.  
  1339. w35.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1340.  
  1341. w35.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 2,0)
  1342.  
  1343.  
  1344. --Torso
  1345.  
  1346. local w1 = Instance.new("Weld")
  1347.  
  1348. w1.Parent = prt1
  1349.  
  1350. w1.Part0 = prt1
  1351.  
  1352. w1.Part1 = Torso
  1353.  
  1354. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  1355.  
  1356. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-0), math.rad(0)) * CFrame.new(0, 3, -1)
  1357.  
  1358. --Neck
  1359.  
  1360. local w2 = Instance.new("Weld")
  1361.  
  1362. w2.Parent = prt2
  1363.  
  1364. w2.Part0 = prt2
  1365.  
  1366. w2.Part1 = prt1
  1367.  
  1368. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1369.  
  1370. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1371.  
  1372. local w3a = Instance.new("Weld")
  1373.  
  1374. w3a.Parent = prt3a
  1375.  
  1376. w3a.Part0 = prt3a
  1377.  
  1378. w3a.Part1 = prt1
  1379.  
  1380. w3a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1381.  
  1382. w3a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -1.5,3)
  1383.  
  1384. local w3 = Instance.new("Weld")
  1385.  
  1386. w3.Parent = prt3
  1387.  
  1388. w3.Part0 = prt3
  1389.  
  1390. w3.Part1 = prt3a
  1391.  
  1392. w3.C1 = CFrame.Angles(math.rad(-20), 0, 0) * CFrame.new(0, 0.465,0)
  1393.  
  1394. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1395.  
  1396. --Head
  1397.  
  1398. local w4 = Instance.new("Weld")
  1399.  
  1400. w4.Parent = prt4
  1401.  
  1402. w4.Part0 = prt4
  1403.  
  1404. w4.Part1 = prt3
  1405.  
  1406. w4.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1407.  
  1408. w4.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -2.5/2,0.25)
  1409.  
  1410. local w5 = Instance.new("Weld")
  1411.  
  1412. w5.Parent = prt5
  1413.  
  1414. w5.Part0 = prt5
  1415.  
  1416. w5.Part1 = prt4
  1417.  
  1418. w5.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1419.  
  1420. w5.C0 = CFrame.Angles(math.rad(100), 0, 0) * CFrame.new(0, 0.25,1.45)
  1421.  
  1422. local w6 = Instance.new("Weld")
  1423.  
  1424. w6.Parent = prt6
  1425.  
  1426. w6.Part0 = prt6
  1427.  
  1428. w6.Part1 = prt4
  1429.  
  1430. w6.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1431.  
  1432. w6.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.75, -0.25,0.75)
  1433.  
  1434. local w7 = Instance.new("Weld")
  1435.  
  1436. w7.Parent = prt7
  1437.  
  1438. w7.Part0 = prt7
  1439.  
  1440. w7.Part1 = prt4
  1441.  
  1442. w7.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1443.  
  1444. w7.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.75, -0.25,0.75)
  1445.  
  1446. local w6a = Instance.new("Weld")
  1447.  
  1448. w6a.Parent = prt6a
  1449.  
  1450. w6a.Part0 = prt6a
  1451.  
  1452. w6a.Part1 = prt4
  1453.  
  1454. w6a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1455.  
  1456. w6a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.775, -0.25,0.91)
  1457.  
  1458. local w7a = Instance.new("Weld")
  1459.  
  1460. w7a.Parent = prt7a
  1461.  
  1462. w7a.Part0 = prt7a
  1463.  
  1464. w7a.Part1 = prt4
  1465.  
  1466. w7a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1467.  
  1468. w7a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.775, -0.25,0.91)
  1469.  
  1470. local w8 = Instance.new("Weld")
  1471.  
  1472. w8.Parent = prt8
  1473.  
  1474. w8.Part0 = prt8
  1475.  
  1476. w8.Part1 = prt4
  1477.  
  1478. w8.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1479.  
  1480. w8.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.9,-1)
  1481.  
  1482. local w9 = Instance.new("Weld")
  1483.  
  1484. w9.Parent = prt9
  1485.  
  1486. w9.Part0 = prt9
  1487.  
  1488. w9.Part1 = prt4
  1489.  
  1490. w9.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1491.  
  1492. w9.C0 = CFrame.Angles(math.rad(0), math.rad(20), math.rad(-40)) * CFrame.new(0.75, -0.5,-1)
  1493.  
  1494. local w10 = Instance.new("Weld")
  1495.  
  1496. w10.Parent = prt10
  1497.  
  1498. w10.Part0 = prt10
  1499.  
  1500. w10.Part1 = prt4
  1501.  
  1502. w10.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1503.  
  1504. w10.C0 = CFrame.Angles(math.rad(0), math.rad(-20), math.rad(40)) * CFrame.new(-0.75, -0.5,-1)
  1505.  
  1506. --Right Wing
  1507.  
  1508. local w11 = Instance.new("Weld")
  1509.  
  1510. w11.Parent = prt11
  1511.  
  1512. w11.Part0 = prt11
  1513.  
  1514. w11.Part1 = prt1
  1515.  
  1516. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1517.  
  1518. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  1519.  
  1520. local w12 = Instance.new("Weld")
  1521.  
  1522. w12.Parent = prt12
  1523.  
  1524. w12.Part0 = prt12
  1525.  
  1526. w12.Part1 = prt11
  1527.  
  1528. w12.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1529.  
  1530. w12.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
  1531.  
  1532. local w13 = Instance.new("Weld")
  1533.  
  1534. w13.Parent = prt13
  1535.  
  1536. w13.Part0 = prt13
  1537.  
  1538. w13.Part1 = prt11
  1539.  
  1540. w13.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1541.  
  1542. w13.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
  1543.  
  1544. local w14 = Instance.new("Weld")
  1545.  
  1546. w14.Parent = prt14
  1547.  
  1548. w14.Part0 = prt14
  1549.  
  1550. w14.Part1 = prt11
  1551.  
  1552. w14.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1553.  
  1554. w14.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
  1555.  
  1556. local w15 = Instance.new("Weld")
  1557.  
  1558. w15.Parent = prt15
  1559.  
  1560. w15.Part0 = prt15
  1561.  
  1562. w15.Part1 = prt11
  1563.  
  1564. w15.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1565.  
  1566. w15.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
  1567.  
  1568. --Left Wing
  1569.  
  1570. local w16 = Instance.new("Weld")
  1571.  
  1572. w16.Parent = prt16
  1573.  
  1574. w16.Part0 = prt16
  1575.  
  1576. w16.Part1 = prt1
  1577.  
  1578. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1579.  
  1580. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  1581.  
  1582. local w17 = Instance.new("Weld")
  1583.  
  1584. w17.Parent = prt17
  1585.  
  1586. w17.Part0 = prt17
  1587.  
  1588. w17.Part1 = prt16
  1589.  
  1590. w17.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1591.  
  1592. w17.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
  1593.  
  1594. local w18 = Instance.new("Weld")
  1595.  
  1596. w18.Parent = prt18
  1597.  
  1598. w18.Part0 = prt18
  1599.  
  1600. w18.Part1 = prt16
  1601.  
  1602. w18.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1603.  
  1604. w18.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
  1605.  
  1606. local w19 = Instance.new("Weld")
  1607.  
  1608. w19.Parent = prt19
  1609.  
  1610. w19.Part0 = prt19
  1611.  
  1612. w19.Part1 = prt16
  1613.  
  1614. w19.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1615.  
  1616. w19.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
  1617.  
  1618. local w20 = Instance.new("Weld")
  1619.  
  1620. w20.Parent = prt20
  1621.  
  1622. w20.Part0 = prt20
  1623.  
  1624. w20.Part1 = prt16
  1625.  
  1626. w20.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1627.  
  1628. w20.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
  1629.  
  1630. --Tail
  1631.  
  1632. local w21 = Instance.new("Weld")
  1633.  
  1634. w21.Parent = prt21
  1635.  
  1636. w21.Part0 = prt21
  1637.  
  1638. w21.Part1 = prt1
  1639.  
  1640. w21.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1641.  
  1642. w21.C0 = CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) * CFrame.new(0, -1.5,-3.5)
  1643.  
  1644. --Right Leg
  1645.  
  1646. local w22 = Instance.new("Weld")
  1647.  
  1648. w22.Parent = prt22
  1649.  
  1650. w22.Part0 = prt22
  1651.  
  1652. w22.Part1 = prt1
  1653.  
  1654. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1655.  
  1656. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1657.  
  1658. local w22a = Instance.new("Weld")
  1659.  
  1660. w22a.Parent = prt22a
  1661.  
  1662. w22a.Part0 = prt22a
  1663.  
  1664. w22a.Part1 = prt22
  1665.  
  1666. w22a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1667.  
  1668. w22a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0)
  1669.  
  1670. local w23 = Instance.new("Weld")
  1671.  
  1672. w23.Parent = prt23
  1673.  
  1674. w23.Part0 = prt23
  1675.  
  1676. w23.Part1 = prt22a
  1677.  
  1678. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1679.  
  1680. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1681.  
  1682. local w24 = Instance.new("Weld")
  1683.  
  1684. w24.Parent = prt24
  1685.  
  1686. w24.Part0 = prt24
  1687.  
  1688. w24.Part1 = prt23
  1689.  
  1690. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1691.  
  1692. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1693.  
  1694. local w25 = Instance.new("Weld")
  1695.  
  1696. w25.Parent = prt25
  1697.  
  1698. w25.Part0 = prt25
  1699.  
  1700. w25.Part1 = prt24
  1701.  
  1702. w25.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1703.  
  1704. w25.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5)
  1705.  
  1706. local w26 = Instance.new("Weld")
  1707.  
  1708. w26.Parent = prt26
  1709.  
  1710. w26.Part0 = prt26
  1711.  
  1712. w26.Part1 = prt24
  1713.  
  1714. w26.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1715.  
  1716. w26.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5)
  1717.  
  1718. local w27 = Instance.new("Weld")
  1719.  
  1720. w27.Parent = prt27
  1721.  
  1722. w27.Part0 = prt27
  1723.  
  1724. w27.Part1 = prt24
  1725.  
  1726. w27.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1727.  
  1728. w27.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5)
  1729.  
  1730. --Left Leg
  1731.  
  1732. local w28 = Instance.new("Weld")
  1733.  
  1734. w28.Parent = prt28
  1735.  
  1736. w28.Part0 = prt28
  1737.  
  1738. w28.Part1 = prt1
  1739.  
  1740. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1741.  
  1742. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1743.  
  1744. local w28a = Instance.new("Weld")
  1745.  
  1746. w28a.Parent = prt28a
  1747.  
  1748. w28a.Part0 = prt28a
  1749.  
  1750. w28a.Part1 = prt28
  1751.  
  1752. w28a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1753.  
  1754. w28a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0)
  1755.  
  1756. local w29 = Instance.new("Weld")
  1757.  
  1758. w29.Parent = prt29
  1759.  
  1760. w29.Part0 = prt29
  1761.  
  1762. w29.Part1 = prt28a
  1763.  
  1764. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1765.  
  1766. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1767.  
  1768. local w30 = Instance.new("Weld")
  1769.  
  1770. w30.Parent = prt30
  1771.  
  1772. w30.Part0 = prt30
  1773.  
  1774. w30.Part1 = prt29
  1775.  
  1776. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1777.  
  1778. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1779.  
  1780. local w31 = Instance.new("Weld")
  1781.  
  1782. w31.Parent = prt31
  1783.  
  1784. w31.Part0 = prt31
  1785.  
  1786. w31.Part1 = prt30
  1787.  
  1788. w31.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1789.  
  1790. w31.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5)
  1791.  
  1792. local w32 = Instance.new("Weld")
  1793.  
  1794. w32.Parent = prt32
  1795.  
  1796. w32.Part0 = prt32
  1797.  
  1798. w32.Part1 = prt30
  1799.  
  1800. w32.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1801.  
  1802. w32.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5)
  1803.  
  1804. local w33 = Instance.new("Weld")
  1805.  
  1806. w33.Parent = prt33
  1807.  
  1808. w33.Part0 = prt33
  1809.  
  1810. w33.Part1 = prt30
  1811.  
  1812. w33.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1813.  
  1814. w33.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5)
  1815.  
  1816. --Backseat
  1817.  
  1818. local w34 = Instance.new("Weld")
  1819.  
  1820. w34.Parent = prt1
  1821.  
  1822. w34.Part0 = prt34
  1823.  
  1824. w34.Part1 = prt1
  1825.  
  1826. w34.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1827.  
  1828. w34.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, -1,-1.5)
  1829.  
  1830. if Alive then
  1831.  
  1832. local hum = Instance.new("Humanoid")
  1833.  
  1834. hum.Parent = swordholder
  1835.  
  1836. hum.MaxHealth = ChocoboHP
  1837.  
  1838. hum.Health = ChocoboHP
  1839.  
  1840. hum.PlatformStand = true
  1841.  
  1842. end
  1843.  
  1844.  
  1845. local w36 = Instance.new("Weld")
  1846.  
  1847. local w37 = Instance.new("Weld")
  1848.  
  1849. --[[if Rope then
  1850.  
  1851. local msh36 = Instance.new("BlockMesh")
  1852.  
  1853. local prt36 = Instance.new("Part")
  1854.  
  1855. prt36.formFactor = 3
  1856.  
  1857. prt36.CanCollide = true
  1858.  
  1859. prt36.Name = "MouthRope"
  1860.  
  1861. prt36.Locked = true
  1862.  
  1863. prt36.Size = Vector3.new(1,0.2,0.2)
  1864.  
  1865. prt36.Parent = swordholder
  1866.  
  1867. msh36.Parent = prt36
  1868.  
  1869. prt36.BrickColor = ropecolor
  1870.  
  1871. w36.Parent = prt36
  1872.  
  1873. w36.Part0 = prt36
  1874.  
  1875. w36.Part1 = prt5
  1876.  
  1877. w36.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1878.  
  1879. w36.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  1880.  
  1881. local msh37 = Instance.new("BlockMesh")
  1882.  
  1883. local prt37 = Instance.new("Part")
  1884.  
  1885. prt37.formFactor = 3
  1886.  
  1887. prt37.CanCollide = true
  1888.  
  1889. prt37.Name = "MouthRope2"
  1890.  
  1891. prt37.Locked = true
  1892.  
  1893. prt37.Size = Vector3.new(3,0.2,0.2)
  1894.  
  1895. prt37.Parent = swordholder
  1896.  
  1897. msh37.Parent = prt37
  1898.  
  1899. prt37.BrickColor = ropecolor
  1900.  
  1901. w37.Parent = prt37
  1902.  
  1903. w37.Part0 = prt37
  1904.  
  1905. w37.Part1 = Torso
  1906.  
  1907. w37.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1908.  
  1909. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-1)
  1910.  
  1911. local prt38a = Instance.new("Part")
  1912.  
  1913. prt38a.formFactor = 3
  1914.  
  1915. prt38a.CanCollide = false
  1916.  
  1917. prt38a.Name = "MouthRope3Joint"
  1918.  
  1919. prt38a.Locked = true
  1920.  
  1921. prt38a.Size = Vector3.new(0.2,0.2,0.2)
  1922.  
  1923. prt38a.Parent = swordholder
  1924.  
  1925. prt38a.Transparency = 1
  1926.  
  1927. local w38a = Instance.new("Weld")
  1928.  
  1929. w38a.Parent = prt38a
  1930.  
  1931. w38a.Part0 = prt38a
  1932.  
  1933. w38a.Part1 = prt3
  1934.  
  1935. w38a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1936.  
  1937. w38a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.5, 1.5,0.5)
  1938.  
  1939. local prt39a = Instance.new("Part")
  1940.  
  1941. prt39a.formFactor = 3
  1942.  
  1943. prt39a.CanCollide = false
  1944.  
  1945. prt39a.Name = "MouthRope4Joint"
  1946.  
  1947. prt39a.Locked = true
  1948.  
  1949. prt39a.Size = Vector3.new(0.2,0.2,0.2)
  1950.  
  1951. prt39a.Parent = swordholder
  1952.  
  1953. prt39a.Transparency = 1
  1954.  
  1955. local w39a = Instance.new("Weld")
  1956.  
  1957. w39a.Parent = prt39a
  1958.  
  1959. w39a.Part0 = prt39a
  1960.  
  1961. w39a.Part1 = prt3
  1962.  
  1963. w39a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1964.  
  1965. w39a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-0.5, 1.5,0.5)
  1966.  
  1967. local msh38 = Instance.new("BlockMesh")
  1968.  
  1969. local prt38 = Instance.new("Part")
  1970.  
  1971. prt38.formFactor = 3
  1972.  
  1973. prt38.Name = "MouthRope3"
  1974.  
  1975. prt38.Locked = true
  1976.  
  1977. prt38.Size = Vector3.new(0.2,0.2,0.2)
  1978.  
  1979. prt38.Parent = swordholder
  1980.  
  1981. msh38.Parent = prt38
  1982.  
  1983. prt38.BrickColor = ropecolor
  1984.  
  1985. prt38.CanCollide = false
  1986.  
  1987. prt38.Anchored = true
  1988.  
  1989. local msh39 = Instance.new("BlockMesh")
  1990.  
  1991. local prt39 = Instance.new("Part")
  1992.  
  1993. prt39.formFactor = 3
  1994.  
  1995. prt39.Name = "MouthRope4"
  1996.  
  1997. prt39.Locked = true
  1998.  
  1999. prt39.Size = Vector3.new(0.2,0.2,0.2)
  2000.  
  2001. prt39.Parent = swordholder
  2002.  
  2003. msh39.Parent = prt39
  2004.  
  2005. prt39.BrickColor = ropecolor
  2006.  
  2007. prt39.CanCollide = false
  2008.  
  2009. prt39.Anchored = true
  2010.  
  2011. local msh40 = Instance.new("BlockMesh")
  2012.  
  2013. local prt40 = Instance.new("Part")
  2014.  
  2015. prt40.formFactor = 3
  2016.  
  2017. prt40.Name = "MouthRope5"
  2018.  
  2019. prt40.Locked = true
  2020.  
  2021. prt40.Size = Vector3.new(0.2,0.2,0.2)
  2022.  
  2023. prt40.Parent = swordholder
  2024.  
  2025. msh40.Parent = prt40
  2026.  
  2027. prt40.BrickColor = ropecolor
  2028.  
  2029. prt40.CanCollide = false
  2030.  
  2031. prt40.Anchored = true
  2032.  
  2033. local msh41 = Instance.new("BlockMesh")
  2034.  
  2035. local prt41 = Instance.new("Part")
  2036.  
  2037. prt41.formFactor = 3
  2038.  
  2039. prt41.Name = "MouthRope6"
  2040.  
  2041. prt41.Locked = true
  2042.  
  2043. prt41.Size = Vector3.new(0.2,0.2,0.2)
  2044.  
  2045. prt41.Parent = swordholder
  2046.  
  2047. msh41.Parent = prt41
  2048.  
  2049. prt41.BrickColor = ropecolor
  2050.  
  2051. prt41.CanCollide = false
  2052.  
  2053. prt41.Anchored = true
  2054.  
  2055. coroutine.resume(coroutine.create(function()
  2056.  
  2057. repeat
  2058.  
  2059. wait()
  2060.  
  2061. local ll = prt37.CFrame * CFrame.new(prt37.Size.x/-2,0,0)
  2062.  
  2063. local rr = prt37.CFrame * CFrame.new(prt37.Size.x/2,0,0)
  2064.  
  2065. local oristrpos1 = prt38a.CFrame
  2066.  
  2067. local oristrpos2 = prt39a.CFrame
  2068.  
  2069. local oristrpos3 = prt36.CFrame*CFrame.new((prt36.Size.x/-2)+0.1,0,0)
  2070.  
  2071. local oristrpos4 = prt36.CFrame*CFrame.new((prt36.Size.x/2)-0.1,0,0)
  2072.  
  2073. local mg1 = (ll.p - oristrpos1.p).magnitude
  2074.  
  2075. local mg2 = (rr.p - oristrpos2.p).magnitude
  2076.  
  2077. local mg3 = (oristrpos1.p - oristrpos3.p).magnitude
  2078.  
  2079. local mg4 = (oristrpos2.p - oristrpos4.p).magnitude
  2080.  
  2081. prt38.Size = Vector3.new(0.2,mg1,0.2)
  2082.  
  2083. prt38.CFrame = CFrame.new((ll.p+oristrpos1.p)/2,oristrpos1.p) * CFrame.Angles(math.rad(90),0,0)
  2084.  
  2085. prt39.Size = Vector3.new(0.2,mg2,0.2)
  2086.  
  2087. prt39.CFrame = CFrame.new((rr.p+oristrpos2.p)/2,oristrpos2.p) * CFrame.Angles(math.rad(90),0,0)
  2088.  
  2089. prt40.Size = Vector3.new(0.2,mg3,0.2)
  2090.  
  2091. prt40.CFrame = CFrame.new((oristrpos1.p+oristrpos3.p)/2,oristrpos3.p) * CFrame.Angles(math.rad(90),0,0)
  2092.  
  2093. prt41.Size = Vector3.new(0.2,mg3,0.2)
  2094.  
  2095. prt41.CFrame = CFrame.new((oristrpos2.p+oristrpos4.p)/2,oristrpos4.p) * CFrame.Angles(math.rad(90),0,0)
  2096.  
  2097. until false
  2098.  
  2099. end))
  2100.  
  2101. end]]
  2102.  
  2103.  
  2104.  
  2105. local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2106.  
  2107. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2108.  
  2109. end
  2110.  
  2111.  
  2112. local bg = Instance.new("BodyGyro")
  2113.  
  2114. bg.maxTorque = bg.maxTorque * math.huge
  2115.  
  2116. local bp = Instance.new("BodyPosition")
  2117.  
  2118. bp.maxForce = Vector3.new(math.huge,0,math.huge)
  2119.  
  2120. bp.P = bp.p * 10
  2121.  
  2122.  
  2123. function unequipweld()
  2124.  
  2125. w1.Part1 = nil
  2126.  
  2127. bg.Parent = prt1
  2128.  
  2129. bg.cframe = prt1.CFrame
  2130.  
  2131. local hit,pos = rayCast(Torso.Position+Vector3.new(0,10,0), Vector3.new(0,-2,0), 1000, Character)
  2132.  
  2133. bp.position = pos + Vector3.new(0,4,0)
  2134.  
  2135. bp.Parent = prt1
  2136.  
  2137. w37.Part1 = prt2
  2138.  
  2139. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)
  2140.  
  2141. end
  2142.  
  2143.  
  2144. unequipweld()
  2145.  
  2146. bp.position = (Head.CFrame*CFrame.new(10,0,0)).p
  2147.  
  2148. bg.cframe = Head.CFrame
  2149.  
  2150.  
  2151. function equipweld()
  2152.  
  2153. w1.Part1 = Torso
  2154.  
  2155. bg.Parent = nil
  2156.  
  2157. bp.Parent = nil
  2158.  
  2159. w37.Part1 = Torso
  2160.  
  2161. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)
  2162.  
  2163. end
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169. function ss(parent,p) --Slash
  2170.  
  2171.  
  2172. local SlashSound = Instance.new("Sound")
  2173.  
  2174. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  2175.  
  2176. SlashSound.Parent = parent
  2177.  
  2178. SlashSound.Volume = .7
  2179.  
  2180. SlashSound.Pitch = p
  2181.  
  2182. SlashSound.PlayOnRemove = true
  2183.  
  2184. coroutine.resume(coroutine.create(function()
  2185.  
  2186. wait()
  2187.  
  2188. SlashSound.Parent = nil
  2189.  
  2190. end))
  2191.  
  2192. end
  2193.  
  2194. function uss(parent,p) --unsheath
  2195.  
  2196.  
  2197. local SlashSound = Instance.new("Sound")
  2198.  
  2199. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  2200.  
  2201. SlashSound.Parent = parent
  2202.  
  2203. SlashSound.Volume = .7
  2204.  
  2205. SlashSound.Pitch = p
  2206.  
  2207. SlashSound.PlayOnRemove = true
  2208.  
  2209. coroutine.resume(coroutine.create(function()
  2210.  
  2211. wait()
  2212.  
  2213. SlashSound.Parent = nil
  2214.  
  2215. end))
  2216.  
  2217. end
  2218.  
  2219. function fs(parent,p) --Fire Sound
  2220.  
  2221.  
  2222. local SlashSound = Instance.new("Sound")
  2223.  
  2224. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  2225.  
  2226. SlashSound.Parent = parent
  2227.  
  2228. SlashSound.Volume = .7
  2229.  
  2230. SlashSound.Pitch = p
  2231.  
  2232. SlashSound.PlayOnRemove = true
  2233.  
  2234. coroutine.resume(coroutine.create(function()
  2235.  
  2236. wait()
  2237.  
  2238. SlashSound.Parent = nil
  2239.  
  2240. end))
  2241.  
  2242. end
  2243.  
  2244. function ms(parent,p) --Metal Cling Sound
  2245.  
  2246.  
  2247. local SlashSound = Instance.new("Sound")
  2248.  
  2249. SlashSound.SoundId = "rbxasset://sounds\\metal.ogg"
  2250.  
  2251. SlashSound.Parent = parent
  2252.  
  2253. SlashSound.Volume = 5
  2254.  
  2255. SlashSound.Pitch = p
  2256.  
  2257. SlashSound.PlayOnRemove = true
  2258.  
  2259. coroutine.resume(coroutine.create(function()
  2260.  
  2261. wait()
  2262.  
  2263. SlashSound.Parent = nil
  2264.  
  2265. end))
  2266.  
  2267. end
  2268.  
  2269. function ws(parent,p) --Walk Sound
  2270.  
  2271.  
  2272. local SlashSound = Instance.new("Sound")
  2273.  
  2274. SlashSound.SoundId = "rbxasset://sounds\\bfsl-minifigfoots1.mp3"
  2275.  
  2276. SlashSound.Parent = parent
  2277.  
  2278. SlashSound.Volume = 1
  2279.  
  2280. SlashSound.Pitch = p
  2281.  
  2282. SlashSound.PlayOnRemove = true
  2283.  
  2284. coroutine.resume(coroutine.create(function()
  2285.  
  2286. wait()
  2287.  
  2288. SlashSound.Parent = nil
  2289.  
  2290. end))
  2291.  
  2292. end
  2293.  
  2294. --
  2295.  
  2296. --
  2297.  
  2298.  
  2299. function returndmg()
  2300.  
  2301. mindamage = omindamage
  2302.  
  2303. maxdamage = omaxdamage
  2304.  
  2305. crtmaxdamage = ocrtmaxdamage
  2306.  
  2307. end
  2308.  
  2309.  
  2310. function subdmg(sub)
  2311.  
  2312. mindamage = omindamage - sub
  2313.  
  2314. maxdamage = omaxdamage - sub
  2315.  
  2316. crtmaxdamage = ocrtmaxdamage - sub
  2317.  
  2318. end
  2319.  
  2320.  
  2321. function prcntdmg(sub)
  2322.  
  2323. mindamage = math.floor(omindamage - (omindamage*(sub/100)))
  2324.  
  2325. maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100)))
  2326.  
  2327. crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100)))
  2328.  
  2329. end
  2330.  
  2331.  
  2332. function tagHumanoid(humanoid, player)
  2333.  
  2334. local creator_tag = Instance.new("ObjectValue")
  2335.  
  2336. creator_tag.Value = player
  2337.  
  2338. creator_tag.Name = "creator"
  2339.  
  2340. creator_tag.Parent = humanoid
  2341.  
  2342. end
  2343.  
  2344.  
  2345. function untagHumanoid(humanoid)
  2346.  
  2347. if humanoid ~= nil then
  2348.  
  2349. local tag = humanoid:findFirstChild("creator")
  2350.  
  2351. if tag ~= nil then
  2352.  
  2353. tag.Parent = nil
  2354.  
  2355. end
  2356.  
  2357. end
  2358.  
  2359. end
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365. function hideanim()
  2366.  
  2367. attack = true
  2368.  
  2369. RWRem()
  2370.  
  2371. LWRem()
  2372.  
  2373. RWLRem()
  2374.  
  2375. LWLRem()
  2376.  
  2377. unequipweld()
  2378.  
  2379. attack = false
  2380.  
  2381. end
  2382.  
  2383.  
  2384.  
  2385. function equipanim()
  2386.  
  2387. attack = true
  2388.  
  2389. RWFunc()
  2390.  
  2391. RWLFunc()
  2392.  
  2393. LWLFunc()
  2394.  
  2395. LWFunc()
  2396.  
  2397. equipweld()
  2398.  
  2399. for i = 0.1 ,1 ,0.1 do
  2400.  
  2401. wait()
  2402.  
  2403. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(-20*i))
  2404.  
  2405. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2406.  
  2407. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(20*i))
  2408.  
  2409. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2410.  
  2411. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(25*i))
  2412.  
  2413. RWL.C1 = CFrame.new(0.5, 1, 0)
  2414.  
  2415. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(-25*i))
  2416.  
  2417. LWL.C1 = CFrame.new(-0.5, 1, 0)
  2418.  
  2419. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(0),0,math.rad(0))
  2420.  
  2421. end
  2422.  
  2423.  
  2424. attack = false
  2425.  
  2426. end
  2427.  
  2428.  
  2429. function noarms()
  2430.  
  2431. RWRem()
  2432.  
  2433. LWRem()
  2434.  
  2435. w37.Part1 = prt2
  2436.  
  2437. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)
  2438.  
  2439. end
  2440.  
  2441.  
  2442. function arms()
  2443.  
  2444. RWFunc()
  2445.  
  2446. LWFunc()
  2447.  
  2448. w37.Part1 = Torso
  2449.  
  2450. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)
  2451.  
  2452. end
  2453.  
  2454.  
  2455. function faketors()
  2456.  
  2457. local T = Instance.new("Part")
  2458.  
  2459. T.formFactor = 0
  2460.  
  2461. T.CanCollide = false
  2462.  
  2463. T.Name = "FakeTorso"
  2464.  
  2465. T.Locked = true
  2466.  
  2467. T.Size = Torso.Size
  2468.  
  2469. T.Parent = swordholder
  2470.  
  2471. T.Transparency = 1
  2472.  
  2473. T.BrickColor = Torso.BrickColor
  2474.  
  2475. for i,z in pairs(Character:GetChildren()) do
  2476.  
  2477. if z.className == "CharacterMesh" then
  2478.  
  2479. if z.BodyPart == Enum.BodyPart.Torso then
  2480.  
  2481. local SM = Instance.new("SpecialMesh",T)
  2482.  
  2483. SM.MeshId = "http://www.roblox.com/asset/?id=" .. z.MeshId
  2484.  
  2485. if z.BaseTextureId ~= 0 then
  2486.  
  2487. SM.TextureId = z.BaseTextureId
  2488.  
  2489. elseif z.OverlayTextureId ~= 0 then
  2490.  
  2491. SM.TextureId = z.OverlayTextureId
  2492.  
  2493. else
  2494.  
  2495. SM.TextureId = ""
  2496.  
  2497. end
  2498.  
  2499. end
  2500.  
  2501. end
  2502.  
  2503. end
  2504.  
  2505. local wt = Instance.new("Weld")
  2506.  
  2507. wt.Parent = T
  2508.  
  2509. wt.Part0 = T
  2510.  
  2511. wt.Part1 = Torso
  2512.  
  2513. RW.Part0 = T
  2514.  
  2515. LW.Part0 = T
  2516.  
  2517. T.Transparency = 0
  2518.  
  2519. Torso.Transparency = 1
  2520.  
  2521. RHL.Part0 = T
  2522.  
  2523. LHL.Part0 = T
  2524.  
  2525. return wt,T
  2526.  
  2527. end
  2528.  
  2529.  
  2530.  
  2531. if (script.Parent.className ~= "HopperBin") then
  2532.  
  2533. Tool = Instance.new("HopperBin")
  2534.  
  2535. Tool.Parent = Backpack
  2536.  
  2537. Tool.Name = ToolName
  2538.  
  2539. script.Parent = Tool
  2540.  
  2541. end
  2542.  
  2543. Bin = script.Parent
  2544.  
  2545.  
  2546.  
  2547. function damagesplat(dmg,hit,crit,blocked)
  2548.  
  2549. local mo = Instance.new("Model")
  2550.  
  2551. mo.Name = dmg
  2552.  
  2553. local pa = Instance.new("Part",mo)
  2554.  
  2555. pa.formFactor = 3
  2556.  
  2557. pa.Size = Vector3.new(0.8,0.3,0.8)
  2558.  
  2559. if crit then
  2560.  
  2561. pa.BrickColor = BrickColor.new("Bright yellow")
  2562.  
  2563. elseif not crit then
  2564.  
  2565. pa.BrickColor = BrickColor.new("Bright red")
  2566.  
  2567. end
  2568.  
  2569. if blocked then pa.BrickColor = BrickColor.new("Bright blue") end
  2570.  
  2571. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  2572.  
  2573. pa.Name = "Head"
  2574.  
  2575. local hah = Instance.new("Humanoid")
  2576.  
  2577. hah.Parent = mo
  2578.  
  2579. hah.MaxHealth = 0
  2580.  
  2581. hah.Health = 0
  2582.  
  2583. local bp = Instance.new("BodyPosition")
  2584.  
  2585. bp.P = 14000
  2586.  
  2587. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2588.  
  2589. bp.position = hit.Position + Vector3.new(0, 5, 0)
  2590.  
  2591. coroutine.resume(coroutine.create(function()
  2592.  
  2593. wait()
  2594.  
  2595. mo.Parent = workspace
  2596.  
  2597. bp.Parent = pa
  2598.  
  2599. wait(1.4)
  2600.  
  2601. mo:remove()
  2602.  
  2603. end))
  2604.  
  2605. return pa
  2606.  
  2607. end
  2608.  
  2609.  
  2610. function damage(hum,dmg,critornot)
  2611.  
  2612. local pa = damagesplat(dmg,hum.Torso,critornot)
  2613.  
  2614. hum:TakeDamage(dmg)
  2615.  
  2616. coroutine.resume(coroutine.create(function()
  2617.  
  2618. tagHumanoid(hum,Player)
  2619.  
  2620. wait(1)
  2621.  
  2622. untagHumanoid(hum)
  2623.  
  2624. end))
  2625.  
  2626. return pa
  2627.  
  2628. end
  2629.  
  2630.  
  2631. function AddEnergy(add)
  2632.  
  2633. Energy = Energy + add
  2634.  
  2635. if Energy > MaxEnergy then
  2636.  
  2637. Energy = MaxEnergy
  2638.  
  2639. end
  2640.  
  2641. end
  2642.  
  2643.  
  2644.  
  2645.  
  2646. function OT(hit) --Normal Damage
  2647.  
  2648. if Hitdeb == 1 then return end
  2649.  
  2650. if hit.Parent == nil then return end
  2651.  
  2652. local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then
  2653.  
  2654. if hum.Health <= 0 then return end
  2655.  
  2656. if hit.Parent:findFirstChild("Block") ~= nil then
  2657.  
  2658. if hit.Parent.Block.Value then
  2659.  
  2660. damagesplat(0,hum.Torso,false,true)
  2661.  
  2662. Hitdeb = 1
  2663.  
  2664. if hit.Parent.Block:findFirstChild("BlockPower") ~= nil then
  2665.  
  2666. if hit.Parent.Block.BlockPower.Value <= 1 then
  2667.  
  2668. hit.Parent.Block.Value = false
  2669.  
  2670. elseif hit.Parent.Block.BlockPower.Value > 1 then
  2671.  
  2672. local critrandomizer = math.random(crtrate)
  2673.  
  2674. if critrandomizer ~= 1 then
  2675.  
  2676. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker
  2677.  
  2678. elseif critrandomizer == 1 then
  2679.  
  2680. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker + 2
  2681.  
  2682. end
  2683.  
  2684. end
  2685.  
  2686. end
  2687.  
  2688. return end end
  2689.  
  2690. local critrandomizer = math.random(crtrate)
  2691.  
  2692. if critrandomizer ~= 1 then
  2693.  
  2694. local rndmdamage = math.random(mindamage,maxdamage)
  2695.  
  2696. damage(hum,rndmdamage,false)
  2697.  
  2698. elseif critrandomizer == 1 then
  2699.  
  2700. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  2701.  
  2702. damage(hum,rndmdamage,true)
  2703.  
  2704. end
  2705.  
  2706. Hitdeb = 1
  2707.  
  2708. end
  2709.  
  2710. end
  2711.  
  2712.  
  2713.  
  2714. function AoE(p,magnitude)
  2715.  
  2716. local c = game.Workspace:GetChildren();
  2717.  
  2718. for i = 1, #c do
  2719.  
  2720. local hum = c[i]:findFirstChild("Humanoid")
  2721.  
  2722. if hum ~= nil and hum.Health ~= 0 then
  2723.  
  2724. local head = c[i]:findFirstChild("Head");
  2725.  
  2726. if head ~= nil then
  2727.  
  2728. local mag = (head.Position - p).magnitude;
  2729.  
  2730. if mag <= magnitude and c[i].Name ~= Character.Name then
  2731.  
  2732. local foundd = false
  2733.  
  2734. for ii = 1 , #AoETrue do
  2735.  
  2736. if AoETrue[ii] == c[i].Name then
  2737.  
  2738.  
  2739. foundd = true
  2740.  
  2741. end
  2742.  
  2743. end
  2744.  
  2745. if foundd then
  2746.  
  2747.  
  2748. end
  2749.  
  2750. --
  2751.  
  2752. if not foundd then
  2753.  
  2754. local critrandomizer = math.random(crtrate)
  2755.  
  2756. if critrandomizer ~= 1 then
  2757.  
  2758. local rndmdamage = math.random(mindamage,maxdamage)
  2759.  
  2760. damage(hum,rndmdamage,false)
  2761.  
  2762. elseif critrandomizer == 1 then
  2763.  
  2764. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  2765.  
  2766. damage(hum,rndmdamage,true)
  2767.  
  2768. end
  2769.  
  2770. table.insert(AoETrue,c[i].Name)
  2771.  
  2772. end
  2773.  
  2774. end
  2775.  
  2776. end
  2777.  
  2778. end
  2779.  
  2780. end
  2781.  
  2782. for ii = 1 , #AoETrue do
  2783.  
  2784. table.remove(AoETrue,#AoETrue)
  2785.  
  2786. end
  2787.  
  2788. end
  2789.  
  2790.  
  2791. --
  2792.  
  2793.  
  2794.  
  2795. --
  2796.  
  2797.  
  2798. function effect(Color,Ref,LP,P1)
  2799.  
  2800. local effectsmsh = Instance.new("BlockMesh")
  2801.  
  2802. effectsmsh.Scale = Vector3.new(1,1,1)
  2803.  
  2804. effectsmsh.Name = "Mesh"
  2805.  
  2806. local effectsg = Instance.new("Part")
  2807.  
  2808. effectsg.formFactor = 3
  2809.  
  2810. effectsg.CanCollide = false
  2811.  
  2812. effectsg.Name = "Eff"
  2813.  
  2814. effectsg.Locked = true
  2815.  
  2816. effectsg.Anchored = true
  2817.  
  2818. effectsg.Size = Vector3.new(0.2,1,0.2)
  2819.  
  2820. effectsg.Parent = swordholder
  2821.  
  2822. effectsmsh.Parent = effectsg
  2823.  
  2824. effectsg.BrickColor = BrickColor.new(Color)
  2825.  
  2826. effectsg.Reflectance = Ref
  2827.  
  2828. local point1 = P1
  2829.  
  2830. local mg = (LP.p - point1.p).magnitude
  2831.  
  2832. effectsg.Size = Vector3.new(0.2,mg,0.2)
  2833.  
  2834. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  2835.  
  2836. coroutine.resume(coroutine.create(function()
  2837.  
  2838. for i = 0 , 1 , 0.1 do
  2839.  
  2840. wait()
  2841.  
  2842. effectsg.Transparency = 1*i
  2843.  
  2844. effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
  2845.  
  2846. end
  2847.  
  2848. wait()
  2849.  
  2850. effectsg.Parent = nil
  2851.  
  2852. end))
  2853.  
  2854. end
  2855.  
  2856. --
  2857.  
  2858.  
  2859.  
  2860. con = nil
  2861.  
  2862.  
  2863.  
  2864. function dmgcnnct()
  2865.  
  2866. if con ~= nil then
  2867.  
  2868. con:disconnect()
  2869.  
  2870. Hitdeb = 0
  2871.  
  2872. end
  2873.  
  2874. con = prt4.Touched:connect(OT)
  2875.  
  2876. end
  2877.  
  2878.  
  2879. function dmgdc()
  2880.  
  2881. if con ~= nil then
  2882.  
  2883. con:disconnect()
  2884.  
  2885. Hitdeb = 0
  2886.  
  2887. end
  2888.  
  2889. end
  2890.  
  2891.  
  2892. function rptddmg(value,des,inc)
  2893.  
  2894. coroutine.resume(coroutine.create(function()
  2895.  
  2896. repeat
  2897.  
  2898. wait(inc)
  2899.  
  2900. Hitdeb = 0
  2901.  
  2902. until value == des
  2903.  
  2904. end))
  2905.  
  2906. end
  2907.  
  2908.  
  2909. function atktype(s,e)
  2910.  
  2911. coroutine.resume(coroutine.create(function ()
  2912.  
  2913. attacktype = e
  2914.  
  2915. wait(0.25)
  2916.  
  2917. attacktype = s
  2918.  
  2919. end))
  2920.  
  2921. end
  2922.  
  2923.  
  2924. jumping = false
  2925.  
  2926. walking = false
  2927.  
  2928. function Walk()
  2929.  
  2930. if walking or jumping then return end
  2931.  
  2932. walking = true
  2933.  
  2934. for i = 0.2 , 1, 0.2 do
  2935.  
  2936. wait()
  2937.  
  2938. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  2939.  
  2940. w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  2941.  
  2942. w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)
  2943.  
  2944. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  2945.  
  2946. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  2947.  
  2948. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  2949.  
  2950. --
  2951.  
  2952. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  2953.  
  2954. w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  2955.  
  2956. w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)
  2957.  
  2958. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  2959.  
  2960. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  2961.  
  2962. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  2963.  
  2964. --
  2965.  
  2966. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  2967.  
  2968. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  2969.  
  2970. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  2971.  
  2972. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  2973.  
  2974. end
  2975.  
  2976. repeat
  2977.  
  2978.  
  2979. for i = 0.1 , 1, 0.1 do
  2980.  
  2981. if not walking or jumping then break end
  2982.  
  2983. wait()
  2984.  
  2985. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  2986.  
  2987. w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  2988.  
  2989. w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  2990.  
  2991. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  2992.  
  2993. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  2994.  
  2995. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  2996.  
  2997. --
  2998.  
  2999. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3000.  
  3001. w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3002.  
  3003. w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  3004.  
  3005. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  3006.  
  3007. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3008.  
  3009. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3010.  
  3011. --
  3012.  
  3013. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3014.  
  3015. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  3016.  
  3017. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3018.  
  3019. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  3020.  
  3021. end
  3022.  
  3023. for i = 0.1 , 1, 0.1 do
  3024.  
  3025. if not walking or jumping then break end
  3026.  
  3027. wait()
  3028.  
  3029. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3030.  
  3031. w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3032.  
  3033. w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  3034.  
  3035. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3036.  
  3037. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3038.  
  3039. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3040.  
  3041. --
  3042.  
  3043. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3044.  
  3045. w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3046.  
  3047. w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  3048.  
  3049. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3050.  
  3051. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3052.  
  3053. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3054.  
  3055. --
  3056.  
  3057. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3058.  
  3059. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  3060.  
  3061. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3062.  
  3063. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  3064.  
  3065. end
  3066.  
  3067. until not walking or jumping
  3068.  
  3069. for i = 0.2 , 1, 0.2 do
  3070.  
  3071. if not walking or jumping then break end
  3072.  
  3073. wait()
  3074.  
  3075. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3076.  
  3077. w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3078.  
  3079. w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)
  3080.  
  3081. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  3082.  
  3083. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3084.  
  3085. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3086.  
  3087. --
  3088.  
  3089. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3090.  
  3091. w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3092.  
  3093. w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)
  3094.  
  3095. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  3096.  
  3097. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3098.  
  3099. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3100.  
  3101. --
  3102.  
  3103. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3104.  
  3105. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  3106.  
  3107. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3108.  
  3109. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  3110.  
  3111. end
  3112.  
  3113. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3114.  
  3115. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3116.  
  3117. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  3118.  
  3119. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3120.  
  3121. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3122.  
  3123. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3124.  
  3125. --
  3126.  
  3127. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3128.  
  3129. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3130.  
  3131. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  3132.  
  3133. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3134.  
  3135. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3136.  
  3137. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3138.  
  3139. end
  3140.  
  3141.  
  3142.  
  3143. function Jump()
  3144.  
  3145. if jumping then return end
  3146.  
  3147. jumping = true
  3148.  
  3149. local vel = Instance.new("BodyVelocity",prt1)
  3150.  
  3151. vel.maxForce = Vector3.new(0,1,0) * math.huge
  3152.  
  3153. vel.P = vel.P * 5
  3154.  
  3155. vel.velocity = Vector3.new(0,jump,0)
  3156.  
  3157. coroutine.resume(coroutine.create(function()
  3158.  
  3159. wait() wait() wait() wait()
  3160.  
  3161. vel.Parent=nil
  3162.  
  3163. end))
  3164.  
  3165. ss(Head,1)
  3166.  
  3167. for i = 0.2 , 1 , 0.2 do
  3168.  
  3169. wait()
  3170.  
  3171. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3172.  
  3173. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3174.  
  3175. w23.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)
  3176.  
  3177. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  3178.  
  3179. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3180.  
  3181. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3182.  
  3183. --
  3184.  
  3185. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3186.  
  3187. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3188.  
  3189. w29.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)
  3190.  
  3191. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  3192.  
  3193. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3194.  
  3195. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3196.  
  3197. --Neck
  3198.  
  3199. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3200.  
  3201. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3202.  
  3203. w3.C1 = CFrame.Angles(math.rad(-20+20*i), 0, 0) * CFrame.new(0, 0.465,0)
  3204.  
  3205. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3206.  
  3207. --Wings
  3208.  
  3209. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3210.  
  3211. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
  3212.  
  3213. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3214.  
  3215. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
  3216.  
  3217. end
  3218.  
  3219. wait(0.5)
  3220.  
  3221. for i = 0.2 , 1 , 0.2 do
  3222.  
  3223. wait()
  3224.  
  3225. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3226.  
  3227. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3228.  
  3229. w23.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)
  3230.  
  3231. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  3232.  
  3233. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3234.  
  3235. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3236.  
  3237. --
  3238.  
  3239. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3240.  
  3241. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3242.  
  3243. w29.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)
  3244.  
  3245. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  3246.  
  3247. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3248.  
  3249. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3250.  
  3251. --Neck
  3252.  
  3253. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3254.  
  3255. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3256.  
  3257. w3.C1 = CFrame.Angles(math.rad(-20*i), 0, 0) * CFrame.new(0, 0.465,0)
  3258.  
  3259. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3260.  
  3261. --Wings
  3262.  
  3263. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3264.  
  3265. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
  3266.  
  3267. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3268.  
  3269. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
  3270.  
  3271. end
  3272.  
  3273. jumping = false
  3274.  
  3275. if prt1.Velocity.magnitude > 5 then
  3276.  
  3277. walking = true
  3278.  
  3279. for i = 0.2 , 1, 0.2 do
  3280.  
  3281. wait()
  3282.  
  3283. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3284.  
  3285. w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3286.  
  3287. w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)
  3288.  
  3289. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  3290.  
  3291. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3292.  
  3293. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3294.  
  3295. --
  3296.  
  3297. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3298.  
  3299. w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3300.  
  3301. w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)
  3302.  
  3303. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  3304.  
  3305. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3306.  
  3307. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3308.  
  3309. end
  3310.  
  3311. repeat
  3312.  
  3313. for i = 0.1 , 1, 0.1 do
  3314.  
  3315. if not walking or jumping then break end
  3316.  
  3317. wait()
  3318.  
  3319. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3320.  
  3321. w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3322.  
  3323. w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  3324.  
  3325. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  3326.  
  3327. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3328.  
  3329. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3330.  
  3331. --
  3332.  
  3333. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3334.  
  3335. w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3336.  
  3337. w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  3338.  
  3339. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  3340.  
  3341. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3342.  
  3343. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3344.  
  3345. end
  3346.  
  3347. for i = 0.1 , 1, 0.1 do
  3348.  
  3349. if not walking or jumping then break end
  3350.  
  3351. wait()
  3352.  
  3353. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3354.  
  3355. w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3356.  
  3357. w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  3358.  
  3359. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3360.  
  3361. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3362.  
  3363. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3364.  
  3365. --
  3366.  
  3367. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3368.  
  3369. w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3370.  
  3371. w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  3372.  
  3373. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3374.  
  3375. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3376.  
  3377. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3378.  
  3379. end
  3380.  
  3381. until not walking or jumping
  3382.  
  3383. for i = 0.2 , 1, 0.2 do
  3384.  
  3385. if jumping then break end
  3386.  
  3387. wait()
  3388.  
  3389. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3390.  
  3391. w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3392.  
  3393. w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)
  3394.  
  3395. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  3396.  
  3397. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3398.  
  3399. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3400.  
  3401. --
  3402.  
  3403. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3404.  
  3405. w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3406.  
  3407. w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)
  3408.  
  3409. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  3410.  
  3411. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3412.  
  3413. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3414.  
  3415. end
  3416.  
  3417. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3418.  
  3419. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3420.  
  3421. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  3422.  
  3423. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3424.  
  3425. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3426.  
  3427. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3428.  
  3429. --
  3430.  
  3431. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3432.  
  3433. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3434.  
  3435. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  3436.  
  3437. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3438.  
  3439. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3440.  
  3441. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3442.  
  3443. end
  3444.  
  3445. end
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451. dashing = false
  3452.  
  3453. function Dash()
  3454.  
  3455. dashing = true
  3456.  
  3457. for i = 0.1 ,1 , 0.1 do
  3458.  
  3459. wait()
  3460.  
  3461. --Neck
  3462.  
  3463. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3464.  
  3465. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3466.  
  3467. w3.C1 = CFrame.Angles(math.rad(-20-60*i), 0, 0) * CFrame.new(0, 0.465,0)
  3468.  
  3469. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3470.  
  3471. end
  3472.  
  3473. dmgcnnct()
  3474.  
  3475. rptddmg(dashing,false,1)
  3476.  
  3477. LastPoint = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
  3478.  
  3479. repeat
  3480.  
  3481. local Point = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
  3482.  
  3483. effect("White",0.5,LastPoint,Point)
  3484.  
  3485. LastPoint = Point
  3486.  
  3487. wait(0.1)
  3488.  
  3489. if Energy >= 1 then
  3490.  
  3491. Energy = Energy - 1
  3492.  
  3493. end
  3494.  
  3495. until not buttonhold or Energy < 3
  3496.  
  3497. dmgdc()
  3498.  
  3499. dashing = false
  3500.  
  3501. for i = 0.1 ,1 , 0.1 do
  3502.  
  3503. wait()
  3504.  
  3505. --Neck
  3506.  
  3507. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3508.  
  3509. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3510.  
  3511. w3.C1 = CFrame.Angles(math.rad(-80+60*i), 0, 0) * CFrame.new(0, 0.465,0)
  3512.  
  3513. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3514.  
  3515. end
  3516.  
  3517. end
  3518.  
  3519.  
  3520. idleez = false
  3521.  
  3522. function Idle()
  3523.  
  3524. if idleez then return end
  3525.  
  3526. idleez = true
  3527.  
  3528. local rndm = math.random(1,3)
  3529.  
  3530. for i = 0.05, 1 , 0.05 do
  3531.  
  3532. if not walking and not dashing and not jumping then
  3533.  
  3534. wait()
  3535.  
  3536. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3537.  
  3538. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3539.  
  3540. w3.C1 = CFrame.Angles(math.rad(-20+5*i), 0, 0) * CFrame.new(0, 0.465,0)
  3541.  
  3542. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3543.  
  3544. if rndm ~= 1 then
  3545.  
  3546. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3547.  
  3548. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10*i)) * CFrame.new(-1.5-0.2*i, 0,0)
  3549.  
  3550. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3551.  
  3552. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10*i)) * CFrame.new(1.5+0.2*i, 0,0)
  3553.  
  3554. else
  3555.  
  3556. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3557.  
  3558. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
  3559.  
  3560. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3561.  
  3562. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
  3563.  
  3564. end
  3565.  
  3566. end
  3567.  
  3568. end
  3569.  
  3570. if rndm == 1 then
  3571.  
  3572. for i = 0.1 , 1 , 0.1 do
  3573.  
  3574. if not walking and not dashing and not jumping then
  3575.  
  3576. wait()
  3577.  
  3578. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3579.  
  3580. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3581.  
  3582. w3.C1 = CFrame.Angles(math.rad(-15+5*i) ,math.rad(0), 0) * CFrame.new(0, 0.465,0)
  3583.  
  3584. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3585.  
  3586. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3587.  
  3588. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45-45*i)) * CFrame.new(-2, -1*i,0)
  3589.  
  3590. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3591.  
  3592. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45+45*i)) * CFrame.new(2, -1*i,0)
  3593.  
  3594. end
  3595.  
  3596. end
  3597.  
  3598. for i = 0.2 , 1 , 0.2 do
  3599.  
  3600. if not walking and not dashing and not jumping then
  3601.  
  3602. wait()
  3603.  
  3604. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3605.  
  3606. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3607.  
  3608. w3.C1 = CFrame.Angles(math.rad(-10+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  3609.  
  3610. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3611.  
  3612. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3613.  
  3614. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+30*i)) * CFrame.new(-2, -1,0)
  3615.  
  3616. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3617.  
  3618. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-30*i)) * CFrame.new(2, -1,0)
  3619.  
  3620. end
  3621.  
  3622. end
  3623.  
  3624. for i = 0.2 , 1 , 0.2 do
  3625.  
  3626. if not walking and not dashing and not jumping then
  3627.  
  3628. wait()
  3629.  
  3630. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3631.  
  3632. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3633.  
  3634. w3.C1 = CFrame.Angles(math.rad(-5+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  3635.  
  3636. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3637.  
  3638. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3639.  
  3640. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60-30*i)) * CFrame.new(-2, -1,0)
  3641.  
  3642. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3643.  
  3644. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(60+30*i)) * CFrame.new(2, -1,0)
  3645.  
  3646. end
  3647.  
  3648. end
  3649.  
  3650. for i = 0.1 , 1 , 0.1 do
  3651.  
  3652. if not walking and not dashing and not jumping then
  3653.  
  3654. wait()
  3655.  
  3656. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3657.  
  3658. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3659.  
  3660. w3.C1 = CFrame.Angles(math.rad(-15*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  3661.  
  3662. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3663.  
  3664. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3665.  
  3666. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+45*i)) * CFrame.new(-2, -1+1*i,0)
  3667.  
  3668. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3669.  
  3670. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-45*i)) * CFrame.new(2, -1+1*i,0)
  3671.  
  3672. end
  3673.  
  3674. end
  3675.  
  3676. end
  3677.  
  3678. for i = 0.025, 1 , 0.025 do
  3679.  
  3680. if not walking and not dashing and not jumping then
  3681.  
  3682. wait()
  3683.  
  3684. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  3685.  
  3686. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  3687.  
  3688. w3.C1 = CFrame.Angles(math.rad(-15-5*i), 0, 0) * CFrame.new(0, 0.465,0)
  3689.  
  3690. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  3691.  
  3692. if rndm ~= 1 then
  3693.  
  3694. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3695.  
  3696. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10+10*i)) * CFrame.new(-1.7+0.2*i, 0,0)
  3697.  
  3698. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3699.  
  3700. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10-10*i)) * CFrame.new(1.7-0.2*i, 0,0)
  3701.  
  3702. else
  3703.  
  3704. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3705.  
  3706. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
  3707.  
  3708. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3709.  
  3710. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
  3711.  
  3712. end
  3713.  
  3714. end
  3715.  
  3716. end
  3717.  
  3718. idleez = false
  3719.  
  3720. end
  3721.  
  3722.  
  3723. function returnwelds()
  3724.  
  3725. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-20))
  3726.  
  3727. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  3728.  
  3729. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(20))
  3730.  
  3731. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  3732.  
  3733. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(25))
  3734.  
  3735. RWL.C1 = CFrame.new(0.5, 1, 0)
  3736.  
  3737. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25))
  3738.  
  3739. LWL.C1 = CFrame.new(-0.5, 1, 0)
  3740.  
  3741. Neck.C0 = neckcf0
  3742.  
  3743. --
  3744.  
  3745. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3746.  
  3747. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  3748.  
  3749. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  3750.  
  3751. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3752.  
  3753. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3754.  
  3755. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3756.  
  3757. --
  3758.  
  3759. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  3760.  
  3761. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  3762.  
  3763. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  3764.  
  3765. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  3766.  
  3767. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  3768.  
  3769. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  3770.  
  3771. --
  3772.  
  3773. end
  3774.  
  3775.  
  3776. function ride()
  3777.  
  3778. Ride = true
  3779.  
  3780. equipanim()
  3781.  
  3782. end
  3783.  
  3784. function unride()
  3785.  
  3786. Ride = false
  3787.  
  3788. hideanim()
  3789.  
  3790. end
  3791.  
  3792.  
  3793. function RemoveSeater()
  3794.  
  3795. if #prt34:GetChildren() > 0 then
  3796.  
  3797. prt34:GetChildren()[1].Parent = nil
  3798.  
  3799. end
  3800.  
  3801. end
  3802.  
  3803.  
  3804. function onFreeFall()
  3805.  
  3806. unride()
  3807.  
  3808. print("Fell")
  3809.  
  3810. value1=value1+1
  3811.  
  3812. end
  3813.  
  3814.  
  3815. keyhold = false
  3816.  
  3817. function ob1d(mouse)
  3818.  
  3819. hold = true
  3820.  
  3821. if attack then return end
  3822.  
  3823. keyhold = true
  3824.  
  3825.  
  3826. end
  3827.  
  3828.  
  3829. function ob1u(mouse)
  3830.  
  3831. keyhold = false
  3832.  
  3833. end
  3834.  
  3835.  
  3836. buttonhold = false
  3837.  
  3838.  
  3839. function key(key,mouse)
  3840.  
  3841. if attack then return end
  3842.  
  3843. if Ride then
  3844.  
  3845. if key == "f" then
  3846.  
  3847. buttonhold = true
  3848.  
  3849. Dash()
  3850.  
  3851. end
  3852.  
  3853. if key == " " then
  3854.  
  3855. coroutine.resume(coroutine.create(Jump))
  3856.  
  3857. end
  3858.  
  3859. end
  3860.  
  3861. if key == "q" then
  3862.  
  3863. if Ride then
  3864.  
  3865. unride()
  3866.  
  3867. else
  3868.  
  3869. --prt4
  3870.  
  3871. mag=Torso.Position-prt4.Position
  3872.  
  3873. magni=mag.magnitude
  3874.  
  3875. if magni <=3 then
  3876.  
  3877. swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
  3878.  
  3879. ride()
  3880.  
  3881. end
  3882.  
  3883. end
  3884.  
  3885. end
  3886.  
  3887. if key == "x" then
  3888.  
  3889. RemoveSeater()
  3890.  
  3891. end
  3892.  
  3893. end
  3894.  
  3895.  
  3896.  
  3897. function key2(key)
  3898.  
  3899. if key == "f" then
  3900.  
  3901. buttonhold = false
  3902.  
  3903. end
  3904.  
  3905. end
  3906.  
  3907.  
  3908. function s(mouse)
  3909.  
  3910. repeat wait() until not attack
  3911.  
  3912. repeat wait() until not ev.Value
  3913.  
  3914. arms()
  3915.  
  3916. mouse.Button1Down:connect(function() ob1d(mouse) end)
  3917.  
  3918. mouse.Button1Up:connect(function() ob1u(mouse) end)
  3919.  
  3920. mouse.KeyDown:connect(function(ke) key(ke,mouse) end)
  3921.  
  3922. mouse.KeyUp:connect(key2)
  3923.  
  3924. ev.Value = true
  3925.  
  3926. end
  3927.  
  3928.  
  3929. function ds(mouse)
  3930.  
  3931. keyhold = false
  3932.  
  3933. repeat wait() until not attack
  3934.  
  3935. repeat wait() until ev.Value
  3936.  
  3937. noarms()
  3938.  
  3939. wait(0.1)
  3940.  
  3941. ev.Value = false
  3942.  
  3943. end
  3944.  
  3945.  
  3946. Bin.Selected:connect(s)
  3947.  
  3948. Bin.Deselected:connect(ds)
  3949.  
  3950.  
  3951.  
  3952.  
  3953. if PlayerGui:findFirstChild("EnergyMeter") ~= nil then
  3954.  
  3955. PlayerGui:findFirstChild("EnergyMeter").Parent = nil
  3956.  
  3957. end
  3958.  
  3959.  
  3960. coroutine.resume(coroutine.create(function()
  3961.  
  3962. repeat
  3963.  
  3964. wait(0.1)
  3965.  
  3966. if Ride then
  3967.  
  3968. if dashing then
  3969.  
  3970. Character.Humanoid.WalkSpeed = speed * 1.5
  3971.  
  3972. else
  3973.  
  3974. Character.Humanoid.WalkSpeed = speed
  3975.  
  3976. end
  3977.  
  3978. if (prt1.Velocity * Vector3.new(1,0,1)).magnitude > 5 then
  3979.  
  3980. coroutine.resume(coroutine.create(Walk))
  3981.  
  3982. walking = true
  3983.  
  3984. elseif (prt1.Velocity * Vector3.new(1,0,1)).magnitude < 5 then
  3985.  
  3986. walking = false
  3987.  
  3988. AddEnergy(1)
  3989.  
  3990. coroutine.resume(coroutine.create(function() Idle() end))
  3991.  
  3992. end
  3993.  
  3994. else
  3995.  
  3996. Character.Humanoid.WalkSpeed = 16
  3997.  
  3998. coroutine.resume(coroutine.create(function() Idle() end))
  3999.  
  4000. walking = false
  4001.  
  4002. end
  4003.  
  4004. until false
  4005.  
  4006. end))
  4007.  
  4008.  
  4009. coroutine.resume(coroutine.create(function()
  4010.  
  4011. local SG = Instance.new("ScreenGui",PlayerGui)
  4012.  
  4013. SG.Name = "EnergyMeter"
  4014.  
  4015. local frame = Instance.new("Frame",SG)
  4016.  
  4017. frame.Size = UDim2.new(0.2,0,0.1,0)
  4018.  
  4019. frame.Position = UDim2.new(0.6,0,0.05,0)
  4020.  
  4021. frame.BackgroundColor3 = BrickColor.new("Bright blue").Color
  4022.  
  4023. local Energytext = Instance.new("TextLabel",frame)
  4024.  
  4025. Energytext.Size = UDim2.new(1,0,0.35,0)
  4026.  
  4027. Energytext.BackgroundTransparency = 1
  4028.  
  4029. Energytext.Text = "Energy"
  4030.  
  4031. Energytext.FontSize = "Size18"
  4032.  
  4033. Energytext.TextColor3 = BrickColor.new("White").Color
  4034.  
  4035. local backing = Instance.new("ImageLabel",frame)
  4036.  
  4037. backing.Size = UDim2.new(0.8,0,0.45,0)
  4038.  
  4039. backing.Image = "http://www.roblox.com/asset/?id=48965808"
  4040.  
  4041. backing.Position = UDim2.new(0.1,0,0.45,0)
  4042.  
  4043. backing.BackgroundColor3 = BrickColor.new("Black").Color
  4044.  
  4045. local img = Instance.new("ImageLabel",backing)
  4046.  
  4047. img.Size = UDim2.new(1,0,1,0)
  4048.  
  4049. img.Image = "http://www.roblox.com/asset/?id=48965808"
  4050.  
  4051. img.Position = UDim2.new(0,0,0,0)
  4052.  
  4053. img.BackgroundColor3 = BrickColor.new("Bright blue").Color
  4054.  
  4055. local percent = Instance.new("TextLabel",backing)
  4056.  
  4057. percent.Size = UDim2.new(1,0,1,0)
  4058.  
  4059. percent.BackgroundTransparency = 1
  4060.  
  4061. percent.TextColor3 = BrickColor.new("White").Color
  4062.  
  4063. percent.Text = Energy.."/".. MaxEnergy
  4064.  
  4065. percent.FontSize = "Size18"
  4066.  
  4067. repeat
  4068.  
  4069. wait()
  4070.  
  4071. pcall(function()
  4072.  
  4073. img.Size = UDim2.new(1*(Energy/MaxEnergy),0,1,0)
  4074.  
  4075. percent.Text = Energy.."/".. MaxEnergy
  4076.  
  4077. end)
  4078.  
  4079. until SG.Parent == nil
  4080.  
  4081. end))
  4082.  
  4083.  
  4084.  
  4085. --Character.Humanoid.FreeFalling:connect(onFreeFall)
  4086.  
  4087. Character:MoveTo(Head.Position+Vector3.new(0,5,0))
  4088.  
  4089. Character.Torso.CFrame = Character.Torso.CFrame + Vector3.new(0,5,0)
  4090.  
  4091. swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
  4092.  
  4093. ride()
  4094.  
  4095. noarms()
  4096.  
  4097. -- mediafire
  4098. Player = game.Players.iikevin098
  4099.  
  4100. Character = Player.Character
  4101.  
  4102. PlayerGui = Player.PlayerGui
  4103.  
  4104. Backpack = Player.Backpack
  4105.  
  4106. Torso = Character.Torso
  4107.  
  4108. Head = Character.Head
  4109.  
  4110. LeftArm = Character["Left Arm"]
  4111.  
  4112. LeftLeg = Character["Left Leg"]
  4113. MrLonely1221
  4114. RightArm = Character["Right Arm"]
  4115.  
  4116. RightLeg = Character["Right Leg"]
  4117.  
  4118. LS = Torso["Left Shoulder"]
  4119.  
  4120. LH = Torso["Left Hip"]
  4121.  
  4122. RS = Torso["Right Shoulder"]
  4123.  
  4124. RH = Torso["Right Hip"]
  4125.  
  4126. ModelName = "Chocobo"
  4127.  
  4128. attack = false
  4129.  
  4130. attacktype = 1
  4131.  
  4132. Hitdeb = 0
  4133.  
  4134. value1=0
  4135.  
  4136. Neck = Torso.Neck
  4137.  
  4138. local neckcf0 = Neck.C0
  4139.  
  4140.  
  4141. ----------------------------
  4142.  
  4143. --Customize
  4144.  
  4145. Energy = 200
  4146.  
  4147. MaxEnergy = 200
  4148.  
  4149. ChocoboHP = 500
  4150.  
  4151.  
  4152. Alive = false
  4153.  
  4154.  
  4155. mindamage = 20
  4156.  
  4157. maxdamage = 40
  4158.  
  4159. crtmaxdamage = 50
  4160.  
  4161. omindamage = mindamage
  4162.  
  4163. omaxdamage = maxdamage
  4164.  
  4165. ocrtmaxdamage = crtmaxdamage
  4166.  
  4167. crtrate = 100/5
  4168.  
  4169. --100%/critpercentage
  4170.  
  4171.  
  4172. oblkbrkr = 2
  4173.  
  4174. blockbreaker = oblkbrkr
  4175.  
  4176.  
  4177. speed = 30
  4178.  
  4179. jump = 60
  4180.  
  4181.  
  4182. if Character.Name=="Name" then
  4183.  
  4184. ColorVariation = "Name her"
  4185.  
  4186. elseif Character.Name=="DahNoob" then
  4187.  
  4188. ColorVariation = "DahNoob"
  4189.  
  4190. elseif Character.Name=="Robloxshathelper" then
  4191.  
  4192. ColorVariation = "Robloxshathelper"
  4193.  
  4194. else
  4195.  
  4196. ColorVariation = "Yellow"
  4197.  
  4198. end
  4199.  
  4200.  
  4201. if ColorVariation == "Yellow" then
  4202.  
  4203. handlecolor = BrickColor.new("Bright yellow")
  4204.  
  4205. bcolor = BrickColor.new("Bright orange")
  4206.  
  4207. beakcolor = BrickColor.new("Bright orange")
  4208.  
  4209. ropecolor = BrickColor.new("Brown")
  4210.  
  4211. eyecolor = BrickColor.new("Bright blue")
  4212.  
  4213. elseif ColorVariation == "Red" then
  4214.  
  4215. handlecolor =BrickColor.new("Bright red")
  4216.  
  4217. bcolor = BrickColor.new("Black")
  4218.  
  4219. beakcolor = BrickColor.new("Really red")
  4220.  
  4221. ropecolor = BrickColor.new("Brown")
  4222.  
  4223. eyecolor = BrickColor.new("Bright blue")
  4224.  
  4225. elseif ColorVariation == "Black" then
  4226.  
  4227. handlecolor = BrickColor.new("Black")
  4228.  
  4229. bcolor = BrickColor.new("Brown")
  4230.  
  4231. beakcolor = BrickColor.new("Bright orange")
  4232.  
  4233. ropecolor = BrickColor.new("Brown")
  4234.  
  4235. eyecolor = BrickColor.new("Bright blue")
  4236.  
  4237. elseif ColorVariation == "Purple" then
  4238.  
  4239. handlecolor = BrickColor.new("Alder")
  4240.  
  4241. bcolor = BrickColor.new("Bright violet")
  4242.  
  4243. beakcolor = BrickColor.new("Bright orange")
  4244.  
  4245. ropecolor = BrickColor.new("Brown")
  4246.  
  4247. eyecolor = BrickColor.new("Bright blue")
  4248.  
  4249. elseif ColorVariation == "Name" then
  4250.  
  4251. handlecolor =BrickColor.new("White")
  4252.  
  4253. bcolor = BrickColor.new("Bright orange")
  4254.  
  4255. beakcolor = BrickColor.new("Bright orange")
  4256.  
  4257. ropecolor = BrickColor.new("Brown")
  4258.  
  4259. eyecolor = BrickColor.new("Navy blue")
  4260.  
  4261. elseif ColorVariation == "Orange" then
  4262.  
  4263. handlecolor =BrickColor.new("Neon orange")
  4264.  
  4265. bcolor = BrickColor.new("Brown")
  4266.  
  4267. beakcolor = BrickColor.new("Brown")
  4268.  
  4269. ropecolor = BrickColor.new("Bright yellow")
  4270.  
  4271. eyecolor = BrickColor.new("Royal purple")
  4272.  
  4273. elseif ColorVariation == "DahNoob" then
  4274.  
  4275. handlecolor = BrickColor.new("Black")
  4276.  
  4277. bcolor = BrickColor.new("Medium stone grey")
  4278.  
  4279. beakcolor = BrickColor.new("Medium stone grey")
  4280.  
  4281. ropecolor = BrickColor.new("Brown")
  4282.  
  4283. eyecolor = BrickColor.new("Really black")
  4284.  
  4285. elseif ColorVariation == "Robloxshathelper" then
  4286.  
  4287. handlecolor = BrickColor.new("Bright blue")
  4288.  
  4289. bcolor = BrickColor.new("Bright orange")
  4290.  
  4291. beakcolor = BrickColor.new("Bright orange")
  4292.  
  4293. ropecolor = BrickColor.new("Brown")
  4294.  
  4295. eyecolor = BrickColor.new("Bright blue")
  4296.  
  4297. else
  4298.  
  4299. --Custom
  4300.  
  4301. handlecolor =BrickColor.new("Bright blue")
  4302.  
  4303. bcolor = BrickColor.new("Medium blue")
  4304.  
  4305. beakcolor = BrickColor.new("Medium blue")
  4306.  
  4307. ropecolor = BrickColor.new("White")
  4308.  
  4309. end
  4310.  
  4311.  
  4312. Ride = true
  4313.  
  4314. Rope = true
  4315.  
  4316.  
  4317.  
  4318. ToolName = "Chocobo"
  4319.  
  4320.  
  4321. ---------------------------------------------------------------------------------------------------------------------------------------
  4322.  
  4323. if Character:findFirstChild("EquippedVal",true) ~= nil then
  4324.  
  4325. Character:findFirstChild("EquippedVal",true).Parent = nil
  4326.  
  4327. end
  4328.  
  4329. ev = Instance.new("BoolValue",Character)
  4330.  
  4331. ev.Name = "EquippedVal"
  4332.  
  4333. ev.Value = false
  4334.  
  4335. if Character:findFirstChild("Block",true) ~= nil then
  4336.  
  4337. Character:findFirstChild("Block",true).Parent = nil
  4338.  
  4339. end
  4340.  
  4341.  
  4342.  
  4343. --player
  4344.  
  4345. player = nil
  4346.  
  4347. --welds
  4348.  
  4349. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  4350.  
  4351. --what anim
  4352.  
  4353. anim = "none"
  4354.  
  4355. --other var
  4356.  
  4357. player = Player
  4358.  
  4359. ch = Character
  4360.  
  4361. --save shoulders
  4362.  
  4363. AoETrue = {}
  4364.  
  4365. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  4366.  
  4367.  
  4368.  
  4369. function RWFunc()
  4370.  
  4371. RW.Part1 = ch["Right Arm"]
  4372.  
  4373. RSH.Part1 = nil
  4374.  
  4375. end
  4376.  
  4377. function LWFunc()
  4378.  
  4379. LW.Part1 = ch["Left Arm"]
  4380.  
  4381. LSH.Part1 = nil
  4382.  
  4383. end
  4384.  
  4385. function RWLFunc()
  4386.  
  4387. RWL.Part1 = ch["Right Leg"]
  4388.  
  4389. RHL.Part1 = nil
  4390.  
  4391. RightLeg.CanCollide = false
  4392.  
  4393. end
  4394.  
  4395.  
  4396. function LWLFunc()
  4397.  
  4398. LWL.Part1 = ch["Left Leg"]
  4399.  
  4400. LHL.Part1 = nil
  4401.  
  4402. LeftLeg.CanCollide = true
  4403.  
  4404. end
  4405.  
  4406.  
  4407. function RWLRem()
  4408.  
  4409. RWL.Part1 = nil
  4410.  
  4411. RHL.Part1 = ch["Right Leg"]
  4412.  
  4413. RightLeg.CanCollide = false
  4414.  
  4415. end
  4416.  
  4417. function LWLRem()
  4418.  
  4419. LWL.Part1 = nil
  4420.  
  4421. LHL.Part1 = ch["Left Leg"]
  4422.  
  4423. LeftLeg.CanCollide = false
  4424.  
  4425. end
  4426.  
  4427. function RWRem()
  4428.  
  4429. RW.Part1 = nil
  4430.  
  4431. RSH.Part1 = ch["Right Arm"]
  4432.  
  4433. end
  4434.  
  4435. function LWRem()
  4436.  
  4437. LW.Part1 = nil
  4438.  
  4439. LSH.Part1 = ch["Left Arm"]
  4440.  
  4441. end
  4442.  
  4443.  
  4444.  
  4445.  
  4446.  
  4447. if Character:findFirstChild(ModelName,true) ~= nil then
  4448.  
  4449. Character:findFirstChild(ModelName,true).Parent = nil
  4450.  
  4451. RHL.Part1 = ch["Right Leg"]
  4452.  
  4453. LHL.Part1 = ch["Left Leg"]
  4454.  
  4455. RSH.Part1 = ch["Right Arm"]
  4456.  
  4457. LSH.Part1 = ch["Left Arm"]
  4458.  
  4459. end
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467. local swordholder = Instance.new("Model")
  4468.  
  4469. swordholder.Name = ModelName
  4470.  
  4471. swordholder.Parent = Character
  4472.  
  4473.  
  4474. --derp
  4475.  
  4476. RW.Part0 = ch.Torso
  4477.  
  4478. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4479.  
  4480. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4481.  
  4482. RW.Parent = swordholder
  4483.  
  4484. --
  4485.  
  4486. LW.Part0 = ch.Torso
  4487.  
  4488. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  4489.  
  4490. LW.C1 = CFrame.new(0, 0.5, 0)
  4491.  
  4492. LW.Parent = swordholder
  4493.  
  4494. --
  4495.  
  4496. RWL.Part0 = ch.Torso
  4497.  
  4498. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  4499.  
  4500. RWL.C1 = CFrame.new(0.5, 1, 0)
  4501.  
  4502. RWL.Parent = swordholder
  4503.  
  4504. --
  4505.  
  4506. LWL.Part0 = ch.Torso
  4507.  
  4508. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  4509.  
  4510. LWL.C1 = CFrame.new(-0.5, 1, 0)
  4511.  
  4512. LWL.Parent = swordholder
  4513.  
  4514.  
  4515.  
  4516.  
  4517.  
  4518. local msh1 = Instance.new("SpecialMesh")
  4519.  
  4520. msh1.Scale = Vector3.new(1,1.2,1.2)
  4521.  
  4522. msh1.MeshType = "Sphere"
  4523.  
  4524. local msh2 = Instance.new("CylinderMesh")
  4525.  
  4526. local msh3 = Instance.new("CylinderMesh")
  4527.  
  4528. local msh4 = Instance.new("SpecialMesh")
  4529.  
  4530. msh4.Scale = Vector3.new(1,1,1)
  4531.  
  4532. msh4.MeshType = "Sphere"
  4533.  
  4534. local msh5 = Instance.new("SpecialMesh")
  4535.  
  4536. msh5.Scale = Vector3.new(1,0.75,1.2)
  4537.  
  4538. msh5.MeshId = "http://www.roblox.com/asset/?id=1778999"
  4539.  
  4540. local msh6 = Instance.new("SpecialMesh")
  4541.  
  4542. msh6.Scale = Vector3.new(1,1,1)
  4543.  
  4544. msh6.MeshType = "Sphere"
  4545.  
  4546. local msh7 = Instance.new("SpecialMesh")
  4547.  
  4548. msh7.Scale = Vector3.new(1,1,1)
  4549.  
  4550. msh7.MeshType = "Sphere"
  4551.  
  4552. local msh6a = Instance.new("SpecialMesh")
  4553.  
  4554. msh6a.Scale = Vector3.new(1,1,1)
  4555.  
  4556. msh6a.MeshType = "Sphere"
  4557.  
  4558. local msh7a = Instance.new("SpecialMesh")
  4559.  
  4560. msh7a.Scale = Vector3.new(1,1,1)
  4561.  
  4562. msh7a.MeshType = "Sphere"
  4563.  
  4564. local msh8 = Instance.new("SpecialMesh")
  4565.  
  4566. msh8.Scale = Vector3.new(1,1,1)
  4567.  
  4568. msh8.MeshType = "Sphere"
  4569.  
  4570. local msh9 = Instance.new("SpecialMesh")
  4571.  
  4572. msh9.Scale = Vector3.new(1,1,1)
  4573.  
  4574. msh9.MeshType = "Sphere"
  4575.  
  4576. local msh10 = Instance.new("SpecialMesh")
  4577.  
  4578. msh10.Scale = Vector3.new(1,1,1)
  4579.  
  4580. msh10.MeshType = "Sphere"
  4581.  
  4582. local msh11 = Instance.new("SpecialMesh")
  4583.  
  4584. msh11.Scale = Vector3.new(1,1,1)
  4585.  
  4586. msh11.MeshType = "Sphere"
  4587.  
  4588. local msh12 = Instance.new("SpecialMesh")
  4589.  
  4590. msh12.Scale = Vector3.new(1,1,1)
  4591.  
  4592. msh12.MeshType = "Sphere"
  4593.  
  4594. local msh13 = Instance.new("SpecialMesh")
  4595.  
  4596. msh13.Scale = Vector3.new(1,1,1)
  4597.  
  4598. msh13.MeshType = "Sphere"
  4599.  
  4600. local msh14 = Instance.new("SpecialMesh")
  4601.  
  4602. msh14.Scale = Vector3.new(1,1,1)
  4603.  
  4604. msh14.MeshType = "Sphere"
  4605.  
  4606. local msh15 = Instance.new("SpecialMesh")
  4607.  
  4608. msh15.Scale = Vector3.new(1,1,1)
  4609.  
  4610. msh15.MeshType = "Sphere"
  4611.  
  4612. local msh16 = Instance.new("SpecialMesh")
  4613.  
  4614. msh16.Scale = Vector3.new(1,1,1)
  4615.  
  4616. msh16.MeshType = "Sphere"
  4617.  
  4618. local msh17 = Instance.new("SpecialMesh")
  4619.  
  4620. msh17.Scale = Vector3.new(1,1,1)
  4621.  
  4622. msh17.MeshType = "Sphere"
  4623.  
  4624. local msh18 = Instance.new("SpecialMesh")
  4625.  
  4626. msh18.Scale = Vector3.new(1,1,1)
  4627.  
  4628. msh18.MeshType = "Sphere"
  4629.  
  4630. local msh19 = Instance.new("SpecialMesh")
  4631.  
  4632. msh19.Scale = Vector3.new(1,1,1)
  4633.  
  4634. msh19.MeshType = "Sphere"
  4635.  
  4636. local msh20 = Instance.new("SpecialMesh")
  4637.  
  4638. msh20.Scale = Vector3.new(1,1,1)
  4639.  
  4640. msh20.MeshType = "Sphere"
  4641.  
  4642. local msh21 = Instance.new("SpecialMesh")
  4643.  
  4644. msh21.Scale = Vector3.new(1,1,1)
  4645.  
  4646. msh21.MeshType = "Sphere"
  4647.  
  4648. local msh22 = Instance.new("CylinderMesh")
  4649.  
  4650. local msh23 = Instance.new("CylinderMesh")
  4651.  
  4652. local msh24 = Instance.new("BlockMesh")
  4653.  
  4654. local msh25 = Instance.new("BlockMesh")
  4655.  
  4656. local msh26 = Instance.new("BlockMesh")
  4657.  
  4658. local msh27 = Instance.new("BlockMesh")
  4659.  
  4660. local msh28 = Instance.new("CylinderMesh")
  4661.  
  4662. local msh29 = Instance.new("CylinderMesh")
  4663.  
  4664. local msh30 = Instance.new("BlockMesh")
  4665.  
  4666. local msh31 = Instance.new("BlockMesh")
  4667.  
  4668. local msh32 = Instance.new("BlockMesh")
  4669.  
  4670. local msh33 = Instance.new("BlockMesh")
  4671.  
  4672.  
  4673. local prt1 = Instance.new("Part")
  4674.  
  4675. prt1.formFactor = 3
  4676.  
  4677. prt1.CanCollide = true
  4678.  
  4679. prt1.Name = "ChocoboBody"
  4680.  
  4681. prt1.Locked = true
  4682.  
  4683. prt1.Size = Vector3.new(3.5,2.5,5)
  4684.  
  4685. prt1.Parent = swordholder
  4686.  
  4687. msh1.Parent = prt1
  4688.  
  4689. prt1.BrickColor = handlecolor
  4690.  
  4691. local prt2 = Instance.new("Part")
  4692.  
  4693. prt2.formFactor = 3
  4694.  
  4695. prt2.CanCollide = true
  4696.  
  4697. prt2.Name = "ChocoboNeck"
  4698.  
  4699. prt2.Locked = true
  4700.  
  4701. prt2.Size = Vector3.new(1.25,2,1.25)
  4702.  
  4703. prt2.Parent = swordholder
  4704.  
  4705. msh2.Parent = prt2
  4706.  
  4707. prt2.BrickColor = handlecolor
  4708.  
  4709. local prt3 = Instance.new("Part")
  4710.  
  4711. prt3.formFactor = 3
  4712.  
  4713. prt3.CanCollide = true
  4714.  
  4715. prt3.Name = "ChocoboNeck2"
  4716.  
  4717. prt3.Locked = true
  4718.  
  4719. prt3.Size = Vector3.new(1.25,2,1.25)
  4720.  
  4721. prt3.Parent = swordholder
  4722.  
  4723. msh3.Parent = prt3
  4724.  
  4725. prt3.BrickColor = handlecolor
  4726.  
  4727. local prt3a = Instance.new("Part")
  4728.  
  4729. prt3a.formFactor = 3
  4730.  
  4731. prt3a.CanCollide = false
  4732.  
  4733. prt3a.Name = "ChocoboNeck2Joint"
  4734.  
  4735. prt3a.Locked = true
  4736.  
  4737. prt3a.Size = Vector3.new(0.2,0.2,0.2)
  4738.  
  4739. prt3a.Parent = swordholder
  4740.  
  4741. prt3a.Transparency = 1
  4742.  
  4743. local prt4 = Instance.new("Part")
  4744.  
  4745. prt4.formFactor = 3
  4746.  
  4747. prt4.CanCollide = true
  4748.  
  4749. prt4.Name = "Head"
  4750.  
  4751. prt4.Locked = true
  4752.  
  4753. prt4.Size = Vector3.new(2,2,3)
  4754.  
  4755. prt4.Parent = swordholder
  4756.  
  4757. msh4.Parent = prt4
  4758.  
  4759. prt4.BrickColor = handlecolor
  4760.  
  4761. local trs = Instance.new("Part")
  4762.  
  4763. trs.formFactor = 3
  4764.  
  4765. trs.CanCollide = true
  4766.  
  4767. trs.Name = "Torso"
  4768.  
  4769. trs.Locked = true
  4770.  
  4771. trs.Size = Vector3.new(0.2,0.2,0.2)
  4772.  
  4773. trs.Parent = swordholder
  4774.  
  4775. trs.Transparency = 1
  4776.  
  4777. local wt = Instance.new("Weld")
  4778.  
  4779. wt.Parent = trs
  4780.  
  4781. wt.Part0 = trs
  4782.  
  4783. wt.Part1 = prt4
  4784.  
  4785. wt.C0 = CFrame.Angles(math.rad(25),0,0)
  4786.  
  4787. local prt5 = Instance.new("Part")
  4788.  
  4789. prt5.formFactor = 3
  4790.  
  4791. prt5.CanCollide = false
  4792.  
  4793. prt5.Name = "Beak"
  4794.  
  4795. prt5.Locked = true
  4796.  
  4797. prt5.Size = Vector3.new(1,1.5,1)
  4798.  
  4799. prt5.Parent = swordholder
  4800.  
  4801. msh5.Parent = prt5
  4802.  
  4803. prt5.BrickColor = beakcolor
  4804.  
  4805.  
  4806. local prt6 = Instance.new("Part")
  4807.  
  4808. prt6.formFactor = 3
  4809.  
  4810. prt6.CanCollide = false
  4811.  
  4812. prt6.Name = "Eye1"
  4813.  
  4814. prt6.Locked = true
  4815.  
  4816. prt6.Size = Vector3.new(0.3,0.3,0.6)
  4817.  
  4818. prt6.Parent = swordholder
  4819.  
  4820. msh6.Parent = prt6
  4821.  
  4822. prt6.BrickColor = BrickColor.new("White")
  4823.  
  4824. local prt7 = Instance.new("Part")
  4825.  
  4826. prt7.formFactor = 3
  4827.  
  4828. prt7.CanCollide = false
  4829.  
  4830. prt7.Name = "Eye2"
  4831.  
  4832. prt7.Locked = true
  4833.  
  4834. prt7.Size = Vector3.new(0.3,0.3,0.6)
  4835.  
  4836. prt7.Parent = swordholder
  4837.  
  4838. msh7.Parent = prt7
  4839.  
  4840. prt7.BrickColor = BrickColor.new("White")
  4841.  
  4842. local prt6a = Instance.new("Part")
  4843.  
  4844. prt6a.formFactor = 3
  4845.  
  4846. prt6a.CanCollide = false
  4847.  
  4848. prt6a.Name = "Eye1a"
  4849.  
  4850. prt6a.Locked = true
  4851.  
  4852. prt6a.Size = Vector3.new(0.2,0.2,0.3)
  4853.  
  4854. prt6a.Parent = swordholder
  4855.  
  4856. msh6a.Parent = prt6a
  4857.  
  4858. prt6a.BrickColor = eyecolor
  4859.  
  4860. local prt7a = Instance.new("Part")
  4861.  
  4862. prt7a.formFactor = 3
  4863.  
  4864. prt7a.CanCollide = false
  4865.  
  4866. prt7a.Name = "Eye2a"
  4867.  
  4868. prt7a.Locked = true
  4869.  
  4870. prt7a.Size = Vector3.new(0.2,0.2,0.3)
  4871.  
  4872. prt7a.Parent = swordholder
  4873.  
  4874. msh7a.Parent = prt7a
  4875.  
  4876. prt7a.BrickColor = eyecolor
  4877.  
  4878.  
  4879. local prt8 = Instance.new("Part")
  4880.  
  4881. prt8.formFactor = 3
  4882.  
  4883. prt8.CanCollide = false
  4884.  
  4885. prt8.Name = "HeadFeathers"
  4886.  
  4887. prt8.Locked = true
  4888.  
  4889. prt8.Size = Vector3.new(1,0.2,3)
  4890.  
  4891. prt8.Parent = swordholder
  4892.  
  4893. msh8.Parent = prt8
  4894.  
  4895. prt8.BrickColor = handlecolor
  4896.  
  4897. local prt9 = Instance.new("Part")
  4898.  
  4899. prt9.formFactor = 3
  4900.  
  4901. prt9.CanCollide = false
  4902.  
  4903. prt9.Name = "HeadFeathers"
  4904.  
  4905. prt9.Locked = true
  4906.  
  4907. prt9.Size = Vector3.new(1,0.2,3)
  4908.  
  4909. prt9.Parent = swordholder
  4910.  
  4911. msh9.Parent = prt9
  4912.  
  4913. prt9.BrickColor = handlecolor
  4914.  
  4915. local prt10 = Instance.new("Part")
  4916.  
  4917. prt10.formFactor = 3
  4918.  
  4919. prt10.CanCollide = false
  4920.  
  4921. prt10.Name = "HeadFeathers"
  4922.  
  4923. prt10.Locked = true
  4924.  
  4925. prt10.Size = Vector3.new(1,0.2,3)
  4926.  
  4927. prt10.Parent = swordholder
  4928.  
  4929. msh10.Parent = prt10
  4930.  
  4931. prt10.BrickColor = handlecolor
  4932.  
  4933.  
  4934. --Wings!!
  4935.  
  4936. local prt11 = Instance.new("Part")
  4937.  
  4938. prt11.formFactor = 3
  4939.  
  4940. prt11.CanCollide = false
  4941.  
  4942. prt11.Name = "RightWing"
  4943.  
  4944. prt11.Locked = true
  4945.  
  4946. prt11.Size = Vector3.new(1,3,5)
  4947.  
  4948. prt11.Parent = swordholder
  4949.  
  4950. msh11.Parent = prt11
  4951.  
  4952. prt11.BrickColor = handlecolor
  4953.  
  4954. local prt12 = Instance.new("Part")
  4955.  
  4956. prt12.formFactor = 3
  4957.  
  4958. prt12.CanCollide = false
  4959.  
  4960. prt12.Name = "RightWing1"
  4961.  
  4962. prt12.Locked = true
  4963.  
  4964. prt12.Size = Vector3.new(0.5,1,2)
  4965.  
  4966. prt12.Parent = swordholder
  4967.  
  4968. msh12.Parent = prt12
  4969.  
  4970. prt12.BrickColor = handlecolor
  4971.  
  4972. local prt13 = Instance.new("Part")
  4973.  
  4974. prt13.formFactor = 3
  4975.  
  4976. prt13.CanCollide = false
  4977.  
  4978. prt13.Name = "RightWing2"
  4979.  
  4980. prt13.Locked = true
  4981.  
  4982. prt13.Size = Vector3.new(0.5,1,2)
  4983.  
  4984. prt13.Parent = swordholder
  4985.  
  4986. msh13.Parent = prt13
  4987.  
  4988. prt13.BrickColor = handlecolor
  4989.  
  4990. local prt14 = Instance.new("Part")
  4991.  
  4992. prt14.formFactor = 3
  4993.  
  4994. prt14.CanCollide = false
  4995.  
  4996. prt14.Name = "RightWing3"
  4997.  
  4998. prt14.Locked = true
  4999.  
  5000. prt14.Size = Vector3.new(0.5,1,2)
  5001.  
  5002. prt14.Parent = swordholder
  5003.  
  5004. msh14.Parent = prt14
  5005.  
  5006. prt14.BrickColor = handlecolor
  5007.  
  5008. local prt15 = Instance.new("Part")
  5009.  
  5010. prt15.formFactor = 3
  5011.  
  5012. prt15.CanCollide = false
  5013.  
  5014. prt15.Name = "RightWing4"
  5015.  
  5016. prt15.Locked = true
  5017.  
  5018. prt15.Size = Vector3.new(0.5,1,2)
  5019.  
  5020. prt15.Parent = swordholder
  5021.  
  5022. msh15.Parent = prt15
  5023.  
  5024. prt15.BrickColor = handlecolor
  5025.  
  5026.  
  5027. local prt16 = Instance.new("Part")
  5028.  
  5029. prt16.formFactor = 3
  5030.  
  5031. prt16.CanCollide = false
  5032.  
  5033. prt16.Name = "LeftWing"
  5034.  
  5035. prt16.Locked = true
  5036.  
  5037. prt16.Size = Vector3.new(1,3,5)
  5038.  
  5039. prt16.Parent = swordholder
  5040.  
  5041. msh16.Parent = prt16
  5042.  
  5043. prt16.BrickColor = handlecolor
  5044.  
  5045. local prt17 = Instance.new("Part")
  5046.  
  5047. prt17.formFactor = 3
  5048.  
  5049. prt17.CanCollide = false
  5050.  
  5051. prt17.Name = "LeftWing1"
  5052.  
  5053. prt17.Locked = true
  5054.  
  5055. prt17.Size = Vector3.new(0.5,1,2)
  5056.  
  5057. prt17.Parent = swordholder
  5058.  
  5059. msh17.Parent = prt17
  5060.  
  5061. prt17.BrickColor = handlecolor
  5062.  
  5063. local prt18 = Instance.new("Part")
  5064.  
  5065. prt18.formFactor = 3
  5066.  
  5067. prt18.CanCollide = false
  5068.  
  5069. prt18.Name = "LeftWing2"
  5070.  
  5071. prt18.Locked = true
  5072.  
  5073. prt18.Size = Vector3.new(0.5,1,2)
  5074.  
  5075. prt18.Parent = swordholder
  5076.  
  5077. msh18.Parent = prt18
  5078.  
  5079. prt18.BrickColor = handlecolor
  5080.  
  5081. local prt19 = Instance.new("Part")
  5082.  
  5083. prt19.formFactor = 3
  5084.  
  5085. prt19.CanCollide = false
  5086.  
  5087. prt19.Name = "LeftWing3"
  5088.  
  5089. prt19.Locked = true
  5090.  
  5091. prt19.Size = Vector3.new(0.5,1,2)
  5092.  
  5093. prt19.Parent = swordholder
  5094.  
  5095. msh19.Parent = prt19
  5096.  
  5097. prt19.BrickColor = handlecolor
  5098.  
  5099. local prt20 = Instance.new("Part")
  5100.  
  5101. prt20.formFactor = 3
  5102.  
  5103. prt20.CanCollide = false
  5104.  
  5105. prt20.Name = "LeftWing4"
  5106.  
  5107. prt20.Locked = true
  5108.  
  5109. prt20.Size = Vector3.new(0.5,1,2)
  5110.  
  5111. prt20.Parent = swordholder
  5112.  
  5113. msh20.Parent = prt20
  5114.  
  5115. prt20.BrickColor = handlecolor
  5116.  
  5117.  
  5118. --Tail
  5119.  
  5120. local prt21 = Instance.new("Part")
  5121.  
  5122. prt21.formFactor = 3
  5123.  
  5124. prt21.CanCollide = false
  5125.  
  5126. prt21.Name = "Tail"
  5127.  
  5128. prt21.Locked = true
  5129.  
  5130. prt21.Size = Vector3.new(3,6,1)
  5131.  
  5132. prt21.Parent = swordholder
  5133.  
  5134. msh21.Parent = prt21
  5135.  
  5136. prt21.BrickColor = handlecolor
  5137.  
  5138.  
  5139. --Legs
  5140.  
  5141. local prt22 = Instance.new("Part")
  5142.  
  5143. prt22.formFactor = 3
  5144.  
  5145. prt22.CanCollide = true
  5146.  
  5147. prt22.Name = "RightLeg"
  5148.  
  5149. prt22.Locked = true
  5150.  
  5151. prt22.Size = Vector3.new(1,2,1)
  5152.  
  5153. prt22.Parent = swordholder
  5154.  
  5155. msh22.Parent = prt22
  5156.  
  5157. prt22.BrickColor = handlecolor
  5158.  
  5159. local prt22a = Instance.new("Part")
  5160.  
  5161. prt22a.formFactor = 3
  5162.  
  5163. prt22a.CanCollide = false
  5164.  
  5165. prt22a.Name = "RightLega"
  5166.  
  5167. prt22a.Locked = true
  5168.  
  5169. prt22a.Size = Vector3.new(0.2,0.2,0.2)
  5170.  
  5171. prt22a.Parent = swordholder
  5172.  
  5173. prt22a.Transparency = 1
  5174.  
  5175. local prt23 = Instance.new("Part")
  5176.  
  5177. prt23.formFactor = 3
  5178.  
  5179. prt23.CanCollide = false
  5180.  
  5181. prt23.Name = "RightLeg2"
  5182.  
  5183. prt23.Locked = true
  5184.  
  5185. prt23.Size = Vector3.new(0.75,2,0.75)
  5186.  
  5187. prt23.Parent = swordholder
  5188.  
  5189. msh23.Parent = prt23
  5190.  
  5191. prt23.BrickColor = bcolor
  5192.  
  5193. local prt24 = Instance.new("Part")
  5194.  
  5195. prt24.formFactor = 3
  5196.  
  5197. prt24.CanCollide = false
  5198.  
  5199. prt24.Name = "RightFeet"
  5200.  
  5201. prt24.Locked = true
  5202.  
  5203. prt24.Size = Vector3.new(1,0.75,2.5)
  5204.  
  5205. prt24.Parent = swordholder
  5206.  
  5207. msh24.Parent = prt24
  5208.  
  5209. prt24.BrickColor = bcolor
  5210.  
  5211. local prt25 = Instance.new("Part")
  5212.  
  5213. prt25.formFactor = 3
  5214.  
  5215. prt25.CanCollide = false
  5216.  
  5217. prt25.Name = "RightFeet1"
  5218.  
  5219. prt25.Locked = true
  5220.  
  5221. prt25.Size = Vector3.new(0.3,0.3,1.5)
  5222.  
  5223. prt25.Parent = swordholder
  5224.  
  5225. msh25.Parent = prt25
  5226.  
  5227. prt25.BrickColor = bcolor
  5228.  
  5229. local prt26 = Instance.new("Part")
  5230.  
  5231. prt26.formFactor = 3
  5232.  
  5233. prt26.CanCollide = false
  5234.  
  5235. prt26.Name = "RightFeet2"
  5236.  
  5237. prt26.Locked = true
  5238.  
  5239. prt26.Size = Vector3.new(0.5,0.5,1.5)
  5240.  
  5241. prt26.Parent = swordholder
  5242.  
  5243. msh26.Parent = prt26
  5244.  
  5245. prt26.BrickColor = bcolor
  5246.  
  5247. local prt27 = Instance.new("Part")
  5248.  
  5249. prt27.formFactor = 3
  5250.  
  5251. prt27.CanCollide = false
  5252.  
  5253. prt27.Name = "RightFeet3"
  5254.  
  5255. prt27.Locked = true
  5256.  
  5257. prt27.Size = Vector3.new(0.5,0.5,1.5)
  5258.  
  5259. prt27.Parent = swordholder
  5260.  
  5261. msh27.Parent = prt27
  5262.  
  5263. prt27.BrickColor = bcolor
  5264.  
  5265.  
  5266. local prt28 = Instance.new("Part")
  5267.  
  5268. prt28.formFactor = 3
  5269.  
  5270. prt28.CanCollide = true
  5271.  
  5272. prt28.Name = "LeftLeg"
  5273.  
  5274. prt28.Locked = true
  5275.  
  5276. prt28.Size = Vector3.new(1,2,1)
  5277.  
  5278. prt28.Parent = swordholder
  5279.  
  5280. msh28.Parent = prt28
  5281.  
  5282. prt28.BrickColor = handlecolor
  5283.  
  5284. local prt28a = Instance.new("Part")
  5285.  
  5286. prt28a.formFactor = 3
  5287.  
  5288. prt28a.CanCollide = false
  5289.  
  5290. prt28a.Name = "LeftLega"
  5291.  
  5292. prt28a.Locked = true
  5293.  
  5294. prt28a.Size = Vector3.new(0.2,0.2,0.2)
  5295.  
  5296. prt28a.Parent = swordholder
  5297.  
  5298. prt28a.Transparency = 1
  5299.  
  5300. local prt29 = Instance.new("Part")
  5301.  
  5302. prt29.formFactor = 3
  5303.  
  5304. prt29.CanCollide = false
  5305.  
  5306. prt29.Name = "LeftLeg2"
  5307.  
  5308. prt29.Locked = true
  5309.  
  5310. prt29.Size = Vector3.new(0.75,2,0.75)
  5311.  
  5312. prt29.Parent = swordholder
  5313.  
  5314. msh29.Parent = prt29
  5315.  
  5316. prt29.BrickColor = bcolor
  5317.  
  5318. local prt30 = Instance.new("Part")
  5319.  
  5320. prt30.formFactor = 3
  5321.  
  5322. prt30.CanCollide = false
  5323.  
  5324. prt30.Name = "LeftFeet"
  5325.  
  5326. prt30.Locked = true
  5327.  
  5328. prt30.Size = Vector3.new(1,0.75,2.5)
  5329.  
  5330. prt30.Parent = swordholder
  5331.  
  5332. msh30.Parent = prt30
  5333.  
  5334. prt30.BrickColor = bcolor
  5335.  
  5336. local prt31 = Instance.new("Part")
  5337.  
  5338. prt31.formFactor = 3
  5339.  
  5340. prt31.CanCollide = false
  5341.  
  5342. prt31.Name = "LeftFeet1"
  5343.  
  5344. prt31.Locked = true
  5345.  
  5346. prt31.Size = Vector3.new(0.3,0.3,1.5)
  5347.  
  5348. prt31.Parent = swordholder
  5349.  
  5350. msh31.Parent = prt31
  5351.  
  5352. prt31.BrickColor = bcolor
  5353.  
  5354. local prt32 = Instance.new("Part")
  5355.  
  5356. prt32.formFactor = 3
  5357.  
  5358. prt32.CanCollide = false
  5359.  
  5360. prt32.Name = "LeftFeet2"
  5361.  
  5362. prt32.Locked = true
  5363.  
  5364. prt32.Size = Vector3.new(0.5,0.5,1.5)
  5365.  
  5366. prt32.Parent = swordholder
  5367.  
  5368. msh32.Parent = prt32
  5369.  
  5370. prt32.BrickColor = bcolor
  5371.  
  5372. local prt33 = Instance.new("Part")
  5373.  
  5374. prt33.formFactor = 3
  5375.  
  5376. prt33.CanCollide = false
  5377.  
  5378. prt33.Name = "RightFeet3"
  5379.  
  5380. prt33.Locked = true
  5381.  
  5382. prt33.Size = Vector3.new(0.5,0.5,1.5)
  5383.  
  5384. prt33.Parent = swordholder
  5385.  
  5386. msh33.Parent = prt33
  5387.  
  5388. prt33.BrickColor = bcolor
  5389.  
  5390.  
  5391. --Backseat :D
  5392.  
  5393. local prt34 = Instance.new("Seat")
  5394.  
  5395. prt34.formFactor = 3
  5396.  
  5397. prt34.CanCollide = false
  5398.  
  5399. prt34.Name = "Backseat"
  5400.  
  5401. prt34.Locked = true
  5402.  
  5403. prt34.Size = Vector3.new(0.2,1,0.2)
  5404.  
  5405. prt34.Parent = swordholder
  5406.  
  5407. prt34.Transparency = 1
  5408.  
  5409.  
  5410. --
  5411.  
  5412. local prt35 = Instance.new("Part")
  5413.  
  5414. prt35.formFactor = 3
  5415.  
  5416. prt35.CanCollide = true
  5417.  
  5418. prt35.Name = "Stand"
  5419.  
  5420. prt35.Locked = true
  5421.  
  5422. prt35.Size = Vector3.new(1,4,1)
  5423.  
  5424. prt35.Parent = swordholder
  5425.  
  5426. prt35.Transparency = 1
  5427.  
  5428. local w35 = Instance.new("Weld")
  5429.  
  5430. w35.Parent = prt35
  5431.  
  5432. w35.Part0 = prt35
  5433.  
  5434. w35.Part1 = prt1
  5435.  
  5436. w35.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5437.  
  5438. w35.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 2,0)
  5439.  
  5440.  
  5441. --Torso
  5442.  
  5443. local w1 = Instance.new("Weld")
  5444.  
  5445. w1.Parent = prt1
  5446.  
  5447. w1.Part0 = prt1
  5448.  
  5449. w1.Part1 = Torso
  5450.  
  5451. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  5452.  
  5453. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-0), math.rad(0)) * CFrame.new(0, 3, -1)
  5454.  
  5455. --Neck
  5456.  
  5457. local w2 = Instance.new("Weld")
  5458.  
  5459. w2.Parent = prt2
  5460.  
  5461. w2.Part0 = prt2
  5462.  
  5463. w2.Part1 = prt1
  5464.  
  5465. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  5466.  
  5467. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  5468.  
  5469. local w3a = Instance.new("Weld")
  5470.  
  5471. w3a.Parent = prt3a
  5472.  
  5473. w3a.Part0 = prt3a
  5474.  
  5475. w3a.Part1 = prt1
  5476.  
  5477. w3a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5478.  
  5479. w3a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -1.5,3)
  5480.  
  5481. local w3 = Instance.new("Weld")
  5482.  
  5483. w3.Parent = prt3
  5484.  
  5485. w3.Part0 = prt3
  5486.  
  5487. w3.Part1 = prt3a
  5488.  
  5489. w3.C1 = CFrame.Angles(math.rad(-20), 0, 0) * CFrame.new(0, 0.465,0)
  5490.  
  5491. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  5492.  
  5493. --Head
  5494.  
  5495. local w4 = Instance.new("Weld")
  5496.  
  5497. w4.Parent = prt4
  5498.  
  5499. w4.Part0 = prt4
  5500.  
  5501. w4.Part1 = prt3
  5502.  
  5503. w4.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5504.  
  5505. w4.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -2.5/2,0.25)
  5506.  
  5507. local w5 = Instance.new("Weld")
  5508.  
  5509. w5.Parent = prt5
  5510.  
  5511. w5.Part0 = prt5
  5512.  
  5513. w5.Part1 = prt4
  5514.  
  5515. w5.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5516.  
  5517. w5.C0 = CFrame.Angles(math.rad(100), 0, 0) * CFrame.new(0, 0.25,1.45)
  5518.  
  5519. local w6 = Instance.new("Weld")
  5520.  
  5521. w6.Parent = prt6
  5522.  
  5523. w6.Part0 = prt6
  5524.  
  5525. w6.Part1 = prt4
  5526.  
  5527. w6.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5528.  
  5529. w6.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.75, -0.25,0.75)
  5530.  
  5531. local w7 = Instance.new("Weld")
  5532.  
  5533. w7.Parent = prt7
  5534.  
  5535. w7.Part0 = prt7
  5536.  
  5537. w7.Part1 = prt4
  5538.  
  5539. w7.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5540.  
  5541. w7.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.75, -0.25,0.75)
  5542.  
  5543. local w6a = Instance.new("Weld")
  5544.  
  5545. w6a.Parent = prt6a
  5546.  
  5547. w6a.Part0 = prt6a
  5548.  
  5549. w6a.Part1 = prt4
  5550.  
  5551. w6a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5552.  
  5553. w6a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.775, -0.25,0.91)
  5554.  
  5555. local w7a = Instance.new("Weld")
  5556.  
  5557. w7a.Parent = prt7a
  5558.  
  5559. w7a.Part0 = prt7a
  5560.  
  5561. w7a.Part1 = prt4
  5562.  
  5563. w7a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5564.  
  5565. w7a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.775, -0.25,0.91)
  5566.  
  5567. local w8 = Instance.new("Weld")
  5568.  
  5569. w8.Parent = prt8
  5570.  
  5571. w8.Part0 = prt8
  5572.  
  5573. w8.Part1 = prt4
  5574.  
  5575. w8.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5576.  
  5577. w8.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.9,-1)
  5578.  
  5579. local w9 = Instance.new("Weld")
  5580.  
  5581. w9.Parent = prt9
  5582.  
  5583. w9.Part0 = prt9
  5584.  
  5585. w9.Part1 = prt4
  5586.  
  5587. w9.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5588.  
  5589. w9.C0 = CFrame.Angles(math.rad(0), math.rad(20), math.rad(-40)) * CFrame.new(0.75, -0.5,-1)
  5590.  
  5591. local w10 = Instance.new("Weld")
  5592.  
  5593. w10.Parent = prt10
  5594.  
  5595. w10.Part0 = prt10
  5596.  
  5597. w10.Part1 = prt4
  5598.  
  5599. w10.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5600.  
  5601. w10.C0 = CFrame.Angles(math.rad(0), math.rad(-20), math.rad(40)) * CFrame.new(-0.75, -0.5,-1)
  5602.  
  5603. --Right Wing
  5604.  
  5605. local w11 = Instance.new("Weld")
  5606.  
  5607. w11.Parent = prt11
  5608.  
  5609. w11.Part0 = prt11
  5610.  
  5611. w11.Part1 = prt1
  5612.  
  5613. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5614.  
  5615. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  5616.  
  5617. local w12 = Instance.new("Weld")
  5618.  
  5619. w12.Parent = prt12
  5620.  
  5621. w12.Part0 = prt12
  5622.  
  5623. w12.Part1 = prt11
  5624.  
  5625. w12.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5626.  
  5627. w12.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
  5628.  
  5629. local w13 = Instance.new("Weld")
  5630.  
  5631. w13.Parent = prt13
  5632.  
  5633. w13.Part0 = prt13
  5634.  
  5635. w13.Part1 = prt11
  5636.  
  5637. w13.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5638.  
  5639. w13.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
  5640.  
  5641. local w14 = Instance.new("Weld")
  5642.  
  5643. w14.Parent = prt14
  5644.  
  5645. w14.Part0 = prt14
  5646.  
  5647. w14.Part1 = prt11
  5648.  
  5649. w14.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5650.  
  5651. w14.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
  5652.  
  5653. local w15 = Instance.new("Weld")
  5654.  
  5655. w15.Parent = prt15
  5656.  
  5657. w15.Part0 = prt15
  5658.  
  5659. w15.Part1 = prt11
  5660.  
  5661. w15.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5662.  
  5663. w15.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
  5664.  
  5665. --Left Wing
  5666.  
  5667. local w16 = Instance.new("Weld")
  5668.  
  5669. w16.Parent = prt16
  5670.  
  5671. w16.Part0 = prt16
  5672.  
  5673. w16.Part1 = prt1
  5674.  
  5675. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5676.  
  5677. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  5678.  
  5679. local w17 = Instance.new("Weld")
  5680.  
  5681. w17.Parent = prt17
  5682.  
  5683. w17.Part0 = prt17
  5684.  
  5685. w17.Part1 = prt16
  5686.  
  5687. w17.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5688.  
  5689. w17.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
  5690.  
  5691. local w18 = Instance.new("Weld")
  5692.  
  5693. w18.Parent = prt18
  5694.  
  5695. w18.Part0 = prt18
  5696.  
  5697. w18.Part1 = prt16
  5698.  
  5699. w18.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5700.  
  5701. w18.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
  5702.  
  5703. local w19 = Instance.new("Weld")
  5704.  
  5705. w19.Parent = prt19
  5706.  
  5707. w19.Part0 = prt19
  5708.  
  5709. w19.Part1 = prt16
  5710.  
  5711. w19.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5712.  
  5713. w19.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
  5714.  
  5715. local w20 = Instance.new("Weld")
  5716.  
  5717. w20.Parent = prt20
  5718.  
  5719. w20.Part0 = prt20
  5720.  
  5721. w20.Part1 = prt16
  5722.  
  5723. w20.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5724.  
  5725. w20.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
  5726.  
  5727. --Tail
  5728.  
  5729. local w21 = Instance.new("Weld")
  5730.  
  5731. w21.Parent = prt21
  5732.  
  5733. w21.Part0 = prt21
  5734.  
  5735. w21.Part1 = prt1
  5736.  
  5737. w21.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5738.  
  5739. w21.C0 = CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) * CFrame.new(0, -1.5,-3.5)
  5740.  
  5741. --Right Leg
  5742.  
  5743. local w22 = Instance.new("Weld")
  5744.  
  5745. w22.Parent = prt22
  5746.  
  5747. w22.Part0 = prt22
  5748.  
  5749. w22.Part1 = prt1
  5750.  
  5751. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5752.  
  5753. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  5754.  
  5755. local w22a = Instance.new("Weld")
  5756.  
  5757. w22a.Parent = prt22a
  5758.  
  5759. w22a.Part0 = prt22a
  5760.  
  5761. w22a.Part1 = prt22
  5762.  
  5763. w22a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5764.  
  5765. w22a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0)
  5766.  
  5767. local w23 = Instance.new("Weld")
  5768.  
  5769. w23.Parent = prt23
  5770.  
  5771. w23.Part0 = prt23
  5772.  
  5773. w23.Part1 = prt22a
  5774.  
  5775. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  5776.  
  5777. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  5778.  
  5779. local w24 = Instance.new("Weld")
  5780.  
  5781. w24.Parent = prt24
  5782.  
  5783. w24.Part0 = prt24
  5784.  
  5785. w24.Part1 = prt23
  5786.  
  5787. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  5788.  
  5789. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  5790.  
  5791. local w25 = Instance.new("Weld")
  5792.  
  5793. w25.Parent = prt25
  5794.  
  5795. w25.Part0 = prt25
  5796.  
  5797. w25.Part1 = prt24
  5798.  
  5799. w25.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5800.  
  5801. w25.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5)
  5802.  
  5803. local w26 = Instance.new("Weld")
  5804.  
  5805. w26.Parent = prt26
  5806.  
  5807. w26.Part0 = prt26
  5808.  
  5809. w26.Part1 = prt24
  5810.  
  5811. w26.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5812.  
  5813. w26.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5)
  5814.  
  5815. local w27 = Instance.new("Weld")
  5816.  
  5817. w27.Parent = prt27
  5818.  
  5819. w27.Part0 = prt27
  5820.  
  5821. w27.Part1 = prt24
  5822.  
  5823. w27.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5824.  
  5825. w27.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5)
  5826.  
  5827. --Left Leg
  5828.  
  5829. local w28 = Instance.new("Weld")
  5830.  
  5831. w28.Parent = prt28
  5832.  
  5833. w28.Part0 = prt28
  5834.  
  5835. w28.Part1 = prt1
  5836.  
  5837. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5838.  
  5839. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  5840.  
  5841. local w28a = Instance.new("Weld")
  5842.  
  5843. w28a.Parent = prt28a
  5844.  
  5845. w28a.Part0 = prt28a
  5846.  
  5847. w28a.Part1 = prt28
  5848.  
  5849. w28a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5850.  
  5851. w28a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0)
  5852.  
  5853. local w29 = Instance.new("Weld")
  5854.  
  5855. w29.Parent = prt29
  5856.  
  5857. w29.Part0 = prt29
  5858.  
  5859. w29.Part1 = prt28a
  5860.  
  5861. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  5862.  
  5863. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  5864.  
  5865. local w30 = Instance.new("Weld")
  5866.  
  5867. w30.Parent = prt30
  5868.  
  5869. w30.Part0 = prt30
  5870.  
  5871. w30.Part1 = prt29
  5872.  
  5873. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  5874.  
  5875. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  5876.  
  5877. local w31 = Instance.new("Weld")
  5878.  
  5879. w31.Parent = prt31
  5880.  
  5881. w31.Part0 = prt31
  5882.  
  5883. w31.Part1 = prt30
  5884.  
  5885. w31.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5886.  
  5887. w31.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5)
  5888.  
  5889. local w32 = Instance.new("Weld")
  5890.  
  5891. w32.Parent = prt32
  5892.  
  5893. w32.Part0 = prt32
  5894.  
  5895. w32.Part1 = prt30
  5896.  
  5897. w32.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5898.  
  5899. w32.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5)
  5900.  
  5901. local w33 = Instance.new("Weld")
  5902.  
  5903. w33.Parent = prt33
  5904.  
  5905. w33.Part0 = prt33
  5906.  
  5907. w33.Part1 = prt30
  5908.  
  5909. w33.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5910.  
  5911. w33.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5)
  5912.  
  5913. --Backseat
  5914.  
  5915. local w34 = Instance.new("Weld")
  5916.  
  5917. w34.Parent = prt1
  5918.  
  5919. w34.Part0 = prt34
  5920.  
  5921. w34.Part1 = prt1
  5922.  
  5923. w34.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5924.  
  5925. w34.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, -1,-1.5)
  5926.  
  5927. if Alive then
  5928.  
  5929. local hum = Instance.new("Humanoid")
  5930.  
  5931. hum.Parent = swordholder
  5932.  
  5933. hum.MaxHealth = ChocoboHP
  5934.  
  5935. hum.Health = ChocoboHP
  5936.  
  5937. hum.PlatformStand = true
  5938.  
  5939. end
  5940.  
  5941.  
  5942. local w36 = Instance.new("Weld")
  5943.  
  5944. local w37 = Instance.new("Weld")
  5945.  
  5946. --[[if Rope then
  5947.  
  5948. local msh36 = Instance.new("BlockMesh")
  5949.  
  5950. local prt36 = Instance.new("Part")
  5951.  
  5952. prt36.formFactor = 3
  5953.  
  5954. prt36.CanCollide = true
  5955.  
  5956. prt36.Name = "MouthRope"
  5957.  
  5958. prt36.Locked = true
  5959.  
  5960. prt36.Size = Vector3.new(1,0.2,0.2)
  5961.  
  5962. prt36.Parent = swordholder
  5963.  
  5964. msh36.Parent = prt36
  5965.  
  5966. prt36.BrickColor = ropecolor
  5967.  
  5968. w36.Parent = prt36
  5969.  
  5970. w36.Part0 = prt36
  5971.  
  5972. w36.Part1 = prt5
  5973.  
  5974. w36.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  5975.  
  5976. w36.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  5977.  
  5978. local msh37 = Instance.new("BlockMesh")
  5979.  
  5980. local prt37 = Instance.new("Part")
  5981.  
  5982. prt37.formFactor = 3
  5983.  
  5984. prt37.CanCollide = true
  5985.  
  5986. prt37.Name = "MouthRope2"
  5987.  
  5988. prt37.Locked = true
  5989.  
  5990. prt37.Size = Vector3.new(3,0.2,0.2)
  5991.  
  5992. prt37.Parent = swordholder
  5993.  
  5994. msh37.Parent = prt37
  5995.  
  5996. prt37.BrickColor = ropecolor
  5997.  
  5998. w37.Parent = prt37
  5999.  
  6000. w37.Part0 = prt37
  6001.  
  6002. w37.Part1 = Torso
  6003.  
  6004. w37.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  6005.  
  6006. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-1)
  6007.  
  6008. local prt38a = Instance.new("Part")
  6009.  
  6010. prt38a.formFactor = 3
  6011.  
  6012. prt38a.CanCollide = false
  6013.  
  6014. prt38a.Name = "MouthRope3Joint"
  6015.  
  6016. prt38a.Locked = true
  6017.  
  6018. prt38a.Size = Vector3.new(0.2,0.2,0.2)
  6019.  
  6020. prt38a.Parent = swordholder
  6021.  
  6022. prt38a.Transparency = 1
  6023.  
  6024. local w38a = Instance.new("Weld")
  6025.  
  6026. w38a.Parent = prt38a
  6027.  
  6028. w38a.Part0 = prt38a
  6029.  
  6030. w38a.Part1 = prt3
  6031.  
  6032. w38a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  6033.  
  6034. w38a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.5, 1.5,0.5)
  6035.  
  6036. local prt39a = Instance.new("Part")
  6037.  
  6038. prt39a.formFactor = 3
  6039.  
  6040. prt39a.CanCollide = false
  6041.  
  6042. prt39a.Name = "MouthRope4Joint"
  6043.  
  6044. prt39a.Locked = true
  6045.  
  6046. prt39a.Size = Vector3.new(0.2,0.2,0.2)
  6047.  
  6048. prt39a.Parent = swordholder
  6049.  
  6050. prt39a.Transparency = 1
  6051.  
  6052. local w39a = Instance.new("Weld")
  6053.  
  6054. w39a.Parent = prt39a
  6055.  
  6056. w39a.Part0 = prt39a
  6057.  
  6058. w39a.Part1 = prt3
  6059.  
  6060. w39a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  6061.  
  6062. w39a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-0.5, 1.5,0.5)
  6063.  
  6064. local msh38 = Instance.new("BlockMesh")
  6065.  
  6066. local prt38 = Instance.new("Part")
  6067.  
  6068. prt38.formFactor = 3
  6069.  
  6070. prt38.Name = "MouthRope3"
  6071.  
  6072. prt38.Locked = true
  6073.  
  6074. prt38.Size = Vector3.new(0.2,0.2,0.2)
  6075.  
  6076. prt38.Parent = swordholder
  6077.  
  6078. msh38.Parent = prt38
  6079.  
  6080. prt38.BrickColor = ropecolor
  6081.  
  6082. prt38.CanCollide = false
  6083.  
  6084. prt38.Anchored = true
  6085.  
  6086. local msh39 = Instance.new("BlockMesh")
  6087.  
  6088. local prt39 = Instance.new("Part")
  6089.  
  6090. prt39.formFactor = 3
  6091.  
  6092. prt39.Name = "MouthRope4"
  6093.  
  6094. prt39.Locked = true
  6095.  
  6096. prt39.Size = Vector3.new(0.2,0.2,0.2)
  6097.  
  6098. prt39.Parent = swordholder
  6099.  
  6100. msh39.Parent = prt39
  6101.  
  6102. prt39.BrickColor = ropecolor
  6103.  
  6104. prt39.CanCollide = false
  6105.  
  6106. prt39.Anchored = true
  6107.  
  6108. local msh40 = Instance.new("BlockMesh")
  6109.  
  6110. local prt40 = Instance.new("Part")
  6111.  
  6112. prt40.formFactor = 3
  6113.  
  6114. prt40.Name = "MouthRope5"
  6115.  
  6116. prt40.Locked = true
  6117.  
  6118. prt40.Size = Vector3.new(0.2,0.2,0.2)
  6119.  
  6120. prt40.Parent = swordholder
  6121.  
  6122. msh40.Parent = prt40
  6123.  
  6124. prt40.BrickColor = ropecolor
  6125.  
  6126. prt40.CanCollide = false
  6127.  
  6128. prt40.Anchored = true
  6129.  
  6130. local msh41 = Instance.new("BlockMesh")
  6131.  
  6132. local prt41 = Instance.new("Part")
  6133.  
  6134. prt41.formFactor = 3
  6135.  
  6136. prt41.Name = "MouthRope6"
  6137.  
  6138. prt41.Locked = true
  6139.  
  6140. prt41.Size = Vector3.new(0.2,0.2,0.2)
  6141.  
  6142. prt41.Parent = swordholder
  6143.  
  6144. msh41.Parent = prt41
  6145.  
  6146. prt41.BrickColor = ropecolor
  6147.  
  6148. prt41.CanCollide = false
  6149.  
  6150. prt41.Anchored = true
  6151.  
  6152. coroutine.resume(coroutine.create(function()
  6153.  
  6154. repeat
  6155.  
  6156. wait()
  6157.  
  6158. local ll = prt37.CFrame * CFrame.new(prt37.Size.x/-2,0,0)
  6159.  
  6160. local rr = prt37.CFrame * CFrame.new(prt37.Size.x/2,0,0)
  6161.  
  6162. local oristrpos1 = prt38a.CFrame
  6163.  
  6164. local oristrpos2 = prt39a.CFrame
  6165.  
  6166. local oristrpos3 = prt36.CFrame*CFrame.new((prt36.Size.x/-2)+0.1,0,0)
  6167.  
  6168. local oristrpos4 = prt36.CFrame*CFrame.new((prt36.Size.x/2)-0.1,0,0)
  6169.  
  6170. local mg1 = (ll.p - oristrpos1.p).magnitude
  6171.  
  6172. local mg2 = (rr.p - oristrpos2.p).magnitude
  6173.  
  6174. local mg3 = (oristrpos1.p - oristrpos3.p).magnitude
  6175.  
  6176. local mg4 = (oristrpos2.p - oristrpos4.p).magnitude
  6177.  
  6178. prt38.Size = Vector3.new(0.2,mg1,0.2)
  6179.  
  6180. prt38.CFrame = CFrame.new((ll.p+oristrpos1.p)/2,oristrpos1.p) * CFrame.Angles(math.rad(90),0,0)
  6181.  
  6182. prt39.Size = Vector3.new(0.2,mg2,0.2)
  6183.  
  6184. prt39.CFrame = CFrame.new((rr.p+oristrpos2.p)/2,oristrpos2.p) * CFrame.Angles(math.rad(90),0,0)
  6185.  
  6186. prt40.Size = Vector3.new(0.2,mg3,0.2)
  6187.  
  6188. prt40.CFrame = CFrame.new((oristrpos1.p+oristrpos3.p)/2,oristrpos3.p) * CFrame.Angles(math.rad(90),0,0)
  6189.  
  6190. prt41.Size = Vector3.new(0.2,mg3,0.2)
  6191.  
  6192. prt41.CFrame = CFrame.new((oristrpos2.p+oristrpos4.p)/2,oristrpos4.p) * CFrame.Angles(math.rad(90),0,0)
  6193.  
  6194. until false
  6195.  
  6196. end))
  6197.  
  6198. end]]
  6199.  
  6200.  
  6201.  
  6202. local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  6203.  
  6204. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  6205.  
  6206. end
  6207.  
  6208.  
  6209. local bg = Instance.new("BodyGyro")
  6210.  
  6211. bg.maxTorque = bg.maxTorque * math.huge
  6212.  
  6213. local bp = Instance.new("BodyPosition")
  6214.  
  6215. bp.maxForce = Vector3.new(math.huge,0,math.huge)
  6216.  
  6217. bp.P = bp.p * 10
  6218.  
  6219.  
  6220. function unequipweld()
  6221.  
  6222. w1.Part1 = nil
  6223.  
  6224. bg.Parent = prt1
  6225.  
  6226. bg.cframe = prt1.CFrame
  6227.  
  6228. local hit,pos = rayCast(Torso.Position+Vector3.new(0,10,0), Vector3.new(0,-2,0), 1000, Character)
  6229.  
  6230. bp.position = pos + Vector3.new(0,4,0)
  6231.  
  6232. bp.Parent = prt1
  6233.  
  6234. w37.Part1 = prt2
  6235.  
  6236. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)
  6237.  
  6238. end
  6239.  
  6240.  
  6241. unequipweld()
  6242.  
  6243. bp.position = (Head.CFrame*CFrame.new(10,0,0)).p
  6244.  
  6245. bg.cframe = Head.CFrame
  6246.  
  6247.  
  6248. function equipweld()
  6249.  
  6250. w1.Part1 = Torso
  6251.  
  6252. bg.Parent = nil
  6253.  
  6254. bp.Parent = nil
  6255.  
  6256. w37.Part1 = Torso
  6257.  
  6258. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)
  6259.  
  6260. end
  6261.  
  6262.  
  6263.  
  6264.  
  6265.  
  6266. function ss(parent,p) --Slash
  6267.  
  6268.  
  6269. local SlashSound = Instance.new("Sound")
  6270.  
  6271. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  6272.  
  6273. SlashSound.Parent = parent
  6274.  
  6275. SlashSound.Volume = .7
  6276.  
  6277. SlashSound.Pitch = p
  6278.  
  6279. SlashSound.PlayOnRemove = true
  6280.  
  6281. coroutine.resume(coroutine.create(function()
  6282.  
  6283. wait()
  6284.  
  6285. SlashSound.Parent = nil
  6286.  
  6287. end))
  6288.  
  6289. end
  6290.  
  6291. function uss(parent,p) --unsheath
  6292.  
  6293.  
  6294. local SlashSound = Instance.new("Sound")
  6295.  
  6296. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  6297.  
  6298. SlashSound.Parent = parent
  6299.  
  6300. SlashSound.Volume = .7
  6301.  
  6302. SlashSound.Pitch = p
  6303.  
  6304. SlashSound.PlayOnRemove = true
  6305.  
  6306. coroutine.resume(coroutine.create(function()
  6307.  
  6308. wait()
  6309.  
  6310. SlashSound.Parent = nil
  6311.  
  6312. end))
  6313.  
  6314. end
  6315.  
  6316. function fs(parent,p) --Fire Sound
  6317.  
  6318.  
  6319. local SlashSound = Instance.new("Sound")
  6320.  
  6321. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  6322.  
  6323. SlashSound.Parent = parent
  6324.  
  6325. SlashSound.Volume = .7
  6326.  
  6327. SlashSound.Pitch = p
  6328.  
  6329. SlashSound.PlayOnRemove = true
  6330.  
  6331. coroutine.resume(coroutine.create(function()
  6332.  
  6333. wait()
  6334.  
  6335. SlashSound.Parent = nil
  6336.  
  6337. end))
  6338.  
  6339. end
  6340.  
  6341. function ms(parent,p) --Metal Cling Sound
  6342.  
  6343.  
  6344. local SlashSound = Instance.new("Sound")
  6345.  
  6346. SlashSound.SoundId = "rbxasset://sounds\\metal.ogg"
  6347.  
  6348. SlashSound.Parent = parent
  6349.  
  6350. SlashSound.Volume = 5
  6351.  
  6352. SlashSound.Pitch = p
  6353.  
  6354. SlashSound.PlayOnRemove = true
  6355.  
  6356. coroutine.resume(coroutine.create(function()
  6357.  
  6358. wait()
  6359.  
  6360. SlashSound.Parent = nil
  6361.  
  6362. end))
  6363.  
  6364. end
  6365.  
  6366. function ws(parent,p) --Walk Sound
  6367.  
  6368.  
  6369. local SlashSound = Instance.new("Sound")
  6370.  
  6371. SlashSound.SoundId = "rbxasset://sounds\\bfsl-minifigfoots1.mp3"
  6372.  
  6373. SlashSound.Parent = parent
  6374.  
  6375. SlashSound.Volume = 1
  6376.  
  6377. SlashSound.Pitch = p
  6378.  
  6379. SlashSound.PlayOnRemove = true
  6380.  
  6381. coroutine.resume(coroutine.create(function()
  6382.  
  6383. wait()
  6384.  
  6385. SlashSound.Parent = nil
  6386.  
  6387. end))
  6388.  
  6389. end
  6390.  
  6391. --
  6392.  
  6393. --
  6394.  
  6395.  
  6396. function returndmg()
  6397.  
  6398. mindamage = omindamage
  6399.  
  6400. maxdamage = omaxdamage
  6401.  
  6402. crtmaxdamage = ocrtmaxdamage
  6403.  
  6404. end
  6405.  
  6406.  
  6407. function subdmg(sub)
  6408.  
  6409. mindamage = omindamage - sub
  6410.  
  6411. maxdamage = omaxdamage - sub
  6412.  
  6413. crtmaxdamage = ocrtmaxdamage - sub
  6414.  
  6415. end
  6416.  
  6417.  
  6418. function prcntdmg(sub)
  6419.  
  6420. mindamage = math.floor(omindamage - (omindamage*(sub/100)))
  6421.  
  6422. maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100)))
  6423.  
  6424. crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100)))
  6425.  
  6426. end
  6427.  
  6428.  
  6429. function tagHumanoid(humanoid, player)
  6430.  
  6431. local creator_tag = Instance.new("ObjectValue")
  6432.  
  6433. creator_tag.Value = player
  6434.  
  6435. creator_tag.Name = "creator"
  6436.  
  6437. creator_tag.Parent = humanoid
  6438.  
  6439. end
  6440.  
  6441.  
  6442. function untagHumanoid(humanoid)
  6443.  
  6444. if humanoid ~= nil then
  6445.  
  6446. local tag = humanoid:findFirstChild("creator")
  6447.  
  6448. if tag ~= nil then
  6449.  
  6450. tag.Parent = nil
  6451.  
  6452. end
  6453.  
  6454. end
  6455.  
  6456. end
  6457.  
  6458.  
  6459.  
  6460.  
  6461.  
  6462. function hideanim()
  6463.  
  6464. attack = true
  6465.  
  6466. RWRem()
  6467.  
  6468. LWRem()
  6469.  
  6470. RWLRem()
  6471.  
  6472. LWLRem()
  6473.  
  6474. unequipweld()
  6475.  
  6476. attack = false
  6477.  
  6478. end
  6479.  
  6480.  
  6481.  
  6482. function equipanim()
  6483.  
  6484. attack = true
  6485.  
  6486. RWFunc()
  6487.  
  6488. RWLFunc()
  6489.  
  6490. LWLFunc()
  6491.  
  6492. LWFunc()
  6493.  
  6494. equipweld()
  6495.  
  6496. for i = 0.1 ,1 ,0.1 do
  6497.  
  6498. wait()
  6499.  
  6500. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(-20*i))
  6501.  
  6502. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6503.  
  6504. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(20*i))
  6505.  
  6506. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  6507.  
  6508. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(25*i))
  6509.  
  6510. RWL.C1 = CFrame.new(0.5, 1, 0)
  6511.  
  6512. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(-25*i))
  6513.  
  6514. LWL.C1 = CFrame.new(-0.5, 1, 0)
  6515.  
  6516. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(0),0,math.rad(0))
  6517.  
  6518. end
  6519.  
  6520.  
  6521. attack = false
  6522.  
  6523. end
  6524.  
  6525.  
  6526. function noarms()
  6527.  
  6528. RWRem()
  6529.  
  6530. LWRem()
  6531.  
  6532. w37.Part1 = prt2
  6533.  
  6534. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)
  6535.  
  6536. end
  6537.  
  6538.  
  6539. function arms()
  6540.  
  6541. RWFunc()
  6542.  
  6543. LWFunc()
  6544.  
  6545. w37.Part1 = Torso
  6546.  
  6547. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)
  6548.  
  6549. end
  6550.  
  6551.  
  6552. function faketors()
  6553.  
  6554. local T = Instance.new("Part")
  6555.  
  6556. T.formFactor = 0
  6557.  
  6558. T.CanCollide = false
  6559.  
  6560. T.Name = "FakeTorso"
  6561.  
  6562. T.Locked = true
  6563.  
  6564. T.Size = Torso.Size
  6565.  
  6566. T.Parent = swordholder
  6567.  
  6568. T.Transparency = 1
  6569.  
  6570. T.BrickColor = Torso.BrickColor
  6571.  
  6572. for i,z in pairs(Character:GetChildren()) do
  6573.  
  6574. if z.className == "CharacterMesh" then
  6575.  
  6576. if z.BodyPart == Enum.BodyPart.Torso then
  6577.  
  6578. local SM = Instance.new("SpecialMesh",T)
  6579.  
  6580. SM.MeshId = "http://www.roblox.com/asset/?id=" .. z.MeshId
  6581.  
  6582. if z.BaseTextureId ~= 0 then
  6583.  
  6584. SM.TextureId = z.BaseTextureId
  6585.  
  6586. elseif z.OverlayTextureId ~= 0 then
  6587.  
  6588. SM.TextureId = z.OverlayTextureId
  6589.  
  6590. else
  6591.  
  6592. SM.TextureId = ""
  6593.  
  6594. end
  6595.  
  6596. end
  6597.  
  6598. end
  6599.  
  6600. end
  6601.  
  6602. local wt = Instance.new("Weld")
  6603.  
  6604. wt.Parent = T
  6605.  
  6606. wt.Part0 = T
  6607.  
  6608. wt.Part1 = Torso
  6609.  
  6610. RW.Part0 = T
  6611.  
  6612. LW.Part0 = T
  6613.  
  6614. T.Transparency = 0
  6615.  
  6616. Torso.Transparency = 1
  6617.  
  6618. RHL.Part0 = T
  6619.  
  6620. LHL.Part0 = T
  6621.  
  6622. return wt,T
  6623.  
  6624. end
  6625.  
  6626.  
  6627.  
  6628. if (script.Parent.className ~= "HopperBin") then
  6629.  
  6630. Tool = Instance.new("HopperBin")
  6631.  
  6632. Tool.Parent = Backpack
  6633.  
  6634. Tool.Name = ToolName
  6635.  
  6636. script.Parent = Tool
  6637.  
  6638. end
  6639.  
  6640. Bin = script.Parent
  6641.  
  6642.  
  6643.  
  6644. function damagesplat(dmg,hit,crit,blocked)
  6645.  
  6646. local mo = Instance.new("Model")
  6647.  
  6648. mo.Name = dmg
  6649.  
  6650. local pa = Instance.new("Part",mo)
  6651.  
  6652. pa.formFactor = 3
  6653.  
  6654. pa.Size = Vector3.new(0.8,0.3,0.8)
  6655.  
  6656. if crit then
  6657.  
  6658. pa.BrickColor = BrickColor.new("Bright yellow")
  6659.  
  6660. elseif not crit then
  6661.  
  6662. pa.BrickColor = BrickColor.new("Bright red")
  6663.  
  6664. end
  6665.  
  6666. if blocked then pa.BrickColor = BrickColor.new("Bright blue") end
  6667.  
  6668. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  6669.  
  6670. pa.Name = "Head"
  6671.  
  6672. local hah = Instance.new("Humanoid")
  6673.  
  6674. hah.Parent = mo
  6675.  
  6676. hah.MaxHealth = 0
  6677.  
  6678. hah.Health = 0
  6679.  
  6680. local bp = Instance.new("BodyPosition")
  6681.  
  6682. bp.P = 14000
  6683.  
  6684. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  6685.  
  6686. bp.position = hit.Position + Vector3.new(0, 5, 0)
  6687.  
  6688. coroutine.resume(coroutine.create(function()
  6689.  
  6690. wait()
  6691.  
  6692. mo.Parent = workspace
  6693.  
  6694. bp.Parent = pa
  6695.  
  6696. wait(1.4)
  6697.  
  6698. mo:remove()
  6699.  
  6700. end))
  6701.  
  6702. return pa
  6703.  
  6704. end
  6705.  
  6706.  
  6707. function damage(hum,dmg,critornot)
  6708.  
  6709. local pa = damagesplat(dmg,hum.Torso,critornot)
  6710.  
  6711. hum:TakeDamage(dmg)
  6712.  
  6713. coroutine.resume(coroutine.create(function()
  6714.  
  6715. tagHumanoid(hum,Player)
  6716.  
  6717. wait(1)
  6718.  
  6719. untagHumanoid(hum)
  6720.  
  6721. end))
  6722.  
  6723. return pa
  6724.  
  6725. end
  6726.  
  6727.  
  6728. function AddEnergy(add)
  6729.  
  6730. Energy = Energy + add
  6731.  
  6732. if Energy > MaxEnergy then
  6733.  
  6734. Energy = MaxEnergy
  6735.  
  6736. end
  6737.  
  6738. end
  6739.  
  6740.  
  6741.  
  6742.  
  6743. function OT(hit) --Normal Damage
  6744.  
  6745. if Hitdeb == 1 then return end
  6746.  
  6747. if hit.Parent == nil then return end
  6748.  
  6749. local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then
  6750.  
  6751. if hum.Health <= 0 then return end
  6752.  
  6753. if hit.Parent:findFirstChild("Block") ~= nil then
  6754.  
  6755. if hit.Parent.Block.Value then
  6756.  
  6757. damagesplat(0,hum.Torso,false,true)
  6758.  
  6759. Hitdeb = 1
  6760.  
  6761. if hit.Parent.Block:findFirstChild("BlockPower") ~= nil then
  6762.  
  6763. if hit.Parent.Block.BlockPower.Value <= 1 then
  6764.  
  6765. hit.Parent.Block.Value = false
  6766.  
  6767. elseif hit.Parent.Block.BlockPower.Value > 1 then
  6768.  
  6769. local critrandomizer = math.random(crtrate)
  6770.  
  6771. if critrandomizer ~= 1 then
  6772.  
  6773. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker
  6774.  
  6775. elseif critrandomizer == 1 then
  6776.  
  6777. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker + 2
  6778.  
  6779. end
  6780.  
  6781. end
  6782.  
  6783. end
  6784.  
  6785. return end end
  6786.  
  6787. local critrandomizer = math.random(crtrate)
  6788.  
  6789. if critrandomizer ~= 1 then
  6790.  
  6791. local rndmdamage = math.random(mindamage,maxdamage)
  6792.  
  6793. damage(hum,rndmdamage,false)
  6794.  
  6795. elseif critrandomizer == 1 then
  6796.  
  6797. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  6798.  
  6799. damage(hum,rndmdamage,true)
  6800.  
  6801. end
  6802.  
  6803. Hitdeb = 1
  6804.  
  6805. end
  6806.  
  6807. end
  6808.  
  6809.  
  6810.  
  6811. function AoE(p,magnitude)
  6812.  
  6813. local c = game.Workspace:GetChildren();
  6814.  
  6815. for i = 1, #c do
  6816.  
  6817. local hum = c[i]:findFirstChild("Humanoid")
  6818.  
  6819. if hum ~= nil and hum.Health ~= 0 then
  6820.  
  6821. local head = c[i]:findFirstChild("Head");
  6822.  
  6823. if head ~= nil then
  6824.  
  6825. local mag = (head.Position - p).magnitude;
  6826.  
  6827. if mag <= magnitude and c[i].Name ~= Character.Name then
  6828.  
  6829. local foundd = false
  6830.  
  6831. for ii = 1 , #AoETrue do
  6832.  
  6833. if AoETrue[ii] == c[i].Name then
  6834.  
  6835.  
  6836. foundd = true
  6837.  
  6838. end
  6839.  
  6840. end
  6841.  
  6842. if foundd then
  6843.  
  6844.  
  6845. end
  6846.  
  6847. --
  6848.  
  6849. if not foundd then
  6850.  
  6851. local critrandomizer = math.random(crtrate)
  6852.  
  6853. if critrandomizer ~= 1 then
  6854.  
  6855. local rndmdamage = math.random(mindamage,maxdamage)
  6856.  
  6857. damage(hum,rndmdamage,false)
  6858.  
  6859. elseif critrandomizer == 1 then
  6860.  
  6861. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  6862.  
  6863. damage(hum,rndmdamage,true)
  6864.  
  6865. end
  6866.  
  6867. table.insert(AoETrue,c[i].Name)
  6868.  
  6869. end
  6870.  
  6871. end
  6872.  
  6873. end
  6874.  
  6875. end
  6876.  
  6877. end
  6878.  
  6879. for ii = 1 , #AoETrue do
  6880.  
  6881. table.remove(AoETrue,#AoETrue)
  6882.  
  6883. end
  6884.  
  6885. end
  6886.  
  6887.  
  6888. --
  6889.  
  6890.  
  6891.  
  6892. --
  6893.  
  6894.  
  6895. function effect(Color,Ref,LP,P1)
  6896.  
  6897. local effectsmsh = Instance.new("BlockMesh")
  6898.  
  6899. effectsmsh.Scale = Vector3.new(1,1,1)
  6900.  
  6901. effectsmsh.Name = "Mesh"
  6902.  
  6903. local effectsg = Instance.new("Part")
  6904.  
  6905. effectsg.formFactor = 3
  6906.  
  6907. effectsg.CanCollide = false
  6908.  
  6909. effectsg.Name = "Eff"
  6910.  
  6911. effectsg.Locked = true
  6912.  
  6913. effectsg.Anchored = true
  6914.  
  6915. effectsg.Size = Vector3.new(0.2,1,0.2)
  6916.  
  6917. effectsg.Parent = swordholder
  6918.  
  6919. effectsmsh.Parent = effectsg
  6920.  
  6921. effectsg.BrickColor = BrickColor.new(Color)
  6922.  
  6923. effectsg.Reflectance = Ref
  6924.  
  6925. local point1 = P1
  6926.  
  6927. local mg = (LP.p - point1.p).magnitude
  6928.  
  6929. effectsg.Size = Vector3.new(0.2,mg,0.2)
  6930.  
  6931. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  6932.  
  6933. coroutine.resume(coroutine.create(function()
  6934.  
  6935. for i = 0 , 1 , 0.1 do
  6936.  
  6937. wait()
  6938.  
  6939. effectsg.Transparency = 1*i
  6940.  
  6941. effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
  6942.  
  6943. end
  6944.  
  6945. wait()
  6946.  
  6947. effectsg.Parent = nil
  6948.  
  6949. end))
  6950.  
  6951. end
  6952.  
  6953. --
  6954.  
  6955.  
  6956.  
  6957. con = nil
  6958.  
  6959.  
  6960.  
  6961. function dmgcnnct()
  6962.  
  6963. if con ~= nil then
  6964.  
  6965. con:disconnect()
  6966.  
  6967. Hitdeb = 0
  6968.  
  6969. end
  6970.  
  6971. con = prt4.Touched:connect(OT)
  6972.  
  6973. end
  6974.  
  6975.  
  6976. function dmgdc()
  6977.  
  6978. if con ~= nil then
  6979.  
  6980. con:disconnect()
  6981.  
  6982. Hitdeb = 0
  6983.  
  6984. end
  6985.  
  6986. end
  6987.  
  6988.  
  6989. function rptddmg(value,des,inc)
  6990.  
  6991. coroutine.resume(coroutine.create(function()
  6992.  
  6993. repeat
  6994.  
  6995. wait(inc)
  6996.  
  6997. Hitdeb = 0
  6998.  
  6999. until value == des
  7000.  
  7001. end))
  7002.  
  7003. end
  7004.  
  7005.  
  7006. function atktype(s,e)
  7007.  
  7008. coroutine.resume(coroutine.create(function ()
  7009.  
  7010. attacktype = e
  7011.  
  7012. wait(0.25)
  7013.  
  7014. attacktype = s
  7015.  
  7016. end))
  7017.  
  7018. end
  7019.  
  7020.  
  7021. jumping = false
  7022.  
  7023. walking = false
  7024.  
  7025. function Walk()
  7026.  
  7027. if walking or jumping then return end
  7028.  
  7029. walking = true
  7030.  
  7031. for i = 0.2 , 1, 0.2 do
  7032.  
  7033. wait()
  7034.  
  7035. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7036.  
  7037. w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7038.  
  7039. w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)
  7040.  
  7041. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  7042.  
  7043. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7044.  
  7045. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7046.  
  7047. --
  7048.  
  7049. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7050.  
  7051. w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7052.  
  7053. w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)
  7054.  
  7055. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  7056.  
  7057. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7058.  
  7059. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7060.  
  7061. --
  7062.  
  7063. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7064.  
  7065. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  7066.  
  7067. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7068.  
  7069. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  7070.  
  7071. end
  7072.  
  7073. repeat
  7074.  
  7075.  
  7076. for i = 0.1 , 1, 0.1 do
  7077.  
  7078. if not walking or jumping then break end
  7079.  
  7080. wait()
  7081.  
  7082. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7083.  
  7084. w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7085.  
  7086. w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7087.  
  7088. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  7089.  
  7090. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7091.  
  7092. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7093.  
  7094. --
  7095.  
  7096. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7097.  
  7098. w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7099.  
  7100. w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7101.  
  7102. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  7103.  
  7104. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7105.  
  7106. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7107.  
  7108. --
  7109.  
  7110. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7111.  
  7112. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  7113.  
  7114. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7115.  
  7116. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  7117.  
  7118. end
  7119.  
  7120. for i = 0.1 , 1, 0.1 do
  7121.  
  7122. if not walking or jumping then break end
  7123.  
  7124. wait()
  7125.  
  7126. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7127.  
  7128. w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7129.  
  7130. w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7131.  
  7132. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7133.  
  7134. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7135.  
  7136. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7137.  
  7138. --
  7139.  
  7140. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7141.  
  7142. w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7143.  
  7144. w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7145.  
  7146. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7147.  
  7148. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7149.  
  7150. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7151.  
  7152. --
  7153.  
  7154. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7155.  
  7156. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  7157.  
  7158. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7159.  
  7160. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  7161.  
  7162. end
  7163.  
  7164. until not walking or jumping
  7165.  
  7166. for i = 0.2 , 1, 0.2 do
  7167.  
  7168. if not walking or jumping then break end
  7169.  
  7170. wait()
  7171.  
  7172. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7173.  
  7174. w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7175.  
  7176. w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)
  7177.  
  7178. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  7179.  
  7180. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7181.  
  7182. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7183.  
  7184. --
  7185.  
  7186. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7187.  
  7188. w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7189.  
  7190. w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)
  7191.  
  7192. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  7193.  
  7194. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7195.  
  7196. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7197.  
  7198. --
  7199.  
  7200. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7201.  
  7202. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  7203.  
  7204. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7205.  
  7206. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  7207.  
  7208. end
  7209.  
  7210. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7211.  
  7212. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7213.  
  7214. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  7215.  
  7216. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7217.  
  7218. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7219.  
  7220. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7221.  
  7222. --
  7223.  
  7224. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7225.  
  7226. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7227.  
  7228. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  7229.  
  7230. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7231.  
  7232. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7233.  
  7234. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7235.  
  7236. end
  7237.  
  7238.  
  7239.  
  7240. function Jump()
  7241.  
  7242. if jumping then return end
  7243.  
  7244. jumping = true
  7245.  
  7246. local vel = Instance.new("BodyVelocity",prt1)
  7247.  
  7248. vel.maxForce = Vector3.new(0,1,0) * math.huge
  7249.  
  7250. vel.P = vel.P * 5
  7251.  
  7252. vel.velocity = Vector3.new(0,jump,0)
  7253.  
  7254. coroutine.resume(coroutine.create(function()
  7255.  
  7256. wait() wait() wait() wait()
  7257.  
  7258. vel.Parent=nil
  7259.  
  7260. end))
  7261.  
  7262. ss(Head,1)
  7263.  
  7264. for i = 0.2 , 1 , 0.2 do
  7265.  
  7266. wait()
  7267.  
  7268. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7269.  
  7270. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7271.  
  7272. w23.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)
  7273.  
  7274. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  7275.  
  7276. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7277.  
  7278. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7279.  
  7280. --
  7281.  
  7282. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7283.  
  7284. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7285.  
  7286. w29.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)
  7287.  
  7288. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  7289.  
  7290. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7291.  
  7292. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7293.  
  7294. --Neck
  7295.  
  7296. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7297.  
  7298. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7299.  
  7300. w3.C1 = CFrame.Angles(math.rad(-20+20*i), 0, 0) * CFrame.new(0, 0.465,0)
  7301.  
  7302. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7303.  
  7304. --Wings
  7305.  
  7306. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7307.  
  7308. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
  7309.  
  7310. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7311.  
  7312. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
  7313.  
  7314. end
  7315.  
  7316. wait(0.5)
  7317.  
  7318. for i = 0.2 , 1 , 0.2 do
  7319.  
  7320. wait()
  7321.  
  7322. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7323.  
  7324. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7325.  
  7326. w23.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)
  7327.  
  7328. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  7329.  
  7330. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7331.  
  7332. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7333.  
  7334. --
  7335.  
  7336. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7337.  
  7338. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7339.  
  7340. w29.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)
  7341.  
  7342. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  7343.  
  7344. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7345.  
  7346. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7347.  
  7348. --Neck
  7349.  
  7350. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7351.  
  7352. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7353.  
  7354. w3.C1 = CFrame.Angles(math.rad(-20*i), 0, 0) * CFrame.new(0, 0.465,0)
  7355.  
  7356. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7357.  
  7358. --Wings
  7359.  
  7360. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7361.  
  7362. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
  7363.  
  7364. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7365.  
  7366. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
  7367.  
  7368. end
  7369.  
  7370. jumping = false
  7371.  
  7372. if prt1.Velocity.magnitude > 5 then
  7373.  
  7374. walking = true
  7375.  
  7376. for i = 0.2 , 1, 0.2 do
  7377.  
  7378. wait()
  7379.  
  7380. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7381.  
  7382. w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7383.  
  7384. w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)
  7385.  
  7386. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  7387.  
  7388. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7389.  
  7390. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7391.  
  7392. --
  7393.  
  7394. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7395.  
  7396. w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7397.  
  7398. w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)
  7399.  
  7400. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  7401.  
  7402. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7403.  
  7404. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7405.  
  7406. end
  7407.  
  7408. repeat
  7409.  
  7410. for i = 0.1 , 1, 0.1 do
  7411.  
  7412. if not walking or jumping then break end
  7413.  
  7414. wait()
  7415.  
  7416. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7417.  
  7418. w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7419.  
  7420. w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7421.  
  7422. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  7423.  
  7424. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7425.  
  7426. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7427.  
  7428. --
  7429.  
  7430. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7431.  
  7432. w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7433.  
  7434. w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7435.  
  7436. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  7437.  
  7438. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7439.  
  7440. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7441.  
  7442. end
  7443.  
  7444. for i = 0.1 , 1, 0.1 do
  7445.  
  7446. if not walking or jumping then break end
  7447.  
  7448. wait()
  7449.  
  7450. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7451.  
  7452. w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7453.  
  7454. w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7455.  
  7456. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7457.  
  7458. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7459.  
  7460. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7461.  
  7462. --
  7463.  
  7464. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7465.  
  7466. w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7467.  
  7468. w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  7469.  
  7470. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7471.  
  7472. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7473.  
  7474. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7475.  
  7476. end
  7477.  
  7478. until not walking or jumping
  7479.  
  7480. for i = 0.2 , 1, 0.2 do
  7481.  
  7482. if jumping then break end
  7483.  
  7484. wait()
  7485.  
  7486. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7487.  
  7488. w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7489.  
  7490. w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)
  7491.  
  7492. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  7493.  
  7494. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7495.  
  7496. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7497.  
  7498. --
  7499.  
  7500. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7501.  
  7502. w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7503.  
  7504. w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)
  7505.  
  7506. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  7507.  
  7508. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7509.  
  7510. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7511.  
  7512. end
  7513.  
  7514. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7515.  
  7516. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7517.  
  7518. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  7519.  
  7520. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7521.  
  7522. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7523.  
  7524. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7525.  
  7526. --
  7527.  
  7528. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7529.  
  7530. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7531.  
  7532. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  7533.  
  7534. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7535.  
  7536. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7537.  
  7538. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7539.  
  7540. end
  7541.  
  7542. end
  7543.  
  7544.  
  7545.  
  7546.  
  7547.  
  7548. dashing = false
  7549.  
  7550. function Dash()
  7551.  
  7552. dashing = true
  7553.  
  7554. for i = 0.1 ,1 , 0.1 do
  7555.  
  7556. wait()
  7557.  
  7558. --Neck
  7559.  
  7560. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7561.  
  7562. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7563.  
  7564. w3.C1 = CFrame.Angles(math.rad(-20-60*i), 0, 0) * CFrame.new(0, 0.465,0)
  7565.  
  7566. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7567.  
  7568. end
  7569.  
  7570. dmgcnnct()
  7571.  
  7572. rptddmg(dashing,false,1)
  7573.  
  7574. LastPoint = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
  7575.  
  7576. repeat
  7577.  
  7578. local Point = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
  7579.  
  7580. effect("White",0.5,LastPoint,Point)
  7581.  
  7582. LastPoint = Point
  7583.  
  7584. wait(0.1)
  7585.  
  7586. if Energy >= 1 then
  7587.  
  7588. Energy = Energy - 1
  7589.  
  7590. end
  7591.  
  7592. until not buttonhold or Energy < 3
  7593.  
  7594. dmgdc()
  7595.  
  7596. dashing = false
  7597.  
  7598. for i = 0.1 ,1 , 0.1 do
  7599.  
  7600. wait()
  7601.  
  7602. --Neck
  7603.  
  7604. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7605.  
  7606. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7607.  
  7608. w3.C1 = CFrame.Angles(math.rad(-80+60*i), 0, 0) * CFrame.new(0, 0.465,0)
  7609.  
  7610. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7611.  
  7612. end
  7613.  
  7614. end
  7615.  
  7616.  
  7617. idleez = false
  7618.  
  7619. function Idle()
  7620.  
  7621. if idleez then return end
  7622.  
  7623. idleez = true
  7624.  
  7625. local rndm = math.random(1,3)
  7626.  
  7627. for i = 0.05, 1 , 0.05 do
  7628.  
  7629. if not walking and not dashing and not jumping then
  7630.  
  7631. wait()
  7632.  
  7633. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7634.  
  7635. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7636.  
  7637. w3.C1 = CFrame.Angles(math.rad(-20+5*i), 0, 0) * CFrame.new(0, 0.465,0)
  7638.  
  7639. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7640.  
  7641. if rndm ~= 1 then
  7642.  
  7643. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7644.  
  7645. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10*i)) * CFrame.new(-1.5-0.2*i, 0,0)
  7646.  
  7647. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7648.  
  7649. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10*i)) * CFrame.new(1.5+0.2*i, 0,0)
  7650.  
  7651. else
  7652.  
  7653. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7654.  
  7655. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
  7656.  
  7657. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7658.  
  7659. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
  7660.  
  7661. end
  7662.  
  7663. end
  7664.  
  7665. end
  7666.  
  7667. if rndm == 1 then
  7668.  
  7669. for i = 0.1 , 1 , 0.1 do
  7670.  
  7671. if not walking and not dashing and not jumping then
  7672.  
  7673. wait()
  7674.  
  7675. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7676.  
  7677. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7678.  
  7679. w3.C1 = CFrame.Angles(math.rad(-15+5*i) ,math.rad(0), 0) * CFrame.new(0, 0.465,0)
  7680.  
  7681. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7682.  
  7683. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7684.  
  7685. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45-45*i)) * CFrame.new(-2, -1*i,0)
  7686.  
  7687. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7688.  
  7689. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45+45*i)) * CFrame.new(2, -1*i,0)
  7690.  
  7691. end
  7692.  
  7693. end
  7694.  
  7695. for i = 0.2 , 1 , 0.2 do
  7696.  
  7697. if not walking and not dashing and not jumping then
  7698.  
  7699. wait()
  7700.  
  7701. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7702.  
  7703. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7704.  
  7705. w3.C1 = CFrame.Angles(math.rad(-10+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  7706.  
  7707. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7708.  
  7709. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7710.  
  7711. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+30*i)) * CFrame.new(-2, -1,0)
  7712.  
  7713. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7714.  
  7715. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-30*i)) * CFrame.new(2, -1,0)
  7716.  
  7717. end
  7718.  
  7719. end
  7720.  
  7721. for i = 0.2 , 1 , 0.2 do
  7722.  
  7723. if not walking and not dashing and not jumping then
  7724.  
  7725. wait()
  7726.  
  7727. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7728.  
  7729. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7730.  
  7731. w3.C1 = CFrame.Angles(math.rad(-5+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  7732.  
  7733. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7734.  
  7735. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7736.  
  7737. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60-30*i)) * CFrame.new(-2, -1,0)
  7738.  
  7739. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7740.  
  7741. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(60+30*i)) * CFrame.new(2, -1,0)
  7742.  
  7743. end
  7744.  
  7745. end
  7746.  
  7747. for i = 0.1 , 1 , 0.1 do
  7748.  
  7749. if not walking and not dashing and not jumping then
  7750.  
  7751. wait()
  7752.  
  7753. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7754.  
  7755. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7756.  
  7757. w3.C1 = CFrame.Angles(math.rad(-15*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  7758.  
  7759. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7760.  
  7761. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7762.  
  7763. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+45*i)) * CFrame.new(-2, -1+1*i,0)
  7764.  
  7765. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7766.  
  7767. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-45*i)) * CFrame.new(2, -1+1*i,0)
  7768.  
  7769. end
  7770.  
  7771. end
  7772.  
  7773. end
  7774.  
  7775. for i = 0.025, 1 , 0.025 do
  7776.  
  7777. if not walking and not dashing and not jumping then
  7778.  
  7779. wait()
  7780.  
  7781. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  7782.  
  7783. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  7784.  
  7785. w3.C1 = CFrame.Angles(math.rad(-15-5*i), 0, 0) * CFrame.new(0, 0.465,0)
  7786.  
  7787. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  7788.  
  7789. if rndm ~= 1 then
  7790.  
  7791. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7792.  
  7793. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10+10*i)) * CFrame.new(-1.7+0.2*i, 0,0)
  7794.  
  7795. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7796.  
  7797. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10-10*i)) * CFrame.new(1.7-0.2*i, 0,0)
  7798.  
  7799. else
  7800.  
  7801. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7802.  
  7803. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
  7804.  
  7805. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7806.  
  7807. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
  7808.  
  7809. end
  7810.  
  7811. end
  7812.  
  7813. end
  7814.  
  7815. idleez = false
  7816.  
  7817. end
  7818.  
  7819.  
  7820. function returnwelds()
  7821.  
  7822. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-20))
  7823.  
  7824. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  7825.  
  7826. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(20))
  7827.  
  7828. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  7829.  
  7830. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(25))
  7831.  
  7832. RWL.C1 = CFrame.new(0.5, 1, 0)
  7833.  
  7834. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25))
  7835.  
  7836. LWL.C1 = CFrame.new(-0.5, 1, 0)
  7837.  
  7838. Neck.C0 = neckcf0
  7839.  
  7840. --
  7841.  
  7842. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7843.  
  7844. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  7845.  
  7846. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  7847.  
  7848. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7849.  
  7850. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7851.  
  7852. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7853.  
  7854. --
  7855.  
  7856. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  7857.  
  7858. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  7859.  
  7860. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  7861.  
  7862. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  7863.  
  7864. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  7865.  
  7866. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  7867.  
  7868. --
  7869.  
  7870. end
  7871.  
  7872.  
  7873. function ride()
  7874.  
  7875. Ride = true
  7876.  
  7877. equipanim()
  7878.  
  7879. end
  7880.  
  7881. function unride()
  7882.  
  7883. Ride = false
  7884.  
  7885. hideanim()
  7886.  
  7887. end
  7888.  
  7889.  
  7890. function RemoveSeater()
  7891.  
  7892. if #prt34:GetChildren() > 0 then
  7893.  
  7894. prt34:GetChildren()[1].Parent = nil
  7895.  
  7896. end
  7897.  
  7898. end
  7899.  
  7900.  
  7901. function onFreeFall()
  7902.  
  7903. unride()
  7904.  
  7905. print("Fell")
  7906.  
  7907. value1=value1+1
  7908.  
  7909. end
  7910.  
  7911.  
  7912. keyhold = false
  7913.  
  7914. function ob1d(mouse)
  7915.  
  7916. hold = true
  7917.  
  7918. if attack then return end
  7919.  
  7920. keyhold = true
  7921.  
  7922.  
  7923. end
  7924.  
  7925.  
  7926. function ob1u(mouse)
  7927.  
  7928. keyhold = false
  7929.  
  7930. end
  7931.  
  7932.  
  7933. buttonhold = false
  7934.  
  7935.  
  7936. function key(key,mouse)
  7937.  
  7938. if attack then return end
  7939.  
  7940. if Ride then
  7941.  
  7942. if key == "f" then
  7943.  
  7944. buttonhold = true
  7945.  
  7946. Dash()
  7947.  
  7948. end
  7949.  
  7950. if key == " " then
  7951.  
  7952. coroutine.resume(coroutine.create(Jump))
  7953.  
  7954. end
  7955.  
  7956. end
  7957.  
  7958. if key == "q" then
  7959.  
  7960. if Ride then
  7961.  
  7962. unride()
  7963.  
  7964. else
  7965.  
  7966. --prt4
  7967.  
  7968. mag=Torso.Position-prt4.Position
  7969.  
  7970. magni=mag.magnitude
  7971.  
  7972. if magni <=3 then
  7973.  
  7974. swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
  7975.  
  7976. ride()
  7977.  
  7978. end
  7979.  
  7980. end
  7981.  
  7982. end
  7983.  
  7984. if key == "x" then
  7985.  
  7986. RemoveSeater()
  7987.  
  7988. end
  7989.  
  7990. end
  7991.  
  7992.  
  7993.  
  7994. function key2(key)
  7995.  
  7996. if key == "f" then
  7997.  
  7998. buttonhold = false
  7999.  
  8000. end
  8001.  
  8002. end
  8003.  
  8004.  
  8005. function s(mouse)
  8006.  
  8007. repeat wait() until not attack
  8008.  
  8009. repeat wait() until not ev.Value
  8010.  
  8011. arms()
  8012.  
  8013. mouse.Button1Down:connect(function() ob1d(mouse) end)
  8014.  
  8015. mouse.Button1Up:connect(function() ob1u(mouse) end)
  8016.  
  8017. mouse.KeyDown:connect(function(ke) key(ke,mouse) end)
  8018.  
  8019. mouse.KeyUp:connect(key2)
  8020.  
  8021. ev.Value = true
  8022.  
  8023. end
  8024.  
  8025.  
  8026. function ds(mouse)
  8027.  
  8028. keyhold = false
  8029.  
  8030. repeat wait() until not attack
  8031.  
  8032. repeat wait() until ev.Value
  8033.  
  8034. noarms()
  8035.  
  8036. wait(0.1)
  8037.  
  8038. ev.Value = false
  8039.  
  8040. end
  8041.  
  8042.  
  8043. Bin.Selected:connect(s)
  8044.  
  8045. Bin.Deselected:connect(ds)
  8046.  
  8047.  
  8048.  
  8049.  
  8050. if PlayerGui:findFirstChild("EnergyMeter") ~= nil then
  8051.  
  8052. PlayerGui:findFirstChild("EnergyMeter").Parent = nil
  8053.  
  8054. end
  8055.  
  8056.  
  8057. coroutine.resume(coroutine.create(function()
  8058.  
  8059. repeat
  8060.  
  8061. wait(0.1)
  8062.  
  8063. if Ride then
  8064.  
  8065. if dashing then
  8066.  
  8067. Character.Humanoid.WalkSpeed = speed * 1.5
  8068.  
  8069. else
  8070.  
  8071. Character.Humanoid.WalkSpeed = speed
  8072.  
  8073. end
  8074.  
  8075. if (prt1.Velocity * Vector3.new(1,0,1)).magnitude > 5 then
  8076.  
  8077. coroutine.resume(coroutine.create(Walk))
  8078.  
  8079. walking = true
  8080.  
  8081. elseif (prt1.Velocity * Vector3.new(1,0,1)).magnitude < 5 then
  8082.  
  8083. walking = false
  8084.  
  8085. AddEnergy(1)
  8086.  
  8087. coroutine.resume(coroutine.create(function() Idle() end))
  8088.  
  8089. end
  8090.  
  8091. else
  8092.  
  8093. Character.Humanoid.WalkSpeed = 16
  8094.  
  8095. coroutine.resume(coroutine.create(function() Idle() end))
  8096.  
  8097. walking = false
  8098.  
  8099. end
  8100.  
  8101. until false
  8102.  
  8103. end))
  8104.  
  8105.  
  8106. coroutine.resume(coroutine.create(function()
  8107.  
  8108. local SG = Instance.new("ScreenGui",PlayerGui)
  8109.  
  8110. SG.Name = "EnergyMeter"
  8111.  
  8112. local frame = Instance.new("Frame",SG)
  8113.  
  8114. frame.Size = UDim2.new(0.2,0,0.1,0)
  8115.  
  8116. frame.Position = UDim2.new(0.6,0,0.05,0)
  8117.  
  8118. frame.BackgroundColor3 = BrickColor.new("Bright blue").Color
  8119.  
  8120. local Energytext = Instance.new("TextLabel",frame)
  8121.  
  8122. Energytext.Size = UDim2.new(1,0,0.35,0)
  8123.  
  8124. Energytext.BackgroundTransparency = 1
  8125.  
  8126. Energytext.Text = "Energy"
  8127.  
  8128. Energytext.FontSize = "Size18"
  8129.  
  8130. Energytext.TextColor3 = BrickColor.new("White").Color
  8131.  
  8132. local backing = Instance.new("ImageLabel",frame)
  8133.  
  8134. backing.Size = UDim2.new(0.8,0,0.45,0)
  8135.  
  8136. backing.Image = "http://www.roblox.com/asset/?id=48965808"
  8137.  
  8138. backing.Position = UDim2.new(0.1,0,0.45,0)
  8139.  
  8140. backing.BackgroundColor3 = BrickColor.new("Black").Color
  8141.  
  8142. local img = Instance.new("ImageLabel",backing)
  8143.  
  8144. img.Size = UDim2.new(1,0,1,0)
  8145.  
  8146. img.Image = "http://www.roblox.com/asset/?id=48965808"
  8147.  
  8148. img.Position = UDim2.new(0,0,0,0)
  8149.  
  8150. img.BackgroundColor3 = BrickColor.new("Bright blue").Color
  8151.  
  8152. local percent = Instance.new("TextLabel",backing)
  8153.  
  8154. percent.Size = UDim2.new(1,0,1,0)
  8155.  
  8156. percent.BackgroundTransparency = 1
  8157.  
  8158. percent.TextColor3 = BrickColor.new("White").Color
  8159.  
  8160. percent.Text = Energy.."/".. MaxEnergy
  8161.  
  8162. percent.FontSize = "Size18"
  8163.  
  8164. repeat
  8165.  
  8166. wait()
  8167.  
  8168. pcall(function()
  8169.  
  8170. img.Size = UDim2.new(1*(Energy/MaxEnergy),0,1,0)
  8171.  
  8172. percent.Text = Energy.."/".. MaxEnergy
  8173.  
  8174. end)
  8175.  
  8176. until SG.Parent == nil
  8177.  
  8178. end))
  8179.  
  8180.  
  8181.  
  8182. --Character.Humanoid.FreeFalling:connect(onFreeFall)
  8183.  
  8184. Character:MoveTo(Head.Position+Vector3.new(0,5,0))
  8185.  
  8186. Character.Torso.CFrame = Character.Torso.CFrame + Vector3.new(0,5,0)
  8187.  
  8188. swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
  8189.  
  8190. ride()
  8191.  
  8192. noarms()
  8193.  
  8194. -- mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement