xx_g

glaive

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