Advertisement
Dark_EccentricYT

Untitled

Jun 15th, 2018
812
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.84 KB | None | 0 0
  1. function lerp(weld,beglerp,endlerp,speed)
  2. weld.C0 = beglerp:lerp(endlerp,speed)
  3. return weld.C0
  4. end
  5. function lerp2(weld,beglerp,endlerp,speed)
  6. weld.C1 = beglerp:lerp(endlerp,speed)
  7. return weld.C1
  8. end
  9. local speed = 0.2
  10. local angle = 0
  11. local anglespeed = 1/2.5
  12. action = "None"
  13. on = false
  14. enabled = true
  15. damen = false
  16. combo = 1
  17. Player = game.Players.LocalPlayer
  18. Char = Player.Character
  19. Human = Char.Humanoid
  20. mouse = Player:GetMouse()
  21. Sounds = {"rbxasset://sounds/unsheath.wav", "rbxassetid://161006212", "rbxassetid://2248511", "rbxassetid://2101137", "rbxasset://sounds/icemetal3.mp3", "rbxasset://sounds/icestone.mp3", "rbxasset://sounds/icestone2.mp3", "rbxassetid://2248511","rbxassetid://157631498","rbxassetid://161006195"}
  22. T = Char:findFirstChild("Torso")
  23. Head = Char.Head
  24. LA = Char:findFirstChild("Left Arm")
  25. RA = Char:findFirstChild("Right Arm")
  26. LL = Char:findFirstChild("Left Leg")
  27. RL = Char:findFirstChild("Right Leg")
  28. LS = T:findFirstChild("Left Shoulder")
  29. RS = T:findFirstChild("Right Shoulder")
  30. LH = T:findFirstChild("Left Hip")
  31. RH = T:findFirstChild("Right Hip")
  32. Neck = T:findFirstChild("Neck")
  33. HM = Char:findFirstChild("HumanoidRootPart")
  34. RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  35. Camera = workspace.CurrentCamera
  36. Anim = Char:findFirstChild("Animate")
  37. if Anim then
  38. Anim:Destroy()
  39. end
  40. Animator = Human:findFirstChild("Animator")
  41. if Animator then
  42. Animator:Destroy()
  43. end
  44. MName = "Uroia"
  45. model = Instance.new("Model", Char)
  46. model.Name = MName
  47. han = Instance.new("Part",model)
  48. han.CanCollide = false
  49. han.Locked = true
  50. han.TopSurface = 0
  51. han.BottomSurface = 0
  52. han.FormFactor = 3
  53. han.Size = Vector3.new(0.35,1,0.35)
  54. han.BrickColor = BrickColor.new("Reddish brown")
  55. han.Material = "SmoothPlastic"
  56. han.TopSurface = 10
  57. han.BottomSurface = 10
  58. han.LeftSurface = 10
  59. han.RightSurface = 10
  60. han.FrontSurface = 10
  61. han.BackSurface = 10
  62. hanw = Instance.new("Weld",han)
  63. hanw.Part0 = han
  64. hanw.Part1 = T
  65. hanw.C0 = CFrame.new(0,0,-0.6)
  66. p1 = Instance.new("Part",model)
  67. p1.CanCollide = false
  68. p1.Locked = true
  69. p1.TopSurface = 0
  70. p1.BottomSurface = 0
  71. p1.FormFactor = 3
  72. p1.Size = Vector3.new(1.25,0.35,0.35)
  73. p1.BrickColor = BrickColor.new("Reddish brown")
  74. p1.Material = "SmoothPlastic"
  75. p1.TopSurface = 10
  76. p1.BottomSurface = 10
  77. p1.LeftSurface = 10
  78. p1.RightSurface = 10
  79. p1.FrontSurface = 10
  80. p1.BackSurface = 10
  81. p1w = Instance.new("Weld",han)
  82. p1w.Part0 = p1
  83. p1w.Part1 = han
  84. p1w.C0 = CFrame.new(0,-0.65,0)
  85. p2 = Instance.new("Part",model)
  86. p2.CanCollide = false
  87. p2.Locked = true
  88. p2.TopSurface = 0
  89. p2.BottomSurface = 0
  90. p2.FormFactor = 3
  91. p2.Size = Vector3.new(0.5,4.5,0.35)
  92. p2.Material = "SmoothPlastic"
  93. p2.BrickColor = BrickColor.new("Dark stone grey")
  94. p2.TopSurface = 10
  95. p2.BottomSurface = 10
  96. p2.LeftSurface = 10
  97. p2.RightSurface = 10
  98. p2.FrontSurface = 10
  99. p2.BackSurface = 10
  100. p2w = Instance.new("Weld",han)
  101. p2w.Part0 = p2
  102. p2w.Part1 = p1
  103. p2w.C0 = CFrame.new(0,-2.4,0)
  104. p3 = Instance.new("Part",model)
  105. p3.CanCollide = false
  106. p3.Locked = true
  107. p3.TopSurface = 0
  108. p3.BottomSurface = 0
  109. p3.FormFactor = 3
  110. p3.Size = Vector3.new(0.35,0.5,0.25)
  111. p3.Material = "SmoothPlastic"
  112. p3.BrickColor = BrickColor.new("Dark stone grey")
  113. p3.TopSurface = 10
  114. p3.BottomSurface = 10
  115. p3.LeftSurface = 10
  116. p3.RightSurface = 10
  117. p3.FrontSurface = 10
  118. p3.BackSurface = 10
  119. p3m = Instance.new("SpecialMesh",p3)
  120. p3m.MeshType = "Wedge"
  121. p3w = Instance.new("Weld",han)
  122. p3w.Part0 = p3
  123. p3w.Part1 = p2
  124. p3w.C0 = CFrame.new(0,-2.5,0.125) *CFrame.Angles(0,math.pi/2,0)
  125. p4 = Instance.new("Part",model)
  126. p4.CanCollide = false
  127. p4.Locked = true
  128. p4.TopSurface = 0
  129. p4.BottomSurface = 0
  130. p4.FormFactor = 3
  131. p4.Size = Vector3.new(0.35,0.5,0.25)
  132. p4.Material = "SmoothPlastic"
  133. p4.BrickColor = BrickColor.new("Dark stone grey")
  134. p4.TopSurface = 10
  135. p4.BottomSurface = 10
  136. p4.LeftSurface = 10
  137. p4.RightSurface = 10
  138. p4.FrontSurface = 10
  139. p4.BackSurface = 10
  140. p4m = Instance.new("SpecialMesh",p4)
  141. p4m.MeshType = "Wedge"
  142. p4w = Instance.new("Weld",han)
  143. p4w.Part0 = p4
  144. p4w.Part1 = p2
  145. p4w.C0 = CFrame.new(0,-2.5,0.125) *CFrame.Angles(0,-math.pi/2,0)
  146. hb = Instance.new("Part",model)
  147. hb.Name = "Hitbox"
  148. hb.CanCollide = false
  149. hb.Locked = true
  150. hb.Transparency = 1
  151. hb.TopSurface = 0
  152. hb.BottomSurface = 0
  153. hb.FormFactor = 3
  154. hb.BrickColor = BrickColor.new("Institutional white")
  155. hb.Size = Vector3.new(0.5,3.5,0.35)
  156. hb.Material = "SmoothPlastic"
  157. hb.TopSurface = 10
  158. hb.BottomSurface = 10
  159. hb.LeftSurface = 10
  160. hb.RightSurface = 10
  161. hb.FrontSurface = 10
  162. hb.BackSurface = 10
  163. hbw = Instance.new("Weld",han)
  164. hbw.Part0 = hb
  165. hbw.Part1 = p2
  166. WLS = Instance.new("Weld", T)
  167. WLS.C0 = CFrame.new(-1.5, 0.5, 0)
  168. WLS.C1 = CFrame.new(0, 0.5, 0)
  169. WLS.Part0 = T
  170. WLS.Part1 = LA
  171. WRS = Instance.new("Weld", T)
  172. WRS.Part0 = T
  173. WRS.Part1 = RA
  174. WRS.C0 = CFrame.new(1.5, 0.5, 0)
  175. WRS.C1 = CFrame.new(0, 0.5, 0)
  176. WLH = Instance.new("Weld", T)
  177. WLH.C0 = CFrame.new(-0.5, -1, 0)
  178. WLH.C1 = CFrame.new(0, 1, 0)
  179. WLH.Part0 = T
  180. WLH.Part1 = LL
  181. WRH = Instance.new("Weld", T)
  182. WRH.C0 = CFrame.new(0.5, -1, 0)
  183. WRH.C1 = CFrame.new(0, 1, 0)
  184. WRH.Part0 = T
  185. WRH.Part1 = RL
  186. LSC0 = WLS.C0
  187. RSC0 = WRS.C0
  188. LHC0 = WLH.C0
  189. RHC0 = WRH.C0
  190. RJ.Part0 = nil
  191. WRJ = Instance.new("Weld", T)
  192. WRJ.Part0 = T
  193. WRJ.Part1 = HM
  194. WRJ.C0 = CFrame.new()
  195. WRJ.C1 = CFrame.new()
  196. Neck.C0 = CFrame.new(0, 1, 0)
  197. Neck.C1 = CFrame.new(0, -0.5, 0)
  198. RJC0 = WRJ.C0
  199. RJC1 = WRJ.C1
  200. NC0 = Neck.C0
  201. hopbin = Instance.new("HopperBin", Player.Backpack)
  202. hopbin.Name = MName
  203. saveohanw = hanw.C0
  204. Run = game:GetService("RunService")
  205.  
  206. PlaySound = function(part,volume,pitch,id)
  207. local Sound = Instance.new("Sound", part)
  208. Sound.SoundId = id
  209. Sound.Pitch = pitch
  210. Sound.Volume = volume
  211. Sound:Play()
  212. Sound:remove()
  213. end
  214.  
  215. ShowDmg = function(totake)
  216. local modl = Instance.new("Model", workspace)
  217. modl.Name = tostring(totake)
  218. local prt = Instance.new("Part", modl)
  219. prt.CanCollide = false
  220. prt.BrickColor = BrickColor.Red()
  221. prt.Name = "Head"
  222. prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
  223. prt.TopSurface = 0
  224. prt.BottomSurface = 0
  225. prt.FormFactor = 3
  226. prt.Size = Vector3.new(1, 0.2, 1)
  227. local bm = Instance.new("BlockMesh", prt)
  228. local hum = Instance.new("Humanoid", modl)
  229. hum.Health = 0
  230. hum.MaxHealth = 0
  231. hum.WalkSpeed = 0
  232. bodypos = Instance.new("BodyPosition", prt)
  233. bodypos.position = Head.Position +Vector3.new(0, 1, 0)
  234. bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  235. game.Debris:AddItem(modl, 1)
  236. coroutine.resume(coroutine.create(function()
  237. for i = 1, 3 do
  238. bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
  239. wait(0.01)
  240. end
  241. end))
  242. end
  243.  
  244. function Damage(hit,mm,mam)
  245. if hit ~= nil and damen == true and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then
  246. local rdmg = math.random(mm,mam)
  247. hit.Parent.Humanoid:TakeDamage(rdmg)
  248. coroutine.resume(coroutine.create(function()
  249. ShowDmg(rdmg)
  250. end))
  251. damen = false
  252. end
  253. end
  254.  
  255. function Selected()
  256. click = mouse.Button1Down:connect(function()
  257. if combo == 1 and on == true and enabled == true then
  258. enabled = false
  259. action = "Slash1"
  260. elseif combo == 2 then
  261. enabled = false
  262. action = "Slash2"
  263. elseif combo == 3 then
  264. enabled = false
  265. action = "Slash3"
  266. end
  267. end)
  268. keys = mouse.KeyDown:connect(function(key)
  269. key = key:lower()
  270. if key == "z" and on == true and enabled == true then
  271. enabled = false
  272. action = "ChargeSlash"
  273. end
  274. if key == "x" and on == true and enabled == true then
  275. enabled = false
  276. action = "FireBurst"
  277. end
  278. if key == "c" and on == true and enabled == true then
  279. enabled = false
  280. action = "IceSting"
  281. end
  282. if key == "v" and on == true and enabled == true then
  283. enabled = false
  284. action = "JumpSlam"
  285. end
  286. if key == string.char(52) and enabled == true then
  287. Char.Humanoid.WalkSpeed = 30
  288. end
  289. if key == "f" and on == false and enabled == true then
  290. enabled = false
  291. action = "Equip"
  292. wait(0.5)
  293. enabled = true
  294. elseif key == "f" and on == true and enabled == true then
  295. enabled = false
  296. action = "Unequip"
  297. wait(0.5)
  298. enabled = true
  299. end
  300. end)
  301. end
  302.  
  303. keysup = mouse.KeyUp:connect(function(key)
  304. if key == string.char(52) and enabled == true then
  305. Char.Humanoid.WalkSpeed = 16
  306. end
  307. end)
  308.  
  309. function Deselected()
  310. click:disconnect()
  311. keys:disconnect()
  312. end
  313.  
  314. function Jumping()
  315. if enabled == true then
  316. action = "Jumping"
  317. end
  318. end
  319.  
  320. hopbin.Selected:connect(Selected)
  321. hopbin.Deselected:connect(Deselected)
  322. Human.Jumping:connect(Jumping)
  323.  
  324. while true do
  325. angle = (angle % 100) +anglespeed/10
  326. local lscf = LSC0
  327. local rscf = RSC0
  328. local llcf = LHC0
  329. local rlcf = RHC0
  330. local rjcf = RJC0
  331. local rjcf1 = RJC1
  332. local ncf = NC0
  333. if on == true then
  334. local hancf = savehanw
  335. end
  336. if T.Velocity.y <= -1 then
  337. action = "FallingDown"
  338. end
  339. if action == "Equip" then
  340. PlaySound(Head,0.5,0.7,Sounds[1])
  341. for i = 1, 10 do
  342. speed = 0.5
  343. anglespeed = 1.5
  344. ncf = NC0
  345. rjcf = RJC0
  346. rjcf1 = RJC1
  347. lscf = LSC0
  348. rscf = RSC0 *CFrame.new(-0.25,0,0) *CFrame.Angles(-math.pi/3,0,-math.pi/3)
  349. llcf = LHC0
  350. rlcf = RHC0
  351. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  352. speed = 0.2
  353. anglespeed = 3
  354. angle = (angle % 100) +anglespeed/10
  355. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  356. rlcf = RHC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  357. end
  358. lerp(Neck,Neck.C0,ncf,speed)
  359. lerp(WRJ,WRJ.C0,rjcf,speed)
  360. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  361. lerp(WLS,WLS.C0,lscf,speed)
  362. lerp(WRS,WRS.C0,rscf,speed)
  363. lerp(WLH,WLH.C0,llcf,speed)
  364. lerp(WRH,WRH.C0,rlcf,speed)
  365. wait()
  366. end
  367. hanw.Part1 = RA
  368. hanw.C0 = CFrame.new(-1,0,0) *CFrame.Angles(math.pi/2,0,math.pi/2)
  369. savehanw = hanw.C0
  370. action = "None"
  371. on = true
  372. end
  373. if action == "Unequip" then
  374. hanw.Part1 = T
  375. hanw.C0 = saveohanw
  376. for i = 1, 10 do
  377. speed = 0.5
  378. anglespeed = 1.5
  379. ncf = NC0
  380. rjcf = RJC0
  381. rjcf1 = RJC1
  382. lscf = LSC0
  383. rscf = RSC0 *CFrame.new(-0.25,0,0) *CFrame.Angles(-math.pi/3,0,-math.pi/3)
  384. llcf = LHC0
  385. rlcf = RHC0
  386. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  387. speed = 0.2
  388. anglespeed = 3
  389. angle = (angle % 100) +anglespeed/10
  390. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  391. rlcf = RHC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  392. end
  393. lerp(Neck,Neck.C0,ncf,speed)
  394. lerp(WRJ,WRJ.C0,rjcf,speed)
  395. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  396. lerp(WLS,WLS.C0,lscf,speed)
  397. lerp(WRS,WRS.C0,rscf,speed)
  398. lerp(WLH,WLH.C0,llcf,speed)
  399. lerp(WRH,WRH.C0,rlcf,speed)
  400. wait()
  401. end
  402. action = "None"
  403. on = false
  404. end
  405. if action == "Jumping" then
  406. enabled = false
  407. for i = 1, 10 do
  408. speed = 0.7
  409. anglespeed = 3
  410. ncf = NC0
  411. rjcf = RJC0 *CFrame.Angles(math.pi/10,0,0)
  412. rjcf1 = RJC1
  413. lscf = LSC0 *CFrame.Angles(-math.pi/4,0,0)
  414. rscf = RSC0 *CFrame.Angles(-math.pi/4,0,0)
  415. llcf = LHC0 *CFrame.new(0,1.25,-0.5)
  416. rlcf = RHC0 *CFrame.new(0,0,-0.5) *CFrame.Angles(-math.pi/5,0,0)
  417. lerp(Neck,Neck.C0,ncf,speed)
  418. lerp(WRJ,WRJ.C0,rjcf,speed)
  419. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  420. lerp(WLS,WLS.C0,lscf,speed)
  421. lerp(WRS,WRS.C0,rscf,speed)
  422. lerp(WLH,WLH.C0,llcf,speed)
  423. lerp(WRH,WRH.C0,rlcf,speed)
  424. wait()
  425. end
  426. enabled = true
  427. action = "None"
  428. end
  429. if action == "FallingDown" then
  430. for i = 1, 10 do
  431. speed = 0.7
  432. anglespeed = 3
  433. ncf = NC0
  434. rjcf = RJC0
  435. rjcf1 = RJC1
  436. lscf = LSC0 *CFrame.Angles(math.pi/1.5,0,0)
  437. rscf = RSC0 *CFrame.Angles(math.pi/1.5,0,0)
  438. llcf = LHC0 *CFrame.new(0,1,-0.5)
  439. rlcf = RHC0 *CFrame.new(0,1,-0.5)
  440. lerp(Neck,Neck.C0,ncf,speed)
  441. lerp(WRJ,WRJ.C0,rjcf,speed)
  442. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  443. lerp(WLS,WLS.C0,lscf,speed)
  444. lerp(WRS,WRS.C0,rscf,speed)
  445. lerp(WLH,WLH.C0,llcf,speed)
  446. lerp(WRH,WRH.C0,rlcf,speed)
  447. wait()
  448. end
  449. enabled = true
  450. action = "None"
  451. end
  452. if on == false then
  453. if action == "None" then
  454. if Vector3.new(T.Velocity.X,0,T.Velocity.Z).Magnitude <=2 then
  455. speed = 0.2
  456. anglespeed = 0.5
  457. ncf = NC0
  458. rjcf = RJC0
  459. rjcf1 = RJC1
  460. lscf = LSC0
  461. rscf = RSC0
  462. hancf = savehanw
  463. llcf = LHC0
  464. rlcf = RHC0
  465. elseif Vector3.new(T.Velocity.X,0,T.Velocity.Z).Magnitude <=20 then
  466. speed = 0.2
  467. anglespeed = 2
  468. ncf = NC0
  469. rjcf = RJC0
  470. rjcf1 = RJC1
  471. lscf = LSC0 *CFrame.Angles(math.sin(angle),0,0)
  472. rscf = RSC0 *CFrame.Angles(math.sin(-angle),0,0)
  473. llcf = LHC0 *CFrame.Angles(math.sin(angle),0,0)
  474. rlcf = RHC0 *CFrame.Angles(math.sin(-angle),0,0)
  475. elseif Vector3.new(T.Velocity.X,0,T.Velocity.Z).Magnitude >= 20 then
  476. speed = 0.8
  477. anglespeed = 3
  478. ncf = NC0
  479. rjcf = RJC0
  480. rjcf1 = RJC1
  481. lscf = LSC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/50),0,0)
  482. rscf = RSC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/50),0,0)
  483. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/50), 0, -math.rad(0.5))
  484. rlcf = RHC0 *CFrame.Angles(math.sin(-angle*Human.WalkSpeed/50), 0, math.rad(0.5))
  485. end
  486. lerp(WLS,WLS.C0,lscf,speed)
  487. lerp(WRS,WRS.C0,rscf,speed)
  488. lerp(WRJ,WRJ.C0,rjcf,speed)
  489. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  490. lerp(Neck,Neck.C0,ncf,speed)
  491. lerp(WLH,WLH.C0,llcf,speed)
  492. lerp(WRH,WRH.C0,rlcf,speed)
  493. end
  494. end
  495. if on == true then
  496. if action == "ChargeSlash" then
  497. coroutine.resume(coroutine.create(function()
  498. wait(1.2)
  499. local circ = Instance.new("Part",Char)
  500. circ.Anchored = true
  501. circ.CanCollide = false
  502. circ.TopSurface = 0
  503. circ.BottomSurface = 0
  504. circ.FormFactor = 3
  505. circ.BrickColor = BrickColor.Black()
  506. circ.Size = Vector3.new(3,3,3)
  507. circ.CFrame = T.CFrame
  508. circm = Instance.new("SpecialMesh",circ)
  509. circm.MeshType = "Sphere"
  510. game.Debris:AddItem(circ,2)
  511. PlaySound(Head,0.5,0.85,Sounds[3])
  512. coroutine.resume(coroutine.create(function()
  513. for i = 0,1,0.1 do
  514. circ.Transparency = 1*i
  515. circm.Scale = circm.Scale +Vector3.new(1,1,1)
  516. wait()
  517. end
  518. end))
  519. end))
  520. for i = 1, 75 do
  521. speed = 0.3
  522. anglespeed = 1.2
  523. local setweldr = 0.85
  524. if i == 1 then
  525. PlaySound(Head,0.5,1,Sounds[4])
  526. elseif i <= 30 then
  527. local eff = Instance.new("Part",Char)
  528. eff.Anchored = true
  529. eff.CanCollide = false
  530. eff.TopSurface = 0
  531. eff.BottomSurface = 0
  532. eff.FormFactor = 3
  533. eff.Transparency = 0.9
  534. eff.BrickColor = BrickColor.Black()
  535. eff.Size = Vector3.new(1.5,1.5,1.5)
  536. eff.CFrame = LA.CFrame *CFrame.new(0,-1.5,0) *CFrame.Angles(math.rad(-360,360),math.rad(-360,360),math.rad(-360,360))
  537. game.Debris:AddItem(eff,0.25)
  538. ncf = NC0
  539. rjcf = RJC0 *CFrame.new(0,1,0) *CFrame.Angles(math.pi/10,0,0)
  540. rjcf1 = RJC1
  541. lscf = LSC0 *CFrame.new(0,0.5,0) *CFrame.Angles(0,0,-math.pi/1.2)
  542. rscf = RSC0 *CFrame.Angles(-math.pi/8,0,0)
  543. hancf = savehanw
  544. llcf = LHC0 *CFrame.new(0,setweldr,-0.5) *CFrame.Angles(-math.pi/10,0,0)
  545. rlcf = RHC0 *CFrame.new(0,setweldr,-0.5)
  546. elseif i == 31 then
  547. local get = workspace:GetChildren()
  548. for i = 1, #get do
  549. if get[i] ~= Char and get[i]:FindFirstChild("Humanoid") ~= nil and get[i]:FindFirstChild("Humanoid").Health > 0 and get[i]:FindFirstChild("Torso") ~= nil then
  550. if (get[i].Torso.Position - T.Position).Magnitude <= 15 then
  551. rack = math.random(15,20.9)
  552. get[i].Humanoid:TakeDamage(rack)
  553. get[i].Humanoid:ChangeState(Enum.HumanoidStateType.Ragdoll)
  554. v = Instance.new("BodyVelocity", get[i].Torso)
  555. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  556. v.velocity = HM.CFrame.lookVector *70 game.Debris:AddItem(v, 0.3) ShowDmg(rack)
  557. end
  558. end
  559. end
  560. elseif i <= 75 then
  561. setweldr = 1.5
  562. local eff = Instance.new("Part",Char)
  563. eff.Anchored = true
  564. eff.CanCollide = false
  565. eff.TopSurface = 0
  566. eff.BottomSurface = 0
  567. eff.FormFactor = 3
  568. eff.Transparency = 0.9
  569. eff.BrickColor = BrickColor.Black()
  570. eff.Size = Vector3.new(1.5,1.5,1.5)
  571. eff.CFrame = LA.CFrame *CFrame.new(0,-1.5,0) *CFrame.Angles(math.rad(-360,360),math.rad(-360,360),math.rad(-360,360))
  572. game.Debris:AddItem(eff,0.25)
  573. ncf = NC0
  574. rjcf = RJC0 *CFrame.new(0,1.8,0) *CFrame.Angles(math.pi/10,0,0)
  575. rjcf1 = RJC1
  576. lscf = LSC0 *CFrame.new(0,-0.5,0) *CFrame.Angles(0,-math.pi/2.5,-math.pi/4)
  577. rscf = RSC0 *CFrame.Angles(-math.pi/8,0,0)
  578. hancf = savehanw
  579. llcf = LHC0 *CFrame.new(0,setweldr,-0.5) *CFrame.Angles(-math.pi/10,0,0)
  580. rlcf = RHC0 *CFrame.new(0,setweldr,-0.5)
  581. end
  582. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  583. speed = 0.2
  584. anglespeed = 3
  585. angle = (angle % 100) +anglespeed/10
  586. llcf = LHC0 *CFrame.new(0,setweldr,-0.5) *CFrame.Angles(-math.pi/10,0,0) *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  587. rlcf = RHC0 *CFrame.new(0,setweldr,-0.5) *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  588. end
  589. lerp(WLS,WLS.C0,lscf,speed)
  590. lerp(WRS,WRS.C0,rscf,speed)
  591. lerp(WRJ,WRJ.C0,rjcf,speed)
  592. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  593. lerp(Neck,Neck.C0,ncf,speed)
  594. lerp(WLH,WLH.C0,llcf,speed)
  595. lerp(WRH,WRH.C0,rlcf,speed)
  596. lerp(hanw,hanw.C0,hancf,speed)
  597. wait()
  598. end
  599. enabled = true
  600. action = "None"
  601. end
  602. if action == "FireBurst" then
  603. local spred = 0
  604. local mycf = HM.CFrame
  605. coroutine.resume(coroutine.create(function()
  606. wait(0.2)
  607. for i = 1, 8 do
  608. PlaySound(Head,0.5,1.2,Sounds[3])
  609. spred = spred -6
  610. local prtfi = Instance.new("Part",Char)
  611. prtfi.Anchored = true
  612. prtfi.CanCollide = false
  613. prtfi.TopSurface = 0
  614. prtfi.BottomSurface = 0
  615. prtfi.FormFactor = 3
  616. prtfi.Transparency = 0.15
  617. prtfi.BrickColor = BrickColor.Red()
  618. prtfi.Size = Vector3.new(2,10,2)
  619. prtfi.CFrame = CFrame.new(mycf *Vector3.new(0,-2,spred))
  620. local prtfim = Instance.new("SpecialMesh",prtfi)
  621. prtfim.MeshType = "Sphere"
  622. local prteff = Instance.new("Part",Char)
  623. prteff.Anchored = true
  624. prteff.CanCollide = false
  625. prteff.TopSurface = 0
  626. prteff.BottomSurface = 0
  627. prteff.FormFactor = 3
  628. prteff.Transparency = 0.25
  629. prteff.BrickColor = BrickColor.Red()
  630. prteff.Size = Vector3.new(3,1,3)
  631. prteff.CFrame = CFrame.new(mycf *Vector3.new(0,-2,spred))
  632. local prteffm = Instance.new("SpecialMesh",prteff)
  633. prteffm.Offset = Vector3.new(0,-0.5,0)
  634. prteffm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  635. prteffm.Scale = prteff.Size
  636. prtfi.Touched:connect(function(hit) if hit ~= nil and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then local fir = Instance.new("Fire",hit.Parent.Torso) game.Debris:AddItem(fir,1) for i = 1, 10 do hit.Parent.Humanoid:TakeDamage(0.75) wait() end end end)
  637. for i = 1, 4 do
  638. prtfim.Scale = prtfim.Scale +Vector3.new(0,0.5,0)
  639. wait()
  640. end
  641. game.Debris:AddItem(prtfi,0.5)
  642. game.Debris:AddItem(prteff,0.5)
  643. wait()
  644. end
  645. end))
  646. for i = 1, 25 do
  647. speed = 0.3
  648. anglespeed = 2
  649. ncf = NC0 *CFrame.Angles(0,math.pi/2,0)
  650. rjcf = RJC0 *CFrame.Angles(0,math.pi/2,0)
  651. rjcf1 = RJC1
  652. lscf = LSC0 *CFrame.Angles(0,0,-math.pi/2)
  653. rscf = RSC0 *CFrame.Angles(math.pi/8,0,0)
  654. hancf = savehanw
  655. llcf = LHC0
  656. rlcf = RHC0
  657. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  658. speed = 0.2
  659. anglespeed = 3
  660. angle = (angle % 100) +anglespeed/10
  661. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  662. rlcf = RHC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  663. end
  664. lerp(WLS,WLS.C0,lscf,speed)
  665. lerp(WRS,WRS.C0,rscf,speed)
  666. lerp(WRJ,WRJ.C0,rjcf,speed)
  667. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  668. lerp(Neck,Neck.C0,ncf,speed)
  669. lerp(WLH,WLH.C0,llcf,speed)
  670. lerp(WRH,WRH.C0,rlcf,speed)
  671. lerp(hanw,hanw.C0,hancf,speed)
  672. wait()
  673. end
  674. wait(0.5)
  675. enabled = true
  676. action = "None"
  677. end
  678. if action == "JumpSlam" then
  679. for i = 1, 88 do
  680. if i == 1 then
  681. PlaySound(Head,0.5,0.6,Sounds[9])
  682. speed = 0.2
  683. anglespeed = 1
  684. bv = Instance.new("BodyVelocity",HM)
  685. bv.maxForce = Vector3.new(0,1/0,0)
  686. bv.velocity = Vector3.new(0,50,0)
  687. end
  688. if i <= 49 then
  689. ncf = NC0 *CFrame.Angles(math.pi/4,0,0)
  690. rjcf = RJC0 *CFrame.Angles(-math.pi/10,0,0)
  691. rjcf1 = RJC1
  692. lscf = LSC0 *CFrame.Angles(0,0,-math.pi/2.2)
  693. rscf = RSC0 *CFrame.Angles(0,0,math.pi/2.2)
  694. hancf = savehanw
  695. llcf = LHC0 *CFrame.Angles(-math.pi/4,0,0)
  696. rlcf = RHC0 *CFrame.new(0,0.5,-0.5) *CFrame.Angles(-math.pi/4,0,0)
  697. elseif i == 50 then
  698. bv:remove()
  699. elseif i == 52 then
  700. Human.WalkSpeed = 0
  701. local touched = true
  702. con = RL.Touched:connect(function()
  703. if touched == false then return end
  704. touched = false
  705. coroutine.resume(coroutine.create(function()
  706. prtshk = Instance.new("Part",Char)
  707. prtshk.Anchored = true
  708. prtshk.CanCollide = false
  709. prtshk.TopSurface = 0
  710. prtshk.BottomSurface = 0
  711. prtshk.FormFactor = 3
  712. prtshk.Size = Vector3.new(1,1,1)
  713. prtshk.CFrame = CFrame.new(RL.CFrame.p) *CFrame.new(0,-RL.Size.Y/2,0)
  714. prtshkm = Instance.new("SpecialMesh",prtshk)
  715. prtshkm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  716. game.Debris:AddItem(prtshk,2)
  717. for i = 0,1,0.1 do
  718. prtshk.Transparency = i
  719. prtshkm.Scale = prtshkm.Scale +Vector3.new(2,0,2)
  720. prtshk.Size = prtshkm.Scale
  721. selbox = Instance.new("SelectionBox",prtshk)
  722. selbox.Adornee = prtshk
  723. wait()
  724. end
  725. end))
  726. local get = workspace:GetChildren()
  727. for i = 1, #get do
  728. if get[i] ~= Char and get[i]:FindFirstChild("Humanoid") ~= nil and get[i]:FindFirstChild("Humanoid").Health > 0 and get[i]:FindFirstChild("Torso") ~= nil then
  729. if (get[i].Torso.Position - T.Position).Magnitude <= Vector3.new(prtshk.Size.X,prtshk.Size.Y,prtshk.Size.Z).Magnitude then
  730. rack = math.random(18.15,20.92)
  731. get[i].Humanoid:TakeDamage(rack)
  732. get[i].Humanoid:ChangeState(Enum.HumanoidStateType.Ragdoll)
  733. v = Instance.new("BodyVelocity", get[i].Torso)
  734. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  735. v.velocity = HM.CFrame.lookVector *70 game.Debris:AddItem(v, 0.3) ShowDmg(rack)
  736. end
  737. end
  738. end
  739. end)
  740. elseif i <= 87 then
  741. ncf = NC0 *CFrame.Angles(-math.pi/5,0,0)
  742. rjcf = RJC0 *CFrame.Angles(math.pi/10,0,0)
  743. rjcf1 = RJC1
  744. lscf = LSC0 *CFrame.Angles(0,0,-math.pi/1.05)
  745. rscf = RSC0 *CFrame.Angles(0,0,math.pi/1.05)
  746. hancf = savehanw
  747. llcf = LHC0 *CFrame.Angles(-math.pi/3.35,0,0)
  748. rlcf = RHC0 *CFrame.new(0,-0.1,0) *CFrame.Angles(math.pi/5,0,0)
  749. elseif i == 88 then
  750. con:disconnect()
  751. end
  752. lerp(WLS,WLS.C0,lscf,speed)
  753. lerp(WRS,WRS.C0,rscf,speed)
  754. lerp(WRJ,WRJ.C0,rjcf,speed)
  755. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  756. lerp(Neck,Neck.C0,ncf,speed)
  757. lerp(WLH,WLH.C0,llcf,speed)
  758. lerp(WRH,WRH.C0,rlcf,speed)
  759. lerp(hanw,hanw.C0,hancf,speed)
  760. wait()
  761. end
  762. Human.WalkSpeed = 16
  763. enabled = true
  764. action = "None"
  765. end
  766. if action == "IceSting" then
  767. local sep = 1
  768. local savespeed = Char.Humanoid.WalkSpeed
  769. coroutine.resume(coroutine.create(function()
  770. wait(0.8)
  771. local hmpos = HM.CFrame
  772. for i = 1,10 do
  773. sep = sep +4
  774. local spk = Instance.new("Part", Char)
  775. spk.Anchored = true
  776. spk.TopSurface = 0
  777. spk.BottomSurface = 0
  778. spk.FormFactor = 3
  779. spk.Reflectance = 0.35
  780. spk.BrickColor = BrickColor.Blue()
  781. spk.Size = Vector3.new(1*3,3.8*3,1*3)
  782. spk.CFrame = CFrame.new(hmpos *Vector3.new(0,-5,-sep))
  783. local spkm = Instance.new("SpecialMesh", spk)
  784. spkm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  785. spkm.Scale = Vector3.new(0.6*3, 5.4*3, 0.6*3)
  786. coroutine.resume(coroutine.create(function()
  787. for i = 1, 12 do
  788. spk.CFrame = spk.CFrame *CFrame.new(0,0.15,0)
  789. wait()
  790. end
  791. end))
  792. coroutine.resume(coroutine.create(function()
  793. local custodmg = true
  794. local dspk = spk.Touched:connect(function(hit) if hit.Parent ~= nil and custodmg == true and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then
  795. local ddmg = math.random(5,12)
  796. hit.Parent.Humanoid:TakeDamage(ddmg)
  797. ShowDmg(ddmg)
  798. custodmg = false
  799. end
  800. end)
  801. coroutine.resume(coroutine.create(function()
  802. wait(0.5)
  803. custodmg = false
  804. dspk:disconnect()
  805. end))
  806. end))
  807. game.Debris:AddItem(spk,1)
  808. local pit = math.random(0.7,2)
  809. local masound = math.random(5,7)
  810. PlaySound(spk,0.5,pit,Sounds[masound])
  811. for i = 1, 3 do
  812. local prt = Instance.new("Part",Char)
  813. prt.Anchored = true
  814. prt.TopSurface = 0
  815. prt.BottomSurface = 0
  816. prt.FormFactor = 3
  817. prt.Transparency = 0.5
  818. prt.Reflectance = 0.6
  819. prt.BrickColor = BrickColor.Blue()
  820. prt.Size = Vector3.new(2*1.5,2*1.5,2*1.5)
  821. prt.CFrame = CFrame.new(spk.CFrame *Vector3.new(math.random(-2,2),1,math.random(-1,1))) *CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90)))
  822. game.Debris:AddItem(prt,1)
  823. end
  824. wait(0.05)
  825. end
  826. end))
  827. for i = 1, 45 do
  828. speed = 0.2
  829. anlespeed = 1.2
  830. if i == 1 then
  831. PlaySound(Head,0.5,1.15,Sounds[4])
  832. elseif i <= 11 then
  833. ncf = NC0 *CFrame.Angles(math.pi/4,0,0)
  834. rjcf = RJC0
  835. rjcf1 = RJC1
  836. lscf = LSC0 *CFrame.new(1.25,0,0) *CFrame.Angles(math.pi/1.1,0,math.pi/6)
  837. rscf = RSC0 *CFrame.new(-0.5,0,0) *CFrame.Angles(math.pi/1.1,0,-math.pi/8)
  838. hancf = savehanw
  839. llcf = LHC0
  840. rlcf = RHC0
  841. elseif i == 12 then
  842. PlaySound(Head,0.5,1,Sounds[2])
  843. elseif i == 22 then
  844. damen = true
  845. dmgbx = hb.Touched:connect(function(hit) Damage(hit,9,15) end)
  846. elseif i <= 23 then
  847. ncf = NC0 *CFrame.Angles(-math.pi/4,0,0)
  848. rjcf = RJC0
  849. rjcf1 = RJC1
  850. lscf = LSC0 *CFrame.new(1.25,-0.5,-0.25) *CFrame.Angles(math.pi/10,0,math.pi/6)
  851. rscf = RSC0 *CFrame.new(-0.5,-0.5,-0.25) *CFrame.Angles(math.pi/10,0,-math.pi/8)
  852. hancf = savehanw *CFrame.new(0,-0.8,0.85) *CFrame.Angles(math.pi/2,0,0)
  853. llcf = LHC0
  854. rlcf = RHC0
  855. elseif i <= 45 then
  856. damen = false
  857. dmgbx:disconnect()
  858. ncf = NC0 *CFrame.Angles(-math.pi/4,0,0)
  859. rjcf = RJC0
  860. rjcf1 = RJC1
  861. lscf = LSC0 *CFrame.new(1.25,-0.5,-0.25) *CFrame.Angles(math.pi/10,0,math.pi/6)
  862. rscf = RSC0 *CFrame.new(-0.5,-0.5,-0.25) *CFrame.Angles(math.pi/10,0,-math.pi/8)
  863. hancf = savehanw *CFrame.new(0,-0.8,0.85) *CFrame.Angles(math.pi/2,0,0)
  864. llcf = LHC0
  865. rlcf = RHC0
  866. Human.WalkSpeed = 0
  867. end
  868. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  869. speed = 0.2
  870. anglespeed = 3
  871. angle = (angle % 100) +anglespeed/10
  872. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  873. rlcf = RHC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  874. end
  875. lerp(WLS,WLS.C0,lscf,speed)
  876. lerp(WRS,WRS.C0,rscf,speed)
  877. lerp(WRJ,WRJ.C0,rjcf,speed)
  878. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  879. lerp(Neck,Neck.C0,ncf,speed)
  880. lerp(WLH,WLH.C0,llcf,speed)
  881. lerp(WRH,WRH.C0,rlcf,speed)
  882. lerp(hanw,hanw.C0,hancf,speed)
  883. wait()
  884. end
  885. Human.WalkSpeed = savespeed
  886. damen = false
  887. enabled = true
  888. action = "None"
  889. end
  890. if action == "Slash1" then
  891. for i = 1, 23 do
  892. speed = 0.2
  893. anglespeed = 1.2
  894. hancf = savehanw
  895. if i <= 11 then
  896. ncf = NC0
  897. rjcf = RJC0 *CFrame.Angles(0,-math.pi/2,0)
  898. rjcf1 = RJC1
  899. lscf = LSC0 *CFrame.Angles(-math.pi/5,0,0)
  900. rscf = RSC0 *CFrame.Angles(math.pi/2,math.pi/2,0)
  901. hancf = savehanw
  902. llcf = LHC0
  903. rlcf = RHC0
  904. elseif i == 12 then
  905. PlaySound(Head,0.5,1,Sounds[2])
  906. damen = true
  907. dmgbx = hb.Touched:connect(function(hit) Damage(hit,9,15) end)
  908. elseif i <= 23 then
  909. speed = 0.2
  910. anglespeed = 1.2
  911. ncf = NC0
  912. rjcf = RJC0 *CFrame.Angles(0,math.pi/2,0)
  913. rjcf1 = RJC1
  914. lscf = LSC0 *CFrame.Angles(-math.pi/5,0,0)
  915. rscf = RSC0 *CFrame.Angles(0,0,math.pi/2)
  916. hancf = savehanw
  917. llcf = LHC0
  918. rlcf = RHC0
  919. end
  920. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  921. speed = 0.2
  922. anglespeed = 3
  923. angle = (angle % 100) +anglespeed/10
  924. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  925. rlcf = RHC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  926. end
  927. lerp(WLS,WLS.C0,lscf,speed)
  928. lerp(WRS,WRS.C0,rscf,speed)
  929. lerp(WRJ,WRJ.C0,rjcf,speed)
  930. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  931. lerp(Neck,Neck.C0,ncf,speed)
  932. lerp(WLH,WLH.C0,llcf,speed)
  933. lerp(WRH,WRH.C0,rlcf,speed)
  934. lerp(hanw,hanw.C0,hancf,speed)
  935. wait()
  936. end
  937. combo = 2
  938. enabled = true
  939. dmgbx:disconnect()
  940. damen = false
  941. action = "None"
  942. end
  943. if action == "Slash2" then
  944. for i = 1, 23 do
  945. speed = 0.2
  946. anglespeed = 1.2
  947. hancf = savehanw
  948. if i <= 11 then
  949. ncf = NC0 *CFrame.Angles(0,math.pi/2,0)
  950. rjcf = RJC0 *CFrame.Angles(0,math.pi/2,0)
  951. rjcf1 = RJC1
  952. lscf = LSC0 *CFrame.Angles(-math.pi/5,0,0)
  953. rscf = RSC0 *CFrame.Angles(math.pi/1.1,0,0)
  954. hancf = savehanw
  955. llcf = LHC0
  956. rlcf = RHC0
  957. elseif i == 12 then
  958. PlaySound(Head,0.5,1.1,Sounds[2])
  959. damen = true
  960. dmgbx = hb.Touched:connect(function(hit) Damage(hit,9,15) end)
  961. elseif i <= 23 then
  962. speed = 0.2
  963. anglespeed = 1.2
  964. ncf = NC0 *CFrame.Angles(0,-math.pi/2,0)
  965. rjcf = RJC0 *CFrame.Angles(0,-math.pi/2,0)
  966. rjcf1 = RJC1
  967. lscf = LSC0 *CFrame.Angles(-math.pi/5,0,0)
  968. rscf = RSC0 *CFrame.Angles(math.sin(0.01),0,0)
  969. hancf = savehanw
  970. llcf = LHC0
  971. rlcf = RHC0
  972. end
  973. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  974. speed = 0.2
  975. anglespeed = 3
  976. angle = (angle % 100) +anglespeed/10
  977. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  978. rlcf = RHC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  979. end
  980. lerp(WLS,WLS.C0,lscf,speed)
  981. lerp(WRS,WRS.C0,rscf,speed)
  982. lerp(WRJ,WRJ.C0,rjcf,speed)
  983. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  984. lerp(Neck,Neck.C0,ncf,speed)
  985. lerp(WLH,WLH.C0,llcf,speed)
  986. lerp(WRH,WRH.C0,rlcf,speed)
  987. lerp(hanw,hanw.C0,hancf,speed)
  988. wait()
  989. end
  990. combo = 3
  991. dmgbx:disconnect()
  992. damen = false
  993. enabled = true
  994. action = "None"
  995. end
  996. if action == "Slash3" then
  997. for i = 1,3 do
  998. damen = true
  999. dmgbx = hb.Touched:connect(function(hit) Damage(hit,15,25) end)
  1000. hancf = savehanw
  1001. for i = 0,1,0.1 do
  1002. speed = 0.2
  1003. anglespeed = 1.2
  1004. ncf = NC0
  1005. rjcf = RJC0
  1006. rjcf1 = RJC1 *CFrame.Angles(0,math.rad(-360*i),0)
  1007. lscf = LSC0 *CFrame.Angles(-math.pi/5,0,0)
  1008. rscf = RSC0 *CFrame.Angles(0,math.pi/2.3,math.pi/2)
  1009. hancf = savehanw
  1010. llcf = LHC0
  1011. rlcf = RHC0
  1012. if Vector3.new(T.Velocity.x,0,T.Velocity.z).Magnitude >= 2 then
  1013. speed = 0.2
  1014. anglespeed = 3
  1015. angle = (angle % 100) +anglespeed/10
  1016. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/20), 0, -math.rad(0.5))
  1017. rlcf = RHC0 *CFrame.Angles(-math.sin(angle*Human.WalkSpeed/20), 0, math.rad(0.5))
  1018. end
  1019. lerp(WLS,WLS.C0,lscf,speed)
  1020. lerp(WRS,WRS.C0,rscf,speed)
  1021. lerp(WRJ,WRJ.C0,rjcf,speed)
  1022. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  1023. lerp(Neck,Neck.C0,ncf,speed)
  1024. lerp(WLH,WLH.C0,llcf,speed)
  1025. lerp(WRH,WRH.C0,rlcf,speed)
  1026. lerp(hanw,hanw.C0,hancf,speed)
  1027. wait()
  1028. end
  1029. PlaySound(Head,0.5,1,Sounds[10])
  1030. dmgbx:disconnect()
  1031. end
  1032. combo = 1
  1033. damen = false
  1034. enabled = true
  1035. action = "None"
  1036. end
  1037. if action == "None" then
  1038. if Vector3.new(T.Velocity.X,0,T.Velocity.Z).Magnitude <=2 then
  1039. speed = 0.3
  1040. anglespeed = 1/2.5
  1041. ncf = NC0 *CFrame.Angles(0,math.pi/5,0)
  1042. rjcf = RJC0 *CFrame.new(0,math.sin(angle)*0.03,0) *CFrame.Angles(0,math.pi/5,0)
  1043. rjcf1 = RJC1
  1044. lscf = LSC0 *CFrame.Angles(-math.pi/24+math.sin(-angle)*0.05, 0, -math.rad(5))
  1045. rscf = RSC0 *CFrame.Angles(-math.pi/24+math.sin(-angle)*0.05, -math.rad(15), math.rad(5))
  1046. llcf = LHC0 *CFrame.Angles(math.rad(4.5), 0, -math.rad(2.5))
  1047. rlcf = RHC0 *CFrame.Angles(-math.rad(2.5), 0, math.rad(2.5))
  1048. hancf = savehanw
  1049. elseif Vector3.new(T.Velocity.X,0,T.Velocity.Z).Magnitude <=20 then
  1050. speed = 0.2
  1051. anglespeed = 1.5
  1052. ncf = NC0
  1053. rjcf = RJC0 *CFrame.Angles(math.pi/24,0,0)
  1054. rjcf1 = RJC1
  1055. lscf = LSC0 *CFrame.Angles(-math.pi/12,0,0)
  1056. rscf = RSC0 *CFrame.Angles(-math.pi/12,0,0)
  1057. llcf = LHC0 *CFrame.Angles(math.sin(angle), 0, -math.rad(0.5))
  1058. rlcf = RHC0 *CFrame.Angles(-math.sin(angle), 0, math.rad(0.5))
  1059. hancf = savehanw
  1060. elseif Vector3.new(T.Velocity.X,0,T.Velocity.Z).Magnitude >= 20 then
  1061. speed = 0.8
  1062. anglespeed = 1.5
  1063. ncf = NC0
  1064. rjcf = RJC0 *CFrame.Angles(math.pi/13,0,0)
  1065. rjcf1 = RJC1
  1066. lscf = LSC0 *CFrame.Angles(0,math.sin(angle*Human.WalkSpeed/30),-math.pi/2.5)
  1067. rscf = RSC0 *CFrame.Angles(0,math.sin(angle*Human.WalkSpeed/30),math.pi/2.5)
  1068. llcf = LHC0 *CFrame.Angles(math.sin(angle*Human.WalkSpeed/30), 0, -math.rad(0.5))
  1069. rlcf = RHC0 *CFrame.Angles(math.sin(-angle*Human.WalkSpeed/30), 0, math.rad(0.5))
  1070. hancf = savehanw
  1071. end
  1072. lerp(WLS,WLS.C0,lscf,speed)
  1073. lerp(WRS,WRS.C0,rscf,speed)
  1074. lerp(WRJ,WRJ.C0,rjcf,speed)
  1075. lerp2(WRJ,WRJ.C1,rjcf1,speed)
  1076. lerp(Neck,Neck.C0,ncf,speed)
  1077. lerp(WLH,WLH.C0,llcf,speed)
  1078. lerp(WRH,WRH.C0,rlcf,speed)
  1079. lerp(hanw,hanw.C0,hancf,speed)
  1080. end
  1081. end
  1082. Run.RenderStepped:wait()
  1083. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement