Advertisement
Dark_EccentricYT

Untitled

May 8th, 2017
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.51 KB | None | 0 0
  1. --[[
  2. Fenrier's Vajra created by:
  3. Fenrier: Lolol Everything.
  4. Man. I seriously need to get working on this >.<
  5. Been kinda busy with other weapons xD
  6.  
  7. ]]
  8. wait(1/60)
  9. Player = game.Players.LocalPlayer
  10. Character = Player.Character
  11. PlayerGui = Player.PlayerGui
  12. Backpack = Player.Backpack
  13. Torso = Character.Torso
  14. Head = Character.Head
  15. LeftArm = Character["Left Arm"]
  16. LeftLeg = Character["Left Leg"]
  17. RightArm = Character["Right Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LS = Torso["Left Shoulder"]
  20. LH = Torso["Left Hip"]
  21. RS = Torso["Right Shoulder"]
  22. RH = Torso["Right Hip"]
  23. bladecolor = BrickColor.new("New Yeller")
  24. attack = false
  25. attackdebounce = false
  26. attacktype = 1
  27. combo = 0
  28. damage = 3
  29. oridamage = 3
  30. walkdebounce = false
  31. sheathed = true
  32. holdingW = false
  33. holdingA = false
  34. holdingS = false
  35. holdingD = false
  36. --player
  37. player = nil
  38. --save shoulders
  39. RSH, LSH = nil, nil
  40. --welds
  41. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  42. RW2, LW2 = Instance.new("Weld"), Instance.new("Weld")
  43. --what anim
  44. anim = "none"
  45.  
  46. if Character:findFirstChild("Vajra",true) ~= nil then
  47. Character:findFirstChild("Vajra",true).Parent = nil
  48. end
  49.  
  50.  
  51.  
  52. local modelzorz = Instance.new("Model")
  53. modelzorz.Name = "Vajra"
  54. modelzorz.Parent = Character
  55. local prt1 = Instance.new("Part")
  56. prt1.formFactor = 1
  57. prt1.Parent = modelzorz
  58. prt1.CanCollide = false
  59. prt1.BrickColor = Character.Torso.BrickColor
  60. prt1.Name = "Handle1"
  61. prt1.Size = Vector3.new(1,2,1)
  62. prt1.CFrame = Torso.CFrame
  63. local prt2 = Instance.new("Part")
  64. prt2.formFactor = 1
  65. prt2.Parent = modelzorz
  66. prt2.CanCollide = false
  67. prt2.BrickColor = BrickColor.new("Bright blue")
  68. prt2.Name = "Handle2"
  69. prt2.Size = Vector3.new(1,1,1)
  70. prt2.CFrame = Torso.CFrame
  71. local prt3 = Instance.new("Part")
  72. prt3.formFactor = 1
  73. prt3.Parent = modelzorz
  74. prt3.CanCollide = false
  75. prt3.BrickColor = BrickColor.new("Bright yellow")
  76. prt3.Name = "Handle3"
  77. prt3.Size = Vector3.new(1,1,1)
  78. prt3.CFrame = Torso.CFrame
  79. local prt4 = Instance.new("Part")
  80. prt4.formFactor = 1
  81. prt4.Parent = modelzorz
  82. prt4.CanCollide = false
  83. prt4.BrickColor = BrickColor.new("White")
  84. prt4.Name = "Handle4"
  85. prt4.Size = Vector3.new(0.5,0.5,0.5)
  86. prt4.CFrame = Torso.CFrame
  87. local prt5 = Instance.new("Part")
  88. prt5.formFactor = 1
  89. prt5.Parent = modelzorz
  90. prt5.CanCollide = false
  91. prt5.BrickColor = BrickColor.new("Bright blue")
  92. prt5.Name = "Handle5"
  93. prt5.Size = Vector3.new(1,0.5,1)
  94. prt5.CFrame = Torso.CFrame
  95. local prt6 = Instance.new("Part")
  96. prt6.formFactor = 1
  97. prt6.Parent = modelzorz
  98. prt6.CanCollide = false
  99. prt6.BrickColor = BrickColor.new("White")
  100. prt6.Name = "Blade1"
  101. prt6.Size = Vector3.new(1,0.5,1)
  102. prt6.CFrame = Torso.CFrame
  103. local prt7 = Instance.new("Part")
  104. prt7.formFactor = 1
  105. prt7.Parent = modelzorz
  106. prt7.CanCollide = false
  107. prt7.BrickColor = BrickColor.new("White")
  108. prt7.Name = "Blade2"
  109. prt7.Size = Vector3.new(1,0.5,1)
  110. prt7.CFrame = Torso.CFrame
  111. local prt8 = Instance.new("Part")
  112. prt8.formFactor = 1
  113. prt8.Parent = modelzorz
  114. prt8.CanCollide = false
  115. prt8.BrickColor = BrickColor.new("White")
  116. prt8.Name = "Blade3"
  117. prt8.Size = Vector3.new(1,0.5,1)
  118. prt8.CFrame = Torso.CFrame
  119. local prt9 = prt2:Clone()
  120. prt9.Parent = modelzorz
  121. prt9.Name = "Handle6"
  122. prt9.Size = Vector3.new(1,1,1)
  123. prt9.CFrame = Torso.CFrame
  124. local prt10 = prt3:Clone()
  125. prt10.Parent = modelzorz
  126. prt10.Name = "Handle7"
  127. prt10.Size = Vector3.new(1,1,1)
  128. prt10.CFrame = Torso.CFrame
  129. local prt11 = prt4:Clone()
  130. prt11.Parent = modelzorz
  131. prt11.Name = "Handle8"
  132. prt11.Size = Vector3.new(1,0.5,1)
  133. prt11.CFrame = Torso.CFrame
  134. local prt12 = prt5:Clone()
  135. prt12.Parent = modelzorz
  136. prt12.Name = "Handle9"
  137. prt12.Size = Vector3.new(1,0.5,1)
  138. prt12.CFrame = Torso.CFrame
  139. local prt13 = prt6:Clone()
  140. prt13.Parent = modelzorz
  141. prt13.Name = "Blade4"
  142. prt13.Size = Vector3.new(1,0.5,1)
  143. prt13.CFrame = Torso.CFrame
  144. local prt14 = prt7:Clone()
  145. prt14.Parent = modelzorz
  146. prt14.Name = "Blade5"
  147. prt14.Size = Vector3.new(1,0.5,1)
  148. prt14.CFrame = Torso.CFrame
  149. local prt15 = prt8:Clone()
  150. prt15.Parent = modelzorz
  151. prt15.Name = "Blade6"
  152. prt15.Size = Vector3.new(1,0.5,1)
  153. prt15.CFrame = Torso.CFrame
  154.  
  155. local part1 = Instance.new("Part")
  156. part1.formFactor = 1
  157. part1.Parent = modelzorz
  158. part1.CanCollide = false
  159. part1.BrickColor = Character.Torso.BrickColor
  160. part1.Name = "2Handle1"
  161. part1.Size = Vector3.new(1,2,1)
  162. part1.CFrame = Torso.CFrame
  163. local part2 = Instance.new("Part")
  164. part2.formFactor = 1
  165. part2.Parent = modelzorz
  166. part2.CanCollide = false
  167. part2.BrickColor = BrickColor.new("Bright blue")
  168. part2.Name = "2Handle2"
  169. part2.Size = Vector3.new(1,1,1)
  170. part2.CFrame = Torso.CFrame
  171. local part3 = Instance.new("Part")
  172. part3.formFactor = 1
  173. part3.Parent = modelzorz
  174. part3.CanCollide = false
  175. part3.BrickColor = BrickColor.new("Bright yellow")
  176. part3.Name = "2Handle3"
  177. part3.Size = Vector3.new(1,1,1)
  178. part3.CFrame = Torso.CFrame
  179. local part4 = Instance.new("Part")
  180. part4.formFactor = 1
  181. part4.Parent = modelzorz
  182. part4.CanCollide = false
  183. part4.BrickColor = BrickColor.new("White")
  184. part4.Name = "2Handle4"
  185. part4.Size = Vector3.new(1,0.5,1)
  186. part4.CFrame = Torso.CFrame
  187. local part5 = Instance.new("Part")
  188. part5.formFactor = 1
  189. part5.Parent = modelzorz
  190. part5.CanCollide = false
  191. part5.BrickColor = BrickColor.new("Bright blue")
  192. part5.Name = "2Handle5"
  193. part5.Size = Vector3.new(1,0.5,1)
  194. part5.CFrame = Torso.CFrame
  195. local part6 = Instance.new("Part")
  196. part6.formFactor = 1
  197. part6.Parent = modelzorz
  198. part6.CanCollide = false
  199. part6.BrickColor = BrickColor.new("White")
  200. part6.Name = "2Blade1"
  201. part6.Size = Vector3.new(1,0.5,1)
  202. part6.CFrame = Torso.CFrame
  203. local part7 = Instance.new("Part")
  204. part7.formFactor = 1
  205. part7.Parent = modelzorz
  206. part7.CanCollide = false
  207. part7.BrickColor = BrickColor.new("White")
  208. part7.Name = "2Blade2"
  209. part7.Size = Vector3.new(1,0.5,1)
  210. part7.CFrame = Torso.CFrame
  211. local part8 = Instance.new("Part")
  212. part8.formFactor = 1
  213. part8.Parent = modelzorz
  214. part8.CanCollide = false
  215. part8.BrickColor = BrickColor.new("White")
  216. part8.Name = "2Blade3"
  217. part8.Size = Vector3.new(1,0.5,1)
  218. part8.CFrame = Torso.CFrame
  219. local part9 = part2:Clone()
  220. part9.Parent = modelzorz
  221. part9.Name = "2Handle6"
  222. part9.Size = Vector3.new(1,1,1)
  223. part9.CFrame = Torso.CFrame
  224. local part10 = part3:Clone()
  225. part10.Parent = modelzorz
  226. part10.Name = "2Handle7"
  227. part10.Size = Vector3.new(1,1,1)
  228. part10.CFrame = Torso.CFrame
  229. local part11 = part4:Clone()
  230. part11.Parent = modelzorz
  231. part11.Name = "2Handle8"
  232. part11.Size = Vector3.new(1,0.5,1)
  233. part11.CFrame = Torso.CFrame
  234. local part12 = part5:Clone()
  235. part12.Parent = modelzorz
  236. part12.Name = "2Handle9"
  237. part12.Size = Vector3.new(1,0.5,1)
  238. part12.CFrame = Torso.CFrame
  239. local part13 = part6:Clone()
  240. part13.Parent = modelzorz
  241. part13.Name = "2Blade4"
  242. part13.Size = Vector3.new(1,0.5,1)
  243. part13.CFrame = Torso.CFrame
  244. local part14 = part7:Clone()
  245. part14.Parent = modelzorz
  246. part14.Name = "2Blade5"
  247. part14.Size = Vector3.new(1,0.5,1)
  248. part14.CFrame = Torso.CFrame
  249. local part15 = part8:Clone()
  250. part15.Parent = modelzorz
  251. part15.Name = "2Blade6"
  252. part15.Size = Vector3.new(1,0.5,1)
  253. part15.CFrame = Torso.CFrame
  254. modelzorz:BreakJoints()
  255.  
  256. local msh1 = Instance.new("CylinderMesh")
  257. msh1.Parent = prt1
  258. msh1.Scale = Vector3.new(0.31,0.7,0.31)
  259. local msh2 = Instance.new("CylinderMesh")
  260. msh2.Parent = prt2
  261. msh2.Scale = Vector3.new(0.4,0.3,0.4)
  262. local msh3 = Instance.new("CylinderMesh")
  263. msh3.Parent = prt3
  264. msh3.Scale = Vector3.new(0.41,0.3,0.41)
  265. local msh4 = Instance.new("BlockMesh")
  266. msh4.Parent = prt4
  267. msh4.Scale = Vector3.new(0.47,0.35,0.4)
  268. local msh5 = Instance.new("BlockMesh")
  269. msh5.Parent = prt5
  270. msh5.Scale = Vector3.new(0.37,0.55,0.6)
  271. local msh6 = Instance.new("SpecialMesh")
  272. msh6.Parent = prt6
  273. msh6.MeshId = "http://www.roblox.com/asset/?id=1778999"
  274. msh6.Scale = Vector3.new(0.35,0.4,0.25)
  275. local msh7 = Instance.new("SpecialMesh")
  276. msh7.Parent = prt7
  277. msh7.MeshId = "http://www.roblox.com/asset/?id=1778999"
  278. msh7.Scale = Vector3.new(0.35,0.4,0.25)
  279. local msh8 = Instance.new("SpecialMesh")
  280. msh8.Parent = prt8
  281. msh8.MeshId = "http://www.roblox.com/asset/?id=1778999"
  282. msh8.Scale = Vector3.new(0.35,0.6,0.25)
  283. local msh9 = msh2:Clone()
  284. msh9.Parent = prt9
  285. local msh10 = msh3:Clone()
  286. msh10.Parent = prt10
  287. local msh11 = msh4:Clone()
  288. msh11.Parent = prt11
  289. local msh12 = msh5:Clone()
  290. msh12.Parent = prt12
  291. local msh13 = msh6:Clone()
  292. msh13.Parent = prt13
  293. local msh14 = msh7:Clone()
  294. msh14.Parent = prt14
  295. local msh15 = msh8:Clone()
  296. msh15.Parent = prt15
  297.  
  298. local mesh1 = Instance.new("CylinderMesh")
  299. mesh1.Parent = part1
  300. mesh1.Scale = Vector3.new(0.31,0.7,0.31)
  301. local mesh2 = Instance.new("CylinderMesh")
  302. mesh2.Parent = part2
  303. mesh2.Scale = Vector3.new(0.4,0.3,0.4)
  304. local mesh3 = Instance.new("CylinderMesh")
  305. mesh3.Parent = part3
  306. mesh3.Scale = Vector3.new(0.41,0.3,0.41)
  307. local mesh4 = Instance.new("BlockMesh")
  308. mesh4.Parent = part4
  309. mesh4.Scale = Vector3.new(0.47,0.35,0.4)
  310. local mesh5 = Instance.new("BlockMesh")
  311. mesh5.Parent = part5
  312. mesh5.Scale = Vector3.new(0.37,0.55,0.6)
  313. local mesh6 = Instance.new("SpecialMesh")
  314. mesh6.Parent = part6
  315. mesh6.MeshId = "http://www.roblox.com/asset/?id=1778999"
  316. mesh6.Scale = Vector3.new(0.35,0.4,0.25)
  317. local mesh7 = Instance.new("SpecialMesh")
  318. mesh7.Parent = part7
  319. mesh7.MeshId = "http://www.roblox.com/asset/?id=1778999"
  320. mesh7.Scale = Vector3.new(0.35,0.4,0.25)
  321. local mesh8 = Instance.new("SpecialMesh")
  322. mesh8.Parent = part8
  323. mesh8.MeshId = "http://www.roblox.com/asset/?id=1778999"
  324. mesh8.Scale = Vector3.new(0.35,0.6,0.25)
  325. local mesh9 = mesh2:Clone()
  326. mesh9.Parent = part9
  327. local mesh10 = mesh3:Clone()
  328. mesh10.Parent = part10
  329. local mesh11 = mesh4:Clone()
  330. mesh11.Parent = part11
  331. local mesh12 = mesh5:Clone()
  332. mesh12.Parent = part12
  333. local mesh13 = mesh6:Clone()
  334. mesh13.Parent = part13
  335. local mesh14 = mesh7:Clone()
  336. mesh14.Parent = part14
  337. local mesh15 = mesh8:Clone()
  338. mesh15.Parent = part15
  339.  
  340. local wld1 = Instance.new("Weld")
  341. wld1.Parent = prt1
  342. wld1.Part0 = prt1
  343. wld1.Part1 = Torso
  344. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.7) * CFrame.new(0,0,-0.75)
  345. local wld2 = Instance.new("Weld")
  346. wld2.Parent = prt2
  347. wld2.Part0 = prt2
  348. wld2.Part1 = prt1
  349. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0)
  350. local wld3 = Instance.new("Weld")
  351. wld3.Parent = prt3
  352. wld3.Part0 = prt3
  353. wld3.Part1 = prt1
  354. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.9,0)
  355. local wld4 = Instance.new("Weld")
  356. wld4.Parent = prt4
  357. wld4.Part0 = prt4
  358. wld4.Part1 = prt1
  359. wld4.C0 = CFrame.fromEulerAnglesXYZ(0.8,math.rad(90),0) * CFrame.new(0,1.2,0)
  360. local wld5 = Instance.new("Weld")
  361. wld5.Parent = prt5
  362. wld5.Part0 = prt5
  363. wld5.Part1 = prt4
  364. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  365. local wld6 = Instance.new("Weld")
  366. wld6.Parent = prt6
  367. wld6.Part0 = prt6
  368. wld6.Part1 = prt1
  369. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(0.5,1.25,0)
  370. local wld7 = Instance.new("Weld")
  371. wld7.Parent = prt7
  372. wld7.Part0 = prt7
  373. wld7.Part1 = prt1
  374. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(-0.5,1.25,0)
  375. local wld8 = Instance.new("Weld")
  376. wld8.Parent = prt8
  377. wld8.Part0 = prt8
  378. wld8.Part1 = prt1
  379. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)) * CFrame.new(0,1.7,0)
  380. local wld9 = Instance.new("Weld")
  381. wld9.Parent = prt9
  382. wld9.Part0 = prt9
  383. wld9.Part1 = prt1
  384. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.6,0)
  385. local wld10 = Instance.new("Weld")
  386. wld10.Parent = prt10
  387. wld10.Part0 = prt10
  388. wld10.Part1 = prt1
  389. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.9,0)
  390. local wld11 = Instance.new("Weld")
  391. wld11.Parent = prt11
  392. wld11.Part0 = prt11
  393. wld11.Part1 = prt1
  394. wld11.C0 = CFrame.fromEulerAnglesXYZ(0.8,math.rad(90),0) * CFrame.new(0,-1.2,0)
  395. local wld12 = Instance.new("Weld")
  396. wld12.Parent = prt12
  397. wld12.Part0 = prt12
  398. wld12.Part1 = prt11
  399. wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  400. local wld13 = Instance.new("Weld")
  401. wld13.Parent = prt13
  402. wld13.Part0 = prt13
  403. wld13.Part1 = prt1
  404. wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(0.5,-1.25,0)
  405. local wld14 = Instance.new("Weld")
  406. wld14.Parent = prt14
  407. wld14.Part0 = prt14
  408. wld14.Part1 = prt1
  409. wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(-0.5,-1.25,0)
  410. local wld15 = Instance.new("Weld")
  411. wld15.Parent = prt15
  412. wld15.Part0 = prt15
  413. wld15.Part1 = prt1
  414. wld15.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(180)) * CFrame.new(0,-1.7,0)
  415.  
  416. local weld1 = Instance.new("Weld")
  417. weld1.Parent = part1
  418. weld1.Part0 = part1
  419. weld1.Part1 = Torso
  420. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.7) * CFrame.new(0,0,-0.75)
  421. local weld2 = Instance.new("Weld")
  422. weld2.Parent = part2
  423. weld2.Part0 = part2
  424. weld2.Part1 = part1
  425. weld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0)
  426. local weld3 = Instance.new("Weld")
  427. weld3.Parent = part3
  428. weld3.Part0 = part3
  429. weld3.Part1 = part1
  430. weld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.9,0)
  431. local weld4 = Instance.new("Weld")
  432. weld4.Parent = part4
  433. weld4.Part0 = part4
  434. weld4.Part1 = part1
  435. weld4.C0 = CFrame.fromEulerAnglesXYZ(0.8,math.rad(90),0) * CFrame.new(0,1.2,0)
  436. local weld5 = Instance.new("Weld")
  437. weld5.Parent = part5
  438. weld5.Part0 = part5
  439. weld5.Part1 = part4
  440. weld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  441. local weld6 = Instance.new("Weld")
  442. weld6.Parent = part6
  443. weld6.Part0 = part6
  444. weld6.Part1 = part1
  445. weld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(0.5,1.25,0)
  446. local weld7 = Instance.new("Weld")
  447. weld7.Parent = part7
  448. weld7.Part0 = part7
  449. weld7.Part1 = part1
  450. weld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(-0.5,1.25,0)
  451. local weld8 = Instance.new("Weld")
  452. weld8.Parent = part8
  453. weld8.Part0 = part8
  454. weld8.Part1 = part1
  455. weld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)) * CFrame.new(0,1.7,0)
  456. local weld9 = Instance.new("Weld")
  457. weld9.Parent = part9
  458. weld9.Part0 = part9
  459. weld9.Part1 = part1
  460. weld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.6,0)
  461. local weld10 = Instance.new("Weld")
  462. weld10.Parent = part10
  463. weld10.Part0 = part10
  464. weld10.Part1 = part1
  465. weld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.9,0)
  466. local weld11 = Instance.new("Weld")
  467. weld11.Parent = part11
  468. weld11.Part0 = part11
  469. weld11.Part1 = part1
  470. weld11.C0 = CFrame.fromEulerAnglesXYZ(0.8,math.rad(90),0) * CFrame.new(0,-1.2,0)
  471. local weld12 = Instance.new("Weld")
  472. weld12.Parent = part12
  473. weld12.Part0 = part12
  474. weld12.Part1 = part11
  475. weld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  476. local weld13 = Instance.new("Weld")
  477. weld13.Parent = part13
  478. weld13.Part0 = part13
  479. weld13.Part1 = part1
  480. weld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(0.5,-1.25,0)
  481. local weld14 = Instance.new("Weld")
  482. weld14.Parent = part14
  483. weld14.Part0 = part14
  484. weld14.Part1 = part1
  485. weld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(-0.5,-1.25,0)
  486. local weld15 = Instance.new("Weld")
  487. weld15.Parent = part15
  488. weld15.Part0 = part15
  489. weld15.Part1 = part1
  490. weld15.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(180)) * CFrame.new(0,-1.7,0)
  491.  
  492. local gairo = Instance.new("BodyGyro")
  493. gairo.Parent = nil
  494.  
  495.  
  496. if (script.Parent.className ~= "HopperBin") then
  497. Tool = Instance.new("HopperBin")
  498. Tool.Parent = Backpack
  499. Tool.Name = "Vajra"
  500. script.Parent = Tool
  501. end
  502. Bin = script.Parent
  503.  
  504. function unequipweld()
  505. wld1.Part1 = Torso
  506. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.7) * CFrame.new(0,0,-0.75)
  507. weld1.Part1 = Torso
  508. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.7) * CFrame.new(0,0,-0.75)
  509. end
  510.  
  511. function equipweld()
  512. wld1.Part1 = LeftArm
  513. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  514. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  515. weld1.Part1 = RightArm
  516. weld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  517. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  518. end
  519.  
  520. function hideanim()
  521. for i = 0 , 1 , 0.07 do
  522. wait(0)
  523. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  524. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  525. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  526. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  527. end
  528. unequipweld()
  529. wait(0.2)
  530. for i = 0 , 1 , 0.07 do
  531. wait(0)
  532. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  533. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  534. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  535. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  536. end
  537. end
  538.  
  539. function equipanim()
  540. for i = 0 , 1 , 0.085 do
  541. wait(0)
  542. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.3*i,0.3*i,-0.3*i)
  543. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  544. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2*i,0.2*i,0.5*i)
  545. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  546. end
  547. equipweld()
  548. wait(0.1)
  549. for i = 0 , 1 , 0.075 do
  550. wait(0)
  551. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  552. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  553. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5)
  554. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  555. end
  556. end
  557.  
  558. function oneslash()
  559. attack = true
  560. combo = 1
  561. walking = nil
  562. Walk = nil
  563. local vel = Instance.new("BodyVelocity")
  564. vel.Parent = Torso
  565. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
  566. vel.velocity = Head.CFrame.lookVector * 20
  567. ss(workspace,1)
  568. con1=prt1.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  569. for i = 0,1,0.2 do
  570. wait()
  571. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.3*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  572. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  573. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5-2.8*i,1.57,0)
  574. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5)
  575. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.2,0,-0.5*i)
  576. end
  577. vel.Parent = nil
  578. con1:disconnect()
  579. wait(0.1)
  580. attack = false
  581. end
  582.  
  583. function twoslash()
  584. attack = true
  585. combo = 2
  586. local vel = Instance.new("BodyVelocity")
  587. vel.Parent = Torso
  588. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
  589. vel.velocity = Head.CFrame.lookVector * 20
  590. ss(workspace,1)
  591. con1=prt1.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  592. for i = 0,1,0.2 do
  593. wait()
  594. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.3-0.4*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  595. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  596. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5-2.8,-0.3,1.3*i)
  597. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5)
  598. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.2,0,-0.5)
  599. end
  600. vel.Parent = nil
  601. con1:disconnect()
  602. wait(0.1)
  603. attack = false
  604. end
  605.  
  606. function threeslash()
  607. attack = true
  608. combo = 3
  609. gairo.Parent = Head
  610. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  611. gairo.P = 20e+003
  612. gairo.cframe = Head.CFrame
  613. for i = 0,1,0.2 do
  614. wait()
  615. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57+1.57*i) * CFrame.new(0,0,-0.5)
  616. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3+2.8*i,0.3,-0.3+0.3*i)
  617. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3+0.3*i,-0.3+0.3*i,1.3-1.3*i)
  618. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+2.3*i,0.2-0.5*i,0.5-0.5*i)
  619. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.2-0.2*i,0,-0.5+0.5*i)
  620. end
  621. wait(0.2)
  622. boomeffect()
  623. bewm(workspace,1)
  624. ss(workspace,1)
  625. for i = 0,1,0.25 do
  626. wait()
  627. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.2*i,3.14,0) * CFrame.new(0,0,-0.5)
  628. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5-1.8*i,0.3-0.6*i,0)
  629. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  630. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-1.8*i,-0.3+0.6*i,0)
  631. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  632. end
  633. wait(0.05)
  634. attack = false
  635. end
  636.  
  637. function fourslash()
  638. attack = true
  639. combo = 4
  640. gairo.Parent = Head
  641. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  642. gairo.P = 20e+003
  643. gairo.cframe = Head.CFrame
  644. wait()
  645. for i = 0,1,0.2 do
  646. wait()
  647. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57*i) * CFrame.new(0,0,-0.5)
  648. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.7-1*i,-0.3,-0.3*i)
  649. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,1.3*i)
  650. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-1.8,-0.3+0.6*i,0)
  651. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,-1*i)
  652. end
  653. wait(0.2)
  654. boomeffect2(LeftArm,10,20)
  655. bewm(workspace,1)
  656. ss(workspace,1)
  657. for i = 0,1,0.3 do
  658. wait()
  659. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  660. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.7-1,-0.3,-0.3)
  661. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,1.3+0.3*i)
  662. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-1.8,-0.3+0.6,0)
  663. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,-1)
  664. end
  665. for i = 0,1,0.3 do
  666. wait()
  667. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  668. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.7-1,-0.3,-0.3)
  669. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,1.3+0.3-0.3*i)
  670. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-1.8,-0.3+0.6,0)
  671. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,-1)
  672. end
  673. wait(0.1)
  674. gairo.Parent = nil
  675. attack = false
  676. end
  677.  
  678. function dashslash()
  679. attack = true
  680. combo = 4
  681. gairo.Parent = Head
  682. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  683. gairo.P = 20e+003
  684. gairo.cframe = Head.CFrame
  685. wait()
  686. for i = 0,1,0.2 do
  687. wait()
  688. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  689. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.7-1*i,-0.3,-0.3*i)
  690. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,1.3*i)
  691. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-1.8,-0.3+0.6*i,0)
  692. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,-1*i)
  693. end
  694. wait(0.2)
  695. boomeffect2(LeftArm,5,10)
  696. bewm(workspace,1)
  697. ss(workspace,1)
  698. for i = 0,1,0.3 do
  699. wait()
  700. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  701. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.7-1,-0.3,-0.3)
  702. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,1.3+0.3*i)
  703. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-1.8,-0.3+0.6,0)
  704. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,-1)
  705. end
  706. for i = 0,1,0.3 do
  707. wait()
  708. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  709. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.7-1,-0.3,-0.3)
  710. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,1.3+0.3-0.3*i)
  711. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-1.8,-0.3+0.6,0)
  712. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,-1)
  713. end
  714. wait(0.1)
  715. gairo.Parent = nil
  716. attack = false
  717. end
  718.  
  719. function Onslaught()
  720. attack = true
  721. Character.Humanoid.WalkSpeed = 0
  722. walking = false
  723. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  724. gairo.Parent = Head
  725. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  726. gairo.P = 20e+003
  727. gairo.cframe = Head.CFrame
  728. for i = 0,1,0.1 do
  729. wait()
  730. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  731. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  732. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8*i,0,-2*i)
  733. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5+0.5*i)
  734. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.37*i,0,0)
  735. end
  736. ss(workspace,1)
  737. wait(0.2)
  738. con1=prt1.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  739. for i = 0,1,0.15 do
  740. wait()
  741. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57+3.5*i) * CFrame.new(0,0,-0.5)
  742. LW.C0 = CFrame.new(-1.5+0.5-0.5*i, 0.5, -0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  743. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8-2*i,0,-2)
  744. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,1+0.67*i)
  745. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.37,0,0)
  746. end
  747. con1:disconnect()
  748. wait(0.2)
  749. boomeffect2(RightArm,30,50)
  750. bewm(workspace,1)
  751. ss(workspace,1)
  752. for i = 0,1,0.3 do
  753. wait()
  754. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57+3.5) * CFrame.new(0,0,-0.5)
  755. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  756. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8-2,0,-2)
  757. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,1+0.67)
  758. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.37,0,-0.3*i)
  759. end
  760. for i = 0,1,0.3 do
  761. wait()
  762. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57+3.5) * CFrame.new(0,0,-0.5)
  763. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  764. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8-2,0,-2)
  765. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,1+0.67)
  766. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.37,0,-0.3+0.3*i)
  767. end
  768. wait(0.2)
  769. gairo.Parent = nil
  770. attack = false
  771. end
  772.  
  773. function DestroyerOfHeaven()
  774. attack = true
  775. Character.Humanoid.WalkSpeed = 0
  776. walking = false
  777. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  778. gairo.Parent = Head
  779. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  780. gairo.P = 20e+003
  781. gairo.cframe = Head.CFrame
  782. for i = 0,1,0.1 do
  783. wait()
  784. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57) * CFrame.new(0,0,-0.5)
  785. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  786. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3*i,0.3*i,-0.2*i)
  787. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5)
  788. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.2*i,0.2*i,-0.3*i)
  789. end
  790. ss(workspace,1)
  791. wait(0.2)
  792. local vel = Instance.new("BodyVelocity")
  793. vel.Parent = Torso
  794. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
  795. vel.velocity = Head.CFrame.lookVector * 80
  796. slasheffect()
  797. con1=Torso.Touched:connect(function(hit) DOH(hit,5,0) end)
  798. con2=part1.Touched:connect(function(hit) DOH(hit,5,0) end)
  799. con3=prt1.Touched:connect(function(hit) DOH(hit,5,0) end)
  800. for i = 0,1,0.2 do
  801. wait()
  802. --Clone()
  803. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57+3.14*i) * CFrame.new(0,0,-0.5)
  804. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3-1.3*i)
  805. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.2)
  806. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5)
  807. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,-0.3-0.6*i)
  808. end
  809. wait(0.1)
  810. vel.Parent = nil
  811. wait(0.2)
  812. con1:disconnect()
  813. con2:disconnect()
  814. con3:disconnect()
  815. wait(0.3)
  816. gairo.Parent = nil
  817. attack = false
  818. end
  819.  
  820. function OT(hit)
  821. if hit.Parent == nil then return end
  822. local hum = hit.Parent:findFirstChild("Humanoid")
  823. if hum ~= nil and hum ~= Character.Humanoid then
  824. hum:TakeDamage(damage)
  825. end
  826.  
  827. end
  828.  
  829. function OT2(hit)
  830. if hit.Parent == nil then return end
  831. local hum = hit.Parent:findFirstChild("Humanoid")
  832. if hum ~= nil and hum ~= Character.Humanoid then
  833. hum:TakeDamage(damage)
  834. local torso = hit.Parent:findFirstChild("Torso")
  835. if torso.Parent ~= nil then
  836. if (torso.Position-RightArm.Position).magnitude<=25 then
  837. local angle = (torso.Position-(RightArm.Position+Vector3.new(0,-3,0))).unit
  838. torso.CFrame=CFrame.new(torso.Position,Vector3.new(angle.x,torso.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  839. local Gyro=Instance.new("BodyGyro")
  840. Gyro.P=1000
  841. Gyro.D=Gyro.D/2
  842. Gyro.maxTorque=Vector3.new(30000,30000,30000)*300000
  843. Gyro.cframe=torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  844. Gyro.Parent=torso
  845. local bodyVelocity=Instance.new("BodyVelocity")
  846. bodyVelocity.velocity=angle*40+Vector3.new(0,35,0)
  847. bodyVelocity.P=500
  848. bodyVelocity.maxForce=Vector3.new(4e+003, 4e+003, 4e+003)
  849. bodyVelocity.Parent=torso
  850. coroutine.resume(coroutine.create(function()
  851. wait(0.3)
  852. bodyVelocity:Remove()
  853. end))
  854. coroutine.resume(coroutine.create(function()
  855. wait(0.8)
  856. Gyro:Remove()
  857. end))
  858. end
  859. end
  860. end
  861. end
  862.  
  863.  
  864. function ss(parent,pitch)
  865.  
  866. local SlashSound = Instance.new("Sound")
  867. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  868. SlashSound.Parent = parent
  869. SlashSound.Volume = .7
  870. SlashSound.Pitch = pitch
  871. SlashSound.PlayOnRemove = true
  872. coroutine.resume(coroutine.create(function()
  873. wait(0)
  874. SlashSound.Parent = nil
  875. end))
  876. end
  877. function bewm(parent,pitch)
  878.  
  879. local SlashSound = Instance.new("Sound")
  880. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  881. SlashSound.Parent = parent
  882. SlashSound.Volume = .7
  883. SlashSound.Pitch = pitch
  884. SlashSound.PlayOnRemove = true
  885. coroutine.resume(coroutine.create(function()
  886. wait(0)
  887. SlashSound.Parent = nil
  888. end))
  889. end
  890.  
  891. function boomeffect()
  892. local mesh = Instance.new("SpecialMesh")
  893. mesh.Scale = Vector3.new(2,2,2)
  894. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  895. local shell = Instance.new("Part")
  896. mesh.Parent = shell
  897. shell.Anchored = true
  898. shell.formFactor = 1
  899. shell.Size = Vector3.new(3,2,2)
  900. shell.CFrame = Torso.CFrame * CFrame.new(0,-2,-3)
  901. shell.Parent = game.workspace
  902. shell.Transparency = 0
  903. shell.BrickColor = BrickColor.new("Bright red")
  904. shell.CanCollide = false
  905. local mesh2 = Instance.new("SpecialMesh")
  906. mesh2.Scale = Vector3.new(2,2,2)
  907. mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  908. local shell2 = Instance.new("Part")
  909. mesh2.Parent = shell2
  910. shell2.Anchored = true
  911. shell2.formFactor = 1
  912. shell2.Size = Vector3.new(3,2,2)
  913. shell2.CFrame = Torso.CFrame * CFrame.new(0,-2,-3)
  914. shell2.Parent = game.workspace
  915. shell2.Transparency = 0
  916. shell2.BrickColor = BrickColor.new("Bright yellow")
  917. shell2.CanCollide = false
  918. local c = game.Workspace:GetChildren();
  919. for i = 1, #c do
  920. local hum = c[i]:findFirstChild("Humanoid")
  921. if hum ~= nil and hum.Health ~= 0 then
  922. local head = c[i]:findFirstChild("Head");
  923. if head ~= nil then
  924. local targ = head.Position - shell.Position;
  925. local mag = targ.magnitude;
  926. if mag <= 6 and c[i].Name ~= Player.Name then
  927. DBHit(head,math.random(5,10))
  928. end
  929. end
  930. end
  931. end
  932. coroutine.resume(coroutine.create(function(part,mash)
  933. for i = 0 , 1 , 0.1 do
  934. wait(0.045)
  935. mash.Scale = mesh.Scale + Vector3.new(1,1.2,1)
  936. part.CFrame = shell.CFrame * CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1.5,0)
  937. part.Transparency = shell.Transparency + 0.2
  938. end
  939. part.Transparency = 1
  940. part.Parent = nil
  941. end),shell,mesh)
  942. coroutine.resume(coroutine.create(function(part,mash)
  943. for i = 0 , 1 , 0.1 do
  944. wait(0.035)
  945. mash.Scale = mesh.Scale + Vector3.new(0.8,0.6,0.8)
  946. part.CFrame = shell.CFrame * CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1.5,0)
  947. part.Transparency = shell.Transparency + 0.2
  948. end
  949. part.Transparency = 1
  950. part.Parent = nil
  951. end),shell2,mesh2)
  952. end
  953.  
  954. function boomeffect2(Arm,Numb1,Numb2)
  955. local mesh = Instance.new("BlockMesh")
  956. local shell = Instance.new("Part")
  957. mesh.Parent = shell
  958. shell.Anchored = true
  959. shell.formFactor = 1
  960. shell.Size = Vector3.new(2,2,2)
  961. shell.CFrame = Arm.CFrame * CFrame.new(0,-1.2,0)
  962. shell.Parent = game.workspace
  963. shell.Transparency = 0
  964. shell.BrickColor = BrickColor.new("Bright red")
  965. shell.CanCollide = false
  966. local mesh2 = Instance.new("SpecialMesh")
  967. mesh2.MeshType = "Sphere"
  968. local shell2 = Instance.new("Part")
  969. mesh2.Parent = shell2
  970. shell2.Anchored = true
  971. shell2.formFactor = 1
  972. shell2.Size = Vector3.new(2,2,2)
  973. shell2.CFrame = Arm.CFrame * CFrame.new(0,-1.2,0)
  974. shell2.Parent = game.workspace
  975. shell2.Transparency = 0
  976. shell2.BrickColor = BrickColor.new("Bright yellow")
  977. shell2.CanCollide = false
  978. local c = game.Workspace:GetChildren();
  979. for i = 1, #c do
  980. local hum = c[i]:findFirstChild("Humanoid")
  981. if hum ~= nil and hum.Health ~= 0 then
  982. local head = c[i]:findFirstChild("Head");
  983. if head ~= nil then
  984. local targ = head.Position - shell.Position;
  985. local mag = targ.magnitude;
  986. if mag <= 6 and c[i].Name ~= Player.Name then
  987. DBHit2(head,math.random(Numb1,Numb2))
  988. end
  989. end
  990. end
  991. end
  992. coroutine.resume(coroutine.create(function(part,mash)
  993. for i = 0 , 1 , 0.1 do
  994. wait(0.038)
  995. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  996. part.Transparency = part.Transparency + 0.2
  997. mash.Scale = mash.Scale + Vector3.new(0.1,0.1,0.1)
  998. end
  999. part.Transparency = 1
  1000. part.Parent = nil
  1001. end),shell,mesh)
  1002. coroutine.resume(coroutine.create(function(part2,mash2)
  1003. for i = 0 , 1 , 0.1 do
  1004. wait(0.038)
  1005. part2.CFrame = part2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1006. part2.Transparency = part2.Transparency + 0.3
  1007. mash2.Scale = mash2.Scale + Vector3.new(0.6,0.4,0.6)
  1008. end
  1009. part2.Transparency = 1
  1010. part2.Parent = nil
  1011. end),shell2,mesh2)
  1012. end
  1013.  
  1014. function DOHeffect(Arm,Numb1,Numb2,x,y,z)
  1015. local mesh = Instance.new("BlockMesh")
  1016. local shell = Instance.new("Part")
  1017. mesh.Parent = shell
  1018. shell.Anchored = true
  1019. shell.formFactor = 1
  1020. shell.Size = Vector3.new(2,2,2)
  1021. shell.CFrame = Arm.CFrame * CFrame.new(x,y,z)
  1022. shell.Parent = game.workspace
  1023. shell.Transparency = 0
  1024. shell.BrickColor = BrickColor.new("Bright red")
  1025. shell.CanCollide = false
  1026. local mesh2 = Instance.new("SpecialMesh")
  1027. mesh2.MeshType = "Sphere"
  1028. local shell2 = Instance.new("Part")
  1029. mesh2.Parent = shell2
  1030. shell2.Anchored = true
  1031. shell2.formFactor = 1
  1032. shell2.Size = Vector3.new(2,2,2)
  1033. shell2.CFrame = Arm.CFrame * CFrame.new(x,y,z)
  1034. shell2.Parent = game.workspace
  1035. shell2.Transparency = 0
  1036. shell2.BrickColor = BrickColor.new("Bright yellow")
  1037. shell2.CanCollide = false
  1038. local c = game.Workspace:GetChildren();
  1039. for i = 1, #c do
  1040. local hum = c[i]:findFirstChild("Humanoid")
  1041. if hum ~= nil and hum.Health ~= 0 then
  1042. local head = c[i]:findFirstChild("Head");
  1043. if head ~= nil then
  1044. local targ = head.Position - shell.Position;
  1045. local mag = targ.magnitude;
  1046. if mag <= 6 and c[i].Name ~= Player.Name then
  1047. DOHHit(head,math.random(Numb1,Numb2),10)
  1048. end
  1049. end
  1050. end
  1051. end
  1052. coroutine.resume(coroutine.create(function(part)
  1053. for i = 0 , 1 , 0.1 do
  1054. wait(0.038)
  1055. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1056. part.Transparency = part.Transparency + 0.2
  1057. mesh.Scale = mesh.Scale + Vector3.new(0.1,0.1,0.1)
  1058. end
  1059. part.Transparency = 1
  1060. part.Parent = nil
  1061. end),shell)
  1062. coroutine.resume(coroutine.create(function(part)
  1063. for i = 0 , 1 , 0.1 do
  1064. wait(0.038)
  1065. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1066. part.Transparency = part.Transparency + 0.3
  1067. mesh2.Scale = mesh2.Scale + Vector3.new(0.6,0.4,0.6)
  1068. end
  1069. part.Transparency = 1
  1070. part.Parent = nil
  1071. end),shell2)
  1072. end
  1073.  
  1074. function slasheffect()
  1075. local mesh = Instance.new("BlockMesh")
  1076. mesh.Scale = Vector3.new(0.2,0.2,10)
  1077. local shell = Instance.new("Part")
  1078. mesh.Parent = shell
  1079. shell.Anchored = true
  1080. shell.formFactor = 1
  1081. shell.Size = Vector3.new(2,2,2)
  1082. shell.CFrame = Head.CFrame * CFrame.new(0,-2,-10)
  1083. shell.Parent = game.workspace
  1084. shell.Transparency = 0
  1085. shell.BrickColor = BrickColor.new("Bright yellow")
  1086. shell.CanCollide = false
  1087. coroutine.resume(coroutine.create(function(part)
  1088. for i = 0 , 1 , 0.1 do
  1089. wait(0.038)
  1090. --part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1091. part.Transparency = part.Transparency + 0.15
  1092. --mesh.Scale = mesh.Scale + Vector3.new(0.1,0.1,0.1)
  1093. end
  1094. part.Transparency = 1
  1095. part.Parent = nil
  1096. end),shell)
  1097. end
  1098.  
  1099. function effect()
  1100. local clone = blade1:clone()
  1101. clone.Parent = workspace
  1102. clone.Anchored = true
  1103. clone.Transparency = 0.6
  1104. clone.Reflectance = 0
  1105. clone.Mesh.Scale = clone.Mesh.Scale + Vector3.new(0.1,0.1,0.1)
  1106. clone.BrickColor = BrickColor.new("New Yeller")
  1107. coroutine.resume(coroutine.create(function()
  1108. wait(0.25)
  1109. clone.Parent = nil
  1110. end))
  1111. end
  1112.  
  1113. DBHit=function(hit,Damage) --credits to turdulator for making this function :D
  1114. if hit.Parent==nil then
  1115. return
  1116. end
  1117. h=hit.Parent:FindFirstChild("Humanoid")
  1118. t=hit.Parent:FindFirstChild("Torso")
  1119. if h~=nil and t~=nil then
  1120. if h.Parent==Character then
  1121. return
  1122. end
  1123. if math.random(0,99)+math.random()<=7.8 then
  1124. CRIT=true
  1125. Damage=Damage*3
  1126. --[[ Knockback=Knockback*2
  1127. r=Instance.new("BodyAngularVelocity")
  1128. r.P=3000
  1129. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1130. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1131. r.Parent=hit.Parent.Torso]]
  1132. s=Instance.new("Sound")
  1133. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1134. s.Volume=1
  1135. s.Pitch=2
  1136. s.Parent=hit
  1137. s.PlayOnRemove=true
  1138. s.Parent=nil
  1139.  
  1140. end
  1141. h:TakeDamage(Damage)
  1142. showDamage(hit.Parent,Damage,.5)
  1143. vl=Instance.new("BodyVelocity")
  1144. vl.P=4500
  1145. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1146. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  1147. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,45,0)
  1148. vl.Parent=t
  1149. game:GetService("Debris"):AddItem(vl,.2)
  1150. rl=Instance.new("BodyAngularVelocity")
  1151. rl.P=3000
  1152. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1153. -- rl.angularvelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  1154. local tes = math.random(1,2)
  1155. if tes == 1 then
  1156. rl.angularvelocity=Vector3.new(0,0,math.random(-40,40))
  1157. elseif tes == 2 then
  1158. rl.angularvelocity=Vector3.new(math.random(-40,40),0,0)
  1159. end
  1160. rl.Parent=t
  1161. game:GetService("Debris"):AddItem(rl,.2)
  1162. else
  1163. if hit.CanCollide==false then
  1164. return
  1165. end
  1166. MagicCom:disconnect()
  1167. -- DBExplode(DB)
  1168. end
  1169. end
  1170.  
  1171. DBHit2=function(hit,Damage) --credits to turdulator for making this function :D
  1172. if hit.Parent==nil then
  1173. return
  1174. end
  1175. h=hit.Parent:FindFirstChild("Humanoid")
  1176. t=hit.Parent:FindFirstChild("Torso")
  1177. if h~=nil and t~=nil then
  1178. if h.Parent==Character then
  1179. return
  1180. end
  1181. if math.random(0,99)+math.random()<=7.8 then
  1182. CRIT=true
  1183. Damage=Damage*3
  1184. --[[ Knockback=Knockback*2
  1185. r=Instance.new("BodyAngularVelocity")
  1186. r.P=3000
  1187. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1188. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1189. r.Parent=hit.Parent.Torso]]
  1190. s=Instance.new("Sound")
  1191. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1192. s.Volume=1
  1193. s.Pitch=2
  1194. s.Parent=hit
  1195. s.PlayOnRemove=true
  1196. s.Parent=nil
  1197.  
  1198. end
  1199. h:TakeDamage(Damage)
  1200. showDamage(hit.Parent,Damage,.5)
  1201. vl=Instance.new("BodyVelocity")
  1202. vl.P=4500
  1203. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1204. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,30,0)
  1205. vl.velocity=Head.CFrame.lookVector*35+Head.Velocity/1.05
  1206. vl.Parent=t
  1207. game:GetService("Debris"):AddItem(vl,.2)
  1208. rl=Instance.new("BodyAngularVelocity")
  1209. rl.P=3000
  1210. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1211. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1212. rl.Parent=t
  1213. game:GetService("Debris"):AddItem(rl,.2)
  1214. else
  1215. if hit.CanCollide==false then
  1216. return
  1217. end
  1218. MagicCom:disconnect()
  1219. -- DBExplode(DB)
  1220. end
  1221. end
  1222.  
  1223. DOHHit=function(hit,Damage,Pos) --credits to turdulator for making this function :D
  1224. if hit.Parent==nil then
  1225. return
  1226. end
  1227. h=hit.Parent:FindFirstChild("Humanoid")
  1228. t=hit.Parent:FindFirstChild("Torso")
  1229. if h~=nil and t~=nil then
  1230. if h.Parent==Character then
  1231. return
  1232. end
  1233. if math.random(0,99)+math.random()<=7.8 then
  1234. CRIT=true
  1235. Damage=Damage*3
  1236. --[[ Knockback=Knockback*2
  1237. r=Instance.new("BodyAngularVelocity")
  1238. r.P=3000
  1239. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1240. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1241. r.Parent=hit.Parent.Torso]]
  1242. s=Instance.new("Sound")
  1243. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1244. s.Volume=1
  1245. s.Pitch=2
  1246. s.Parent=hit
  1247. s.PlayOnRemove=true
  1248. s.Parent=nil
  1249.  
  1250. end
  1251. h:TakeDamage(Damage)
  1252. showDamage(hit.Parent,Damage,.5)
  1253. vl=Instance.new("BodyVelocity")
  1254. vl.P=4500
  1255. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1256. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,60,0)
  1257. vl.velocity=Head.CFrame.lookVector+Head.Velocity/1.05
  1258. vl.Parent=t
  1259. game:GetService("Debris"):AddItem(vl,.2)
  1260. rl=Instance.new("BodyAngularVelocity")
  1261. rl.P=3000
  1262. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1263. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1264. rl.Parent=t
  1265. game:GetService("Debris"):AddItem(rl,.2)
  1266. else
  1267. if hit.CanCollide==false then
  1268. return
  1269. end
  1270. MagicCom:disconnect()
  1271. -- DBExplode(DB)
  1272. end
  1273. end
  1274.  
  1275. Damagefunc1=function(hit,Damage,Knockback)
  1276. if attackdebounce == false then
  1277. attackdebounce = true
  1278. coroutine.resume(coroutine.create(function()
  1279. wait(0.1)
  1280. attackdebounce = false
  1281. end))
  1282. if hit.Parent==nil then
  1283. return
  1284. end
  1285. CPlayer=Bin
  1286. h=hit.Parent:FindFirstChild("Humanoid")
  1287. if h~=nil and hit.Parent.Name~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1288. Damage=Damage
  1289. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1290. return
  1291. end]]
  1292. c=Instance.new("ObjectValue")
  1293. c.Name="creator"
  1294. c.Value=game.Players.LocalPlayer
  1295. c.Parent=h
  1296. game:GetService("Debris"):AddItem(c,.5)
  1297. -- print(c.Value)
  1298. if math.random(0,99)+math.random()<=7.8 then
  1299. CRIT=true
  1300. Damage=Damage*3
  1301. --[[ Knockback=Knockback*2
  1302. r=Instance.new("BodyAngularVelocity")
  1303. r.P=3000
  1304. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1305. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1306. r.Parent=hit.Parent.Torso]]
  1307. s=Instance.new("Sound")
  1308. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1309. s.Volume=1
  1310. s.Pitch=2
  1311. s.Parent=hit
  1312. s.PlayOnRemove=true
  1313. s.Parent=nil
  1314.  
  1315. end
  1316. Damage=Damage+math.random(0,10)
  1317. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1318. h:TakeDamage(Damage)
  1319. showDamage(hit.Parent,Damage,.5)
  1320. vp=Instance.new("BodyVelocity")
  1321. vp.P=500
  1322. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1323. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1324. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1325. if Knockback>0 then
  1326. vp.Parent=hit.Parent.Torso
  1327. end
  1328. game:GetService("Debris"):AddItem(vp,.25)
  1329. --[[ r=Instance.new("BodyAngularVelocity")
  1330. r.P=3000
  1331. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1332. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1333. r.Parent=hit.Parent.Torso]]
  1334. game:GetService("Debris"):AddItem(r,.5)
  1335. c=Instance.new("ObjectValue")
  1336. c.Name="creator"
  1337. c.Value=Player
  1338. c.Parent=h
  1339. game:GetService("Debris"):AddItem(c,.5)
  1340. CRIT=false
  1341. hitDeb=true
  1342. AttackPos=6
  1343. end
  1344. end
  1345. end
  1346.  
  1347. DOH=function(hit,Damage,Knockback)
  1348. if attackdebounce == false then
  1349. attackdebounce = true
  1350. coroutine.resume(coroutine.create(function()
  1351. wait(0.2)
  1352. attackdebounce = false
  1353. end))
  1354. if hit.Parent==nil then
  1355. return
  1356. end
  1357. CPlayer=Bin
  1358. h=hit.Parent:FindFirstChild("Humanoid")
  1359. if h~=nil and hit.Parent.Name~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1360. Damage=Damage
  1361. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1362. return
  1363. end]]
  1364. c=Instance.new("ObjectValue")
  1365. c.Name="creator"
  1366. c.Value=game.Players.LocalPlayer
  1367. c.Parent=h
  1368. game:GetService("Debris"):AddItem(c,.5)
  1369. -- print(c.Value)
  1370. if math.random(0,99)+math.random()<=7.8 then
  1371. CRIT=true
  1372. Damage=Damage*3
  1373. --[[ Knockback=Knockback*2
  1374. r=Instance.new("BodyAngularVelocity")
  1375. r.P=3000
  1376. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1377. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1378. r.Parent=hit.Parent.Torso]]
  1379. s=Instance.new("Sound")
  1380. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1381. s.Volume=1
  1382. s.Pitch=2
  1383. s.Parent=hit
  1384. s.PlayOnRemove=true
  1385. s.Parent=nil
  1386.  
  1387. end
  1388. Damage=Damage+math.random(0,10)
  1389. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1390. h:TakeDamage(Damage)
  1391. showDamage(hit.Parent,Damage,.5)
  1392. vp=Instance.new("BodyVelocity")
  1393. vp.P=500
  1394. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1395. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1396. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1397. if Knockback>0 then
  1398. vp.Parent=hit.Parent.Torso
  1399. end
  1400. game:GetService("Debris"):AddItem(vp,.25)
  1401. --[[ r=Instance.new("BodyAngularVelocity")
  1402. r.P=3000
  1403. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1404. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1405. r.Parent=hit.Parent.Torso]]
  1406. game:GetService("Debris"):AddItem(r,.5)
  1407. c=Instance.new("ObjectValue")
  1408. c.Name="creator"
  1409. c.Value=Player
  1410. c.Parent=h
  1411. game:GetService("Debris"):AddItem(c,.5)
  1412. wait(1)
  1413. DOHeffect(hit,5,15,2,0,0)
  1414. bewm(workspace,1)
  1415. wait(0.1)
  1416. DOHeffect(hit,5,15,-2,0.5,0)
  1417. bewm(workspace,1)
  1418. wait(0.1)
  1419. DOHeffect(hit,5,15,2,1,0)
  1420. bewm(workspace,1)
  1421. wait(0.1)
  1422. DOHeffect(hit,5,15,-2,1.5,0)
  1423. bewm(workspace,1)
  1424. CRIT=false
  1425. hitDeb=true
  1426. AttackPos=6
  1427. end
  1428. end
  1429. end
  1430.  
  1431. showDamage=function(Char,Dealt,du)
  1432. m=Instance.new("Model")
  1433. m.Name=tostring(Dealt)
  1434. h=Instance.new("Humanoid")
  1435. h.Health=0
  1436. h.MaxHealth=0
  1437. h.Parent=m
  1438. c=Instance.new("Part")
  1439. c.Transparency=0
  1440. c.BrickColor=BrickColor:Red()
  1441. if CRIT==true then
  1442. c.BrickColor=BrickColor.new("Really red")
  1443. end
  1444. c.Name="Head"
  1445. c.TopSurface=0
  1446. c.BottomSurface=0
  1447. c.formFactor="Plate"
  1448. c.Size=Vector3.new(1,.4,1)
  1449. ms=Instance.new("CylinderMesh")
  1450. ms.Bevel=.1
  1451. ms.Scale=Vector3.new(.8,.8,.8)
  1452. if CRIT==true then
  1453. ms.Scale=Vector3.new(1.25,1.5,1.25)
  1454. ms.Bevel=.2
  1455. end
  1456. ms.Parent=c
  1457. c.Reflectance=0
  1458. Instance.new("BodyGyro").Parent=c
  1459. c.Parent=m
  1460. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1461. f=Instance.new("BodyPosition")
  1462. f.P=2000
  1463. f.D=100
  1464. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1465. f.position=c.Position+Vector3.new(0,3,0)
  1466. f.Parent=c
  1467. game:GetService("Debris"):AddItem(m,.5+du)
  1468. c.CanCollide=false
  1469. m.Parent=workspace
  1470. c.CanCollide=false
  1471. end
  1472.  
  1473. function Clone()
  1474. for _,v in pairs(Torso.Parent:children()) do
  1475. if v.className=="Part" then
  1476. n=v:clone()
  1477. n.archivable=true
  1478. n.Anchored=false
  1479. n.CanCollide=false
  1480. n.Name="TRAILER"
  1481. n.BrickColor=v.BrickColor
  1482. n.Parent=workspace
  1483. coroutine.resume(coroutine.create(function(ne) for i=1, 40 do ne.Transparency=i/40 wait() end ne.Parent=nil end),n)
  1484. elseif v.className=="Hat" then
  1485. n=v.Handle:clone()
  1486. n.archivable=true
  1487. n.Anchored=false
  1488. n.CanCollide=false
  1489. n.Name="TRAILER"
  1490. n.BrickColor=v.Handle.BrickColor
  1491. n.Parent=workspace
  1492. coroutine.resume(coroutine.create(function(ne) for i=1, 40 do ne.Transparency=i/40 wait() end ne.Parent=nil end),n)
  1493. end
  1494. end
  1495. --[[ for _,v in pairs(modelzorz:children()) do
  1496. if v.className=="Part" then
  1497. n=v:clone()
  1498. n.archivable=true
  1499. n.Anchored=true
  1500. n.CanCollide=false
  1501. n.Name="TRAILER"
  1502. n.BrickColor=v.BrickColor
  1503. n.Parent=workspace
  1504. coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
  1505. end
  1506. end]]
  1507. end
  1508.  
  1509.  
  1510. function Stance()
  1511. while walking == false do
  1512. for i = 0,1,0.03 do
  1513. wait()
  1514. if walking == false and attack == false then
  1515. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.1*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  1516. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3-0.1*i,-0.3+0.1*i)
  1517. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1518. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2-0.1*i,0.5-0.1*i)
  1519. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1520. end
  1521. end
  1522. for i = 0,1,0.03 do
  1523. wait()
  1524. if walking == false and attack == false then
  1525. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.1-0.1*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  1526. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3-0.1+0.1*i,-0.3+0.1-0.1*i)
  1527. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1528. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2-0.1+0.1*i,0.5-0.1+0.1*i)
  1529. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1530. end
  1531. end
  1532. end
  1533. end
  1534.  
  1535. GetWalk=function()--tell whenever the Humanoid is walking.
  1536. if (Torso.Velocity-Vector3.new(0,Torso.Velocity.y,0)).magnitude>=1 then
  1537. Walk = true
  1538. else
  1539. Walk = false
  1540. end
  1541. print(Walk)
  1542. end
  1543.  
  1544. hold = false
  1545.  
  1546. function ob1d(mouse)
  1547. if attack == true then return end
  1548. hold = true
  1549. if walking == true and combo == 0 then
  1550. attack = true
  1551. Character.Humanoid.WalkSpeed = 0
  1552. wait(0.1)
  1553. walking = false
  1554. fourslash()
  1555. combo = 0
  1556. Stance()
  1557. wait(0.2)
  1558. Character.Humanoid.WalkSpeed = 16
  1559. Stance()
  1560. elseif walking == false then
  1561. if combo == 0 then
  1562. oneslash()
  1563. walking = false
  1564. coroutine.resume(coroutine.create(function()
  1565. wait(0.5)
  1566. if attack == false then
  1567. combo = 0
  1568. walking = false
  1569. Stance()
  1570. end
  1571. end))
  1572. elseif combo == 1 then
  1573. twoslash()
  1574. walking = false
  1575. coroutine.resume(coroutine.create(function()
  1576. wait(0.5)
  1577. if attack == false then
  1578. combo = 0
  1579. walking = false
  1580. Stance()
  1581. end
  1582. end))
  1583. elseif combo == 2 then
  1584. threeslash()
  1585. walking = false
  1586. coroutine.resume(coroutine.create(function()
  1587. wait(0.6)
  1588. gairo.Parent = nil
  1589. if attack == false then
  1590. combo = 0
  1591. walking = false
  1592. Stance()
  1593. end
  1594. end))
  1595. elseif combo == 3 then
  1596. fourslash()
  1597. walking = false
  1598. coroutine.resume(coroutine.create(function()
  1599. wait(0.2)
  1600. if attack == false then
  1601. combo = 0
  1602. walking = false
  1603. Stance()
  1604. end
  1605. end))
  1606. end
  1607. end
  1608. end
  1609.  
  1610. function ob1u(mouse)
  1611. hold = false
  1612. end
  1613.  
  1614. buttonhold = false
  1615.  
  1616. function key(key)
  1617. if key == "w" or key == "a" or key == "s" or key == "d" then
  1618. if key == "w" then
  1619. holdingW = true
  1620. elseif key == "a" then
  1621. holdingA = true
  1622. elseif key == "s" then
  1623. holdingS = true
  1624. elseif key == "d" then
  1625. holdingD = true
  1626. end
  1627. walking = true
  1628. gairo.Parent = nil
  1629. Character.Humanoid.WalkSpeed = 16
  1630. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1631. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1632. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1633. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1634. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1635. for i = 0,1,0.1 do
  1636. wait()
  1637. if walking == true then
  1638. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i,0,0)
  1639. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1640. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1641. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1642. end
  1643. end
  1644. wait(0.1)
  1645. while walking == true do
  1646. wait()
  1647. for i = 0,1,0.1 do
  1648. wait()
  1649. if walking == true and attack == false then
  1650. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,0)
  1651. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1652. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
  1653. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1654. end
  1655. end
  1656. for i = 0,1,0.1 do
  1657. wait()
  1658. if walking == true and attack == false then
  1659. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-2+2*i,0,0)
  1660. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1661. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2-2*i,0,0)
  1662. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1663. end
  1664. end
  1665. end
  1666. --Character.Humanoid.WalkSpeed = 16
  1667. end
  1668. if attack == true then return end
  1669. if key == "z" then
  1670. Onslaught()
  1671. end
  1672. if key == "x" then
  1673. DestroyerOfHeaven()
  1674. end
  1675. end
  1676.  
  1677. function key2(key)
  1678. if attack == true then return end
  1679. if key == "w" then
  1680. holdingW = false
  1681. elseif key == "a" then
  1682. holdingA = false
  1683. elseif key == "s" then
  1684. holdingS = false
  1685. elseif key == "d" then
  1686. holdingD = false
  1687. end
  1688. if key == "w" or key == "a" or key == "s" or key == "d" then
  1689. if walkdebounce == false then
  1690. if holdingW == false and holdingA == false and holdingS == false and holdingD == false then
  1691. coroutine.resume(coroutine.create(function()
  1692. for i = 0,50 do
  1693. wait(0)
  1694. walkdebounce = true
  1695. end
  1696. walkdebounce = false
  1697. end))
  1698. walking = false
  1699. Character.Humanoid.WalkSpeed = 0
  1700. gairo.Parent = Head
  1701. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1702. gairo.P = 20e+003
  1703. gairo.cframe = Head.CFrame
  1704. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  1705. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1706. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5)
  1707. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1708. for i = 0,1,0.1 do
  1709. wait()
  1710. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.1*i,3.14,-1.57*i) * CFrame.new(0,0,-0.5)
  1711. end
  1712. gairo.Parent = nil
  1713. wait(0.1)
  1714. while walking == false do
  1715. for i = 0,1,0.03 do
  1716. wait()
  1717. if walking == false and attack == false then
  1718. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.1*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  1719. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3-0.1*i,-0.3+0.1*i)
  1720. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1721. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2-0.1*i,0.5-0.1*i)
  1722. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1723. end
  1724. end
  1725. for i = 0,1,0.03 do
  1726. wait()
  1727. if walking == false and attack == false then
  1728. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.1-0.1*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  1729. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3-0.1+0.1*i,-0.3+0.1-0.1*i)
  1730. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1731. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2-0.1+0.1*i,0.5-0.1+0.1*i)
  1732. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738. end
  1739. end
  1740.  
  1741. function s(mouse)
  1742. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1743. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1744. mouse.KeyDown:connect(key)
  1745. mouse.KeyUp:connect(key2)
  1746. sheathed = false
  1747. player = Player
  1748. ch = Character
  1749. RSH = ch.Torso["Right Shoulder"]
  1750. LSH = ch.Torso["Left Shoulder"]
  1751. RHP = ch.Torso["Right Hip"]
  1752. LHP = ch.Torso["Left Hip"]
  1753. --
  1754. RSH.Parent = nil
  1755. LSH.Parent = nil
  1756. --[[RHP.C0 = CFrame.new(-0.5, -1.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1757. RHP.C1 = CFrame.new(0, 0.5, 0)
  1758. LHP.C0 = CFrame.new(0.5, -1.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1759. LHP.C1 = CFrame.new(0, 0.5, 0) ]]
  1760. --
  1761. RW.Part0 = ch.Torso
  1762. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1763. RW.C1 = CFrame.new(0, 0.5, 0)
  1764. RW.Part1 = ch["Right Arm"]
  1765. RW.Parent = ch.Torso
  1766. --_G.R = RW
  1767. --
  1768. LW.Part0 = ch.Torso
  1769. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1770. LW.C1 = CFrame.new(0, 0.5, 0)
  1771. LW.Part1 = ch["Left Arm"]
  1772. LW.Parent = ch.Torso
  1773. --_G.L = LW
  1774. --
  1775. --[[RW2.Part0 = ch.Torso
  1776. RW2.C0 = CFrame.new(0.5, -1.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1777. RW2.C1 = CFrame.new(0, 0.5, 0)
  1778. RW2.Part1 = ch["Right Leg"]
  1779. RW2.Parent = ch.Torso
  1780. --_G.L = LW
  1781. --
  1782. LW2.Part0 = ch.Torso
  1783. LW2.C0 = CFrame.new(-0.5, -1.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1784. LW2.C1 = CFrame.new(0, 0.5, 0)
  1785. LW2.Part1 = ch["Left Leg"]
  1786. LW2.Parent = ch.Torso
  1787. --_G.L = LW
  1788. -- ]]
  1789. equipanim()
  1790. end
  1791.  
  1792. function ds(mouse)
  1793. sheathed = true
  1794. guardy = false
  1795. walking = nil
  1796. Character.Humanoid.WalkSpeed = 16
  1797. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1798. --[[RHP.C0 = CFrame.new(0.5, -1.5, 0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1799. RHP.C1 = CFrame.new(0, 0, 0)
  1800. LHP.C0 = CFrame.new(-0.5, -1.5, 0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1801. LHP.C1 = CFrame.new(0, 0, 0) ]]
  1802. gairo.Parent = nil
  1803. hideanim()
  1804. RW.Parent = nil
  1805. LW.Parent = nil
  1806. RSH.Parent = player.Character.Torso
  1807. LSH.Parent = player.Character.Torso
  1808. end
  1809.  
  1810. Bin.Selected:connect(s)
  1811. Bin.Deselected:connect(ds)
  1812.  
  1813. --[[function onRunning(speed)
  1814. if sheathed == false and attack == false then
  1815. if speed>0 then
  1816. walking = true
  1817. gairo.Parent = nil
  1818. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1819. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1820. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1821. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1822. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1823. for i = 0,1,0.1 do
  1824. wait()
  1825. if walking == true then
  1826. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i,0,0)
  1827. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1828. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1829. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1830. end
  1831. end
  1832. wait(0.1)
  1833. while walking == true do
  1834. wait()
  1835. for i = 0,1,0.1 do
  1836. wait()
  1837. if walking == true and attack == false then
  1838. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,0)
  1839. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1840. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
  1841. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1842. end
  1843. end
  1844. for i = 0,1,0.1 do
  1845. wait()
  1846. if walking == true and attack == false then
  1847. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-2+2*i,0,0)
  1848. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1849. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2-2*i,0,0)
  1850. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1851. end
  1852. end
  1853. end
  1854. Character.Humanoid.WalkSpeed = 16
  1855. else
  1856. if walkdebounce == false then
  1857. coroutine.resume(coroutine.create(function()
  1858. for i = 0,50 do
  1859. wait(0)
  1860. walkdebounce = true
  1861. end
  1862. walkdebounce = false
  1863. end))
  1864. walking = false
  1865. Character.Humanoid.WalkSpeed = 0
  1866. gairo.Parent = Head
  1867. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1868. gairo.P = 20e+003
  1869. gairo.cframe = Head.CFrame
  1870. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3)
  1871. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1872. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5)
  1873. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1874. for i = 0,1,0.1 do
  1875. wait()
  1876. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.1*i,3.14,-1.57*i) * CFrame.new(0,0,-0.5)
  1877. end
  1878. gairo.Parent = nil
  1879. wait(0.1)
  1880. while walking == false do
  1881. for i = 0,1,0.03 do
  1882. wait()
  1883. if walking == false and attack == false then
  1884. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.1*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  1885. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3-0.1*i,-0.3+0.1*i)
  1886. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1887. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2-0.1*i,0.5-0.1*i)
  1888. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1889. end
  1890. end
  1891. for i = 0,1,0.03 do
  1892. wait()
  1893. if walking == false and attack == false then
  1894. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.67+0.1-0.1*i,3.14,-1.57) * CFrame.new(0,0,-0.5)
  1895. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3-0.1+0.1*i,-0.3+0.1-0.1*i)
  1896. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1897. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2-0.1+0.1*i,0.5-0.1+0.1*i)
  1898. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1899. end
  1900. end
  1901. end
  1902. end
  1903. end
  1904. end
  1905. end
  1906.  
  1907. Character.Humanoid.Running:connect(onRunning)]]
  1908.  
  1909. wait(1)
  1910. -- lego blockland This acts as a chat filter. Don't ask why I do it. I just do >.>
  1911. --[[
  1912. Copyrighted (C) Fenrier 2011
  1913. This script is copyrighted for Fenrier. Any use of this script is breaking
  1914. this copyright.
  1915. All Rights Reserved.
  1916. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement