Advertisement
mathmasterphil

Epic

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