Advertisement
Axeuer

Untitled

Mar 24th, 2018 (edited)
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.87 KB | None | 0 0
  1. local name = "Asczend"
  2.  
  3. local me = game.Players.Asczend
  4. local char = me.Character
  5. selected = false
  6. attacking = false
  7. attack = false
  8. dela = 0.4
  9. normdmg = 9
  10. avgdmg = normdmg
  11. normal = 14
  12. speed = 14
  13. normchance = 9
  14. criticalchance = normchance
  15. splashdist = 14
  16. plat = 1
  17. healcols = {"Bright blue", "Light blue", "Medium blue", "White"}
  18.  
  19.  
  20. if char:findFirstChild("Sword",true) ~= nil then
  21. char:findFirstChild("Sword",true).Parent = nil
  22. end
  23.  
  24. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  25. part.Parent = parent
  26. part.formFactor = form
  27. part.CanCollide = collide
  28. part.Transparency = tran
  29. part.Reflectance = ref
  30. part.Size = Vector3.new(x,y,z)
  31. part.BrickColor = BrickColor.new(color)
  32. part.TopSurface = 0
  33. part.BottomSurface = 0
  34. part.Anchored = anchor
  35. part.Locked = true
  36. part:BreakJoints()
  37. end
  38.  
  39. function weld(w, p, p1, a, b, c, x, y, z)
  40. w.Parent = p
  41. w.Part0 = p
  42. w.Part1 = p1
  43. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  44. end
  45.  
  46. function mesh(mesh, parent, x, y, z, type)
  47. mesh.Parent = parent
  48. mesh.Scale = Vector3.new(x, y, z)
  49. mesh.MeshType = type
  50. end
  51.  
  52. function getcharparts(path)
  53. local objs = {}
  54. for _,v in pairs(path:children()) do
  55. if v:IsA("Model") and v.Name ~= name then
  56. for _,k in pairs(v:children()) do
  57. if k.Name == "Torso" then
  58. table.insert(objs,k)
  59. end
  60. end
  61. end
  62. end
  63. return objs
  64. end
  65.  
  66. sword = Instance.new("Model",me.Character)
  67. sword.Name = "Sword"
  68.  
  69. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  70.  
  71. rarm = char:findFirstChild("Right Arm")
  72. larm = char:findFirstChild("Left Arm")
  73. torso = char:findFirstChild("Torso")
  74. hum = char:findFirstChild("Humanoid")
  75.  
  76. main = Instance.new("Part")
  77. prop(main, sword, false, 0, 0, 0.38, 2.2, 0.38, "White", false, "Custom")
  78. mme = Instance.new("SpecialMesh")
  79. mesh(mme,main,1,1,1,"Head")
  80.  
  81. part1 = Instance.new("Part")
  82. prop(part1, sword, false, 0, 0, 0.7, 0.45, 0.4, "Medium blue", false, "Custom")
  83. p1m = Instance.new("BlockMesh",part1)
  84. w1 = Instance.new("Weld")
  85. weld(w1, main, part1, 0, 0, 0, 0, 0.9, 0)
  86.  
  87. part2 = Instance.new("Part")
  88. prop(part2, sword, false, 0, 0, 0.7, 0.45, 0.4, "Medium blue", false, "Custom")
  89. p2m = Instance.new("BlockMesh",part2)
  90. w2 = Instance.new("Weld")
  91. weld(w2, main, part2, 0, 0, 0.8, 0.5, 0.85, 0)
  92.  
  93. part3 = Instance.new("Part")
  94. prop(part3, sword, false, 0, 0, 0.7, 0.45, 0.4, "Medium blue", false, "Custom")
  95. p3m = Instance.new("BlockMesh",part3)
  96. w3 = Instance.new("Weld")
  97. weld(w3, main, part3, 0, 0, -0.8, -0.5, 0.85, 0)
  98.  
  99. part4 = Instance.new("Part")
  100. prop(part4, sword, false, 0, 0, 1.3, 0.45, 0.4, "Medium blue", false, "Custom")
  101. p4m = Instance.new("BlockMesh",part4)
  102. w4 = Instance.new("Weld")
  103. weld(w4, main, part4, 0, 0, -1.25, 0.8, 1, 0)
  104.  
  105. part5 = Instance.new("Part")
  106. prop(part5, sword, false, 0, 0, 1.3, 0.45, 0.4, "Medium blue", false, "Custom")
  107. p5m = Instance.new("BlockMesh",part5)
  108. w5 = Instance.new("Weld")
  109. weld(w5, main, part5, 0, 0, 1.25, -0.8, 1, 0)
  110.  
  111. part6 = Instance.new("Part")
  112. prop(part6, sword, false, 0, 0, 0.45, 0.6, 0.45, "Light blue", false, "Custom")
  113. p6m = Instance.new("SpecialMesh")
  114. mesh(p6m,part6,1.3,1.2,1.3,"Sphere")
  115. w6 = Instance.new("Weld")
  116. weld(w6, main, part6, 0, 0, 0, 0, -0.9, 0)
  117.  
  118. blade1 = Instance.new("Part")
  119. prop(blade1, sword, false, 0, 0.2, 0.85, 2, 0.1, "Light blue", false, "Custom")
  120. b1m = Instance.new("SpecialMesh")
  121. mesh(b1m,blade1,1,1,1,"Torso")
  122. bw1 = Instance.new("Weld")
  123. weld(bw1, main, blade1, 0, 0, 0, 0, 2, 0)
  124.  
  125. uns = Instance.new("Sound",blade1)
  126. uns.Volume = 1
  127. uns.Pitch = 1
  128. uns.SoundId = "rbxasset://sounds\\unsheath.wav"
  129.  
  130. slash = Instance.new("Sound",blade1)
  131. slash.Volume = 1
  132. slash.Pitch = 1
  133. slash.SoundId = "rbxasset://sounds\\swordslash.wav"
  134.  
  135. shea = Instance.new("Sound",blade1)
  136. shea.Volume = 1
  137. shea.Pitch = -0.9
  138. shea.SoundId = "rbxasset://sounds\\unsheath.wav"
  139.  
  140. spi = Instance.new("Sound",blade1)
  141. spi.Volume = 1
  142. spi.Pitch = 1
  143. spi.SoundId = "http://www.roblox.com/asset/?id=28144268"
  144.  
  145. charge = Instance.new("Sound",blade1)
  146. charge.Volume = 1
  147. charge.Pitch = 0.5
  148. charge.SoundId = "http://www.roblox.com/asset/?id=2692844"
  149.  
  150. boom = Instance.new("Sound",blade1)
  151. boom.Volume = 1
  152. boom.Pitch = 2.2
  153. boom.SoundId = "rbxasset://sounds\\Rocket shot.wav"
  154.  
  155. tup1 = Instance.new("Part")
  156. prop(tup1, sword, false, 0, 0.4, 1.2, 0.7, 0.4, "Bright blue", false, "Custom")
  157. tw1 = Instance.new("Weld")
  158. weld(tw1, torso, tup1, -0.3+(math.pi/2), -0.3, 0.2+(math.pi/2), 1.1, 1.2, 0)
  159. holdpart = Instance.new("Part")
  160. prop(holdpart, char, false, 1, 0, 0.5, 0.5, 0.5, "White", false, "Custom")
  161. hu = Instance.new("Weld")
  162. weld(hu, rarm, holdpart, 0, 0, 0, 0, 1, 0)
  163.  
  164. holdweld = Instance.new("Weld")
  165. weld(holdweld, main, tup1, 0, 0, 0, 0, 1.5, 0)
  166.  
  167. weaponweld = Instance.new("Weld")
  168. weld(weaponweld, holdpart, nil, -(math.pi/2), 0, (math.pi/2), 0, 0, 0)
  169.  
  170. --Arm connections----------Arm connections----------Arm connections----------Arm connections--------
  171.  
  172. rb = Instance.new("Part")
  173. prop(rb, char, false, 1, 0, 1, 1, 1, "White", false, "Symmetric")
  174. rh = Instance.new("Weld")
  175. weld(rh, rb, torso, 0, 0, 0, 1.5, 0.5, 0)
  176.  
  177. lb = Instance.new("Part")
  178. prop(lb, char, false, 1, 0, 1, 1, 1, "White", false, "Symmetric")
  179. lh = Instance.new("Weld")
  180. weld(lh, lb, torso, 0, 0, 0, -1.5, 0.5, 0)
  181.  
  182. rw = Instance.new("Weld")
  183. weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
  184. lw = Instance.new("Weld")
  185. weld(lw, lb, nil, 0, 0, 0, 0, 0.5 ,0)
  186. neck = torso.Neck
  187. neor = neck.C1
  188.  
  189. rightfight = CFrame.fromEulerAnglesXYZ(0.85,0.7,0) * CFrame.new(-0.23,-0.25,-0.1)
  190. leftfight = CFrame.fromEulerAnglesXYZ(0.3,0,0.4) * CFrame.new(0.2,-0.4,0.1)
  191.  
  192. function selectmotion()
  193. weaponweld.C0 = CFrame.new(0,0,0)
  194. rw.C0 = CFrame.new(0,0,0)
  195. lw.C0 = CFrame.new(0,0,0)
  196. rw.Part1 = rarm
  197. lw.Part1 = larm
  198. for i=1, 15 do
  199. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.04,0,-0.07) * CFrame.new(0,0,0)
  200. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.07,0.16,0.04) * CFrame.new(-0.01,-0.05,-0.04)
  201. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.04,0.08,0.01) * CFrame.new(0,0,0)
  202. wait()
  203. end
  204. weaponweld.Part1 = main
  205. holdweld.Part1 = nil
  206. wait(0.14)
  207. uns:play()
  208. for i=1, 4 do
  209. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.03) * CFrame.new(0,0,0)
  210. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.12,-0.03,0.26)
  211. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0.04,0.03) * CFrame.new(0,0,0)
  212. wait()
  213. end
  214. for i=1, 10 do
  215. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0.15) * CFrame.new(0,0,0)
  216. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.15,-0.22,0.1) * CFrame.new(0.05,0.1,0.05)
  217. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.1,0,0) * CFrame.new(0,0.07,0)
  218. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0.06,0.03) * CFrame.new(0,0,0)
  219. wait()
  220. end
  221. wait(0.1)
  222. for i=1, 6 do
  223. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,-0.04,-0.09) * CFrame.new(0,0,0)
  224. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0.18,-0.14) * CFrame.new(-0.08,0.05,0.05)
  225. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.2,0,0) * CFrame.new(0,0,0)
  226. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0,0,-0.12) * CFrame.new(0,-0.04,0)
  227. wait()
  228. end
  229. rw.C0 = rightfight
  230. lw.C0 = leftfight
  231. neck.C1 = neor
  232. weaponweld.C0 = CFrame.new(0,0,0)
  233. selected = true
  234. end
  235.  
  236. function deselmotion()
  237. for i=1, 12 do
  238. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.04,0,-0.07) * CFrame.new(0,0,0)
  239. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.07,0.16,0.04) * CFrame.new(0.02,-0.05,-0.04)
  240. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.05) * CFrame.new(-0.02,0.03,0)
  241. wait()
  242. end
  243. shea:play()
  244. weaponweld.Part1 = nil
  245. holdweld.Part1 = tup1
  246. wait(0.1)
  247. for i=1, 8 do
  248. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.09) * CFrame.new(0,0,0)
  249. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.12,0,-0.12) * CFrame.new(-0.07,0.11,0)
  250. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.05,0,0.04) * CFrame.new(0,0,0)
  251. wait()
  252. end
  253. rw.Part1 = nil
  254. lw.Part1 = nil
  255. rw.C0 = CFrame.new(0,0,0)
  256. lw.C0 = CFrame.new(0,0,0)
  257. neck.C1 = neor
  258. weaponweld.C0 = CFrame.new(0,0,0)
  259. selected = false
  260. end
  261.  
  262. ----Effects--------------------------Effects--------------------------Effects--------------------------Effects----------------------
  263.  
  264. function fade(brick,mesh,scale,tran,speed)
  265. coroutine.resume(coroutine.create(function()
  266. for i=tran,1,speed do
  267. wait()
  268. brick.Transparency = i
  269. mesh.Scale = mesh.Scale - Vector3.new(scale,scale,scale)
  270. end
  271. brick:remove()
  272. end))
  273. end
  274.  
  275. function block(part,avg,cols)
  276. for i=1, math.random(1,3) do
  277. local s = (avg*1.4)*100
  278. local s2 = (avg/5)*100
  279. local size = math.random(s2,s)/100
  280. local p = Instance.new("Part",me.Character)
  281. prop(p,me.Character,false,math.random(15,50)/100,0,size,size,size,cols[math.random(1,#cols)],true,"Custom")
  282. p.CFrame = CFrame.new(part.Position) * CFrame.Angles(math.random(-320,320)/100,math.random(-320,320)/100,math.random(-320,320)/100)
  283. coroutine.resume(coroutine.create(function()
  284. for i=p.Transparency, 1, 0.2 do
  285. wait(0.15)
  286. p.Transparency = i
  287. local cf = p.CFrame
  288. p.Size = Vector3.new(size,size,size)
  289. p.CFrame = cf * CFrame.Angles(math.random(-320,320)/100,math.random(-320,320)/100,math.random(-320,320)/100)
  290. size = size - 0.2
  291. end
  292. p:remove()
  293. end))
  294. end
  295. end
  296.  
  297. function blocks(part,avg,cols)
  298. for i=1, math.random(1,3) do
  299. local s = (avg*1.4)*100
  300. local s2 = (avg/5)*100
  301. local size = math.random(s2,s)/100
  302. local p = Instance.new("Part",me.Character)
  303. local pos = p.CFrame
  304. local pos2 = pos * CFrame.new(0,12,-15)
  305. local pos3 = pos2 * CFrame.new(0,-12,-12)
  306. local bv = Instance.new("BodyPosition",p)
  307. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  308. bv.position = pos2.p
  309. local bg = Instance.new("BodyGyro",p)
  310. bg.cframe = CFrame.new(pos.p,pos3.p)
  311. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  312. bg.P = 30000
  313. prop(p,me.Character,false,math.random(15,50)/100,0,size,size,size,cols[math.random(1,#cols)],true,"Custom")
  314. p.CFrame = CFrame.new(part.Position) * CFrame.Angles(math.random(-320,320)/100,math.random(-320,320)/100,math.random(-320,320)/100)
  315. coroutine.resume(coroutine.create(function()
  316. for i=p.Transparency, 1, 0.2 do
  317. wait(0.15)
  318. p.Transparency = i
  319. local cf = p.CFrame
  320. p.Size = Vector3.new(size,size,size)
  321. p.CFrame = cf * CFrame.Angles(math.random(-320,320)/100,math.random(-320,320)/100,math.random(-320,320)/100)
  322. size = size - 0.2
  323. end
  324. p:remove()
  325. end))
  326. end
  327. end
  328.  
  329. function blading(part,color)
  330. local p = Instance.new("Part",me.Character)
  331. prop(p,me.Character,false,0.4,0,0.2,1.4,3.8,color,true,"Custom")
  332. p.CFrame = part.CFrame
  333. coroutine.resume(coroutine.create(function()
  334. for i=p.Transparency, 1, 0.04 do
  335. wait()
  336. p.Transparency = i
  337. end
  338. p:remove()
  339. end))
  340. end
  341.  
  342. function spikes(part,color)
  343. local p = Instance.new("Part",me.Character)
  344. prop(p,me.Character,false,0.4,0,0.2,0.2,0.2,color,true,"Custom")
  345. p.CFrame = part.CFrame * CFrame.new(0,-3,0)
  346. local mww = Instance.new("SpecialMesh")
  347. mesh(mww,p,6,5,6,"FileMesh")
  348. mww.MeshId = "http://www.roblox.com/asset/?id=20329976"
  349. fade(p,mww,0.55,p.Transparency,0.08)
  350. end
  351.  
  352. function spikes2(part,color)
  353. local p = Instance.new("Part",me.Character)
  354. prop(p,me.Character,false,0.4,0,0.2,0.2,0.2,color,true,"Custom")
  355. p.CFrame = part.CFrame * CFrame.new(0,0,6) * CFrame.Angles(math.pi/2,0,0)
  356. local mww = Instance.new("SpecialMesh")
  357. mesh(mww,p,8,7,8,"FileMesh")
  358. mww.MeshId = "http://www.roblox.com/asset/?id=20329976"
  359. fade(p,mww,0.55,p.Transparency,0.06)
  360. end
  361.  
  362. function ball(part,color,dist)
  363. local p = Instance.new("Part",me.Character)
  364. prop(p,me.Character,false,0.4,0,1,1,1,color,true,"Custom")
  365. p.CFrame = part.CFrame
  366. local mww = Instance.new("SpecialMesh")
  367. mesh(mww,p,dist,dist,dist,"Sphere")
  368. fade(p,mww,3,p.Transparency,0.06)
  369. end
  370.  
  371.  
  372. --Kill function----------------------Kill function----------------------Kill function--------------------
  373. function blast(dmg,part,crit)
  374. local randomposx = math.random(-30,30)
  375. local randomposy = math.random(-50,-10)
  376. local bil = Instance.new("BillboardGui",part)
  377. bil.Adornee = bil.Parent
  378. bil.Size = UDim2.new(0,110,0,70)
  379.  
  380. local img = Instance.new("ImageLabel",bil)
  381. img.Size = UDim2.new(1,0,1,0)
  382. img.Image = "http://www.roblox.com/asset/?id=42621332"
  383. img.Position = UDim2.new(0,randomposx,0,randomposy)
  384. img.BackgroundTransparency = 1
  385. local txt = Instance.new("TextLabel",img)
  386. txt.Size = UDim2.new(1,0,1,0)
  387. txt.BackgroundTransparency = 1
  388. txt.Text = dmg
  389. txt.TextColor3 = Color3.new(0,0,0)
  390. txt.FontSize = "Size18"
  391. if crit then
  392. img.Image = "http://www.roblox.com/asset/?id=42621315"
  393. txt.FontSize = "Size24"
  394. txt.TextColor3 = Color3.new(0.6,0,0)
  395. end
  396. coroutine.resume(coroutine.create(function()
  397. wait(0.2)
  398. for i=1, math.random(30,50) do
  399. img.Position = UDim2.new(0,randomposx,0,randomposy)
  400. randomposy = randomposy - 4
  401. wait()
  402. end
  403. bil:remove()
  404. end))
  405. end
  406.  
  407. deb = true
  408. function kill(hit,mod)
  409. if deb and attack and hit.Parent.Name ~= name then
  410. local ch = hit.Parent
  411. if ch:findFirstChild("Humanoid") and ch:findFirstChild("Head") and ch:findFirstChild("Torso") then
  412. deb = false
  413. local dm = math.random(0,avgdmg*2)
  414. local cri = false
  415. local cripro = math.random(1,criticalchance)
  416. if cripro == 1 then
  417. cri = true
  418. dm = math.random(avgdmg*1.5,avgdmg*4.5)
  419. end
  420. ch["Humanoid"].Health = ch["Humanoid"].Health - dm
  421. blast(dm,ch.Head,cri)
  422. if cri then
  423. coroutine.resume(coroutine.create(function()
  424. local lol = math.random(1,plat)
  425. if lol == 1 then
  426. ch["Humanoid"].PlatformStand = true
  427. ch.Torso.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  428. wait(0.9)
  429. ch["Humanoid"].PlatformStand = false
  430. if mod == true then
  431. ch.Torso.RotVelocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  432. ch.Torso.Velocity = Vector3.new(math.random(-30,30),math.random(15,70),math.random(-30,30))
  433. end
  434. end
  435. end))
  436. end
  437. wait(dela)
  438. deb = true
  439. end
  440. end
  441. end
  442.  
  443. function ris(hit,mod)
  444. if deb and attack and hit.Parent.Name ~= name then
  445. local ch = hit.Parent
  446. if ch:findFirstChild("Humanoid") and ch:findFirstChild("Head") and ch:findFirstChild("Torso") then
  447. deb = false
  448. local dm = math.random(0,avgdmg*2)
  449. local cri = false
  450. local cripro = math.random(1,criticalchance)
  451. if cripro == 1 then
  452. cri = true
  453. dm = math.random(avgdmg*1.5,avgdmg*4.5)
  454. end
  455. ch["Humanoid"].Health = ch["Humanoid"].Health - dm
  456. blast(dm,ch.Head,cri)
  457. if cri then
  458. coroutine.resume(coroutine.create(function()
  459. local lol = math.random(1,plat)
  460. if lol == 1 then
  461. ch["Humanoid"].PlatformStand = true
  462. ch.Torso.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  463. wait(0.9)
  464. ch["Humanoid"].PlatformStand = false
  465. if mod == true then
  466. ch.Torso.RotVelocity = Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))
  467. ch.Torso.Velocity = Vector3.new(math.random(-100,100),math.random(105,170),math.random(-100,100))
  468. end
  469. end
  470. end))
  471. end
  472. wait(dela)
  473. deb = true
  474. end
  475. end
  476. end
  477.  
  478. blade1.Touched:connect(kill)
  479. blade1.Touched:connect(ris)
  480.  
  481. ----Attacks----------------------Attacks----------------------Attacks----------------------Attacks------------------
  482.  
  483. -- block(blade5,2,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  484. -- blading(blade2,"Bright red")
  485.  
  486. function att()
  487. attacking = true
  488. for i=1,8 do
  489. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.32,-0.06,0) * CFrame.new(0,0,0)
  490. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.1,0,0) * CFrame.new(0,0,0)
  491. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.03)
  492. wait()
  493. end
  494. slash:play()
  495. wait(0.13)
  496. attack = true
  497. for i=1,6 do
  498. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.44,0.08,0) * CFrame.new(0,0,0)
  499. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0,0) * CFrame.new(0,0,0)
  500. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.14,0,0)
  501. block(blade5,2,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  502. wait()
  503. end
  504. attack = false
  505. wait(0.08)
  506. for i=1,3 do
  507. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.08)
  508. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.23,0,0)
  509. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.1,0,-0.05)
  510. wait()
  511. end
  512. rw.C0 = rightfight
  513. lw.C0 = leftfight
  514. neck.C1 = neor
  515. weaponweld.C0 = CFrame.new(0,0,0)
  516. attacking = false
  517. end
  518.  
  519. function stab()
  520. attacking = true
  521. for i=1,8 do
  522. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.32,-0.06,0) * CFrame.new(0,0,0)
  523. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.1,0,0) * CFrame.new(0,0,0)
  524. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.03)
  525. wait()
  526. end
  527. slash:play()
  528. avgdmg = 15
  529. criticalchance = 95
  530. wait(0.13)
  531. attack = true
  532. for i=1,6 do
  533. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,-0.44,-0.8) * CFrame.new(0,0,0)
  534. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0,0) * CFrame.new(0,0,0)
  535. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.14,0,0)
  536. block(blade5,2,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  537. ball(blade5,"Tr. Blue",25)
  538. wait()
  539. end
  540. attack = false
  541. wait(0.08)
  542. for i=1,3 do
  543. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.08)
  544. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.23,0,0)
  545. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.1,0,-0.05)
  546. blocks(blade5,2,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  547. ball(blade5,"Tr. Blue",25)
  548. wait()
  549. end
  550. rw.C0 = rightfight
  551. lw.C0 = leftfight
  552. neck.C1 = neor
  553. weaponweld.C0 = CFrame.new(0,0,0)
  554. attacking = false
  555. end
  556.  
  557. function attas()
  558. attacking = true
  559. local pos = torso.CFrame
  560. local pos2 = pos * CFrame.new(0,12,-15)
  561. local pos3 = pos2 * CFrame.new(0,-12,-12)
  562. for i=1,6 do
  563. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.32,-0.06,0) * CFrame.new(0,0,0)
  564. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.1,0,0) * CFrame.new(0,0,0)
  565. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.03)
  566. spikes(torso,"Light blue")
  567. spikes2(torso,"Bright blue")
  568. ball(torso,"Tr. Blue",25)
  569. wait()
  570. end
  571. slash:play()
  572. avgdmg = 15
  573. criticalchance = 65
  574. wait(0.13)
  575. attack = true
  576. local bv = Instance.new("BodyPosition",torso)
  577. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  578. bv.position = pos2.p
  579. local bg = Instance.new("BodyGyro",torso)
  580. bg.cframe = CFrame.new(pos.p,pos3.p)
  581. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  582. bg.P = 30000
  583. for i=1,6 do
  584. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.54,0.08,0) * CFrame.new(0,0,0)
  585. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0,0) * CFrame.new(0,0,0)
  586. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.24,0,0)
  587. block(blade5,2,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  588. wait()
  589. end
  590. attack = false
  591. wait(0.08)
  592. for i=1,3 do
  593. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.08)
  594. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.23,0,0)
  595. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.1,0,-0.05)
  596. wait()
  597. end
  598. rw.C0 = rightfight
  599. lw.C0 = leftfight
  600. bv:remove()
  601. bg:remove()
  602. neck.C1 = neor
  603. weaponweld.C0 = CFrame.new(0,0,0)
  604. attacking = false
  605. end
  606.  
  607. function spin()
  608. attacking = true
  609. hum.WalkSpeed = 0
  610. for i=1,7 do
  611. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.08,0.1,0.03) * CFrame.new(0,0,0)
  612. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,0) * CFrame.new(0,0,0)
  613. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  614. wait()
  615. end
  616. spi:play()
  617. wait(0.3)
  618. spi:play()
  619. dela = 0.1
  620. avgdmg = 6
  621. criticalchance = 12
  622. local bv = Instance.new("BodyVelocity",torso)
  623. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  624. bv.velocity = torso.CFrame.lookVector * 22
  625. local bav = Instance.new("BodyAngularVelocity",torso)
  626. bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  627. bav.angularvelocity = Vector3.new(0,36,0)
  628. bav.P = 15000
  629. attack = true
  630. for i=1, 30 do
  631. wait()
  632. spikes(torso,"Medium blue")
  633. end
  634. bv:remove()
  635. bav:remove()
  636. hum.WalkSpeed = normal
  637. attack = false
  638. avgdmg = normdmg
  639. for i=1,5 do
  640. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.1,-0.12,-0.04) * CFrame.new(0,0,0)
  641. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.25,0,0) * CFrame.new(0,0,0)
  642. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  643. wait()
  644. end
  645. dela = 0.4
  646. rw.C0 = rightfight
  647. lw.C0 = leftfight
  648. neck.C1 = neor
  649. weaponweld.C0 = CFrame.new(0,0,0)
  650. attacking = false
  651. criticalchance = normchance
  652. end
  653.  
  654. function spins()
  655. attacking = true
  656. hum.WalkSpeed = 0
  657. for i=1,7 do
  658. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.08,0.1,0.03) * CFrame.new(0,0,0)
  659. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,0) * CFrame.new(0,0,0)
  660. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  661. ball(torso,"Tr. Blue",25)
  662. wait()
  663. end
  664. spi:play()
  665. wait(0.3)
  666. spi:play()
  667. dela = 0.1
  668. avgdmg = 6
  669. criticalchance = 12
  670. local bv = Instance.new("BodyVelocity",torso)
  671. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  672. bv.velocity = torso.CFrame.lookVector * 22
  673. local bav = Instance.new("BodyAngularVelocity",torso)
  674. bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  675. bav.angularvelocity = Vector3.new(0,36,0)
  676. bav.P = 15000
  677. attack = true
  678. for i=1, 30 do
  679. wait()
  680. spikes(torso,"Medium blue")
  681. end
  682. bv:remove()
  683. bav:remove()
  684. hum.WalkSpeed = normal
  685. attack = false
  686. avgdmg = normdmg
  687. for i=1,5 do
  688. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.1,-0.12,-0.04) * CFrame.new(0,0,0)
  689. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.25,0,0) * CFrame.new(0,0,0)
  690. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  691. wait()
  692. end
  693. dela = 0.4
  694. rw.C0 = rightfight
  695. lw.C0 = leftfight
  696. neck.C1 = neor
  697. weaponweld.C0 = CFrame.new(0,0,0)
  698. attacking = false
  699. criticalchance = normchance
  700. end
  701.  
  702. function rise()
  703. attacking = true
  704. local pos = torso.CFrame
  705. local pos2 = pos * CFrame.new(0,5,-15)
  706. local pos3 = pos2 * CFrame.new(0,-3,-12)
  707. hum.WalkSpeed = 0
  708. for i=1,7 do
  709. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.08,0.1,0.03) * CFrame.new(0,0,0)
  710. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,0) * CFrame.new(0,0,0)
  711. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  712. ball(torso,"Tr. Blue",25)
  713. wait()
  714. end
  715. spi:play()
  716. wait(0.3)
  717. spi:play()
  718. dela = 0.1
  719. avgdmg = 6
  720. criticalchance = 12
  721. local bv = Instance.new("BodyPosition",torso)
  722. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  723. bv.position = pos2.p
  724. local bg = Instance.new("BodyGyro",torso)
  725. bg.cframe = CFrame.new(pos.p,pos3.p)
  726. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  727. bg.P = 30000
  728. attack = true
  729. for i=1, 30 do
  730. wait()
  731. spikes2(torso,"Medium blue")
  732. end
  733. bv:remove()
  734. bg:remove()
  735. hum.WalkSpeed = normal
  736. attack = false
  737. avgdmg = normdmg
  738. for i=1,5 do
  739. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.1,-0.12,-0.04) * CFrame.new(0,0,0)
  740. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.25,0,0) * CFrame.new(0,0,0)
  741. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  742. wait()
  743. end
  744. dela = 0.4
  745. rw.C0 = rightfight
  746. lw.C0 = leftfight
  747. neck.C1 = neor
  748. weaponweld.C0 = CFrame.new(0,0,0)
  749. attacking = false
  750. criticalchance = normchance
  751. end
  752.  
  753. function sprint()
  754. attacking = true
  755. hum.WalkSpeed = 0
  756. local pos = torso.CFrame
  757. local pos2 = pos * CFrame.new(0,12,-15)
  758. local pos3 = pos2 * CFrame.new(0,-12,-12)
  759. for i=1,6 do
  760. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,0)
  761. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,0)
  762. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.1,0,0) * CFrame.new(0,0,0)
  763. wait()
  764. end
  765. avgdmg = 14
  766. local bv = Instance.new("BodyPosition",torso)
  767. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  768. bv.position = pos2.p
  769. local bg = Instance.new("BodyGyro",torso)
  770. bg.cframe = CFrame.new(pos.p,pos3.p)
  771. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  772. bg.P = 30000
  773. for i=1, 7 do
  774. wait()
  775. spikes2(torso,"Medium blue")
  776. end
  777. wait(0.1)
  778. coroutine.resume(coroutine.create(function()
  779. for i=1, 17 do
  780. wait()
  781. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.15,0,-0.04)
  782. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.16,0,0.05)
  783. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.02,0,0) * CFrame.new(0,0,0)
  784. end
  785. end))
  786. coroutine.resume(coroutine.create(function()
  787. for i=0.4, 5.3,0.07 do
  788. wait(0.04)
  789. block(blade5,i,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  790. end
  791. end))
  792. charge:play()
  793. coroutine.resume(coroutine.create(function()
  794. wait(2.5)
  795. for i=1, 11 do
  796. wait()
  797. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  798. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.08,0,0)
  799. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0,-(math.pi/11),0)
  800. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.03,0,0) * CFrame.new(0,0,0)
  801. end
  802. end))
  803. criticalchance = 1
  804. plat = 1
  805. dela = 0
  806. wait(3.8)
  807. boom:play()
  808. attack = true
  809. coroutine.resume(coroutine.create(function()
  810. for i=1, 5 do
  811. wait()
  812. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.34,0,0)
  813. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.34,0,0)
  814. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0,0) * CFrame.new(0,0,0)
  815. end
  816. end))
  817. bv.position = pos3.p
  818. for i=1, 7 do
  819. wait()
  820. spikes2(torso,"Medium blue")
  821. end
  822. coroutine.resume(coroutine.create(function()
  823. for i=1, 12 do
  824. wait()
  825. ball(blade5,"Medium blue",splashdist*2)
  826. end
  827. end))
  828. local parts = getcharparts(workspace)
  829. for _,v in pairs(parts) do
  830. if (v.Position - blade5.Position).magnitude < 14 then
  831. kill(v,true)
  832. end
  833. end
  834. wait(0.3)
  835. attack = false
  836. bv:remove()
  837. bg:remove()
  838. hum.WalkSpeed = normal
  839. avgdmg = normdmg
  840. rw.C0 = rightfight
  841. lw.C0 = leftfight
  842. neck.C1 = neor
  843. weaponweld.C0 = CFrame.new(0,0,0)
  844. attacking = false
  845. criticalchance = normchance
  846. plat = 2
  847. end
  848.  
  849. function sprint2()
  850. attacking = true
  851. hum.WalkSpeed = 0
  852. local pos = torso.CFrame
  853. local pos2 = pos * CFrame.new(0,15,-15)
  854. local pos3 = pos2 * CFrame.new(0,-13,-12)
  855. for i=1,6 do
  856. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,0)
  857. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,0)
  858. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.1,0,0) * CFrame.new(0,0,0)
  859. wait()
  860. end
  861. avgdmg = 14
  862. local bv = Instance.new("BodyPosition",torso)
  863. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  864. bv.position = pos2.p
  865. local bg = Instance.new("BodyGyro",torso)
  866. bg.cframe = CFrame.new(pos.p,pos3.p)
  867. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  868. bg.P = 30000
  869. for i=1, 4 do
  870. wait()
  871. spikes2(torso,"Medium blue")
  872. spikes2(torso,"Light blue")
  873. spikes2(torso,"Bright blue")
  874. end
  875. wait(0.1)
  876. coroutine.resume(coroutine.create(function()
  877. for i=1, 34 do
  878. wait()
  879. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.15,0,-0.04)
  880. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.16,0,0.05)
  881. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.02,0,0) * CFrame.new(0,0,0)
  882. end
  883. end))
  884. coroutine.resume(coroutine.create(function()
  885. for i=0.4, 5.3,0.07 do
  886. wait(0.04)
  887. block(blade5,i,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  888. end
  889. end))
  890. charge:play()
  891. coroutine.resume(coroutine.create(function()
  892. wait(2.5)
  893. for i=1, 11 do
  894. wait()
  895. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  896. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(0.08,0,0)
  897. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0,-(math.pi/11),0)
  898. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.03,0,0) * CFrame.new(0,0,0)
  899. end
  900. end))
  901. criticalchance = 1
  902. plat = 1
  903. dela = 0
  904. wait(3.8)
  905. boom:play()
  906. attack = true
  907. coroutine.resume(coroutine.create(function()
  908. for i=1, 5 do
  909. wait()
  910. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.34,0,0)
  911. lw.C0 = lw.C0 * CFrame.fromEulerAnglesXYZ(-0.34,0,0)
  912. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0,0) * CFrame.new(0,0,0)
  913. end
  914. end))
  915. bv.position = pos3.p
  916. for i=1, 7 do
  917. wait()
  918. spikes2(torso,"Medium blue")
  919. end
  920. coroutine.resume(coroutine.create(function()
  921. for i=1, 12 do
  922. wait()
  923. ball(blade5,"Medium blue",splashdist*2)
  924. end
  925. end))
  926. local parts = getcharparts(workspace)
  927. for _,v in pairs(parts) do
  928. if (v.Position - blade5.Position).magnitude < 14 then
  929. kill(v,true)
  930. end
  931. end
  932. wait(0.3)
  933. attack = false
  934. bv:remove()
  935. bg:remove()
  936. hum.WalkSpeed = normal
  937. avgdmg = normdmg
  938. rw.C0 = rightfight
  939. lw.C0 = leftfight
  940. neck.C1 = neor
  941. weaponweld.C0 = CFrame.new(0,0,0)
  942. attacking = false
  943. criticalchance = normchance
  944. plat = 2
  945. end
  946.  
  947. function combo()
  948. att()
  949. attas()
  950. sprint()
  951. spin()
  952. end
  953.  
  954. function run()
  955. spin()
  956. spin()
  957. spin()
  958. end
  959.  
  960. function rush()
  961. attacking = true
  962. for i=1,8 do
  963. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.03,0.1,0) * CFrame.new(0,0,0)
  964. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-(math.pi/2)/12,0.03,0.07) * CFrame.new(0,0,0)
  965. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.03)
  966. wait(0.1)
  967. end
  968. slash:play()
  969. wait(0.13)
  970. attack = true
  971. local bv = Instance.new("BodyVelocity",torso)
  972. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  973. bv.velocity = torso.CFrame.lookVector * 220
  974. local bav = Instance.new("BodyAngularVelocity",torso)
  975. bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  976. bav.angularvelocity = Vector3.new(0,36,0)
  977. bav.P = 15000
  978. for i=1,6 do
  979. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.44,0.08,0) * CFrame.new(0,0,0)
  980. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0,0) * CFrame.new(0,0,0)
  981. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.14,0,0)
  982. block(blade5,2,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  983. wait()
  984. end
  985. attack = false
  986. wait(0.08)
  987. for i=1,3 do
  988. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.08)
  989. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.23,0,0)
  990. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.1,0,-0.05)
  991. block(blade5,2,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  992. wait()
  993. end
  994. rw.C0 = rightfight
  995. lw.C0 = leftfight
  996. bv:remove()
  997. bav:remove()
  998. neck.C1 = neor
  999. weaponweld.C0 = CFrame.new(0,0,0)
  1000. attacking = false
  1001. end
  1002.  
  1003. function masta()
  1004. attacking = true
  1005. for i=1,8 do
  1006. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.03,0.1,0) * CFrame.new(0,0,0)
  1007. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-(math.pi/2)/12,0.03,0.07) * CFrame.new(0,0,0)
  1008. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.05,0,0.03)
  1009. ball(torso,"Tr. Blue",25)
  1010. spikes2(torso,"Medium blue")
  1011. block(blade5,i,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  1012. wait(0.1)
  1013. end
  1014. slash:play()
  1015. avgdmg = 37
  1016. criticalchance = 125
  1017. wait(0.13)
  1018. attack = true
  1019. local bv = Instance.new("BodyVelocity",torso)
  1020. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1021. bv.velocity = torso.CFrame.lookVector * 220
  1022. local bav = Instance.new("BodyAngularVelocity",torso)
  1023. bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1024. bav.angularvelocity = Vector3.new(0,36,0)
  1025. bav.P = 15000
  1026. for i=1,6 do
  1027. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.44,0.08,0) * CFrame.new(0,0,0)
  1028. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0,0) * CFrame.new(0,0,0)
  1029. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(-0.14,0,0)
  1030. ball(torso,"Tr. Blue",25)
  1031. spikes2(torso,"Medium blue")
  1032. block(blade5,i,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  1033. wait()
  1034. end
  1035. attack = false
  1036. wait(0.08)
  1037. for i=1,3 do
  1038. rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.08)
  1039. weaponweld.C0 = weaponweld.C0 * CFrame.fromEulerAnglesXYZ(0.23,0,0)
  1040. neck.C1 = neck.C1 * CFrame.fromEulerAnglesXYZ(0.1,0,-0.05)
  1041. ball(torso,"Tr. Blue",25)
  1042. spikes2(torso,"Medium blue")
  1043. block(blade5,i,{"Medium blue", "Light blue", "White", "Tr. Blue"})
  1044. wait()
  1045. end
  1046. rw.C0 = rightfight
  1047. lw.C0 = leftfight
  1048. bv:remove()
  1049. bav:remove()
  1050. neck.C1 = neor
  1051. weaponweld.C0 = CFrame.new(0,0,0)
  1052. attacking = false
  1053. end
  1054.  
  1055. if script.Parent.className ~= "HopperBin" then
  1056. local h = Instance.new("HopperBin",me.Backpack)
  1057. h.Name = "SoulSword"
  1058. script.Parent = h
  1059. end
  1060.  
  1061. local bin = script.Parent
  1062.  
  1063. function sel(mouse)
  1064. neck.C1 = neor
  1065. if (selected == false) then
  1066. selectmotion()
  1067. end
  1068. mouse.Button1Down:connect(function()
  1069. if (attacking == false) then
  1070. att()
  1071. end
  1072. end)
  1073. mouse.KeyDown:connect(function(kuu)
  1074. local kai = kuu:lower()
  1075. if attacking == false then
  1076. if (kai == "q") then
  1077. spin()
  1078. elseif (kai == "e") then
  1079. att()
  1080. elseif (kai == "r") then
  1081. sprint()
  1082. elseif (kai == "l") then
  1083. stab()
  1084. elseif (kai == "t") then
  1085. attas()
  1086. elseif (kai == "z") then
  1087. masta()
  1088. elseif (kai == "y") then
  1089. spins()
  1090. elseif (kai == "g") then
  1091. combo()
  1092. elseif (kai == "p") then
  1093. rise()
  1094. elseif (kai == "j") then
  1095. sprint2()
  1096. elseif (kai == "h") then
  1097. run()
  1098. elseif (kai == "f") then
  1099. rush()
  1100. end
  1101. end
  1102. end)
  1103. while selected do
  1104. wait(0.8)
  1105. local k = math.random(1,5)
  1106. if k == 1 then
  1107. if hum.Health < 50 then
  1108. for i=1, math.random(4,24) do
  1109. wait(0.1)
  1110. local col = healcols[math.random(1,#healcols)]
  1111. local sa = math.random(30,90)/100
  1112. local p = Instance.new("Part")
  1113. prop(p,me.Character,false,0.1,0.05,1,1,1,col,false,"Symmetric")
  1114. p.CFrame = CFrame.new(torso.Position) * CFrame.Angles(math.random(-320,320)/100,math.random(-320,320)/100,math.random(-320,320)/100) * CFrame.new(0,0,math.random(4,12))
  1115. local mes = Instance.new("SpecialMesh")
  1116. mesh(mes,p,sa,sa,sa,"Sphere")
  1117. local bg = Instance.new("BodyPosition",p)
  1118. bg.maxForce = Vector3.new(1000000,1000000,1000000)
  1119. bg.P = 100000
  1120. bg.position = torso.Position
  1121. coroutine.resume(coroutine.create(function()
  1122. repeat
  1123. bg.position = torso.Position
  1124. wait()
  1125. until (p.Position - torso.Position).magnitude < 1.8
  1126. hum.Health = hum.Health + 1.2
  1127. p:remove()
  1128. end))
  1129. end
  1130. end
  1131. end
  1132. end
  1133. end
  1134.  
  1135.  
  1136. function desel()
  1137. neck.C1 = neor
  1138. if selected then
  1139. deselmotion()
  1140. end
  1141. end
  1142.  
  1143. bin.Selected:connect(sel)
  1144. bin.Deselected:connect(desel)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement