simplistic27

Flamega

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