Advertisement
brandonflex123

idk

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