Advertisement
NextFlamePB

ROBLOX Scython's Blades Script ( with note inside)

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