Advertisement
brandonflex123

Untitled

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