Notepad95

ROBLOX Flamega

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