Kari125

Roblox Blue Bird Script

Mar 20th, 2013
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.38 KB | None | 0 0
  1. Player = script.Parent.Parent
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. LeftArm = Character["Left Arm"]
  8. LeftLeg = Character["Left Leg"]
  9. RightArm = Character["Right Arm"]
  10. RightLeg = Character["Right Leg"]
  11. LS = Torso["Left Shoulder"]
  12. LH = Torso["Left Hip"]
  13. RS = Torso["Right Shoulder"]
  14. RH = Torso["Right Hip"]
  15. ModelName = "Chocobo"
  16. attack = false
  17. attacktype = 1
  18. Hitdeb = 0
  19. value1=0
  20. Neck = Torso.Neck
  21. local neckcf0 = Neck.C0
  22. ----------------------------
  23. --Customize
  24. Energy = 1000
  25. MaxEnergy = 1000
  26. ChocoboHP = 9000000
  27. Alive = false
  28. mindamage = 9999
  29. maxdamage = 1000
  30. crtmaxdamage = 2999
  31. omindamage = mindamage
  32. omaxdamage = maxdamage
  33. ocrtmaxdamage = crtmaxdamage
  34. crtrate = 100/5
  35. --100%/critpercentage
  36. oblkbrkr = 2
  37. blockbreaker = oblkbrkr
  38. speed = 200
  39. jump = 200
  40. if Character.Name=="olefson" then
  41. ColorVariation = "olefson"
  42. elseif Character.Name=="DahNoob" then
  43. ColorVariation = "DahNoob"
  44. elseif Character.Name=="Robloxshathelper" then
  45. ColorVariation = "Robloxshathelper"
  46. else
  47. ColorVariation = "Really black"
  48. end
  49. if ColorVariation == "Really black" then
  50. handlecolor = BrickColor.new("Really blue")
  51. bcolor = BrickColor.new("Bright red")
  52. beakcolor = BrickColor.new("Bright pink")
  53. ropecolor = BrickColor.new("Bright black")
  54. eyecolor = BrickColor.new("Bright orange")
  55. elseif ColorVariation == "violet" then
  56. handlecolor =BrickColor.new("Really black")
  57. bcolor = BrickColor.new("orange")
  58. beakcolor = BrickColor.new("Bright violet")
  59. ropecolor = BrickColor.new("Really purple")
  60. eyecolor = BrickColor.new("Bright red")
  61. elseif ColorVariation == "Black" then
  62. handlecolor = BrickColor.new("red")
  63. bcolor = BrickColor.new("Really red")
  64. beakcolor = BrickColor.new("Bright orange")
  65. ropecolor = BrickColor.new("Really black")
  66. eyecolor = BrickColor.new("Bright blue")
  67. elseif ColorVariation == "Really black" then
  68. handlecolor = BrickColor.new("Alder")
  69. bcolor = BrickColor.new("Really black")
  70. beakcolor = BrickColor.new("Bright violet")
  71. ropecolor = BrickColor.new("White")
  72. eyecolor = BrickColor.new("Bright blue")
  73. elseif ColorVariation == "olefson" then
  74. handlecolor =BrickColor.new("White")
  75. bcolor = BrickColor.new("Really red")
  76. beakcolor = BrickColor.new("Bright violet")
  77. ropecolor = BrickColor.new("Really pink")
  78. eyecolor = BrickColor.new("Navy blue")
  79. elseif ColorVariation == "Bright violet" then
  80. handlecolor =BrickColor.new("Bright violet")
  81. bcolor = BrickColor.new("Bright violet")
  82. beakcolor = BrickColor.new("Bright violet")
  83. ropecolor = BrickColor.new("Really black")
  84. eyecolor = BrickColor.new("Bright blue")
  85. elseif ColorVariation == "DahNoob" then
  86. handlecolor = BrickColor.new("Black")
  87. bcolor = BrickColor.new("Bright violet")
  88. beakcolor = BrickColor.new("Bright violet")
  89. ropecolor = BrickColor.new("Brown")
  90. eyecolor = BrickColor.new("Really black")
  91. elseif ColorVariation == "Robloxshathelper" then
  92. handlecolor = BrickColor.new("Bright blue")
  93. bcolor = BrickColor.new("Bright violet")
  94. beakcolor = BrickColor.new("Really blue")
  95. ropecolor = BrickColor.new("Really black")
  96. eyecolor = BrickColor.new("Bright blue")
  97. else
  98. --Custom
  99. handlecolor =BrickColor.new("Bright blue")
  100. bcolor = BrickColor.new("Medium blue")
  101. beakcolor = BrickColor.new("Medium blue")
  102. ropecolor = BrickColor.new("Really black")
  103. end
  104. Ride = true
  105. Rope = true
  106. ToolName = "Chocobo"
  107. ---------------------------------------------------------------------------------------------------------------------------------------
  108. if Character:findFirstChild("EquippedVal",true) ~= nil then
  109. Character:findFirstChild("EquippedVal",true).Parent = nil
  110. end
  111. ev = Instance.new("BoolValue",Character)
  112. ev.Name = "EquippedVal"
  113. ev.Value = false
  114. if Character:findFirstChild("Block",true) ~= nil then
  115. Character:findFirstChild("Block",true).Parent = nil
  116. end
  117. --player
  118. player = nil
  119. --welds
  120. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  121. --what anim
  122. anim = "none"
  123. --other var
  124. player = Player
  125. ch = Character
  126. --save shoulders
  127. AoETrue = {}
  128. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  129. function RWFunc()
  130. RW.Part1 = ch["Right Arm"]
  131. RSH.Part1 = nil
  132. end
  133. function LWFunc()
  134. LW.Part1 = ch["Left Arm"]
  135. LSH.Part1 = nil
  136. end
  137. function RWLFunc()
  138. RWL.Part1 = ch["Right Leg"]
  139. RHL.Part1 = nil
  140. RightLeg.CanCollide = false
  141. end
  142. function LWLFunc()
  143. LWL.Part1 = ch["Left Leg"]
  144. LHL.Part1 = nil
  145. LeftLeg.CanCollide = true
  146. end
  147. function RWLRem()
  148. RWL.Part1 = nil
  149. RHL.Part1 = ch["Right Leg"]
  150. RightLeg.CanCollide = false
  151. end
  152. function LWLRem()
  153. LWL.Part1 = nil
  154. LHL.Part1 = ch["Left Leg"]
  155. LeftLeg.CanCollide = false
  156. end
  157. function RWRem()
  158. RW.Part1 = nil
  159. RSH.Part1 = ch["Right Arm"]
  160. end
  161. function LWRem()
  162. LW.Part1 = nil
  163. LSH.Part1 = ch["Left Arm"]
  164. end
  165. if Character:findFirstChild(ModelName,true) ~= nil then
  166. Character:findFirstChild(ModelName,true).Parent = nil
  167. RHL.Part1 = ch["Right Leg"]
  168. LHL.Part1 = ch["Left Leg"]
  169. RSH.Part1 = ch["Right Arm"]
  170. LSH.Part1 = ch["Left Arm"]
  171. end
  172. local swordholder = Instance.new("Model")
  173. swordholder.Name = ModelName
  174. swordholder.Parent = Character
  175. --derp
  176. RW.Part0 = ch.Torso
  177. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  178. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  179. RW.Parent = swordholder
  180. --
  181. LW.Part0 = ch.Torso
  182. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  183. LW.C1 = CFrame.new(0, 0.5, 0)
  184. LW.Parent = swordholder
  185. --
  186. RWL.Part0 = ch.Torso
  187. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  188. RWL.C1 = CFrame.new(0.5, 1, 0)
  189. RWL.Parent = swordholder
  190. --
  191. LWL.Part0 = ch.Torso
  192. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  193. LWL.C1 = CFrame.new(-0.5, 1, 0)
  194. LWL.Parent = swordholder
  195. local msh1 = Instance.new("SpecialMesh")
  196. msh1.Scale = Vector3.new(1,1.2,1.2)
  197. msh1.MeshType = "Sphere"
  198. local msh2 = Instance.new("CylinderMesh")
  199. local msh3 = Instance.new("CylinderMesh")
  200. local msh4 = Instance.new("SpecialMesh")
  201. msh4.Scale = Vector3.new(1,1,1)
  202. msh4.MeshType = "Sphere"
  203. local msh5 = Instance.new("SpecialMesh")
  204. msh5.Scale = Vector3.new(1,0.75,1.2)
  205. msh5.MeshId = "http://www.roblox.com/asset/?id=1778999"
  206. local msh6 = Instance.new("SpecialMesh")
  207. msh6.Scale = Vector3.new(1,1,1)
  208. msh6.MeshType = "Sphere"
  209. local msh7 = Instance.new("SpecialMesh")
  210. msh7.Scale = Vector3.new(1,1,1)
  211. msh7.MeshType = "Sphere"
  212. local msh6a = Instance.new("SpecialMesh")
  213. msh6a.Scale = Vector3.new(1,1,1)
  214. msh6a.MeshType = "Sphere"
  215. local msh7a = Instance.new("SpecialMesh")
  216. msh7a.Scale = Vector3.new(1,1,1)
  217. msh7a.MeshType = "Sphere"
  218. local msh8 = Instance.new("SpecialMesh")
  219. msh8.Scale = Vector3.new(1,1,1)
  220. msh8.MeshType = "Sphere"
  221. local msh9 = Instance.new("SpecialMesh")
  222. msh9.Scale = Vector3.new(1,1,1)
  223. msh9.MeshType = "Sphere"
  224. local msh10 = Instance.new("SpecialMesh")
  225. msh10.Scale = Vector3.new(1,1,1)
  226. msh10.MeshType = "Sphere"
  227. local msh11 = Instance.new("SpecialMesh")
  228. msh11.Scale = Vector3.new(1,1,1)
  229. msh11.MeshType = "Sphere"
  230. local msh12 = Instance.new("SpecialMesh")
  231. msh12.Scale = Vector3.new(1,1,1)
  232. msh12.MeshType = "Sphere"
  233. local msh13 = Instance.new("SpecialMesh")
  234. msh13.Scale = Vector3.new(1,1,1)
  235. msh13.MeshType = "Sphere"
  236. local msh14 = Instance.new("SpecialMesh")
  237. msh14.Scale = Vector3.new(1,1,1)
  238. msh14.MeshType = "Sphere"
  239. local msh15 = Instance.new("SpecialMesh")
  240. msh15.Scale = Vector3.new(1,1,1)
  241. msh15.MeshType = "Sphere"
  242. local msh16 = Instance.new("SpecialMesh")
  243. msh16.Scale = Vector3.new(1,1,1)
  244. msh16.MeshType = "Sphere"
  245. local msh17 = Instance.new("SpecialMesh")
  246. msh17.Scale = Vector3.new(1,1,1)
  247. msh17.MeshType = "Sphere"
  248. local msh18 = Instance.new("SpecialMesh")
  249. msh18.Scale = Vector3.new(1,1,1)
  250. msh18.MeshType = "Sphere"
  251. local msh19 = Instance.new("SpecialMesh")
  252. msh19.Scale = Vector3.new(1,1,1)
  253. msh19.MeshType = "Sphere"
  254. local msh20 = Instance.new("SpecialMesh")
  255. msh20.Scale = Vector3.new(1,1,1)
  256. msh20.MeshType = "Sphere"
  257. local msh21 = Instance.new("SpecialMesh")
  258. msh21.Scale = Vector3.new(1,1,1)
  259. msh21.MeshType = "Sphere"
  260. local msh22 = Instance.new("CylinderMesh")
  261. local msh23 = Instance.new("CylinderMesh")
  262. local msh24 = Instance.new("BlockMesh")
  263. local msh25 = Instance.new("BlockMesh")
  264. local msh26 = Instance.new("BlockMesh")
  265. local msh27 = Instance.new("BlockMesh")
  266. local msh28 = Instance.new("CylinderMesh")
  267. local msh29 = Instance.new("CylinderMesh")
  268. local msh30 = Instance.new("BlockMesh")
  269. local msh31 = Instance.new("BlockMesh")
  270. local msh32 = Instance.new("BlockMesh")
  271. local msh33 = Instance.new("BlockMesh")
  272. local prt1 = Instance.new("Part")
  273. prt1.formFactor = 3
  274. prt1.CanCollide = true
  275. prt1.Name = "ChocoboBody"
  276. prt1.Locked = true
  277. prt1.Size = Vector3.new(3.5,2.5,5)
  278. prt1.Parent = swordholder
  279. msh1.Parent = prt1
  280. prt1.BrickColor = handlecolor
  281. local prt2 = Instance.new("Part")
  282. prt2.formFactor = 3
  283. prt2.CanCollide = true
  284. prt2.Name = "ChocoboNeck"
  285. prt2.Locked = true
  286. prt2.Size = Vector3.new(1.25,2,1.25)
  287. prt2.Parent = swordholder
  288. msh2.Parent = prt2
  289. prt2.BrickColor = handlecolor
  290. local prt3 = Instance.new("Part")
  291. prt3.formFactor = 3
  292. prt3.CanCollide = true
  293. prt3.Name = "ChocoboNeck2"
  294. prt3.Locked = true
  295. prt3.Size = Vector3.new(1.25,2,1.25)
  296. prt3.Parent = swordholder
  297. msh3.Parent = prt3
  298. prt3.BrickColor = handlecolor
  299. local prt3a = Instance.new("Part")
  300. prt3a.formFactor = 3
  301. prt3a.CanCollide = false
  302. prt3a.Name = "ChocoboNeck2Joint"
  303. prt3a.Locked = true
  304. prt3a.Size = Vector3.new(0.2,0.2,0.2)
  305. prt3a.Parent = swordholder
  306. prt3a.Transparency = 1
  307. local prt4 = Instance.new("Part")
  308. prt4.formFactor = 3
  309. prt4.CanCollide = true
  310. prt4.Name = "Head"
  311. prt4.Locked = true
  312. prt4.Size = Vector3.new(2,2,3)
  313. prt4.Parent = swordholder
  314. msh4.Parent = prt4
  315. prt4.BrickColor = handlecolor
  316. local trs = Instance.new("Part")
  317. trs.formFactor = 3
  318. trs.CanCollide = true
  319. trs.Name = "Torso"
  320. trs.Locked = true
  321. trs.Size = Vector3.new(0.2,0.2,0.2)
  322. trs.Parent = swordholder
  323. trs.Transparency = 1
  324. local wt = Instance.new("Weld")
  325. wt.Parent = trs
  326. wt.Part0 = trs
  327. wt.Part1 = prt4
  328. wt.C0 = CFrame.Angles(math.rad(25),0,0)
  329. local prt5 = Instance.new("Part")
  330. prt5.formFactor = 3
  331. prt5.CanCollide = false
  332. prt5.Name = "Beak"
  333. prt5.Locked = true
  334. prt5.Size = Vector3.new(1,1.5,1)
  335. prt5.Parent = swordholder
  336. msh5.Parent = prt5
  337. prt5.BrickColor = beakcolor
  338. local prt6 = Instance.new("Part")
  339. prt6.formFactor = 3
  340. prt6.CanCollide = false
  341. prt6.Name = "Eye1"
  342. prt6.Locked = true
  343. prt6.Size = Vector3.new(0.3,0.3,0.6)
  344. prt6.Parent = swordholder
  345. msh6.Parent = prt6
  346. prt6.BrickColor = BrickColor.new("White")
  347. local prt7 = Instance.new("Part")
  348. prt7.formFactor = 3
  349. prt7.CanCollide = false
  350. prt7.Name = "Eye2"
  351. prt7.Locked = true
  352. prt7.Size = Vector3.new(0.3,0.3,0.6)
  353. prt7.Parent = swordholder
  354. msh7.Parent = prt7
  355. prt7.BrickColor = BrickColor.new("White")
  356. local prt6a = Instance.new("Part")
  357. prt6a.formFactor = 3
  358. prt6a.CanCollide = false
  359. prt6a.Name = "Eye1a"
  360. prt6a.Locked = true
  361. prt6a.Size = Vector3.new(0.2,0.2,0.3)
  362. prt6a.Parent = swordholder
  363. msh6a.Parent = prt6a
  364. prt6a.BrickColor = eyecolor
  365. local prt7a = Instance.new("Part")
  366. prt7a.formFactor = 3
  367. prt7a.CanCollide = false
  368. prt7a.Name = "Eye2a"
  369. prt7a.Locked = true
  370. prt7a.Size = Vector3.new(0.2,0.2,0.3)
  371. prt7a.Parent = swordholder
  372. msh7a.Parent = prt7a
  373. prt7a.BrickColor = eyecolor
  374. local prt8 = Instance.new("Part")
  375. prt8.formFactor = 3
  376. prt8.CanCollide = false
  377. prt8.Name = "HeadFeathers"
  378. prt8.Locked = true
  379. prt8.Size = Vector3.new(1,0.2,3)
  380. prt8.Parent = swordholder
  381. msh8.Parent = prt8
  382. prt8.BrickColor = handlecolor
  383. local prt9 = Instance.new("Part")
  384. prt9.formFactor = 3
  385. prt9.CanCollide = false
  386. prt9.Name = "HeadFeathers"
  387. prt9.Locked = true
  388. prt9.Size = Vector3.new(1,0.2,3)
  389. prt9.Parent = swordholder
  390. msh9.Parent = prt9
  391. prt9.BrickColor = handlecolor
  392. local prt10 = Instance.new("Part")
  393. prt10.formFactor = 3
  394. prt10.CanCollide = false
  395. prt10.Name = "HeadFeathers"
  396. prt10.Locked = true
  397. prt10.Size = Vector3.new(1,0.2,3)
  398. prt10.Parent = swordholder
  399. msh10.Parent = prt10
  400. prt10.BrickColor = handlecolor
  401. --Wings!!
  402. local prt11 = Instance.new("Part")
  403. prt11.formFactor = 3
  404. prt11.CanCollide = false
  405. prt11.Name = "RightWing"
  406. prt11.Locked = true
  407. prt11.Size = Vector3.new(1,3,5)
  408. prt11.Parent = swordholder
  409. msh11.Parent = prt11
  410. prt11.BrickColor = handlecolor
  411. local prt12 = Instance.new("Part")
  412. prt12.formFactor = 3
  413. prt12.CanCollide = false
  414. prt12.Name = "RightWing1"
  415. prt12.Locked = true
  416. prt12.Size = Vector3.new(0.5,1,2)
  417. prt12.Parent = swordholder
  418. msh12.Parent = prt12
  419. prt12.BrickColor = handlecolor
  420. local prt13 = Instance.new("Part")
  421. prt13.formFactor = 3
  422. prt13.CanCollide = false
  423. prt13.Name = "RightWing2"
  424. prt13.Locked = true
  425. prt13.Size = Vector3.new(0.5,1,2)
  426. prt13.Parent = swordholder
  427. msh13.Parent = prt13
  428. prt13.BrickColor = handlecolor
  429. local prt14 = Instance.new("Part")
  430. prt14.formFactor = 3
  431. prt14.CanCollide = false
  432. prt14.Name = "RightWing3"
  433. prt14.Locked = true
  434. prt14.Size = Vector3.new(0.5,1,2)
  435. prt14.Parent = swordholder
  436. msh14.Parent = prt14
  437. prt14.BrickColor = handlecolor
  438. local prt15 = Instance.new("Part")
  439. prt15.formFactor = 3
  440. prt15.CanCollide = false
  441. prt15.Name = "RightWing4"
  442. prt15.Locked = true
  443. prt15.Size = Vector3.new(0.5,1,2)
  444. prt15.Parent = swordholder
  445. msh15.Parent = prt15
  446. prt15.BrickColor = handlecolor
  447. local prt16 = Instance.new("Part")
  448. prt16.formFactor = 3
  449. prt16.CanCollide = false
  450. prt16.Name = "LeftWing"
  451. prt16.Locked = true
  452. prt16.Size = Vector3.new(1,3,5)
  453. prt16.Parent = swordholder
  454. msh16.Parent = prt16
  455. prt16.BrickColor = handlecolor
  456. local prt17 = Instance.new("Part")
  457. prt17.formFactor = 3
  458. prt17.CanCollide = false
  459. prt17.Name = "LeftWing1"
  460. prt17.Locked = true
  461. prt17.Size = Vector3.new(0.5,1,2)
  462. prt17.Parent = swordholder
  463. msh17.Parent = prt17
  464. prt17.BrickColor = handlecolor
  465. local prt18 = Instance.new("Part")
  466. prt18.formFactor = 3
  467. prt18.CanCollide = false
  468. prt18.Name = "LeftWing2"
  469. prt18.Locked = true
  470. prt18.Size = Vector3.new(0.5,1,2)
  471. prt18.Parent = swordholder
  472. msh18.Parent = prt18
  473. prt18.BrickColor = handlecolor
  474. local prt19 = Instance.new("Part")
  475. prt19.formFactor = 3
  476. prt19.CanCollide = false
  477. prt19.Name = "LeftWing3"
  478. prt19.Locked = true
  479. prt19.Size = Vector3.new(0.5,1,2)
  480. prt19.Parent = swordholder
  481. msh19.Parent = prt19
  482. prt19.BrickColor = handlecolor
  483. local prt20 = Instance.new("Part")
  484. prt20.formFactor = 3
  485. prt20.CanCollide = false
  486. prt20.Name = "LeftWing4"
  487. prt20.Locked = true
  488. prt20.Size = Vector3.new(0.5,1,2)
  489. prt20.Parent = swordholder
  490. msh20.Parent = prt20
  491. prt20.BrickColor = handlecolor
  492. --Tail
  493. local prt21 = Instance.new("Part")
  494. prt21.formFactor = 3
  495. prt21.CanCollide = false
  496. prt21.Name = "Tail"
  497. prt21.Locked = true
  498. prt21.Size = Vector3.new(3,6,1)
  499. prt21.Parent = swordholder
  500. msh21.Parent = prt21
  501. prt21.BrickColor = handlecolor
  502. --Legs
  503. local prt22 = Instance.new("Part")
  504. prt22.formFactor = 3
  505. prt22.CanCollide = true
  506. prt22.Name = "RightLeg"
  507. prt22.Locked = true
  508. prt22.Size = Vector3.new(1,2,1)
  509. prt22.Parent = swordholder
  510. msh22.Parent = prt22
  511. prt22.BrickColor = handlecolor
  512. local prt22a = Instance.new("Part")
  513. prt22a.formFactor = 3
  514. prt22a.CanCollide = false
  515. prt22a.Name = "RightLega"
  516. prt22a.Locked = true
  517. prt22a.Size = Vector3.new(0.2,0.2,0.2)
  518. prt22a.Parent = swordholder
  519. prt22a.Transparency = 1
  520. local prt23 = Instance.new("Part")
  521. prt23.formFactor = 3
  522. prt23.CanCollide = false
  523. prt23.Name = "RightLeg2"
  524. prt23.Locked = true
  525. prt23.Size = Vector3.new(0.75,2,0.75)
  526. prt23.Parent = swordholder
  527. msh23.Parent = prt23
  528. prt23.BrickColor = bcolor
  529. local prt24 = Instance.new("Part")
  530. prt24.formFactor = 3
  531. prt24.CanCollide = false
  532. prt24.Name = "RightFeet"
  533. prt24.Locked = true
  534. prt24.Size = Vector3.new(1,0.75,2.5)
  535. prt24.Parent = swordholder
  536. msh24.Parent = prt24
  537. prt24.BrickColor = bcolor
  538. local prt25 = Instance.new("Part")
  539. prt25.formFactor = 3
  540. prt25.CanCollide = false
  541. prt25.Name = "RightFeet1"
  542. prt25.Locked = true
  543. prt25.Size = Vector3.new(0.3,0.3,1.5)
  544. prt25.Parent = swordholder
  545. msh25.Parent = prt25
  546. prt25.BrickColor = bcolor
  547. local prt26 = Instance.new("Part")
  548. prt26.formFactor = 3
  549. prt26.CanCollide = false
  550. prt26.Name = "RightFeet2"
  551. prt26.Locked = true
  552. prt26.Size = Vector3.new(0.5,0.5,1.5)
  553. prt26.Parent = swordholder
  554. msh26.Parent = prt26
  555. prt26.BrickColor = bcolor
  556. local prt27 = Instance.new("Part")
  557. prt27.formFactor = 3
  558. prt27.CanCollide = false
  559. prt27.Name = "RightFeet3"
  560. prt27.Locked = true
  561. prt27.Size = Vector3.new(0.5,0.5,1.5)
  562. prt27.Parent = swordholder
  563. msh27.Parent = prt27
  564. prt27.BrickColor = bcolor
  565. local prt28 = Instance.new("Part")
  566. prt28.formFactor = 3
  567. prt28.CanCollide = true
  568. prt28.Name = "LeftLeg"
  569. prt28.Locked = true
  570. prt28.Size = Vector3.new(1,2,1)
  571. prt28.Parent = swordholder
  572. msh28.Parent = prt28
  573. prt28.BrickColor = handlecolor
  574. local prt28a = Instance.new("Part")
  575. prt28a.formFactor = 3
  576. prt28a.CanCollide = false
  577. prt28a.Name = "LeftLega"
  578. prt28a.Locked = true
  579. prt28a.Size = Vector3.new(0.2,0.2,0.2)
  580. prt28a.Parent = swordholder
  581. prt28a.Transparency = 1
  582. local prt29 = Instance.new("Part")
  583. prt29.formFactor = 3
  584. prt29.CanCollide = false
  585. prt29.Name = "LeftLeg2"
  586. prt29.Locked = true
  587. prt29.Size = Vector3.new(0.75,2,0.75)
  588. prt29.Parent = swordholder
  589. msh29.Parent = prt29
  590. prt29.BrickColor = bcolor
  591. local prt30 = Instance.new("Part")
  592. prt30.formFactor = 3
  593. prt30.CanCollide = false
  594. prt30.Name = "LeftFeet"
  595. prt30.Locked = true
  596. prt30.Size = Vector3.new(1,0.75,2.5)
  597. prt30.Parent = swordholder
  598. msh30.Parent = prt30
  599. prt30.BrickColor = bcolor
  600. local prt31 = Instance.new("Part")
  601. prt31.formFactor = 3
  602. prt31.CanCollide = false
  603. prt31.Name = "LeftFeet1"
  604. prt31.Locked = true
  605. prt31.Size = Vector3.new(0.3,0.3,1.5)
  606. prt31.Parent = swordholder
  607. msh31.Parent = prt31
  608. prt31.BrickColor = bcolor
  609. local prt32 = Instance.new("Part")
  610. prt32.formFactor = 3
  611. prt32.CanCollide = false
  612. prt32.Name = "LeftFeet2"
  613. prt32.Locked = true
  614. prt32.Size = Vector3.new(0.5,0.5,1.5)
  615. prt32.Parent = swordholder
  616. msh32.Parent = prt32
  617. prt32.BrickColor = bcolor
  618. local prt33 = Instance.new("Part")
  619. prt33.formFactor = 3
  620. prt33.CanCollide = false
  621. prt33.Name = "RightFeet3"
  622. prt33.Locked = true
  623. prt33.Size = Vector3.new(0.5,0.5,1.5)
  624. prt33.Parent = swordholder
  625. msh33.Parent = prt33
  626. prt33.BrickColor = bcolor
  627. --Backseat :D
  628. local prt34 = Instance.new("Seat")
  629. prt34.formFactor = 3
  630. prt34.CanCollide = false
  631. prt34.Name = "Backseat"
  632. prt34.Locked = true
  633. prt34.Size = Vector3.new(0.2,1,0.2)
  634. prt34.Parent = swordholder
  635. prt34.Transparency = 1
  636. --
  637. local prt35 = Instance.new("Part")
  638. prt35.formFactor = 3
  639. prt35.CanCollide = true
  640. prt35.Name = "Stand"
  641. prt35.Locked = true
  642. prt35.Size = Vector3.new(1,4,1)
  643. prt35.Parent = swordholder
  644. prt35.Transparency = 1
  645. local w35 = Instance.new("Weld")
  646. w35.Parent = prt35
  647. w35.Part0 = prt35
  648. w35.Part1 = prt1
  649. w35.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  650. w35.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 2,0)
  651. --Torso
  652. local w1 = Instance.new("Weld")
  653. w1.Parent = prt1
  654. w1.Part0 = prt1
  655. w1.Part1 = Torso
  656. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  657. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-0), math.rad(0)) * CFrame.new(0, 3, -1)
  658. --Neck
  659. local w2 = Instance.new("Weld")
  660. w2.Parent = prt2
  661. w2.Part0 = prt2
  662. w2.Part1 = prt1
  663. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  664. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  665. local w3a = Instance.new("Weld")
  666. w3a.Parent = prt3a
  667. w3a.Part0 = prt3a
  668. w3a.Part1 = prt1
  669. w3a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  670. w3a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -1.5,3)
  671. local w3 = Instance.new("Weld")
  672. w3.Parent = prt3
  673. w3.Part0 = prt3
  674. w3.Part1 = prt3a
  675. w3.C1 = CFrame.Angles(math.rad(-20), 0, 0) * CFrame.new(0, 0.465,0)
  676. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  677. --Head
  678. local w4 = Instance.new("Weld")
  679. w4.Parent = prt4
  680. w4.Part0 = prt4
  681. w4.Part1 = prt3
  682. w4.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  683. w4.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -2.5/2,0.25)
  684. local w5 = Instance.new("Weld")
  685. w5.Parent = prt5
  686. w5.Part0 = prt5
  687. w5.Part1 = prt4
  688. w5.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  689. w5.C0 = CFrame.Angles(math.rad(100), 0, 0) * CFrame.new(0, 0.25,1.45)
  690. local w6 = Instance.new("Weld")
  691. w6.Parent = prt6
  692. w6.Part0 = prt6
  693. w6.Part1 = prt4
  694. w6.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  695. w6.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.75, -0.25,0.75)
  696. local w7 = Instance.new("Weld")
  697. w7.Parent = prt7
  698. w7.Part0 = prt7
  699. w7.Part1 = prt4
  700. w7.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  701. w7.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.75, -0.25,0.75)
  702. local w6a = Instance.new("Weld")
  703. w6a.Parent = prt6a
  704. w6a.Part0 = prt6a
  705. w6a.Part1 = prt4
  706. w6a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  707. w6a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.775, -0.25,0.91)
  708. local w7a = Instance.new("Weld")
  709. w7a.Parent = prt7a
  710. w7a.Part0 = prt7a
  711. w7a.Part1 = prt4
  712. w7a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  713. w7a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.775, -0.25,0.91)
  714. local w8 = Instance.new("Weld")
  715. w8.Parent = prt8
  716. w8.Part0 = prt8
  717. w8.Part1 = prt4
  718. w8.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  719. w8.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.9,-1)
  720. local w9 = Instance.new("Weld")
  721. w9.Parent = prt9
  722. w9.Part0 = prt9
  723. w9.Part1 = prt4
  724. w9.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  725. w9.C0 = CFrame.Angles(math.rad(0), math.rad(20), math.rad(-40)) * CFrame.new(0.75, -0.5,-1)
  726. local w10 = Instance.new("Weld")
  727. w10.Parent = prt10
  728. w10.Part0 = prt10
  729. w10.Part1 = prt4
  730. w10.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  731. w10.C0 = CFrame.Angles(math.rad(0), math.rad(-20), math.rad(40)) * CFrame.new(-0.75, -0.5,-1)
  732. --Right Wing
  733. local w11 = Instance.new("Weld")
  734. w11.Parent = prt11
  735. w11.Part0 = prt11
  736. w11.Part1 = prt1
  737. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  738. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  739. local w12 = Instance.new("Weld")
  740. w12.Parent = prt12
  741. w12.Part0 = prt12
  742. w12.Part1 = prt11
  743. w12.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  744. w12.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
  745. local w13 = Instance.new("Weld")
  746. w13.Parent = prt13
  747. w13.Part0 = prt13
  748. w13.Part1 = prt11
  749. w13.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  750. w13.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
  751. local w14 = Instance.new("Weld")
  752. w14.Parent = prt14
  753. w14.Part0 = prt14
  754. w14.Part1 = prt11
  755. w14.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  756. w14.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
  757. local w15 = Instance.new("Weld")
  758. w15.Parent = prt15
  759. w15.Part0 = prt15
  760. w15.Part1 = prt11
  761. w15.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  762. w15.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
  763. --Left Wing
  764. local w16 = Instance.new("Weld")
  765. w16.Parent = prt16
  766. w16.Part0 = prt16
  767. w16.Part1 = prt1
  768. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  769. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  770. local w17 = Instance.new("Weld")
  771. w17.Parent = prt17
  772. w17.Part0 = prt17
  773. w17.Part1 = prt16
  774. w17.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  775. w17.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
  776. local w18 = Instance.new("Weld")
  777. w18.Parent = prt18
  778. w18.Part0 = prt18
  779. w18.Part1 = prt16
  780. w18.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  781. w18.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
  782. local w19 = Instance.new("Weld")
  783. w19.Parent = prt19
  784. w19.Part0 = prt19
  785. w19.Part1 = prt16
  786. w19.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  787. w19.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
  788. local w20 = Instance.new("Weld")
  789. w20.Parent = prt20
  790. w20.Part0 = prt20
  791. w20.Part1 = prt16
  792. w20.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  793. w20.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
  794. --Tail
  795. local w21 = Instance.new("Weld")
  796. w21.Parent = prt21
  797. w21.Part0 = prt21
  798. w21.Part1 = prt1
  799. w21.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  800. w21.C0 = CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) * CFrame.new(0, -1.5,-3.5)
  801. --Right Leg
  802. local w22 = Instance.new("Weld")
  803. w22.Parent = prt22
  804. w22.Part0 = prt22
  805. w22.Part1 = prt1
  806. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  807. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  808. local w22a = Instance.new("Weld")
  809. w22a.Parent = prt22a
  810. w22a.Part0 = prt22a
  811. w22a.Part1 = prt22
  812. w22a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  813. w22a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0)
  814. local w23 = Instance.new("Weld")
  815. w23.Parent = prt23
  816. w23.Part0 = prt23
  817. w23.Part1 = prt22a
  818. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  819. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  820. local w24 = Instance.new("Weld")
  821. w24.Parent = prt24
  822. w24.Part0 = prt24
  823. w24.Part1 = prt23
  824. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  825. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  826. local w25 = Instance.new("Weld")
  827. w25.Parent = prt25
  828. w25.Part0 = prt25
  829. w25.Part1 = prt24
  830. w25.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  831. w25.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5)
  832. local w26 = Instance.new("Weld")
  833. w26.Parent = prt26
  834. w26.Part0 = prt26
  835. w26.Part1 = prt24
  836. w26.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  837. w26.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5)
  838. local w27 = Instance.new("Weld")
  839. w27.Parent = prt27
  840. w27.Part0 = prt27
  841. w27.Part1 = prt24
  842. w27.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  843. w27.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5)
  844. --Left Leg
  845. local w28 = Instance.new("Weld")
  846. w28.Parent = prt28
  847. w28.Part0 = prt28
  848. w28.Part1 = prt1
  849. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  850. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  851. local w28a = Instance.new("Weld")
  852. w28a.Parent = prt28a
  853. w28a.Part0 = prt28a
  854. w28a.Part1 = prt28
  855. w28a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  856. w28a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0)
  857. local w29 = Instance.new("Weld")
  858. w29.Parent = prt29
  859. w29.Part0 = prt29
  860. w29.Part1 = prt28a
  861. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  862. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  863. local w30 = Instance.new("Weld")
  864. w30.Parent = prt30
  865. w30.Part0 = prt30
  866. w30.Part1 = prt29
  867. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  868. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  869. local w31 = Instance.new("Weld")
  870. w31.Parent = prt31
  871. w31.Part0 = prt31
  872. w31.Part1 = prt30
  873. w31.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  874. w31.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5)
  875. local w32 = Instance.new("Weld")
  876. w32.Parent = prt32
  877. w32.Part0 = prt32
  878. w32.Part1 = prt30
  879. w32.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  880. w32.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5)
  881. local w33 = Instance.new("Weld")
  882. w33.Parent = prt33
  883. w33.Part0 = prt33
  884. w33.Part1 = prt30
  885. w33.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  886. w33.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5)
  887. --Backseat
  888. local w34 = Instance.new("Weld")
  889. w34.Parent = prt1
  890. w34.Part0 = prt34
  891. w34.Part1 = prt1
  892. w34.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  893. w34.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, -1,-1.5)
  894. if Alive then
  895. local hum = Instance.new("Humanoid")
  896. hum.Parent = swordholder
  897. hum.MaxHealth = ChocoboHP
  898. hum.Health = ChocoboHP
  899. hum.PlatformStand = true
  900. end
  901. local w36 = Instance.new("Weld")
  902. local w37 = Instance.new("Weld")
  903. --[[if Rope then
  904. local msh36 = Instance.new("BlockMesh")
  905. local prt36 = Instance.new("Part")
  906. prt36.formFactor = 3
  907. prt36.CanCollide = true
  908. prt36.Name = "MouthRope"
  909. prt36.Locked = true
  910. prt36.Size = Vector3.new(1,0.2,0.2)
  911. prt36.Parent = swordholder
  912. msh36.Parent = prt36
  913. prt36.BrickColor = ropecolor
  914. w36.Parent = prt36
  915. w36.Part0 = prt36
  916. w36.Part1 = prt5
  917. w36.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  918. w36.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  919. local msh37 = Instance.new("BlockMesh")
  920. local prt37 = Instance.new("Part")
  921. prt37.formFactor = 3
  922. prt37.CanCollide = true
  923. prt37.Name = "MouthRope2"
  924. prt37.Locked = true
  925. prt37.Size = Vector3.new(3,0.2,0.2)
  926. prt37.Parent = swordholder
  927. msh37.Parent = prt37
  928. prt37.BrickColor = ropecolor
  929. w37.Parent = prt37
  930. w37.Part0 = prt37
  931. w37.Part1 = Torso
  932. w37.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  933. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-1)
  934. local prt38a = Instance.new("Part")
  935. prt38a.formFactor = 3
  936. prt38a.CanCollide = false
  937. prt38a.Name = "MouthRope3Joint"
  938. prt38a.Locked = true
  939. prt38a.Size = Vector3.new(0.2,0.2,0.2)
  940. prt38a.Parent = swordholder
  941. prt38a.Transparency = 1
  942. local w38a = Instance.new("Weld")
  943. w38a.Parent = prt38a
  944. w38a.Part0 = prt38a
  945. w38a.Part1 = prt3
  946. w38a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  947. w38a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.5, 1.5,0.5)
  948. local prt39a = Instance.new("Part")
  949. prt39a.formFactor = 3
  950. prt39a.CanCollide = false
  951. prt39a.Name = "MouthRope4Joint"
  952. prt39a.Locked = true
  953. prt39a.Size = Vector3.new(0.2,0.2,0.2)
  954. prt39a.Parent = swordholder
  955. prt39a.Transparency = 1
  956. local w39a = Instance.new("Weld")
  957. w39a.Parent = prt39a
  958. w39a.Part0 = prt39a
  959. w39a.Part1 = prt3
  960. w39a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  961. w39a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-0.5, 1.5,0.5)
  962. local msh38 = Instance.new("BlockMesh")
  963. local prt38 = Instance.new("Part")
  964. prt38.formFactor = 3
  965. prt38.Name = "MouthRope3"
  966. prt38.Locked = true
  967. prt38.Size = Vector3.new(0.2,0.2,0.2)
  968. prt38.Parent = swordholder
  969. msh38.Parent = prt38
  970. prt38.BrickColor = ropecolor
  971. prt38.CanCollide = false
  972. prt38.Anchored = true
  973. local msh39 = Instance.new("BlockMesh")
  974. local prt39 = Instance.new("Part")
  975. prt39.formFactor = 3
  976. prt39.Name = "MouthRope4"
  977. prt39.Locked = true
  978. prt39.Size = Vector3.new(0.2,0.2,0.2)
  979. prt39.Parent = swordholder
  980. msh39.Parent = prt39
  981. prt39.BrickColor = ropecolor
  982. prt39.CanCollide = false
  983. prt39.Anchored = true
  984. local msh40 = Instance.new("BlockMesh")
  985. local prt40 = Instance.new("Part")
  986. prt40.formFactor = 3
  987. prt40.Name = "MouthRope5"
  988. prt40.Locked = true
  989. prt40.Size = Vector3.new(0.2,0.2,0.2)
  990. prt40.Parent = swordholder
  991. msh40.Parent = prt40
  992. prt40.BrickColor = ropecolor
  993. prt40.CanCollide = false
  994. prt40.Anchored = true
  995. local msh41 = Instance.new("BlockMesh")
  996. local prt41 = Instance.new("Part")
  997. prt41.formFactor = 3
  998. prt41.Name = "MouthRope6"
  999. prt41.Locked = true
  1000. prt41.Size = Vector3.new(0.2,0.2,0.2)
  1001. prt41.Parent = swordholder
  1002. msh41.Parent = prt41
  1003. prt41.BrickColor = ropecolor
  1004. prt41.CanCollide = false
  1005. prt41.Anchored = true
  1006. coroutine.resume(coroutine.create(function()
  1007. repeat
  1008. wait()
  1009. local ll = prt37.CFrame * CFrame.new(prt37.Size.x/-2,0,0)
  1010. local rr = prt37.CFrame * CFrame.new(prt37.Size.x/2,0,0)
  1011. local oristrpos1 = prt38a.CFrame
  1012. local oristrpos2 = prt39a.CFrame
  1013. local oristrpos3 = prt36.CFrame*CFrame.new((prt36.Size.x/-2)+0.1,0,0)
  1014. local oristrpos4 = prt36.CFrame*CFrame.new((prt36.Size.x/2)-0.1,0,0)
  1015. local mg1 = (ll.p - oristrpos1.p).magnitude
  1016. local mg2 = (rr.p - oristrpos2.p).magnitude
  1017. local mg3 = (oristrpos1.p - oristrpos3.p).magnitude
  1018. local mg4 = (oristrpos2.p - oristrpos4.p).magnitude
  1019. prt38.Size = Vector3.new(0.2,mg1,0.2)
  1020. prt38.CFrame = CFrame.new((ll.p+oristrpos1.p)/2,oristrpos1.p) * CFrame.Angles(math.rad(90),0,0)
  1021. prt39.Size = Vector3.new(0.2,mg2,0.2)
  1022. prt39.CFrame = CFrame.new((rr.p+oristrpos2.p)/2,oristrpos2.p) * CFrame.Angles(math.rad(90),0,0)
  1023. prt40.Size = Vector3.new(0.2,mg3,0.2)
  1024. prt40.CFrame = CFrame.new((oristrpos1.p+oristrpos3.p)/2,oristrpos3.p) * CFrame.Angles(math.rad(90),0,0)
  1025. prt41.Size = Vector3.new(0.2,mg3,0.2)
  1026. prt41.CFrame = CFrame.new((oristrpos2.p+oristrpos4.p)/2,oristrpos4.p) * CFrame.Angles(math.rad(90),0,0)
  1027. until false
  1028. end))
  1029. end]]
  1030. local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1031. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1032. end
  1033. local bg = Instance.new("BodyGyro")
  1034. bg.maxTorque = bg.maxTorque * math.huge
  1035. local bp = Instance.new("BodyPosition")
  1036. bp.maxForce = Vector3.new(math.huge,0,math.huge)
  1037. bp.P = bp.p * 10
  1038. function unequipweld()
  1039. w1.Part1 = nil
  1040. bg.Parent = prt1
  1041. bg.cframe = prt1.CFrame
  1042. local hit,pos = rayCast(Torso.Position+Vector3.new(0,10,0), Vector3.new(0,-2,0), 1000, Character)
  1043. bp.position = pos + Vector3.new(0,4,0)
  1044. bp.Parent = prt1
  1045. w37.Part1 = prt2
  1046. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)
  1047. end
  1048. unequipweld()
  1049. bp.position = (Head.CFrame*CFrame.new(10,0,0)).p
  1050. bg.cframe = Head.CFrame
  1051. function equipweld()
  1052. w1.Part1 = Torso
  1053. bg.Parent = nil
  1054. bp.Parent = nil
  1055. w37.Part1 = Torso
  1056. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)
  1057. end
  1058. function ss(parent,p) --Slash
  1059. local SlashSound = Instance.new("Sound")
  1060. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1061. SlashSound.Parent = parent
  1062. SlashSound.Volume = .7
  1063. SlashSound.Pitch = p
  1064. SlashSound.PlayOnRemove = true
  1065. coroutine.resume(coroutine.create(function()
  1066. wait()
  1067. SlashSound.Parent = nil
  1068. end))
  1069. end
  1070. function uss(parent,p) --unsheath
  1071. local SlashSound = Instance.new("Sound")
  1072. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1073. SlashSound.Parent = parent
  1074. SlashSound.Volume = .7
  1075. SlashSound.Pitch = p
  1076. SlashSound.PlayOnRemove = true
  1077. coroutine.resume(coroutine.create(function()
  1078. wait()
  1079. SlashSound.Parent = nil
  1080. end))
  1081. end
  1082. function fs(parent,p) --Fire Sound
  1083. local SlashSound = Instance.new("Sound")
  1084. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  1085. SlashSound.Parent = parent
  1086. SlashSound.Volume = .7
  1087. SlashSound.Pitch = p
  1088. SlashSound.PlayOnRemove = true
  1089. coroutine.resume(coroutine.create(function()
  1090. wait()
  1091. SlashSound.Parent = nil
  1092. end))
  1093. end
  1094. function ms(parent,p) --Metal Cling Sound
  1095. local SlashSound = Instance.new("Sound")
  1096. SlashSound.SoundId = "rbxasset://sounds\\metal.ogg"
  1097. SlashSound.Parent = parent
  1098. SlashSound.Volume = 5
  1099. SlashSound.Pitch = p
  1100. SlashSound.PlayOnRemove = true
  1101. coroutine.resume(coroutine.create(function()
  1102. wait()
  1103. SlashSound.Parent = nil
  1104. end))
  1105. end
  1106. function ws(parent,p) --Walk Sound
  1107. local SlashSound = Instance.new("Sound")
  1108. SlashSound.SoundId = "rbxasset://sounds\\bfsl-minifigfoots1.mp3"
  1109. SlashSound.Parent = parent
  1110. SlashSound.Volume = 1
  1111. SlashSound.Pitch = p
  1112. SlashSound.PlayOnRemove = true
  1113. coroutine.resume(coroutine.create(function()
  1114. wait()
  1115. SlashSound.Parent = nil
  1116. end))
  1117. end
  1118. --
  1119. --
  1120. function returndmg()
  1121. mindamage = omindamage
  1122. maxdamage = omaxdamage
  1123. crtmaxdamage = ocrtmaxdamage
  1124. end
  1125. function subdmg(sub)
  1126. mindamage = omindamage - sub
  1127. maxdamage = omaxdamage - sub
  1128. crtmaxdamage = ocrtmaxdamage - sub
  1129. end
  1130. function prcntdmg(sub)
  1131. mindamage = math.floor(omindamage - (omindamage*(sub/100)))
  1132. maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100)))
  1133. crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100)))
  1134. end
  1135. function tagHumanoid(humanoid, player)
  1136. local creator_tag = Instance.new("ObjectValue")
  1137. creator_tag.Value = player
  1138. creator_tag.Name = "creator"
  1139. creator_tag.Parent = humanoid
  1140. end
  1141. function untagHumanoid(humanoid)
  1142. if humanoid ~= nil then
  1143. local tag = humanoid:findFirstChild("creator")
  1144. if tag ~= nil then
  1145. tag.Parent = nil
  1146. end
  1147. end
  1148. end
  1149. function hideanim()
  1150. attack = true
  1151. RWRem()
  1152. LWRem()
  1153. RWLRem()
  1154. LWLRem()
  1155. unequipweld()
  1156. attack = false
  1157. end
  1158. function equipanim()
  1159. attack = true
  1160. RWFunc()
  1161. RWLFunc()
  1162. LWLFunc()
  1163. LWFunc()
  1164. equipweld()
  1165. for i = 0.1 ,1 ,0.1 do
  1166. wait()
  1167. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(-20*i))
  1168. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1169. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(20*i))
  1170. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1171. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(25*i))
  1172. RWL.C1 = CFrame.new(0.5, 1, 0)
  1173. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(-25*i))
  1174. LWL.C1 = CFrame.new(-0.5, 1, 0)
  1175. Neck.C0 = neckcf0 * CFrame.Angles(math.rad(0),0,math.rad(0))
  1176. end
  1177. attack = false
  1178. end
  1179. function noarms()
  1180. RWRem()
  1181. LWRem()
  1182. w37.Part1 = prt2
  1183. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)
  1184. end
  1185. function arms()
  1186. RWFunc()
  1187. LWFunc()
  1188. w37.Part1 = Torso
  1189. w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)
  1190. end
  1191. function faketors()
  1192. local T = Instance.new("Part")
  1193. T.formFactor = 0
  1194. T.CanCollide = false
  1195. T.Name = "FakeTorso"
  1196. T.Locked = true
  1197. T.Size = Torso.Size
  1198. T.Parent = swordholder
  1199. T.Transparency = 1
  1200. T.BrickColor = Torso.BrickColor
  1201. for i,z in pairs(Character:GetChildren()) do
  1202. if z.className == "CharacterMesh" then
  1203. if z.BodyPart == Enum.BodyPart.Torso then
  1204. local SM = Instance.new("SpecialMesh",T)
  1205. SM.MeshId = "http://www.roblox.com/asset/?id=" .. z.MeshId
  1206. if z.BaseTextureId ~= 0 then
  1207. SM.TextureId = z.BaseTextureId
  1208. elseif z.OverlayTextureId ~= 0 then
  1209. SM.TextureId = z.OverlayTextureId
  1210. else
  1211. SM.TextureId = ""
  1212. end
  1213. end
  1214. end
  1215. end
  1216. local wt = Instance.new("Weld")
  1217. wt.Parent = T
  1218. wt.Part0 = T
  1219. wt.Part1 = Torso
  1220. RW.Part0 = T
  1221. LW.Part0 = T
  1222. T.Transparency = 0
  1223. Torso.Transparency = 1
  1224. RHL.Part0 = T
  1225. LHL.Part0 = T
  1226. return wt,T
  1227. end
  1228. if (script.Parent.className ~= "HopperBin") then
  1229. Tool = Instance.new("HopperBin")
  1230. Tool.Parent = Backpack
  1231. Tool.Name = ToolName
  1232. script.Parent = Tool
  1233. end
  1234. Bin = script.Parent
  1235. function damagesplat(dmg,hit,crit,blocked)
  1236. local mo = Instance.new("Model")
  1237. mo.Name = dmg
  1238. local pa = Instance.new("Part",mo)
  1239. pa.formFactor = 3
  1240. pa.Size = Vector3.new(0.8,0.3,0.8)
  1241. if crit then
  1242. pa.BrickColor = BrickColor.new("Bright yellow")
  1243. elseif not crit then
  1244. pa.BrickColor = BrickColor.new("Bright red")
  1245. end
  1246. if blocked then pa.BrickColor = BrickColor.new("Bright blue") end
  1247. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  1248. pa.Name = "Head"
  1249. local hah = Instance.new("Humanoid")
  1250. hah.Parent = mo
  1251. hah.MaxHealth = 0
  1252. hah.Health = 0
  1253. local bp = Instance.new("BodyPosition")
  1254. bp.P = 14000
  1255. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1256. bp.position = hit.Position + Vector3.new(0, 5, 0)
  1257. coroutine.resume(coroutine.create(function()
  1258. wait()
  1259. mo.Parent = workspace
  1260. bp.Parent = pa
  1261. wait(1.4)
  1262. mo:remove()
  1263. end))
  1264. return pa
  1265. end
  1266. function damage(hum,dmg,critornot)
  1267. local pa = damagesplat(dmg,hum.Torso,critornot)
  1268. hum:TakeDamage(dmg)
  1269. coroutine.resume(coroutine.create(function()
  1270. tagHumanoid(hum,Player)
  1271. wait(1)
  1272. untagHumanoid(hum)
  1273. end))
  1274. return pa
  1275. end
  1276. function AddEnergy(add)
  1277. Energy = Energy + add
  1278. if Energy > MaxEnergy then
  1279. Energy = MaxEnergy
  1280. end
  1281. end
  1282. function OT(hit) --Normal Damage
  1283. if Hitdeb == 1 then return end
  1284. if hit.Parent == nil then return end
  1285. local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then
  1286. if hum.Health <= 0 then return end
  1287. if hit.Parent:findFirstChild("Block") ~= nil then
  1288. if hit.Parent.Block.Value then
  1289. damagesplat(0,hum.Torso,false,true)
  1290. Hitdeb = 1
  1291. if hit.Parent.Block:findFirstChild("BlockPower") ~= nil then
  1292. if hit.Parent.Block.BlockPower.Value <= 1 then
  1293. hit.Parent.Block.Value = false
  1294. elseif hit.Parent.Block.BlockPower.Value > 1 then
  1295. local critrandomizer = math.random(crtrate)
  1296. if critrandomizer ~= 1 then
  1297. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker
  1298. elseif critrandomizer == 1 then
  1299. hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker + 2
  1300. end
  1301. end
  1302. end
  1303. return end end
  1304. local critrandomizer = math.random(crtrate)
  1305. if critrandomizer ~= 1 then
  1306. local rndmdamage = math.random(mindamage,maxdamage)
  1307. damage(hum,rndmdamage,false)
  1308. elseif critrandomizer == 1 then
  1309. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  1310. damage(hum,rndmdamage,true)
  1311. end
  1312. Hitdeb = 1
  1313. end
  1314. end
  1315. function AoE(p,magnitude)
  1316. local c = game.Workspace:GetChildren();
  1317. for i = 1, #c do
  1318. local hum = c[i]:findFirstChild("Humanoid")
  1319. if hum ~= nil and hum.Health ~= 0 then
  1320. local head = c[i]:findFirstChild("Head");
  1321. if head ~= nil then
  1322. local mag = (head.Position - p).magnitude;
  1323. if mag <= magnitude and c[i].Name ~= Character.Name then
  1324. local foundd = false
  1325. for ii = 1 , #AoETrue do
  1326. if AoETrue[ii] == c[i].Name then
  1327. foundd = true
  1328. end
  1329. end
  1330. if foundd then
  1331. end
  1332. --
  1333. if not foundd then
  1334. local critrandomizer = math.random(crtrate)
  1335. if critrandomizer ~= 1 then
  1336. local rndmdamage = math.random(mindamage,maxdamage)
  1337. damage(hum,rndmdamage,false)
  1338. elseif critrandomizer == 1 then
  1339. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  1340. damage(hum,rndmdamage,true)
  1341. end
  1342. table.insert(AoETrue,c[i].Name)
  1343. end
  1344. end
  1345. end
  1346. end
  1347. end
  1348. for ii = 1 , #AoETrue do
  1349. table.remove(AoETrue,#AoETrue)
  1350. end
  1351. end
  1352. --
  1353. --
  1354. function effect(Color,Ref,LP,P1)
  1355. local effectsmsh = Instance.new("BlockMesh")
  1356. effectsmsh.Scale = Vector3.new(1,1,1)
  1357. effectsmsh.Name = "Mesh"
  1358. local effectsg = Instance.new("Part")
  1359. effectsg.formFactor = 3
  1360. effectsg.CanCollide = false
  1361. effectsg.Name = "Eff"
  1362. effectsg.Locked = true
  1363. effectsg.Anchored = true
  1364. effectsg.Size = Vector3.new(0.2,1,0.2)
  1365. effectsg.Parent = swordholder
  1366. effectsmsh.Parent = effectsg
  1367. effectsg.BrickColor = BrickColor.new(Color)
  1368. effectsg.Reflectance = Ref
  1369. local point1 = P1
  1370. local mg = (LP.p - point1.p).magnitude
  1371. effectsg.Size = Vector3.new(0.2,mg,0.2)
  1372. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1373. coroutine.resume(coroutine.create(function()
  1374. for i = 0 , 1 , 0.1 do
  1375. wait()
  1376. effectsg.Transparency = 1*i
  1377. effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
  1378. end
  1379. wait()
  1380. effectsg.Parent = nil
  1381. end))
  1382. end
  1383. --
  1384. con = nil
  1385. function dmgcnnct()
  1386. if con ~= nil then
  1387. con:disconnect()
  1388. Hitdeb = 0
  1389. end
  1390. con = prt4.Touched:connect(OT)
  1391. end
  1392. function dmgdc()
  1393. if con ~= nil then
  1394. con:disconnect()
  1395. Hitdeb = 0
  1396. end
  1397. end
  1398. function rptddmg(value,des,inc)
  1399. coroutine.resume(coroutine.create(function()
  1400. repeat
  1401. wait(inc)
  1402. Hitdeb = 0
  1403. until value == des
  1404. end))
  1405. end
  1406. function atktype(s,e)
  1407. coroutine.resume(coroutine.create(function ()
  1408. attacktype = e
  1409. wait(0.25)
  1410. attacktype = s
  1411. end))
  1412. end
  1413. jumping = false
  1414. walking = false
  1415. function Walk()
  1416. if walking or jumping then return end
  1417. walking = true
  1418. for i = 0.2 , 1, 0.2 do
  1419. wait()
  1420. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1421. w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1422. w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)
  1423. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  1424. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1425. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1426. --
  1427. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1428. w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1429. w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)
  1430. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  1431. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1432. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1433. --
  1434. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1435. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  1436. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1437. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  1438. end
  1439. repeat
  1440. for i = 0.1 , 1, 0.1 do
  1441. if not walking or jumping then break end
  1442. wait()
  1443. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1444. w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1445. w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1446. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  1447. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1448. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1449. --
  1450. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1451. w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1452. w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1453. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  1454. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1455. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1456. --
  1457. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1458. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  1459. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1460. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  1461. end
  1462. for i = 0.1 , 1, 0.1 do
  1463. if not walking or jumping then break end
  1464. wait()
  1465. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1466. w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1467. w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1468. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1469. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1470. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1471. --
  1472. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1473. w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1474. w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1475. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1476. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1477. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1478. --
  1479. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1480. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  1481. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1482. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  1483. end
  1484. until not walking or jumping
  1485. for i = 0.2 , 1, 0.2 do
  1486. if not walking or jumping then break end
  1487. wait()
  1488. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1489. w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1490. w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)
  1491. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  1492. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1493. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1494. --
  1495. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1496. w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1497. w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)
  1498. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  1499. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1500. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1501. --
  1502. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1503. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
  1504. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1505. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
  1506. end
  1507. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1508. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1509. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1510. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1511. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1512. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1513. --
  1514. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1515. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1516. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1517. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1518. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1519. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1520. end
  1521. function Jump()
  1522. if jumping then return end
  1523. jumping = true
  1524. local vel = Instance.new("BodyVelocity",prt1)
  1525. vel.maxForce = Vector3.new(0,1,0) * math.huge
  1526. vel.P = vel.P * 5
  1527. vel.velocity = Vector3.new(0,jump,0)
  1528. coroutine.resume(coroutine.create(function()
  1529. wait() wait() wait() wait()
  1530. vel.Parent=nil
  1531. end))
  1532. ss(Head,1)
  1533. for i = 0.2 , 1 , 0.2 do
  1534. wait()
  1535. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1536. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1537. w23.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)
  1538. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  1539. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1540. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1541. --
  1542. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1543. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1544. w29.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)
  1545. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  1546. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1547. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1548. --Neck
  1549. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1550. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1551. w3.C1 = CFrame.Angles(math.rad(-20+20*i), 0, 0) * CFrame.new(0, 0.465,0)
  1552. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1553. --Wings
  1554. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1555. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
  1556. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1557. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
  1558. end
  1559. wait(0.5)
  1560. for i = 0.2 , 1 , 0.2 do
  1561. wait()
  1562. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1563. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1564. w23.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)
  1565. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  1566. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1567. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1568. --
  1569. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1570. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1571. w29.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)
  1572. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  1573. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1574. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1575. --Neck
  1576. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1577. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1578. w3.C1 = CFrame.Angles(math.rad(-20*i), 0, 0) * CFrame.new(0, 0.465,0)
  1579. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1580. --Wings
  1581. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1582. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
  1583. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1584. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
  1585. end
  1586. jumping = false
  1587. if prt1.Velocity.magnitude > 5 then
  1588. walking = true
  1589. for i = 0.2 , 1, 0.2 do
  1590. wait()
  1591. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1592. w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1593. w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)
  1594. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  1595. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1596. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1597. --
  1598. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1599. w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1600. w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)
  1601. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i)
  1602. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1603. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1604. end
  1605. repeat
  1606. for i = 0.1 , 1, 0.1 do
  1607. if not walking or jumping then break end
  1608. wait()
  1609. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1610. w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1611. w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1612. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  1613. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1614. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1615. --
  1616. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1617. w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1618. w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1619. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0)
  1620. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1621. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1622. end
  1623. for i = 0.1 , 1, 0.1 do
  1624. if not walking or jumping then break end
  1625. wait()
  1626. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1627. w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1628. w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1629. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1630. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1631. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1632. --
  1633. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1634. w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1635. w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)
  1636. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1637. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1638. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1639. end
  1640. until not walking or jumping
  1641. for i = 0.2 , 1, 0.2 do
  1642. if jumping then break end
  1643. wait()
  1644. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1645. w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1646. w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)
  1647. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  1648. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1649. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1650. --
  1651. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1652. w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1653. w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)
  1654. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i)
  1655. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1656. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1657. end
  1658. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1659. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1660. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1661. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1662. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1663. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1664. --
  1665. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1666. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1667. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1668. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1669. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1670. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1671. end
  1672. end
  1673. dashing = false
  1674. function Dash()
  1675. dashing = true
  1676. for i = 0.1 ,1 , 0.1 do
  1677. wait()
  1678. --Neck
  1679. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1680. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1681. w3.C1 = CFrame.Angles(math.rad(-20-60*i), 0, 0) * CFrame.new(0, 0.465,0)
  1682. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1683. end
  1684. dmgcnnct()
  1685. rptddmg(dashing,false,1)
  1686. LastPoint = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
  1687. repeat
  1688. local Point = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
  1689. effect("White",0.5,LastPoint,Point)
  1690. LastPoint = Point
  1691. wait(0.1)
  1692. if Energy >= 1 then
  1693. Energy = Energy - 1
  1694. end
  1695. until not buttonhold or Energy < 3
  1696. dmgdc()
  1697. dashing = false
  1698. for i = 0.1 ,1 , 0.1 do
  1699. wait()
  1700. --Neck
  1701. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1702. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1703. w3.C1 = CFrame.Angles(math.rad(-80+60*i), 0, 0) * CFrame.new(0, 0.465,0)
  1704. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1705. end
  1706. end
  1707. idleez = false
  1708. function Idle()
  1709. if idleez then return end
  1710. idleez = true
  1711. local rndm = math.random(1,3)
  1712. for i = 0.05, 1 , 0.05 do
  1713. if not walking and not dashing and not jumping then
  1714. wait()
  1715. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1716. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1717. w3.C1 = CFrame.Angles(math.rad(-20+5*i), 0, 0) * CFrame.new(0, 0.465,0)
  1718. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1719. if rndm ~= 1 then
  1720. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1721. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10*i)) * CFrame.new(-1.5-0.2*i, 0,0)
  1722. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1723. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10*i)) * CFrame.new(1.5+0.2*i, 0,0)
  1724. else
  1725. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1726. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
  1727. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1728. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
  1729. end
  1730. end
  1731. end
  1732. if rndm == 1 then
  1733. for i = 0.1 , 1 , 0.1 do
  1734. if not walking and not dashing and not jumping then
  1735. wait()
  1736. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1737. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1738. w3.C1 = CFrame.Angles(math.rad(-15+5*i) ,math.rad(0), 0) * CFrame.new(0, 0.465,0)
  1739. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1740. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1741. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45-45*i)) * CFrame.new(-2, -1*i,0)
  1742. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1743. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45+45*i)) * CFrame.new(2, -1*i,0)
  1744. end
  1745. end
  1746. for i = 0.2 , 1 , 0.2 do
  1747. if not walking and not dashing and not jumping then
  1748. wait()
  1749. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1750. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1751. w3.C1 = CFrame.Angles(math.rad(-10+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  1752. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1753. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1754. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+30*i)) * CFrame.new(-2, -1,0)
  1755. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1756. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-30*i)) * CFrame.new(2, -1,0)
  1757. end
  1758. end
  1759. for i = 0.2 , 1 , 0.2 do
  1760. if not walking and not dashing and not jumping then
  1761. wait()
  1762. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1763. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1764. w3.C1 = CFrame.Angles(math.rad(-5+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  1765. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1766. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1767. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60-30*i)) * CFrame.new(-2, -1,0)
  1768. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1769. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(60+30*i)) * CFrame.new(2, -1,0)
  1770. end
  1771. end
  1772. for i = 0.1 , 1 , 0.1 do
  1773. if not walking and not dashing and not jumping then
  1774. wait()
  1775. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1776. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1777. w3.C1 = CFrame.Angles(math.rad(-15*i),math.rad(0), 0) * CFrame.new(0, 0.465,0)
  1778. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1779. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1780. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+45*i)) * CFrame.new(-2, -1+1*i,0)
  1781. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1782. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-45*i)) * CFrame.new(2, -1+1*i,0)
  1783. end
  1784. end
  1785. end
  1786. for i = 0.025, 1 , 0.025 do
  1787. if not walking and not dashing and not jumping then
  1788. wait()
  1789. w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
  1790. w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
  1791. w3.C1 = CFrame.Angles(math.rad(-15-5*i), 0, 0) * CFrame.new(0, 0.465,0)
  1792. w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
  1793. if rndm ~= 1 then
  1794. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1795. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10+10*i)) * CFrame.new(-1.7+0.2*i, 0,0)
  1796. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1797. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10-10*i)) * CFrame.new(1.7-0.2*i, 0,0)
  1798. else
  1799. w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1800. w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
  1801. w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1802. w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
  1803. end
  1804. end
  1805. end
  1806. idleez = false
  1807. end
  1808. function returnwelds()
  1809. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-20))
  1810. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1811. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(20))
  1812. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1813. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(25))
  1814. RWL.C1 = CFrame.new(0.5, 1, 0)
  1815. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25))
  1816. LWL.C1 = CFrame.new(-0.5, 1, 0)
  1817. Neck.C0 = neckcf0
  1818. --
  1819. w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1820. w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0)
  1821. w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1822. w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1823. w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1824. w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1825. --
  1826. w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1827. w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0)
  1828. w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)
  1829. w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2)
  1830. w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)
  1831. w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25)
  1832. --
  1833. end
  1834. function ride()
  1835. Ride = true
  1836. equipanim()
  1837. end
  1838. function unride()
  1839. Ride = false
  1840. hideanim()
  1841. end
  1842. function RemoveSeater()
  1843. if #prt34:GetChildren() > 0 then
  1844. prt34:GetChildren()[1].Parent = nil
  1845. end
  1846. end
  1847. function onFreeFall()
  1848. unride()
  1849. print("Fell")
  1850. value1=value1+1
  1851. end
  1852. keyhold = false
  1853. function ob1d(mouse)
  1854. hold = true
  1855. if attack then return end
  1856. keyhold = true
  1857. end
  1858. function ob1u(mouse)
  1859. keyhold = false
  1860. end
  1861. buttonhold = false
  1862. function key(key,mouse)
  1863. if attack then return end
  1864. if Ride then
  1865. if key == "f" then
  1866. buttonhold = true
  1867. Dash()
  1868. end
  1869. if key == " " then
  1870. coroutine.resume(coroutine.create(Jump))
  1871. end
  1872. end
  1873. if key == "q" then
  1874. if Ride then
  1875. unride()
  1876. else
  1877. --prt4
  1878. mag=Torso.Position-prt4.Position
  1879. magni=mag.magnitude
  1880. if magni <=3 then
  1881. swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
  1882. ride()
  1883. end
  1884. end
  1885. end
  1886. if key == "x" then
  1887. RemoveSeater()
  1888. end
  1889. end
  1890. function key2(key)
  1891. if key == "f" then
  1892. buttonhold = false
  1893. end
  1894. end
  1895. function s(mouse)
  1896. repeat wait() until not attack
  1897. repeat wait() until not ev.Value
  1898. arms()
  1899. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1900. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1901. mouse.KeyDown:connect(function(ke) key(ke,mouse) end)
  1902. mouse.KeyUp:connect(key2)
  1903. ev.Value = true
  1904. end
  1905. function ds(mouse)
  1906. keyhold = false
  1907. repeat wait() until not attack
  1908. repeat wait() until ev.Value
  1909. noarms()
  1910. wait(0.1)
  1911. ev.Value = false
  1912. end
  1913. Bin.Selected:connect(s)
  1914. Bin.Deselected:connect(ds)
  1915. if PlayerGui:findFirstChild("EnergyMeter") ~= nil then
  1916. PlayerGui:findFirstChild("EnergyMeter").Parent = nil
  1917. end
  1918. coroutine.resume(coroutine.create(function()
  1919. repeat
  1920. wait(0.1)
  1921. if Ride then
  1922. if dashing then
  1923. Character.Humanoid.WalkSpeed = speed * 1.5
  1924. else
  1925. Character.Humanoid.WalkSpeed = speed
  1926. end
  1927. if (prt1.Velocity * Vector3.new(1,0,1)).magnitude > 5 then
  1928. coroutine.resume(coroutine.create(Walk))
  1929. walking = true
  1930. elseif (prt1.Velocity * Vector3.new(1,0,1)).magnitude < 5 then
  1931. walking = false
  1932. AddEnergy(1)
  1933. coroutine.resume(coroutine.create(function() Idle() end))
  1934. end
  1935. else
  1936. Character.Humanoid.WalkSpeed = 16
  1937. coroutine.resume(coroutine.create(function() Idle() end))
  1938. walking = false
  1939. end
  1940. until false
  1941. end))
  1942. coroutine.resume(coroutine.create(function()
  1943. local SG = Instance.new("ScreenGui",PlayerGui)
  1944. SG.Name = "EnergyMeter"
  1945. local frame = Instance.new("Frame",SG)
  1946. frame.Size = UDim2.new(0.2,0,0.1,0)
  1947. frame.Position = UDim2.new(0.6,0,0.05,0)
  1948. frame.BackgroundColor3 = BrickColor.new("Bright blue").Color
  1949. local Energytext = Instance.new("TextLabel",frame)
  1950. Energytext.Size = UDim2.new(1,0,0.35,0)
  1951. Energytext.BackgroundTransparency = 1
  1952. Energytext.Text = "Energy"
  1953. Energytext.FontSize = "Size18"
  1954. Energytext.TextColor3 = BrickColor.new("White").Color
  1955. local backing = Instance.new("ImageLabel",frame)
  1956. backing.Size = UDim2.new(0.8,0,0.45,0)
  1957. backing.Image = "http://www.roblox.com/asset/?id=48965808"
  1958. backing.Position = UDim2.new(0.1,0,0.45,0)
  1959. backing.BackgroundColor3 = BrickColor.new("Black").Color
  1960. local img = Instance.new("ImageLabel",backing)
  1961. img.Size = UDim2.new(1,0,1,0)
  1962. img.Image = "http://www.roblox.com/asset/?id=48965808"
  1963. img.Position = UDim2.new(0,0,0,0)
  1964. img.BackgroundColor3 = BrickColor.new("Bright blue").Color
  1965. local percent = Instance.new("TextLabel",backing)
  1966. percent.Size = UDim2.new(1,0,1,0)
  1967. percent.BackgroundTransparency = 1
  1968. percent.TextColor3 = BrickColor.new("White").Color
  1969. percent.Text = Energy.."/".. MaxEnergy
  1970. percent.FontSize = "Size18"
  1971. repeat
  1972. wait()
  1973. pcall(function()
  1974. img.Size = UDim2.new(1*(Energy/MaxEnergy),0,1,0)
  1975. percent.Text = Energy.."/".. MaxEnergy
  1976. end)
  1977. until SG.Parent == nil
  1978. end))
  1979. --Character.Humanoid.FreeFalling:connect(onFreeFall)
  1980. Character:MoveTo(Head.Position+Vector3.new(0,5,0))
  1981. Character.Torso.CFrame = Character.Torso.CFrame + Vector3.new(0,5,0)
  1982. swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
  1983. ride()
  1984. noarms()
  1985. -- mediafire
Add Comment
Please, Sign In to add comment