username123guest

1

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