Zarcus

Katana Script

Aug 14th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.78 KB | None | 0 0
  1. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: JUST RUN
  2.  
  3. Player = script.Parent.Parent
  4. Character = Player.Character
  5. PlayerGui = Player.PlayerGui
  6. Backpack = Player.Backpack
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. LeftArm = Character["Left Arm"]
  10. LeftLeg = Character["Left Leg"]
  11. RightArm = Character["Right Arm"]
  12. RightLeg = Character["Right Leg"]
  13. LS = Torso["Left Shoulder"]
  14. LH = Torso["Left Hip"]
  15. RS = Torso["Right Shoulder"]
  16. RH = Torso["Right Hip"]
  17. attack = false
  18. attackdebounce = false
  19. combo = 0
  20. mana = 400
  21. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  22. lightning = false
  23. restoring = false
  24. --player
  25. player = nil
  26. --save shoulders
  27. RSH, LSH = nil, nil
  28. --welds
  29. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  30. --what anim
  31. anim = "none"
  32.  
  33. if Character:findFirstChild("Katana",true) ~= nil then
  34. Character:findFirstChild("Katana",true).Parent = nil
  35. end
  36. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  37. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  38. end
  39.  
  40.  
  41. local modelzorz = Instance.new("Model")
  42. modelzorz.Name = "Katana"
  43. modelzorz.Parent = Character
  44.  
  45. local prt1 = Instance.new("Part")
  46. prt1.formFactor = 1
  47. prt1.Parent = modelzorz
  48. prt1.CanCollide = false
  49. prt1.BrickColor = BrickColor.new("Really red")
  50. prt1.Name = "Handle"
  51. prt1.Transparency = 0
  52. prt1.Size = Vector3.new(1,1,1)
  53. prt1.CFrame = Torso.CFrame
  54. local prt2 = Instance.new("Part")
  55. prt2.formFactor = 1
  56. prt2.Parent = modelzorz
  57. prt2.CanCollide = false
  58. prt2.BrickColor = BrickColor.new("Really black")
  59. prt2.Name = "Handle2"
  60. prt2.Transparency = 0
  61. prt2.Size = Vector3.new(1,1,1)
  62. prt2.CFrame = Torso.CFrame
  63. local prt3 = Instance.new("Part")
  64. prt3.formFactor = 1
  65. prt3.Parent = modelzorz
  66. prt3.CanCollide = false
  67. prt3.BrickColor = BrickColor.new("Dark grey")
  68. prt3.Name = "Handle3"
  69. prt3.Transparency = 0
  70. prt3.Size = Vector3.new(1,1,1)
  71. prt3.CFrame = Torso.CFrame
  72. local prt4 = Instance.new("Part")
  73. prt4.formFactor = 1
  74. prt4.Parent = modelzorz
  75. prt4.CanCollide = false
  76. prt4.BrickColor = BrickColor.new("Really black")
  77. prt4.Name = "Blade1"
  78. prt4.Reflectance = 0.4
  79. prt4.Transparency = 0
  80. prt4.Size = Vector3.new(1,3,1)
  81. prt4.CFrame = Torso.CFrame
  82. local prt5 = Instance.new("Part")
  83. prt5.formFactor = 1
  84. prt5.Parent = modelzorz
  85. prt5.CanCollide = false
  86. prt5.BrickColor = BrickColor.new("Really black")
  87. prt5.Name = "Blade2"
  88. prt5.Transparency = 0
  89. prt5.Size = Vector3.new(1,1,1)
  90. prt5.CFrame = Torso.CFrame
  91. local prt6 = Instance.new("Part")
  92. prt6.formFactor = 1
  93. prt6.Parent = modelzorz
  94. prt6.CanCollide = false
  95. prt6.BrickColor = BrickColor.new("Really black")
  96. prt6.Name = "Blade3"
  97. prt6.Reflectance = 0.4
  98. prt6.Transparency = 0
  99. prt6.Size = Vector3.new(1,1,1)
  100. prt6.CFrame = Torso.CFrame
  101. local prt7 = Instance.new("Part")
  102. prt7.formFactor = 1
  103. prt7.Parent = modelzorz
  104. prt7.CanCollide = false
  105. prt7.BrickColor = BrickColor.new("Really red")
  106. prt7.Name = "Handle3"
  107. prt7.Transparency = 0
  108. prt7.Size = Vector3.new(1,1,1)
  109. prt7.CFrame = Torso.CFrame
  110. local prt8 = Instance.new("Part")
  111. prt8.formFactor = 1
  112. prt8.Parent = modelzorz
  113. prt8.CanCollide = false
  114. prt8.BrickColor = BrickColor.new("Really black")
  115. prt8.Name = "Handle4"
  116. prt8.Transparency = 0
  117. prt8.Size = Vector3.new(1,1,1)
  118. prt8.CFrame = Torso.CFrame
  119. local prt9 = Instance.new("Part")
  120. prt9.formFactor = 1
  121. prt9.Parent = modelzorz
  122. prt9.CanCollide = false
  123. prt9.BrickColor = BrickColor.new("Really black")
  124. prt9.Name = "Handle5"
  125. prt9.Transparency = 0
  126. prt9.Size = Vector3.new(1,1,1)
  127. prt9.CFrame = Torso.CFrame
  128. local prt10 = Instance.new("Part")
  129. prt10.formFactor = 1
  130. prt10.Parent = modelzorz
  131. prt10.CanCollide = false
  132. prt10.BrickColor = BrickColor.new("Really red")
  133. prt10.Name = "Handle6"
  134. prt10.Transparency = 0
  135. prt10.Size = Vector3.new(1,1,1)
  136. prt10.CFrame = Torso.CFrame
  137. local prt11 = Instance.new("Part")
  138. prt11.formFactor = 1
  139. prt11.Parent = modelzorz
  140. prt11.CanCollide = false
  141. prt11.BrickColor = BrickColor.new("Really red")
  142. prt11.Name = "Handle7"
  143. prt11.Transparency = 0
  144. prt11.Size = Vector3.new(1,1,1)
  145. prt11.CFrame = Torso.CFrame
  146. local prt12 = Instance.new("Part")
  147. prt12.formFactor = 1
  148. prt12.Parent = modelzorz
  149. prt12.CanCollide = false
  150. prt12.BrickColor = BrickColor.new("Dark grey")
  151. prt12.Name = "Handle8"
  152. prt12.Transparency = 0
  153. prt12.Size = Vector3.new(1,1,1)
  154. prt12.CFrame = Torso.CFrame
  155. local prt13 = Instance.new("Part")
  156. prt13.formFactor = 1
  157. prt13.Parent = modelzorz
  158. prt13.CanCollide = false
  159. prt13.BrickColor = BrickColor.new("Really black")
  160. prt13.Name = "Blade4"
  161. prt13.Reflectance = 0.4
  162. prt13.Transparency = 0
  163. prt13.Size = Vector3.new(1,1,1)
  164. prt13.CFrame = Torso.CFrame
  165. local prt14 = Instance.new("Part")
  166. prt14.formFactor = 1
  167. prt14.Parent = modelzorz
  168. prt14.CanCollide = false
  169. prt14.BrickColor = BrickColor.new("Really black")
  170. prt14.Name = "Blade5"
  171. prt14.Reflectance = 0.4
  172. prt14.Transparency = 0
  173. prt14.Size = Vector3.new(1,1,1)
  174. prt14.CFrame = Torso.CFrame
  175. local prt15 = Instance.new("Part")
  176. prt15.formFactor = 1
  177. prt15.Parent = modelzorz
  178. prt15.CanCollide = false
  179. prt15.BrickColor = BrickColor.new("Really black")
  180. prt15.Name = "Blade6"
  181. prt15.Reflectance = 0.4
  182. prt15.Transparency = 0
  183. prt15.Size = Vector3.new(1,1,1)
  184. prt15.CFrame = Torso.CFrame
  185. local prt16 = Instance.new("Part")
  186. prt16.formFactor = 1
  187. prt16.Parent = modelzorz
  188. prt16.CanCollide = false
  189. prt16.BrickColor = BrickColor.new("Really black")
  190. prt16.Name = "Blade7"
  191. prt16.Reflectance = 0.4
  192. prt16.Transparency = 0
  193. prt16.Size = Vector3.new(1,1,1)
  194. prt16.CFrame = Torso.CFrame
  195. modelzorz:BreakJoints()
  196.  
  197. local msh1 = Instance.new("CylinderMesh")
  198. msh1.Parent = prt1
  199. msh1.Scale = Vector3.new(0.3,1,0.5)
  200. local msh2 = Instance.new("CylinderMesh")
  201. msh2.Parent = prt2
  202. msh2.Scale = Vector3.new(0.3,0.1,0.5)
  203. local msh3 = Instance.new("BlockMesh")
  204. msh3.Parent = prt3
  205. msh3.Scale = Vector3.new(0.4,0.3,0.4)
  206. local msh4 = Instance.new("BlockMesh")
  207. msh4.Parent = prt4
  208. msh4.Scale = Vector3.new(0.1,1,0.3)
  209. local msh5 = Instance.new("CylinderMesh")
  210. msh5.Parent = prt5
  211. msh5.Scale = Vector3.new(0.2,1,0.5)
  212. local msh6 = Instance.new("SpecialMesh")
  213. msh6.Parent = prt6
  214. msh6.MeshType = "Wedge"
  215. msh6.Scale = Vector3.new(0.1,0.7,0.3)
  216. local msh7 = Instance.new("CylinderMesh")
  217. msh7.Parent = prt7
  218. msh7.Scale = Vector3.new(0.2,0.1,0.5)
  219. local msh8 = Instance.new("CylinderMesh")
  220. msh8.Parent = prt8
  221. msh8.Scale = Vector3.new(0.2,0.1,0.5)
  222. local msh9 = Instance.new("CylinderMesh")
  223. msh9.Parent = prt9
  224. msh9.Scale = Vector3.new(0.2,0.1,0.5)
  225. local msh10 = Instance.new("CylinderMesh")
  226. msh10.Parent = prt10
  227. msh10.Scale = Vector3.new(0.2,0.1,0.5)
  228. local msh11 = Instance.new("CylinderMesh")
  229. msh11.Parent = prt11
  230. msh11.Scale = Vector3.new(0.2,0.1,0.5)
  231. local msh12 = Instance.new("BlockMesh")
  232. msh12.Parent = prt12
  233. msh12.Scale = Vector3.new(0.2,0.2,0.3)
  234. local msh13 = Instance.new("BlockMesh")
  235. msh13.Parent = prt13
  236. msh13.Scale = Vector3.new(0.1,0.5,0.3)
  237. local msh14 = Instance.new("BlockMesh")
  238. msh14.Parent = prt14
  239. msh14.Scale = Vector3.new(0.1,0.1,0.1)
  240. local msh15 = Instance.new("BlockMesh")
  241. msh15.Parent = prt15
  242. msh15.Scale = Vector3.new(0.1,0.3,0.3)
  243. local msh16 = Instance.new("SpecialMesh")
  244. msh16.Parent = prt16
  245. msh16.MeshType = "Wedge"
  246. msh16.Scale = Vector3.new(0.1,0.5,0.3)
  247.  
  248. local wld1 = Instance.new("Weld")
  249. wld1.Parent = prt1
  250. wld1.Part0 = prt1
  251. wld1.Part1 = Torso
  252. wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5)
  253. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  254. local wld2 = Instance.new("Weld")
  255. wld2.Parent = prt2
  256. wld2.Part0 = prt2
  257. wld2.Part1 = prt1
  258. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.66,0)
  259. wld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  260. local wld3 = Instance.new("Weld")
  261. wld3.Parent = prt3
  262. wld3.Part0 = prt3
  263. wld3.Part1 = prt1
  264. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.78,0)
  265. wld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  266. local wld4 = Instance.new("Weld")
  267. wld4.Parent = prt4
  268. wld4.Part0 = prt4
  269. wld4.Part1 = prt3
  270. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.35,0)
  271. wld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  272. local wld5 = Instance.new("Weld")
  273. wld5.Parent = prt5
  274. wld5.Part0 = prt5
  275. wld5.Part1 = prt3
  276. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.77,0)
  277. wld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  278. local wld6 = Instance.new("Weld")
  279. wld6.Parent = prt6
  280. wld6.Part0 = prt6
  281. wld6.Part1 = prt4
  282. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.61,0)
  283. wld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  284. local wld7 = Instance.new("Weld")
  285. wld7.Parent = prt7
  286. wld7.Part0 = prt7
  287. wld7.Part1 = Torso
  288. wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6)
  289. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  290. local wld8 = Instance.new("Weld")
  291. wld8.Parent = prt8
  292. wld8.Part0 = prt8
  293. wld8.Part1 = prt7
  294. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.12,0)
  295. wld8.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  296. local wld9 = Instance.new("Weld")
  297. wld9.Parent = prt9
  298. wld9.Part0 = prt9
  299. wld9.Part1 = prt7
  300. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.12,0)
  301. wld9.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  302. local wld10 = Instance.new("Weld")
  303. wld10.Parent = prt10
  304. wld10.Part0 = prt10
  305. wld10.Part1 = prt7
  306. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,0)
  307. wld10.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  308. local wld11 = Instance.new("Weld")
  309. wld11.Parent = prt11
  310. wld11.Part0 = prt11
  311. wld11.Part1 = prt7
  312. wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.24,0)
  313. wld11.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  314. local wld12 = Instance.new("Weld")
  315. wld12.Parent = prt12
  316. wld12.Part0 = prt12
  317. wld12.Part1 = prt7
  318. wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.4,0)
  319. wld12.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  320. local wld13 = Instance.new("Weld")
  321. wld13.Parent = prt13
  322. wld13.Part0 = prt13
  323. wld13.Part1 = prt12
  324. wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.42,0)
  325. wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  326. local wld14 = Instance.new("Weld")
  327. wld14.Parent = prt14
  328. wld14.Part0 = prt14
  329. wld14.Part1 = prt13
  330. wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.35,0.1)
  331. wld14.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  332. local wld15 = Instance.new("Weld")
  333. wld15.Parent = prt15
  334. wld15.Part0 = prt15
  335. wld15.Part1 = prt14
  336. wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,-0.1)
  337. wld15.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  338. local wld16 = Instance.new("Weld")
  339. wld16.Parent = prt16
  340. wld16.Part0 = prt16
  341. wld16.Part1 = prt15
  342. wld16.C0 = CFrame.fromEulerAnglesXYZ(3.14,0,0) * CFrame.new(0,0.48,0)
  343. wld16.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  344.  
  345. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  346. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  347. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  348. SlashSound.Parent = modelzorz
  349. SlashSound.Volume = .7
  350. SlashSound.Pitch = 1
  351. local SlashSound = Instance.new("Sound")
  352. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  353. SlashSound.Parent = modelzorz
  354. SlashSound.Volume = .5
  355. SlashSound.Pitch = 1
  356. local SlashSound = Instance.new("Sound")
  357. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  358. SlashSound.Parent = modelzorz
  359. SlashSound.Volume = .7
  360. SlashSound.Pitch = 1
  361. local SlashSound = Instance.new("Sound")
  362. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  363. SlashSound.Parent = modelzorz
  364. SlashSound.Volume = .7
  365. SlashSound.Pitch = 1
  366.  
  367. local fengui = Instance.new("GuiMain")
  368. fengui.Parent = Player.PlayerGui
  369. fengui.Name = "manaGUI"
  370. local fenframe = Instance.new("Frame")
  371. fenframe.Parent = fengui
  372. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  373. fenframe.BackgroundTransparency = 1
  374. fenframe.BorderColor3 = Color3.new(17,17,17)
  375. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  376. local fentext = Instance.new("TextLabel")
  377. fentext.Parent = fenframe
  378. fentext.Text = "Mana("..mana..")"
  379. fentext.BackgroundTransparency = 1
  380. fentext.SizeConstraint = "RelativeXY"
  381. fentext.TextXAlignment = "Center"
  382. fentext.TextYAlignment = "Center"
  383. fentext.Position = UDim2.new(0,80,1,200)
  384. local fentext2 = Instance.new("TextLabel")
  385. fentext2.Parent = fenframe
  386. fentext2.Text = " "
  387. fentext2.BackgroundTransparency = 0
  388. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  389. fentext2.SizeConstraint = "RelativeXY"
  390. fentext2.TextXAlignment = "Center"
  391. fentext2.TextYAlignment = "Center"
  392. fentext2.Position = UDim2.new(0,10,1,170)
  393. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  394. local fentext3 = Instance.new("TextLabel")
  395. fentext3.Parent = fenframe
  396. fentext3.Text = " "
  397. fentext3.BackgroundTransparency = 0
  398. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  399. fentext3.SizeConstraint = "RelativeXY"
  400. fentext3.TextXAlignment = "Center"
  401. fentext3.TextYAlignment = "Center"
  402. fentext3.Position = UDim2.new(0,10,1,170)
  403. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  404. --2.9000001, 0}, {0.450000018, 0}
  405. local gairo = Instance.new("BodyGyro")
  406. gairo.Parent = nil
  407. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  408. gairo.P = 20e+003
  409.  
  410. if (script.Parent.className ~= "HopperBin") then
  411. Tool = Instance.new("HopperBin")
  412. Tool.Parent = Backpack
  413. Tool.Name = "Katana"
  414. script.Parent = Tool
  415. end
  416. Bin = script.Parent
  417.  
  418. function hideanim()
  419. for i = 0,1,0.1 do
  420. wait()
  421. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i)
  422. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i)
  423. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  424. RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i)
  425. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14*i,0)
  426. end
  427. wld1.Part1 = Torso
  428. wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5)
  429. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  430. wld7.Part1 = Torso
  431. wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6)
  432. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  433. for i = 0,1,0.1 do
  434. wait()
  435. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,0.4-0.4*i)
  436. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i)
  437. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  438. RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+1*i)
  439. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14+3.14*i,0)
  440. end
  441. end
  442.  
  443. function equipanim()
  444. for i = 0,1,0.1 do
  445. wait()
  446. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i)
  447. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  448. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  449. RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i)
  450. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14*i,0)
  451. end
  452. wld1.Part1 = RightArm
  453. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  454. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  455. for i = 0,1,0.2 do
  456. wait()
  457. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6*i,0,0.4-0.4*i)
  458. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  459. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  460. RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+2.77*i)
  461. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14+4.14*i,0)
  462. end
  463. wait(0.2)
  464. for i = 0,1,0.1 do
  465. wait()
  466. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6+0.1*i,0,0)
  467. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i)
  468. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  469. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,1.77-1.77*i)
  470. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,7.28-7.28*i,0)
  471. end
  472. wld7.Part1 = LeftArm
  473. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  474. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  475. for i = 0,1,0.1 do
  476. wait()
  477. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i)
  478. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  479. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  480. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  481. end
  482. Torso.Neck.C0=necko
  483. end
  484.  
  485. function onehit()
  486. attack = true
  487. for i = 0,1,0.1 do
  488. wait()
  489. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  490. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  491. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i)
  492. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  493. end
  494. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  495. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  496. ss(1)
  497. for i = 0,1,0.2 do
  498. wait()
  499. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0)
  500. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  501. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  502. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  503. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2-1*i,0,1-2*i)
  504. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1,0)
  505. end
  506. con1:disconnect()
  507. con2:disconnect()
  508. attack = false
  509. end
  510.  
  511. function twohit()
  512. attack = true
  513. for i = 0,1,0.1 do
  514. wait()
  515. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5*i,0,0)
  516. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  517. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  518. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  519. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-1+1.5*i,0,1-2+1*i)
  520. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1-1*i,0)
  521. end
  522. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  523. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  524. ss(1.2)
  525. for i = 0,1,0.2 do
  526. wait()
  527. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5+0.5*i,0,0)
  528. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  529. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  530. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  531. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-1+1.5-2*i,0,0)
  532. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  533. end
  534. con1:disconnect()
  535. con2:disconnect()
  536. attack = false
  537. end
  538.  
  539. function threehit()
  540. attack = true
  541. for i = 0,1,0.1 do
  542. wait()
  543. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.3*i,0,0)
  544. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  545. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  546. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  547. RW.C0 = CFrame.new(1.5-0.5*i,0.5+0.4*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07*i,0,-1.57*i)
  548. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  549. end
  550. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  551. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  552. ss(0.9)
  553. for i = 0,1,0.2 do
  554. wait()
  555. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  556. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  557. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  558. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5+0.4-0.4*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07,0,-1.57+3.14*i)
  559. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57,0)
  560. end
  561. con1:disconnect()
  562. con2:disconnect()
  563. attack = false
  564. end
  565.  
  566. function fourhit()
  567. attack = true
  568. gairo.Parent = Head
  569. gairo.cframe = Head.CFrame
  570. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  571. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  572. ss(0.6)
  573. for i = 0,1,0.2 do
  574. wait()
  575. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4*i)
  576. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90),0,0) * CFrame.new(0,1,0)
  577. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,-0.5*i)
  578. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  579. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.2*i)
  580. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  581. end
  582. wait(0.1)
  583. con1:disconnect()
  584. con2:disconnect()
  585. attack = false
  586. end
  587.  
  588. function fivehit()
  589. attack = true
  590. for i = 0,1,0.1 do
  591. wait()
  592. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8*i)
  593. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  594. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,0,-0.5+1.5*i)
  595. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
  596. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-2.07*i,0,0.37-0.37*i)
  597. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  598. end
  599. con1=prt14.Touched:connect(function(hit) Damagefunc1(hit,15,10) end)
  600. con2=prt15.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  601. con3=prt16.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  602. ss(1.4)
  603. for i = 0,1,0.2 do
  604. wait()
  605. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8-0.4*i)
  606. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90),0,0) * CFrame.new(0,1,0)
  607. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,0,1-2.57*i)
  608. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  609. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  610. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  611. end
  612. wait(0.2)
  613. con1:disconnect()
  614. con2:disconnect()
  615. con3:disconnect()
  616. gairo.Parent = nil
  617. Torso.Neck.C0=necko
  618. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  619. attack = false
  620. end
  621.  
  622. function WindCharge()
  623. if mana >= 20 then
  624. attack = true
  625. gairo.Parent = Head
  626. gairo.cframe = Head.CFrame
  627. efect()
  628. for i = 0,1,0.1 do
  629. wait()
  630. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  631. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  632. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  633. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  634. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,1*i)
  635. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  636. end
  637. mana = mana - 0
  638. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  639. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  640. ss(1)
  641. lightning = true
  642. coroutine.resume(coroutine.create(function()
  643. Stun2(prt4,10,25,10)
  644. --Stun2(prt4,10,25,10)
  645. end))
  646. for i = 0,1,0.2 do
  647. wait()
  648. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  649. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  650. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  651. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  652. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-1.43*i,0,1-0.5*i)
  653. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  654. end
  655. wait()
  656. local vel = Instance.new("BodyVelocity")
  657. vel.Parent = Player.Character.Torso
  658. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  659. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  660. wait(0.5)
  661. vel.Parent = nil
  662. lightning = false
  663. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  664. Torso.Neck.C0=necko
  665. con1:disconnect()
  666. con2:disconnect()
  667. gairo.Parent = nil
  668. attack = false
  669. end
  670. end
  671.  
  672. function Restore()
  673. attack = true
  674. for i = 0,1,0.1 do
  675. wait()
  676. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1*i,0,0) * CFrame.new(0,1,0)
  677. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4*i,0,0)
  678. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  679. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  680. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0)
  681. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  682. end
  683. local lol = Instance.new("Part")
  684. lol.Parent = modelzorz
  685. lol.Shape = "Ball"
  686. lol.Position = Torso.Position
  687. lol.Anchored = false
  688. lol.Transparency = 0.5
  689. lol.CanCollide = false
  690. lol.Size = Vector3.new(1,1,1)
  691. lol.BrickColor = BrickColor.new("Really red")
  692. lol.CFrame = Torso.CFrame
  693. local lolmesh = Instance.new("SpecialMesh")
  694. lolmesh.Parent = lol
  695. lolmesh.Scale = Vector3.new(0.5,0.5,0.5)
  696. lolmesh.MeshType = "Sphere"
  697. local lolweld = Instance.new("Weld")
  698. lolweld.Parent = lol
  699. lolweld.Part0 = lol
  700. lolweld.Part1 = prt6
  701. wait(0)
  702. coroutine.resume(coroutine.create(function()
  703. for i = 0, 1, 0.05 do
  704. wait(0)
  705. lolmesh.Scale = lolmesh.Scale + Vector3.new(0.15,0.15,0.15)
  706. end
  707. end))
  708. while restoring == true do
  709. wait(0.15)
  710. lolweld.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  711. MMMAGIC(lol,2,2,2,0,0,0,BrickColor.new("Really red"))
  712. DifferentEffect()
  713. if mana >= 400 then
  714. mana = 400
  715. else
  716. Character.Humanoid.Health = Character.Humanoid.Health + 0.05
  717. mana = mana + 5
  718. end
  719. end
  720. for i = 0, 1, 0.05 do
  721. wait(0)
  722. lol.Transparency = lol.Transparency + 0.03
  723. lolmesh.Scale = lolmesh.Scale - Vector3.new(0.2,0.2,0.2)
  724. end
  725. for i = 0,1,0.1 do
  726. wait()
  727. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1-1*i,0,0) * CFrame.new(0,1,0)
  728. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4+0.4*i,0,0)
  729. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  730. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  731. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-2.5*i,0,0)
  732. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  733. end
  734. lol.Parent = nil
  735. attack = false
  736. end
  737.  
  738. function JetStream()
  739. if mana >= 1 then
  740. attack = true
  741. charging = true
  742. for i = 0,1,0.1 do
  743. wait()
  744. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+0.3*i,0,0) * CFrame.new(0,1,0)
  745. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,-0.5*i)
  746. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  747. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.4*i,0,0.3*i)
  748. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  749. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,-1.2*i)
  750. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  751. end
  752. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,35,20) end)
  753. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,45,20) end)
  754. local vel = Instance.new("BodyVelocity")
  755. vel.Parent = Player.Character.Torso
  756. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  757. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  758. while charging == true and mana >= 1 do
  759. wait(0)
  760. mana = mana - 0
  761. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  762. MMMAGIC(prt2,1,1,1,0,0,0,BrickColor.new("Really red"))
  763. MOREMAGIX(prt2,0,1,1,1,BrickColor.new("Really red"))
  764. end
  765. wait(0.1)
  766. con1:disconnect()
  767. con2:disconnect()
  768. vel.Parent = nil
  769. gairo.Parent = nil
  770. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  771. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  772. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  773. attack = false
  774. end
  775. end
  776.  
  777. function Stab()
  778. attack = true
  779. gairo.Parent = Head
  780. gairo.cframe = Head.CFrame
  781. ss(1.2)
  782. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,20) end)
  783. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,20) end)
  784. for i = 0,1,0.2 do
  785. wait()
  786. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  787. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3*i)
  788. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2*i,0,-0.2*i)
  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(1.57*i,0,0.5*i)
  791. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  792. end
  793. wait(0.1)
  794. con1:disconnect()
  795. con2:disconnect()
  796. for i = 0,1,0.2 do
  797. wait()
  798. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  799. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3+0.3*i)
  800. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2+0.2*i,0,-0.2+0.2*i)
  801. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  802. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,0.5-0.5*i)
  803. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  804. end
  805. gairo.Parent = nil
  806. Torso.Neck.C0=necko
  807. attack = false
  808. end
  809.  
  810. function WindKatanaWheelSpin()
  811. if mana >= 20 then
  812. attack = true
  813. for i = 0,1,0.1 do
  814. wait()
  815. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0)
  816. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0)
  817. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  818. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  819. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  820. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  821. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  822. end
  823. mana = mana - 0
  824. lightning = true
  825. coroutine.resume(coroutine.create(function()
  826. Stun2(prt6,1,1,1)
  827. end))
  828. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,30,20) end)
  829. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,40,20) end)
  830. con3=prt14.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  831. con4=prt15.Touched:connect(function(hit) Damagefunc1(hit,35,10) end)
  832. con5=prt16.Touched:connect(function(hit) Damagefunc1(hit,35,10) end)
  833. cf = Head.CFrame
  834. gairo.Parent = Head
  835. gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  836. for i = 0,1,0.03 do
  837. wait()
  838. ss(1.1)
  839. gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.8,0)
  840. end
  841. gairo.cframe = cf
  842. con1:disconnect()
  843. con2:disconnect()
  844. con3:disconnect()
  845. con4:disconnect()
  846. con5:disconnect()
  847. lightning = false
  848. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90),math.rad(90),0) * CFrame.new(0,1,0)
  849. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90),math.rad(90),0) * CFrame.new(0,1,0)
  850. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  851. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57-0.5)
  852. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  853. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57+0.5)
  854. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  855. wait(3)
  856. gairo.Parent = nil
  857. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  858. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  859. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  860. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  861. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  862. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  863. attack = false
  864. end
  865. end
  866.  
  867. function SlashShockwave()
  868. if mana >= 20 then
  869. attack = true
  870. for i = 0,1,0.1 do
  871. wait()
  872. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57*i,0,0) * CFrame.new(0,1,0)
  873. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0)
  874. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  875. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  876. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i,0,0)
  877. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  878. end
  879. wait(0.1)
  880. ss(1)
  881. mana = mana - 20
  882. local slash = Instance.new("Part")
  883. slash.Parent = modelzorz
  884. slash.Position = Torso.Position
  885. slash.Anchored = true
  886. slash.Transparency = 0.2
  887. slash.CanCollide = false
  888. slash.Size = Vector3.new(1,1,1)
  889. slash.BrickColor = BrickColor.new("Really red")
  890. slash.CFrame = Torso.CFrame * CFrame.new(1.5,-3,-4)
  891. local testbrick = Instance.new("Part")
  892. testbrick.Parent = modelzorz
  893. testbrick.Anchored = true
  894. testbrick.Transparency = 1
  895. testbrick.CFrame = Torso.CFrame * CFrame.new(1.5,0,-4)
  896. coroutine.resume(coroutine.create(function()
  897. local c = game.Workspace:GetChildren();
  898. for i = 1, #c do
  899. local hum = c[i]:findFirstChild("Humanoid")
  900. if hum ~= nil and hum.Health ~= 0 then
  901. local head = c[i]:findFirstChild("Head");
  902. if head ~= nil then
  903. local targ = head.Position - testbrick.Position;
  904. local mag = targ.magnitude;
  905. if mag <= 3 and c[i].Name ~= Player.Name then
  906. Damagefunc1(head,20,20)
  907. end
  908. end
  909. end
  910. end
  911. testbrick.Parent = nil
  912. end))
  913. local lolmesh = Instance.new("SpecialMesh")
  914. lolmesh.Parent = slash
  915. lolmesh.Scale = Vector3.new(0.6,1,0.6)
  916. lolmesh.MeshType = "Sphere"
  917. coroutine.resume(coroutine.create(function(Part,Mesh)
  918. for i = 0, 1, 0.2 do
  919. wait(0)
  920. Mesh.Scale = Mesh.Scale + Vector3.new(0,0.7,0)
  921. end
  922. wait(0.5)
  923. for i = 0,1,0.1 do
  924. wait()
  925. Part.Transparency = Part.Transparency + 0.1
  926. end
  927. Part.Parent = nil
  928. end),slash,lolmesh)
  929. coroutine.resume(coroutine.create(function()
  930. CF = -4
  931. scale = 0.6
  932. scale2 = 0.7
  933. for i = 0,10 do
  934. wait(0.1)
  935. CF = CF * 1.2
  936. scale = scale + 0.1
  937. scale2 = scale2 + 0.2
  938. ss(math.random()+math.random())
  939. local slash = Instance.new("Part")
  940. slash.Parent = modelzorz
  941. slash.Position = Torso.Position
  942. slash.Anchored = true
  943. slash.Transparency = 0.2
  944. slash.CanCollide = false
  945. slash.Size = Vector3.new(1,1,1)
  946. slash.BrickColor = BrickColor.new("Really red")
  947. slash.CFrame = Torso.CFrame * CFrame.new(1+math.random(),-3,CF)
  948. local testbrick = Instance.new("Part")
  949. testbrick.Parent = modelzorz
  950. testbrick.Anchored = true
  951. testbrick.Transparency = 1
  952. testbrick.CFrame = Torso.CFrame * CFrame.new(1+math.random(),0,CF)
  953. coroutine.resume(coroutine.create(function()
  954. local c = game.Workspace:GetChildren();
  955. for i = 1, #c do
  956. local hum = c[i]:findFirstChild("Humanoid")
  957. if hum ~= nil and hum.Health ~= 0 then
  958. local head = c[i]:findFirstChild("Head");
  959. if head ~= nil then
  960. local targ = head.Position - testbrick.Position;
  961. local mag = targ.magnitude;
  962. if mag <= 3 and c[i].Name ~= Player.Name then
  963. Damagefunc1(head,20,20)
  964. end
  965. end
  966. end
  967. end
  968. testbrick.Parent = nil
  969. end))
  970. local lolmesh = Instance.new("SpecialMesh")
  971. lolmesh.Parent = slash
  972. lolmesh.Scale = Vector3.new(scale,1,scale)
  973. lolmesh.MeshType = "Sphere"
  974. coroutine.resume(coroutine.create(function(Part,Mesh)
  975. Part.CFrame = Part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  976. for i = 0, 1, 0.2 do
  977. wait(0)
  978. Mesh.Scale = Mesh.Scale + Vector3.new(0,scale2,0)
  979. end
  980. wait(0.5)
  981. for i = 0,1,0.1 do
  982. wait()
  983. Part.Transparency = Part.Transparency + 0.1
  984. end
  985. Part.Parent = nil
  986. end),slash,lolmesh)
  987. end
  988. end))
  989. for i = 0,1,0.2 do
  990. wait()
  991. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57-1.57*i,0,0) * CFrame.new(0,1,0)
  992. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.6*i,0,0)
  993. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0)
  994. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  995. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0)
  996. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  997. end
  998. attack = false
  999. end
  1000. end
  1001.  
  1002. function efect()
  1003. local lol = Instance.new("Part")
  1004. lol.Parent = Character
  1005. lol.Shape = "Ball"
  1006. lol.Position = Torso.Position
  1007. lol.Anchored = true
  1008. lol.CanCollide = false
  1009. lol.Size = Vector3.new(1,1,1)
  1010. lol.BrickColor = BrickColor.new("Really red")
  1011. lol.Reflectance = 1
  1012. lol.CFrame = Torso.CFrame
  1013. local lolmesh = Instance.new("SpecialMesh")
  1014. lolmesh.Parent = lol
  1015. lolmesh.Scale = Vector3.new(0.5,0.5,0.5)
  1016. lolmesh.MeshType = "Sphere"
  1017. wait(0)
  1018. coroutine.resume(coroutine.create(function()
  1019. for i = 0, 1, 0.05 do
  1020. wait(0)
  1021. lolmesh.Scale = lolmesh.Scale + Vector3.new(9,9,9)
  1022. lol.Transparency = lol.Transparency + 0.20
  1023. lol.Reflectance = lol.Reflectance - 0.25
  1024. lol.CFrame = Torso.CFrame
  1025. end
  1026. lol:Remove()
  1027. end))
  1028. end
  1029.  
  1030. Stun2=function(Feh,x,y,z)
  1031. coroutine.resume(coroutine.create(function(part)
  1032. --[[ if part.Parent:FindFirstChild("Torso")==nil then
  1033. return
  1034. end]]
  1035. Torsoh2=part
  1036. End2=Torsoh2.CFrame+Vector3.new(math.random(-20,20)/10,math.random(-30,30)/10,math.random(-20,20)/10)
  1037. ST2=Torsoh2.Position
  1038. --[[ p=Instance.new("BodyPosition")
  1039. p.P=3000
  1040. p.D=100
  1041. p.maxForce=Vector3.new(math.huge,0,math.huge)
  1042. p.position=Torsoh2.Position
  1043. p.Parent=Torsoh2]]
  1044. while part.Parent ~= nil and lightning == true do
  1045. -- f1:Play()
  1046. -- p.position=ST2+Vector3.new(math.random(-50,50)/50,0,math.random(-50,50)/50)
  1047. Start2=End2
  1048. End2=Torsoh2.CFrame*CFrame.new(math.random(-x,x)/10,math.random(-y,y)/10,math.random(-z,z)/10)
  1049. e=Instance.new("Part")
  1050. e.TopSurface=0
  1051. e.BottomSurface=0
  1052. e.CanCollide=false
  1053. e.Anchored=true
  1054. e.formFactor="Symmetric"
  1055. e.Size=Vector3.new(1,1,1)
  1056. Look2=(End2.p-Start2.p).unit
  1057. m=Instance.new("BlockMesh")
  1058. m.Scale=Vector3.new(.2,.2,(Start2.p-End2.p).magnitude)
  1059. m.Parent=e
  1060. e.CFrame=CFrame.new(Start2.p+Look2*(m.Scale.z/2),Start2.p+Look2*99)
  1061. e.Reflectance=.3
  1062. e.Name="Zap"
  1063. e.BrickColor=BrickColor.new("Really red")
  1064. e.Parent=part.Parent
  1065. coroutine.resume(coroutine.create(function(PAR) for i=1, 25 do PAR.Transparency=i/25 wait() end PAR.Parent=nil end),e)
  1066. wait()
  1067. end
  1068. wait(.25)
  1069. -- p.Parent=nil
  1070. end),Feh)
  1071. end
  1072.  
  1073. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1074. local msh1 = Instance.new("BlockMesh")
  1075. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1076. S=Instance.new("Part")
  1077. S.Name="Effect"
  1078. S.formFactor=0
  1079. S.Size=Vector3.new(x1,y1,z1)
  1080. S.BrickColor=color
  1081. S.Reflectance = 0
  1082. S.TopSurface=0
  1083. S.BottomSurface=0
  1084. S.Transparency=0
  1085. S.Anchored=true
  1086. S.CanCollide=false
  1087. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1088. S.Parent=Character
  1089. msh1.Parent = S
  1090. 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)
  1091. end
  1092.  
  1093. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1094. local msh1 = Instance.new("BlockMesh")
  1095. msh1.Scale = Vector3.new(x1,y1,z1)
  1096. S=Instance.new("Part")
  1097. S.Name="Effect"
  1098. S.formFactor=0
  1099. S.Size=Vector3.new(1,1,1)
  1100. S.BrickColor=color
  1101. S.Reflectance = 0
  1102. S.TopSurface=0
  1103. S.BottomSurface=0
  1104. S.Transparency=0
  1105. S.Anchored=true
  1106. S.CanCollide=false
  1107. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1108. S.Parent=Character
  1109. msh1.Parent = S
  1110. 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)
  1111. end
  1112.  
  1113. function MOREMAGIX(part,cframe,x,y,z,color)
  1114. p2=Instance.new("Part")
  1115. p2.Name="Blast"
  1116. p2.TopSurface=0
  1117. p2.BottomSurface=0
  1118. p2.CanCollide=false
  1119. p2.Anchored=true
  1120. p2.BrickColor=color
  1121. p2.Size=Vector3.new(x,y,z)
  1122. p2.formFactor="Symmetric"
  1123. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1124. p2.Parent=workspace
  1125. m=Instance.new("BlockMesh")
  1126. m.Parent=p2
  1127. m.Name="BlastMesh"
  1128. 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))
  1129. end
  1130.  
  1131. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1132. local msh1 = Instance.new("SpecialMesh")
  1133. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1134. msh1.MeshType = "Sphere"
  1135. S=Instance.new("Part")
  1136. S.Name="Effect"
  1137. S.formFactor=0
  1138. S.Size=Vector3.new(x1,y1,z1)
  1139. S.BrickColor=color
  1140. S.Reflectance = 0
  1141. S.TopSurface=0
  1142. S.BottomSurface=0
  1143. S.Transparency=0
  1144. S.Anchored=true
  1145. S.CanCollide=false
  1146. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1147. S.Parent=Character
  1148. msh1.Parent = S
  1149. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1150. end
  1151.  
  1152. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1153. local msh1 = Instance.new("SpecialMesh")
  1154. msh1.Scale = Vector3.new(x1,y1,z1)
  1155. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1156. S=Instance.new("Part")
  1157. S.Name="Effect"
  1158. S.formFactor=0
  1159. S.Size=Vector3.new(1,1,1)
  1160. S.BrickColor=color
  1161. S.Reflectance = 0
  1162. S.TopSurface=0
  1163. S.BottomSurface=0
  1164. S.Transparency=0
  1165. S.Anchored=true
  1166. S.CanCollide=false
  1167. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1168. S.Parent=Character
  1169. msh1.Parent = S
  1170. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1171. end
  1172.  
  1173. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1174. local msh1 = Instance.new("SpecialMesh")
  1175. msh1.Scale = Vector3.new(x1,y1,z1)
  1176. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1177. S=Instance.new("Part")
  1178. S.Name="Effect"
  1179. S.formFactor=0
  1180. S.Size=Vector3.new(1,1,1)
  1181. S.BrickColor=color
  1182. S.Reflectance = 0
  1183. S.TopSurface=0
  1184. S.BottomSurface=0
  1185. S.Transparency=0
  1186. S.Anchored=true
  1187. S.CanCollide=false
  1188. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1189. S.Parent=Character
  1190. msh1.Parent = S
  1191. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1192. end
  1193.  
  1194. function DifferentEffect()
  1195. p=Instance.new("Part")
  1196. p.Name="FlameEm"
  1197. p.Shape=0
  1198. p.TopSurface=0
  1199. p.BottomSurface=0
  1200. p.BrickColor=BrickColor.new("Really red")
  1201. p.Anchored=true
  1202. p.CanCollide=false
  1203. p.Size=Vector3.new(1,1,1)
  1204. p.CFrame=CFrame.new(Character["Torso"].CFrame.p+Vector3.new(0,-3,0))+Vector3.new(math.random(-10,10)/3,0,math.random(-10,10)/3)
  1205. p.Parent=workspace
  1206. m=Instance.new("SpecialMesh")
  1207. m.MeshType="Sphere"
  1208. m.Parent=p
  1209. m.Scale=Vector3.new(1,1,1)
  1210. coroutine.resume(coroutine.create(function(p) for i=1, 9 do p.Mesh.Scale=p.Mesh.Scale+Vector3.new(0,1.5,0) p.Transparency=p.Transparency+1/9 wait(0) end p.Parent=nil end),p)
  1211. end
  1212.  
  1213. function ss(pitch)
  1214.  
  1215. local SlashSound = Instance.new("Sound")
  1216. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1217. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  1218. SlashSound.Parent = workspace
  1219. SlashSound.Volume = .7
  1220. SlashSound.Pitch = pitch
  1221. SlashSound.PlayOnRemove = true
  1222. coroutine.resume(coroutine.create(function()
  1223. wait(0)
  1224. SlashSound.Parent = nil
  1225. end))
  1226. end
  1227. function magicsound(pitch)
  1228.  
  1229. local SlashSound = Instance.new("Sound")
  1230. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1231. SlashSound.Parent = workspace
  1232. SlashSound.Volume = .5
  1233. SlashSound.Pitch = pitch
  1234. SlashSound.PlayOnRemove = true
  1235. coroutine.resume(coroutine.create(function()
  1236. wait(0)
  1237. SlashSound.Parent = nil
  1238. end))
  1239. end
  1240. function critsound(pitch)
  1241.  
  1242. local SlashSound = Instance.new("Sound")
  1243. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1244. SlashSound.Parent = workspace
  1245. SlashSound.Volume = .7
  1246. SlashSound.Pitch = pitch
  1247. SlashSound.PlayOnRemove = true
  1248. coroutine.resume(coroutine.create(function()
  1249. wait(0)
  1250. SlashSound.Parent = nil
  1251. end))
  1252. end
  1253. function spikesound(pitch)
  1254.  
  1255. local SlashSound = Instance.new("Sound")
  1256. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1257. SlashSound.Parent = workspace
  1258. SlashSound.Volume = .7
  1259. SlashSound.Pitch = pitch
  1260. SlashSound.PlayOnRemove = true
  1261. coroutine.resume(coroutine.create(function()
  1262. wait(0)
  1263. SlashSound.Parent = nil
  1264. end))
  1265. end
  1266.  
  1267. Damagefunc1=function(hit,Damage,Knockback)
  1268. if attackdebounce == false then
  1269. attackdebounce = true
  1270. coroutine.resume(coroutine.create(function()
  1271. wait(0.1)
  1272. attackdebounce = false
  1273. end))
  1274. if hit.Parent==nil then
  1275. return
  1276. end
  1277. CPlayer=Bin
  1278. h=hit.Parent:FindFirstChild("Humanoid")
  1279. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1280. if mana < 400 then
  1281. mana = mana + math.random(5,15)
  1282. end
  1283. if mana > 400 then
  1284. mana = 400
  1285. end
  1286. Damage=Damage
  1287. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1288. return
  1289. end]]
  1290. c=Instance.new("ObjectValue")
  1291. c.Name="creator"
  1292. c.Value=game.Players.LocalPlayer
  1293. c.Parent=h
  1294. game:GetService("Debris"):AddItem(c,.5)
  1295. -- print(c.Value)
  1296. if math.random(0,99)+math.random()<=10 then
  1297. CRIT=true
  1298. Damage=Damage*1.5
  1299. --[[ Knockback=Knockback*2
  1300. r=Instance.new("BodyAngularVelocity")
  1301. r.P=3000
  1302. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1303. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1304. r.Parent=hit.Parent.Torso]]
  1305. critsound(2)
  1306.  
  1307. end
  1308. Damage=Damage+math.random(0,10)
  1309. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1310. h:TakeDamage(Damage)
  1311. showDamage(hit.Parent,Damage,.5)
  1312. vp=Instance.new("BodyVelocity")
  1313. vp.P=500
  1314. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1315. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1316. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1317. if Knockback>0 then
  1318. vp.Parent=hit.Parent.Torso
  1319. end
  1320. game:GetService("Debris"):AddItem(vp,.25)
  1321. --[[ r=Instance.new("BodyAngularVelocity")
  1322. r.P=3000
  1323. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1324. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1325. r.Parent=hit.Parent.Torso]]
  1326. game:GetService("Debris"):AddItem(r,.5)
  1327. c=Instance.new("ObjectValue")
  1328. c.Name="creator"
  1329. c.Value=Player
  1330. c.Parent=h
  1331. game:GetService("Debris"):AddItem(c,.5)
  1332. CRIT=false
  1333. hitDeb=true
  1334. AttackPos=6
  1335. end
  1336. end
  1337. end
  1338.  
  1339. showDamage=function(Char,Dealt,du)
  1340. m=Instance.new("Model")
  1341. m.Name=tostring(Dealt)
  1342. h=Instance.new("Humanoid")
  1343. h.Health=0
  1344. h.MaxHealth=0
  1345. h.Parent=m
  1346. c=Instance.new("Part")
  1347. c.Transparency=0
  1348. c.BrickColor=BrickColor:Red()
  1349. if CRIT==true then
  1350. c.BrickColor=BrickColor.new("Really red")
  1351. end
  1352. c.Name="Head"
  1353. c.TopSurface=0
  1354. c.BottomSurface=0
  1355. c.formFactor="Plate"
  1356. c.Size=Vector3.new(1,.4,1)
  1357. ms=Instance.new("CylinderMesh")
  1358. ms.Bevel=.1
  1359. ms.Scale=Vector3.new(.8,.8,.8)
  1360. if CRIT==true then
  1361. ms.Scale=Vector3.new(1.25,1.5,1.25)
  1362. ms.Bevel=.2
  1363. end
  1364. ms.Parent=c
  1365. c.Reflectance=0
  1366. Instance.new("BodyGyro").Parent=c
  1367. c.Parent=m
  1368. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1369. f=Instance.new("BodyPosition")
  1370. f.P=2000
  1371. f.D=100
  1372. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1373. f.position=c.Position+Vector3.new(0,3,0)
  1374. f.Parent=c
  1375. game:GetService("Debris"):AddItem(m,.5+du)
  1376. c.CanCollide=false
  1377. m.Parent=workspace
  1378. c.CanCollide=false
  1379. end
  1380.  
  1381.  
  1382. hold = false
  1383.  
  1384. function ob1d(mouse)
  1385. if attack == true then return end
  1386. hold = true
  1387. if combo == 0 then
  1388. combo = 1
  1389. onehit()
  1390. coroutine.resume(coroutine.create(function()
  1391. wait(0.5)
  1392. if attack == false then
  1393. combo = 0
  1394. gairo.Parent = nil
  1395. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1396. Torso.Neck.C0=necko
  1397. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1398. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1399. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1400. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1401. end
  1402. end))
  1403. elseif combo == 1 then
  1404. combo = 2
  1405. twohit()
  1406. coroutine.resume(coroutine.create(function()
  1407. wait(0.5)
  1408. if attack == false then
  1409. combo = 0
  1410. gairo.Parent = nil
  1411. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1412. Torso.Neck.C0=necko
  1413. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1414. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1415. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1416. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1417. end
  1418. end))
  1419. elseif combo == 2 then
  1420. combo = 3
  1421. threehit()
  1422. coroutine.resume(coroutine.create(function()
  1423. wait(0.5)
  1424. if attack == false then
  1425. combo = 0
  1426. gairo.Parent = nil
  1427. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1428. Torso.Neck.C0=necko
  1429. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1430. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1431. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1432. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1433. end
  1434. end))
  1435. elseif combo == 3 then
  1436. combo = 4
  1437. fourhit()
  1438. coroutine.resume(coroutine.create(function()
  1439. wait(0.5)
  1440. if attack == false then
  1441. combo = 0
  1442. gairo.Parent = nil
  1443. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1444. Torso.Neck.C0=necko
  1445. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1446. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1447. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1448. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1449. end
  1450. end))
  1451. elseif combo == 4 then
  1452. combo = 5
  1453. fivehit()
  1454. combo = 0
  1455. coroutine.resume(coroutine.create(function()
  1456. wait(0.5)
  1457. if attack == false then
  1458. combo = 0
  1459. gairo.Parent = nil
  1460. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1461. Torso.Neck.C0=necko
  1462. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1463. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1464. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1465. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1466. end
  1467. end))
  1468. end
  1469. --[[onehit()
  1470. twohit()
  1471. threehit()
  1472. fourhit()
  1473. fivehit() ]]
  1474. end
  1475.  
  1476. function ob1u(mouse)
  1477. hold = false
  1478. end
  1479.  
  1480. buttonhold = false
  1481.  
  1482. function key(key)
  1483. if attack == true then return end
  1484. if key == "f" then
  1485. WindCharge()
  1486. end
  1487. if key == "g" then
  1488. restoring = true
  1489. Restore()
  1490. end
  1491. if key == "z" then
  1492. JetStream()
  1493. end
  1494. if key == "x" then
  1495. Stab()
  1496. end
  1497. if key == "r" then
  1498. WindKatanaWheelSpin()
  1499. end
  1500. if key == "t" then
  1501. SlashShockwave()
  1502. end
  1503. end
  1504.  
  1505. function key2(key)
  1506. if key == "g"then
  1507. restoring = false
  1508. end
  1509. if key == "z" then
  1510. charging = false
  1511. end
  1512. end
  1513.  
  1514. function s(mouse)
  1515. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1516. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1517. mouse.KeyDown:connect(key)
  1518. mouse.KeyUp:connect(key2)
  1519. player = Player
  1520. ch = Character
  1521. RSH = ch.Torso["Right Shoulder"]
  1522. LSH = ch.Torso["Left Shoulder"]
  1523. --
  1524. RW.Part0 = ch.Torso
  1525. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1526. RW.C1 = CFrame.new(0, 0.5, 0)
  1527. RW.Part1 = ch["Right Arm"]
  1528. RW.Parent = ch.Torso
  1529. --_G.R = RW
  1530. --
  1531. LW.Part0 = ch.Torso
  1532. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1533. LW.C1 = CFrame.new(0, 0.5, 0)
  1534. LW.Part1 = ch["Left Arm"]
  1535. LW.Parent = ch.Torso
  1536. --_G.L = LW
  1537. --
  1538. equipanim()
  1539. end
  1540.  
  1541. function ds(mouse)
  1542. hideanim()
  1543. RW.Parent = nil
  1544. LW.Parent = nil
  1545. RSH.Parent = player.Character.Torso
  1546. LSH.Parent = player.Character.Torso
  1547. end
  1548.  
  1549. Bin.Selected:connect(s)
  1550. Bin.Deselected:connect(ds)
  1551.  
  1552. function onRunning(speed)
  1553. if attack == true then return end
  1554. if speed>0 then
  1555. walking = true
  1556. for i = 0,1,0.1 do
  1557. wait()
  1558. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1559. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1560. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1561. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1562. end
  1563. else
  1564. walking = false
  1565. for i = 0,1,0.1 do
  1566. wait()
  1567. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1568. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1569. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1570. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1571. end
  1572.  
  1573. end
  1574. end
  1575. Character.Humanoid.Running:connect(onRunning)
  1576.  
  1577. while true do
  1578. wait(0)
  1579. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  1580. fentext.Text = "Mana("..mana..")"
  1581. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  1582. end
  1583.  
  1584. -- lego This acts as a chat filter. Don't ask why I do it. I just do >.>
  1585. --[[
  1586. Copyrighted (C) Fenrier/DrFlame 2011
  1587. This script is copyrighted for Fenrier. Any use of this script is breaking
  1588. this copyright.
  1589. All Rights Reserved.
  1590. ]]
Add Comment
Please, Sign In to add comment