Advertisement
PR0J3CT11

Untitled

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