Advertisement
Dowuer

Untitled

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