Advertisement
yaay

Untitled

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