Advertisement
Upscalefanatic34

Glaive

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