Advertisement
lilbakka78

Untitled

Aug 19th, 2018
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 407.39 KB | None | 0 0
  1. --armor create \\\\\\\\\\\\\\\\\\\\\\\\
  2.  
  3. -- Created with Z_Vs model compiler
  4. -- https://www.roblox.com/UPDATE-Model-2-Script-item?id=362910923
  5.  
  6. --Errors:
  7. System = {}
  8.  
  9. System.Create = function(a, c)
  10. local e = Instance.new(a)
  11. for d, a in pairs(c) do
  12. local b, a = ypcall(function()
  13. return e[d]
  14. end)
  15. if b then
  16. e[d] = c[d]
  17. end
  18. end
  19. return e
  20. end
  21. function b(d, b)
  22. local c = getfenv(d)
  23. local a = setmetatable({}, {
  24. __index = function(a, a)
  25. if a:lower() == 'script' then
  26. return b
  27. else
  28. return c[a]
  29. end
  30. end
  31. })
  32. setfenv(d, a)
  33. ypcall(function()
  34. d()
  35. end)
  36. end
  37. c = {}
  38. o1 = script
  39. o2 = System.Create("IntValue",{
  40. ["Name"] = "Hard",
  41. ["Parent"] = o1,
  42. ["Value"] = -2,
  43. })
  44. o3 = System.Create("IntValue",{
  45. ["Name"] = "Initial",
  46. ["Parent"] = o1,
  47. ["Value"] = 11,
  48. })
  49. o4 = System.Create("IntValue",{
  50. ["Name"] = "Left1",
  51. ["Parent"] = o1,
  52. ["Value"] = 39,
  53. })
  54. o5 = System.Create("IntValue",{
  55. ["Name"] = "Left2",
  56. ["Parent"] = o1,
  57. ["Value"] = 19,
  58. })
  59. o6 = System.Create("IntValue",{
  60. ["Name"] = "Progression",
  61. ["Parent"] = o1,
  62. ["Value"] = -1,
  63. })
  64. o7 = System.Create("IntValue",{
  65. ["Name"] = "Right1",
  66. ["Parent"] = o1,
  67. ["Value"] = 39,
  68. })
  69. o8 = System.Create("IntValue",{
  70. ["Name"] = "Right2",
  71. ["Parent"] = o1,
  72. ["Value"] = 19,
  73. })
  74. for a = 1, #c do
  75. coroutine.resume(c[a])
  76. end
  77.  
  78. game:GetObjects("rbxassetid://536629683")[1].Parent = script
  79.  
  80. --cape create \\\\\\\\\\\\\\\\\\\\\\\\
  81.  
  82. game:GetObjects("rbxassetid://536628496")[1].Parent = script.Armor
  83.  
  84. armor = script.Armor
  85.  
  86. wait(1)
  87. -- weld script create \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  88.  
  89. --Saz
  90.  
  91. --A new system which is a combination of fast-welds and hard-welds.
  92. --Should be far, far better.
  93.  
  94. --When script.CreateNewWelds.Value == true, we create a new set of weld information on script run.
  95. --This toggles off automatically afterwards, to prevent issues that fast-welds can cause.
  96.  
  97. --Cruder than I wanted it to be, but not like I intended for anyone but me to use it anyway.
  98. --The fact that you're reading this means you should likely kill yourself. Immediately.
  99.  
  100. wait(.33)
  101.  
  102. Tool=script.Armor
  103. Nib=game.Players.LocalPlayer.Character
  104.  
  105. running=0
  106. jumping=0
  107. clothinganim=function()
  108.  
  109. torsovel=Nib.Torso.Velocity
  110. vely=torsovel.y
  111. velh=Vector3.new(torsovel.x,0,torsovel.z)
  112.  
  113. coseff=math.cos(time()*2) / 18
  114. jumping=0
  115. if vely > 6 then
  116. jumping=1
  117. coseff=0
  118. elseif vely<-6 then
  119. jumping=-1
  120. coseff=0
  121. end
  122. running=0
  123. if velh.magnitude > 5 then
  124. running=1
  125. coseff=0
  126. end
  127.  
  128. rundir=1
  129. dir=Nib.Torso.Velocity
  130. magfor=(dir-Nib.Torso.CFrame.lookVector*dir.magnitude).magnitude
  131. magback=(dir-Nib.Torso.CFrame.lookVector*-dir.magnitude).magnitude
  132. if magfor > magback then
  133. rundir=-1
  134. end
  135.  
  136. runeff=(((velh.magnitude / math.pi / 9) * running) * rundir) * 1.1
  137. jumpeff=(math.abs(vely / 4) * jumping) / 9
  138.  
  139. fluidback=-.2 + jumpeff - (runeff / 3)
  140. fluidback2=-.8 + coseff + runeff * 2 - jumpeff*2
  141.  
  142. if fluidback > -.05 then
  143. fluidback=-.05
  144. end
  145. if fluidback < -math.rad(175) then
  146. fluidback=-math.rad(175)
  147. end
  148. if fluidback2 > 1.6 then
  149. fluidback2=1.6
  150. end
  151. if fluidback2 < -1.55 then
  152. fluidback2=-1.55
  153. end
  154.  
  155. gottagofast=(dir-Vector3.new(0,0,0)).magnitude/10 + .08
  156.  
  157. script.Initial.Value = -6 - math.deg(fluidback*1.5) + (jumpeff)
  158. script.Progression.Value = gottagofast*1.5 + - (jumpeff * 2) - 1
  159.  
  160. script.Right1.Value=40-gottagofast*17.5 + (jumpeff * 3)
  161. script.Right2.Value=20-gottagofast*8 + (jumpeff * 4)
  162. script.Left1.Value=40-gottagofast*17.5 + (jumpeff * 3)
  163. script.Left2.Value=20-gottagofast*8 + (jumpeff * 4)
  164. end
  165.  
  166. weldparts=function()
  167. print("Welding")
  168. lel={}
  169. function jarate(p)
  170. for i=1, #p do
  171. table.insert(lel,p[i])
  172. k=p[i]:children()
  173. if #k>0 then
  174. jarate(k)
  175. end
  176. end
  177. end
  178. for _,v in pairs(Tool:children()) do
  179. if v.Name~="Cloak" and v.className~="Script" then
  180. v:BreakJoints()
  181. jarate(v:children())
  182. end
  183. end
  184. for _,v in pairs(lel) do
  185. if v.className=="Weld" or v.className=="Motor6D" then
  186. v:Remove()
  187. end
  188. end
  189. for _,v in pairs(Tool["RightLeg"]:children()) do
  190. if v.Name~="Right Leg" then
  191. w=Instance.new("Weld")
  192. w.Part0=Tool["RightLeg"]["Right Leg"]
  193. w.Part1=v
  194. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  195. w.C0=Tool["RightLeg"]["Right Leg"].CFrame:inverse()*CFrame.new(v.Position)
  196. w.Parent=w.Part0
  197. end
  198. end
  199. w=Instance.new("Weld")
  200. w.Part0=Nib["Right Leg"]
  201. w.Part1=Tool["RightLeg"]["Right Leg"]
  202. w.Parent=w.Part0
  203. w.C0=CFrame.new(0,-.1,0)
  204. for _,v in pairs(Tool["LeftLeg"]:children()) do
  205. if v.Name~="Left Leg" then
  206. w=Instance.new("Weld")
  207. w.Part0=Tool["LeftLeg"]["Left Leg"]
  208. w.Part1=v
  209. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  210. w.C0=Tool["LeftLeg"]["Left Leg"].CFrame:inverse()*CFrame.new(v.Position)
  211. w.Parent=w.Part0
  212. end
  213. end
  214. w=Instance.new("Weld")
  215. w.Part0=Nib["Left Leg"]
  216. w.Part1=Tool["LeftLeg"]["Left Leg"]
  217. w.Parent=w.Part0
  218. w.C0=CFrame.new(0,-.1,0)
  219. for _,v in pairs(Tool["RightArm"]:children()) do
  220. if v.Name~="Right Arm" then
  221. w=Instance.new("Weld")
  222. w.Part0=Tool["RightArm"]["Right Arm"]
  223. w.Part1=v
  224. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  225. w.C0=Tool["RightArm"]["Right Arm"].CFrame:inverse()*CFrame.new(v.Position)
  226. w.Parent=w.Part1
  227. end
  228. end
  229. w=Instance.new("Weld")
  230. w.Part0=Nib["Right Arm"]
  231. w.Part1=Tool["RightArm"]["Right Arm"]
  232. w.Parent=w.Part0
  233. w.C0 = w.C0 * CFrame.Angles(0,math.rad(90),math.rad(90))
  234. for _,v in pairs(Tool["LeftArm"]:children()) do
  235. if v.Name~="Left Arm" then
  236. w=Instance.new("Weld")
  237. w.Part0=Tool["LeftArm"]["Left Arm"]
  238. w.Part1=v
  239. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  240. w.C0=Tool["LeftArm"]["Left Arm"].CFrame:inverse()*CFrame.new(v.Position)
  241. w.Parent=w.Part0
  242. end
  243. end
  244. w=Instance.new("Weld")
  245. w.Part0=Nib["Left Arm"]
  246. w.Part1=Tool["LeftArm"]["Left Arm"]
  247. w.Parent=w.Part0
  248.  
  249. for _,v in pairs(Tool["Torso"]:children()) do
  250. if v.Name~="Torso" then
  251. w=Instance.new("Weld")
  252. w.Part0=Tool["Torso"]["Torso"]
  253. w.Part1=v
  254. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  255. w.C0=Tool["Torso"]["Torso"].CFrame:inverse()*CFrame.new(v.Position)
  256. w.Parent=Tool["Torso"]["Torso"]
  257. end
  258. end
  259.  
  260. w=Instance.new("Weld")
  261. w.Part0=Nib["Torso"]
  262. w.Part1=Tool["Torso"]["Torso"]
  263. w.C0=w.C0*CFrame.fromEulerAnglesXYZ(0,0,0)
  264. w.Parent=w.Part0
  265.  
  266. for _,v in pairs(lel) do
  267. if v:IsA("BasePart") then v.Anchored=false end
  268. end
  269. if Nib:FindFirstChild("Pants")~=nil then
  270. Nib.Pants:Remove()
  271. end
  272. if Nib:FindFirstChild("Shirt")~=nil then
  273. Nib.Shirt:Remove()
  274. end
  275. Nib["Right Leg"].BrickColor=BrickColor.new("Really black")
  276. Nib["Left Leg"].BrickColor=BrickColor.new("Really black")
  277.  
  278. for _,v in pairs(Nib:children()) do
  279. if v.className=="Hat" then
  280. v:Remove()
  281. elseif v.className=="Part" and v.Name~="Head" then
  282. v.Transparency=1
  283. end
  284. end
  285.  
  286. wait(.5)
  287.  
  288. w=Instance.new("Weld")
  289. w.Part0=Nib.Torso
  290. w.Part1=Tool.Torso.Torso
  291. w.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,math.pi)
  292. w.C1=CFrame.new(0,0,0)
  293. w.Parent=w.Part1
  294. w.Name="ClothingWeld"
  295.  
  296. wait(.06)
  297.  
  298. while Tool.Torso.Torso:FindFirstChild("ClothingWeld")==nil do
  299. wait(.03)
  300. w=Instance.new("Weld")
  301. w.Part0=Nib.Torso
  302. w.Part1=Tool.Torso.Torso
  303. w.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,math.pi)
  304. w.C1=CFrame.new(0,0,0)
  305. w.Parent=w.Part1
  306. w.Name="ClothingWeld"
  307. end
  308.  
  309. w=Instance.new("Weld")
  310. w.Part0=Nib["Right Leg"]
  311. w.Part1=Tool.RightLeg["Right Leg"]
  312. w.C0=CFrame.new(0,0,0)
  313. w.C1=CFrame.new(0,0,0)
  314. w.Parent=w.Part1
  315. w.Name="ClothingWeld"
  316.  
  317. w=Instance.new("Weld")
  318. w.Part0=Nib["Left Leg"]
  319. w.Part1=Tool.LeftLeg["Left Leg"]
  320. w.C0=CFrame.new(0,0,0)
  321. w.C1=CFrame.new(0,0,0)
  322. w.Parent=w.Part1
  323. w.Name="ClothingWeld"
  324.  
  325. w=Instance.new("Weld")
  326. w.Part0=Nib["Right Arm"]
  327. w.Part1=Tool.RightArm["Right Arm"]
  328. w.C0=CFrame.new(0,0,0)
  329. w.C1=CFrame.new(0,0,0)
  330. w.Parent=w.Part1
  331. w.Name="ClothingWeld"
  332.  
  333. w=Instance.new("Weld")
  334. w.Part0=Nib["Left Arm"]
  335. w.Part1=Tool.LeftArm["Left Arm"]
  336. w.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,math.pi)
  337. w.C1=CFrame.new(0,0,0)
  338. w.Parent=w.Part1
  339. w.Name="ClothingWeld"
  340.  
  341. wait()
  342.  
  343. w=Instance.new("Weld")
  344. w.Part1=Tool.Cloak.HeadCloak
  345. w.Part0=Nib.Head
  346. w.C0=CFrame.new(0,.225,-.1) * CFrame.fromEulerAnglesXYZ(math.rad(-6),0,0)
  347. w.C1=CFrame.new(0,0,0)
  348. w.Parent=w.Part1
  349.  
  350. end
  351. weldparts()
  352.  
  353. wait(.5)
  354.  
  355. LEL=game:GetService("RunService").Stepped:connect(clothinganim)
  356.  
  357. -- cape script create\\\\\\\\\\\\\\\\\\\
  358.  
  359. --SazErenos
  360. asdf=armor.Cloak --Ihaveaproblemsendhelp
  361. Nub=game.Players.LocalPlayer.Character
  362. Tier1M=asdf.Tier1
  363. Tier2M=asdf.Tier2
  364. --nope
  365. Tier3M=asdf.Tier4
  366. Tier4M=asdf.Tier5
  367. Tier5M=asdf.Tier6
  368.  
  369. t1w,t2w,t3w,t4w,t5w,l1w,l2w,r1w,r2w,t4l,t4r,t5r,t5l,t6r,t6l=nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil
  370.  
  371. t1w=Instance.new("Motor6D",Tier1M)
  372. t1w.Name="TierWeld"
  373. t1w.Part0=Nub.Torso
  374. t1w.Part1=Tier1M
  375. t1w.C0=CFrame.new(0,1.15,0.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(0))
  376. t1w.C1=CFrame.new(0,.28,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  377. t1w.MaxVelocity=.08
  378. t1w.DesiredAngle=.4
  379.  
  380. w=Instance.new("Motor6D",Tier1M)
  381. w.Name="TierWeldF"
  382. w.Part0=Tier1M
  383. w.Part1=armor.Cloak.Tier1F
  384. w.C0 = w.C0 * CFrame.Angles(math.pi/2,0,0)
  385.  
  386. wait(.1)
  387.  
  388. t2w=Instance.new("Motor6D",Tier3M)
  389. t2w.Name="TierWeld"
  390. t2w.Part0=Tier1M
  391. t2w.Part1=Tier2M
  392. t2w.C0=CFrame.new(0,-.3,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  393. t2w.C1=CFrame.new(0,0,.19)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(90))
  394. t2w.MaxVelocity=.08
  395. t2w.DesiredAngle=-.05
  396.  
  397. t3w=Instance.new("Motor6D",Tier2M)
  398. t3w.Name="TierWeld"
  399. t3w.Part0=Tier2M
  400. t3w.Part1=Tier3M
  401. t3w.C0=CFrame.new(0,0,-.2)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(90))
  402. t3w.C1=CFrame.new(0,0,.19)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(-90))
  403. t3w.MaxVelocity=.08
  404. t3w.DesiredAngle=-.05
  405.  
  406. t4w=Instance.new("Motor6D",Tier3M)
  407. t4w.Name="TierWeld"
  408. t4w.Part0=Tier3M
  409. t4w.Part1=Tier4M
  410. t4w.C0=CFrame.new(0,0,-.2)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(0))
  411. t4w.C1=CFrame.new(0,0,-.29)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0))
  412. t4w.MaxVelocity=.08
  413. t4w.DesiredAngle=-.05
  414.  
  415. t4l=Instance.new("Motor6D",Tier4M)
  416. t4l.Name="TierWeldL"
  417. t4l.Part0=Tier4M
  418. t4l.Part1=asdf.Tier5L
  419. t4l.C0=CFrame.new(1.19,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(90))
  420. t4l.C1=CFrame.new(0,-.1,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  421. t4l.MaxVelocity=.08
  422. t4l.DesiredAngle=.8
  423.  
  424. t4r=Instance.new("Motor6D",Tier4M)
  425. t4r.Name="TierWeldR"
  426. t4r.Part0=Tier4M
  427. t4r.Part1=asdf.Tier5R
  428. t4r.C0=CFrame.new(-1.19,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90))
  429. t4r.C1=CFrame.new(0,-.1,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  430. t4r.MaxVelocity=.08
  431. t4r.DesiredAngle=-.8
  432.  
  433. t5w=Instance.new("Motor6D",Tier4M)
  434. t5w.Name="TierWeld"
  435. t5w.Part0=Tier4M
  436. t5w.Part1=Tier5M
  437. t5w.C0=CFrame.new(0,0,.3)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0))
  438. t5w.C1=CFrame.new(0,.0,-.39)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0))
  439. t5w.MaxVelocity=.08
  440. t5w.DesiredAngle=-.05
  441.  
  442. t5p=Instance.new("Motor6D",Tier5M)
  443. t5p.Name="AttachWeld"
  444. t5p.Part0=Tier5M
  445. t5p.Part1=asdf.Tier6R
  446. t5p.C0=CFrame.new(-.1,0,.7)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(90))
  447. t5p.C1=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  448. t5p.MaxVelocity=0
  449. t5p.DesiredAngle=0
  450.  
  451. t5p=Instance.new("Motor6D",Tier5M)
  452. t5p.Name="AttachWeld"
  453. t5p.Part0=Tier5M
  454. t5p.Part1=asdf.Tier6L
  455. t5p.C0=CFrame.new(.1,0,.7)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(-90))
  456. t5p.C1=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  457. t5p.MaxVelocity=0
  458. t5p.DesiredAngle=0
  459.  
  460. t5l=Instance.new("Motor6D",Tier5M)
  461. t5l.Name="TierWeldL"
  462. t5l.Part0=Tier5M
  463. t5l.Part1=asdf.L1
  464. t5l.C0=CFrame.new(1.18,0,.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(180))
  465. t5l.C1=CFrame.new(0,0,0.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90))
  466. t5l.MaxVelocity=.08
  467. t5l.DesiredAngle=0
  468.  
  469. t5r=Instance.new("Motor6D",Tier5M)
  470. t5r.Name="TierWeldL"
  471. t5r.Part0=Tier5M
  472. t5r.Part1=asdf.R1
  473. t5r.C0=CFrame.new(-1.18,0,.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(180))
  474. t5r.C1=CFrame.new(0,0,-.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90))
  475. t5r.MaxVelocity=.08
  476. t5r.DesiredAngle=-0
  477.  
  478. t6l=Instance.new("Motor6D",asdf.L1)
  479. t6l.Name="TierWeldL"
  480. t6l.Part0=asdf.L1
  481. t6l.Part1=asdf.L2
  482. t6l.C0=CFrame.new(0,-.56,-.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  483. t6l.C1=CFrame.new(0,0,0.18)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  484. t6l.MaxVelocity=.08
  485. t6l.DesiredAngle=0.8
  486.  
  487. t6r=Instance.new("Motor6D",asdf.R1)
  488. t6r.Name="TierWeldR"
  489. t6r.Part0=asdf.R1
  490. t6r.Part1=asdf.R2
  491. t6r.C0=CFrame.new(0,-.56,.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  492. t6r.C1=CFrame.new(0,0,-.18)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  493. t6r.MaxVelocity=.08
  494. t6r.DesiredAngle=0.8
  495. wait()
  496.  
  497. --InputNormals.V
  498. --line 3914
  499. --7924 rage add
  500. --7920 mana value add
  501. --2298 if grabee then
  502. --line 5500
  503. --line 3871
  504. --line 5355
  505. --line 2330
  506. System = {}
  507.  
  508. System.Create = function(a, c)
  509. local e = Instance.new(a)
  510. for d, a in pairs(c) do
  511. local b, a = ypcall(function()
  512. return e[d]
  513. end)
  514. if b then
  515. e[d] = c[d]
  516. end
  517. end
  518. return e
  519. end
  520. function b(d, b)
  521. local c = getfenv(d)
  522. local a = setmetatable({}, {
  523. __index = function(a, a)
  524. if a:lower() == 'script' then
  525. return b
  526. else
  527. return c[a]
  528. end
  529. end
  530. })
  531. setfenv(d, a)
  532. ypcall(function()
  533. d()
  534. end)
  535. end
  536. c = {}
  537. mas = Instance.new("Model",game:GetService("Lighting"))
  538. mas.Name = "CompiledModel"
  539. o1 = System.Create("HopperBin",{
  540. ["Name"] = "Morning Star",
  541. ["Parent"] = mas,
  542. ["BinType"] = "Script",
  543. ["Parent"] = game:GetService("Players").LocalPlayer.Backpack
  544. })
  545. script.Parent = o1
  546. o2 = System.Create("BoolValue",{
  547. ["Name"] = "Status",
  548. ["Parent"] = o1,
  549. ["Value"] = true,
  550. })
  551. o3 = System.Create("IntValue",{
  552. ["Name"] = "AnimFrame",
  553. ["Parent"] = o2,
  554. })
  555. o4 = System.Create("StringValue",{
  556. ["Name"] = "AnimType",
  557. ["Parent"] = o2,
  558. ["Value"] = "NOTHING AT ALL",
  559. })
  560. o5 = System.Create("IntValue",{
  561. ["Name"] = "AnimWeight",
  562. ["Parent"] = o2,
  563. })
  564. o6 = System.Create("BoolValue",{
  565. ["Name"] = "AnimCanBeInterrupted",
  566. ["Parent"] = o2,
  567. ["Value"] = true,
  568. })
  569. o7 = System.Create("Script",{
  570. ["Name"] = "DMG",
  571. ["Parent"] = o1,
  572. })
  573.  
  574. o8 = System.Create("RemoteEvent",{
  575. ["Parent"] = o7,
  576. })
  577. o9 = System.Create("RemoteEvent",{
  578. ["Name"] = "RemoteEventM",
  579. ["Parent"] = o7,
  580. })
  581. mas.Parent = workspace
  582. mas:MakeJoints()
  583. local b = mas:GetChildren()
  584. for a = 1, #b do
  585. b[a].Parent = workspace
  586. ypcall(function()
  587. b[a]:MakeJoints()
  588. end)
  589. end
  590. mas:Destroy()
  591. for a = 1, #c do
  592. coroutine.resume(c[a])
  593. end
  594.  
  595.  
  596. System = {}
  597.  
  598. System.Create = function(a, c)
  599. local e = Instance.new(a)
  600. for d, a in pairs(c) do
  601. local b, a = ypcall(function()
  602. return e[d]
  603. end)
  604. if b then
  605. e[d] = c[d]
  606. end
  607. end
  608. return e
  609. end
  610. function b(d, b)
  611. local c = getfenv(d)
  612. local a = setmetatable({}, {
  613. __index = function(a, a)
  614. if a:lower() == 'script' then
  615. return b
  616. else
  617. return c[a]
  618. end
  619. end
  620. })
  621. setfenv(d, a)
  622. ypcall(function()
  623. d()
  624. end)
  625. end
  626. c = {}
  627. mas = Instance.new("Model",game:GetService("Lighting"))
  628. mas.Name = "CompiledModel"
  629. o1 = script
  630. o2 = System.Create("LocalScript",{
  631. ["Name"] = "BleedController",
  632. ["Parent"] = o1,
  633. ["Disabled"] = true,
  634. })
  635.  
  636. o3 = System.Create("LocalScript",{
  637. ["Name"] = "CamShake",
  638. ["Parent"] = o1,
  639. ["Disabled"] = true,
  640. })
  641.  
  642. o4 = System.Create("IntValue",{
  643. ["Name"] = "intensity",
  644. ["Parent"] = o3,
  645. ["Value"] = 16,
  646. })
  647. o5 = System.Create("IntValue",{
  648. ["Name"] = "times",
  649. ["Parent"] = o3,
  650. ["Value"] = 5,
  651. })
  652. o6 = System.Create("LocalScript",{
  653. ["Name"] = "ForceState",
  654. ["Parent"] = o1,
  655. ["Disabled"] = true,
  656. })
  657.  
  658. o7 = System.Create("StringValue",{
  659. ["Parent"] = o6,
  660. ["Value"] = "FallingDown",
  661. })
  662. o26 = System.Create("BoolValue",{
  663. ["Name"] = "Stats",
  664. ["Parent"] = o1,
  665. })
  666. o27 = System.Create("NumberValue",{
  667. ["Name"] = "Mana",
  668. ["Parent"] = o26,
  669. ["Value"] = 35,
  670. })
  671. o28 = System.Create("BoolValue",{
  672. ["Name"] = "Decrease",
  673. ["Parent"] = o26,
  674. })
  675. o29 = System.Create("NumberValue",{
  676. ["Name"] = "DecreaseMvmt",
  677. ["Parent"] = o28,
  678. ["Value"] = 0.1,
  679. })
  680. o30 = System.Create("NumberValue",{
  681. ["Name"] = "DecreaseAtk",
  682. ["Parent"] = o28,
  683. })
  684. o31 = System.Create("ObjectValue",{
  685. ["Name"] = "RecentEnemy",
  686. ["Parent"] = o26,
  687. })
  688. o32 = System.Create("BoolValue",{
  689. ["Name"] = "StaggerHit",
  690. ["Parent"] = o26,
  691. })
  692. o33 = System.Create("BoolValue",{
  693. ["Name"] = "Stagger",
  694. ["Parent"] = o26,
  695. })
  696. o34 = System.Create("BoolValue",{
  697. ["Name"] = "Stunned",
  698. ["Parent"] = o26,
  699. })
  700. o35 = System.Create("BoolValue",{
  701. ["Name"] = "Rooted",
  702. ["Parent"] = o26,
  703. })
  704. o36 = System.Create("NumberValue",{
  705. ["Name"] = "StunThreshold",
  706. ["Parent"] = o26,
  707. ["Value"] = 100,
  708. })
  709. o37 = System.Create("NumberValue",{
  710. ["Name"] = "Stun",
  711. ["Parent"] = o26,
  712. })
  713. o38 = System.Create("BoolValue",{
  714. ["Name"] = "Block",
  715. ["Parent"] = o26,
  716. })
  717. o39 = System.Create("NumberValue",{
  718. ["Name"] = "Movement",
  719. ["Parent"] = o26,
  720. ["Value"] = 0.9,
  721. })
  722. o40 = System.Create("NumberValue",{
  723. ["Name"] = "Defense",
  724. ["Parent"] = o26,
  725. ["Value"] = 1,
  726. })
  727. o41 = System.Create("NumberValue",{
  728. ["Name"] = "Damage",
  729. ["Parent"] = o26,
  730. ["Value"] = 1,
  731. })
  732. mas.Parent = workspace
  733. mas:MakeJoints()
  734. local b = mas:GetChildren()
  735. for a = 1, #b do
  736. b[a].Parent = workspace
  737. ypcall(function()
  738. b[a]:MakeJoints()
  739. end)
  740. end
  741. mas:Destroy()
  742. for a = 1, #c do
  743. coroutine.resume(c[a])
  744. end
  745.  
  746. local WeaponGUI = Instance.new("GuiMain")
  747. local MeterFrame = Instance.new("Frame")
  748. local ManaBar = Instance.new("TextLabel")
  749. local Fill = Instance.new("TextLabel")
  750. local ManaLabel = Instance.new("TextLabel")
  751. local CorruptionBar = Instance.new("TextLabel")
  752. local Fill_2 = Instance.new("TextLabel")
  753. local CorruptionLabel = Instance.new("TextLabel")
  754. local StatsFrame = Instance.new("Frame")
  755. local Damage = Instance.new("TextLabel")
  756. local Defense = Instance.new("TextLabel")
  757. local Walkspeed = Instance.new("TextLabel")
  758. local Health = Instance.new("TextLabel")
  759. local Fill_3 = Instance.new("TextLabel")
  760. local TextBox = Instance.new("TextLabel")
  761. local MoveFrame = Instance.new("Frame")
  762. local TextButton1 = Instance.new("TextButton")
  763. local TextLabel = Instance.new("TextLabel")
  764. local TextButton2 = Instance.new("TextButton")
  765. local TextLabel_2 = Instance.new("TextLabel")
  766. local TextButton3 = Instance.new("TextButton")
  767. local TextLabel_3 = Instance.new("TextLabel")
  768. local TextButton4 = Instance.new("TextButton")
  769. local TextLabel_4 = Instance.new("TextLabel")
  770. local TextButton5 = Instance.new("TextButton")
  771. local TextLabel_5 = Instance.new("TextLabel")
  772. local StunFrame = Instance.new("Frame")
  773. local TextLabel_6 = Instance.new("TextLabel")
  774. local Fill_4 = Instance.new("TextLabel")
  775. local StunLabel = Instance.new("TextLabel")
  776. local Overlay = Instance.new("Frame")
  777.  
  778. -- Properties
  779.  
  780. WeaponGUI.Name = "WeaponGUI"
  781. WeaponGUI.Parent = script
  782.  
  783. MeterFrame.Name = "MeterFrame"
  784. MeterFrame.Parent = WeaponGUI
  785. MeterFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  786. MeterFrame.BackgroundTransparency = 1
  787. MeterFrame.BorderColor3 = Color3.new(1, 1, 1)
  788. MeterFrame.Position = UDim2.new(0.949999988, 0, 0.699999988, 0)
  789. MeterFrame.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  790.  
  791. ManaBar.Name = "ManaBar"
  792. ManaBar.Parent = MeterFrame
  793. ManaBar.BackgroundColor3 = Color3.new(0, 0, 0)
  794. ManaBar.Size = UDim2.new(0.400000006, 0, -4, 0)
  795. ManaBar.Font = Enum.Font.SourceSans
  796. ManaBar.FontSize = Enum.FontSize.Size14
  797. ManaBar.Text = ""
  798. ManaBar.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  799. ManaBar.TextStrokeTransparency = 0
  800.  
  801. Fill.Name = "Fill"
  802. Fill.Parent = ManaBar
  803. Fill.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  804. Fill.Size = UDim2.new(1, 0, 0, 0)
  805. Fill.Font = Enum.Font.SourceSans
  806. Fill.FontSize = Enum.FontSize.Size14
  807. Fill.Text = ""
  808. Fill.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  809. Fill.TextStrokeTransparency = 0
  810.  
  811. ManaLabel.Name = "ManaLabel"
  812. ManaLabel.Parent = MeterFrame
  813. ManaLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  814. ManaLabel.BackgroundTransparency = 1
  815. ManaLabel.Position = UDim2.new(0, 0, 0.200000003, 0)
  816. ManaLabel.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  817. ManaLabel.Font = Enum.Font.SourceSans
  818. ManaLabel.FontSize = Enum.FontSize.Size14
  819. ManaLabel.Text = "Mana(0)"
  820. ManaLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  821. ManaLabel.TextStrokeTransparency = 0
  822.  
  823. CorruptionBar.Name = "CorruptionBar"
  824. CorruptionBar.Parent = MeterFrame
  825. CorruptionBar.BackgroundColor3 = Color3.new(0, 0, 0)
  826. CorruptionBar.Position = UDim2.new(-0.600000024, 0, 0, 0)
  827. CorruptionBar.Size = UDim2.new(0.400000006, 0, -4, 0)
  828. CorruptionBar.Font = Enum.Font.SourceSans
  829. CorruptionBar.FontSize = Enum.FontSize.Size14
  830. CorruptionBar.Text = ""
  831. CorruptionBar.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  832. CorruptionBar.TextStrokeTransparency = 0
  833.  
  834. Fill_2.Name = "Fill"
  835. Fill_2.Parent = CorruptionBar
  836. Fill_2.BackgroundColor3 = Color3.new(0, 0, 0.498039)
  837. Fill_2.Position = UDim2.new(-0.600000024, 0, 0, 0)
  838. Fill_2.Size = UDim2.new(0.400000006, 0, 0, 0)
  839. Fill_2.Font = Enum.Font.SourceSans
  840. Fill_2.FontSize = Enum.FontSize.Size14
  841. Fill_2.Text = ""
  842. Fill_2.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  843. Fill_2.TextStrokeTransparency = 0
  844.  
  845. CorruptionLabel.Name = "CorruptionLabel"
  846. CorruptionLabel.Parent = MeterFrame
  847. CorruptionLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  848. CorruptionLabel.BackgroundTransparency = 1
  849. CorruptionLabel.Position = UDim2.new(-0.600000024, 0, 0.200000003, 0)
  850. CorruptionLabel.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  851. CorruptionLabel.Font = Enum.Font.SourceSans
  852. CorruptionLabel.FontSize = Enum.FontSize.Size14
  853. CorruptionLabel.Text = "Stamina(100)"
  854. CorruptionLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  855. CorruptionLabel.TextStrokeTransparency = 0
  856.  
  857. StatsFrame.Name = "StatsFrame"
  858. StatsFrame.Parent = WeaponGUI
  859. StatsFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  860. StatsFrame.BackgroundTransparency = 1
  861. StatsFrame.BorderColor3 = Color3.new(1, 1, 1)
  862. StatsFrame.Position = UDim2.new(0.400000006, 0, 0.850000024, 0)
  863. StatsFrame.Size = UDim2.new(0.200000003, 0, 0.100000001, 0)
  864.  
  865. Damage.Name = "Damage"
  866. Damage.Parent = StatsFrame
  867. Damage.BackgroundColor3 = Color3.new(0.607843, 0, 0)
  868. Damage.BackgroundTransparency = 0.55000001192093
  869. Damage.Position = UDim2.new(-0.230000004, 0, 0, 0)
  870. Damage.Size = UDim2.new(0.200000003, 0, 1, 0)
  871. Damage.Font = Enum.Font.SourceSans
  872. Damage.FontSize = Enum.FontSize.Size14
  873. Damage.Text = "Damage\n(1)"
  874. Damage.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  875. Damage.TextStrokeTransparency = 0
  876.  
  877. Defense.Name = "Defense"
  878. Defense.Parent = StatsFrame
  879. Defense.BackgroundColor3 = Color3.new(0, 0, 0.607843)
  880. Defense.BackgroundTransparency = 0.55000001192093
  881. Defense.Position = UDim2.new(-0.460000008, 0, 0, 0)
  882. Defense.Size = UDim2.new(0.200000003, 0, 1, 0)
  883. Defense.Font = Enum.Font.SourceSans
  884. Defense.FontSize = Enum.FontSize.Size14
  885. Defense.Text = "Defense\n(0.9)"
  886. Defense.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  887. Defense.TextStrokeTransparency = 0
  888.  
  889. Walkspeed.Name = "Walkspeed"
  890. Walkspeed.Parent = StatsFrame
  891. Walkspeed.BackgroundColor3 = Color3.new(0, 0.607843, 0)
  892. Walkspeed.BackgroundTransparency = 0.55000001192093
  893. Walkspeed.Position = UDim2.new(1.02999997, 0, 0, 0)
  894. Walkspeed.Size = UDim2.new(0.200000003, 0, 1, 0)
  895. Walkspeed.Font = Enum.Font.SourceSans
  896. Walkspeed.FontSize = Enum.FontSize.Size14
  897. Walkspeed.Text = "Walkspeed\n(0.9)"
  898. Walkspeed.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  899. Walkspeed.TextStrokeTransparency = 0
  900.  
  901. Health.Name = "Health"
  902. Health.Parent = StatsFrame
  903. Health.BackgroundColor3 = Color3.new(0, 0, 0)
  904. Health.Position = UDim2.new(-0.460000008, 0, 1, 0)
  905. Health.Size = UDim2.new(1.91999996, 0, 0.400000006, 0)
  906. Health.Font = Enum.Font.SourceSans
  907. Health.FontSize = Enum.FontSize.Size14
  908. Health.Text = ""
  909. Health.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  910. Health.TextStrokeTransparency = 0
  911.  
  912. Fill_3.Name = "Fill"
  913. Fill_3.Parent = Health
  914. Fill_3.BackgroundColor3 = Color3.new(1, 0, 0)
  915. Fill_3.Size = UDim2.new(1, 0, 1, 0)
  916. Fill_3.Font = Enum.Font.SourceSans
  917. Fill_3.FontSize = Enum.FontSize.Size14
  918. Fill_3.Text = ""
  919. Fill_3.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  920. Fill_3.TextStrokeTransparency = 0
  921.  
  922. TextBox.Name = "TextBox"
  923. TextBox.Parent = Health
  924. TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
  925. TextBox.BackgroundTransparency = 1
  926. TextBox.Size = UDim2.new(1, 0, 1, 0)
  927. TextBox.Font = Enum.Font.SourceSans
  928. TextBox.FontSize = Enum.FontSize.Size14
  929. TextBox.Text = "(100)"
  930. TextBox.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  931. TextBox.TextStrokeTransparency = 0
  932.  
  933. MoveFrame.Name = "MoveFrame"
  934. MoveFrame.Parent = WeaponGUI
  935. MoveFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  936. MoveFrame.BackgroundTransparency = 1
  937. MoveFrame.BorderColor3 = Color3.new(1, 1, 1)
  938. MoveFrame.Position = UDim2.new(0.800000012, 0, 0.800000012, 0)
  939. MoveFrame.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  940.  
  941. TextButton1.Name = "TextButton1"
  942. TextButton1.Parent = MoveFrame
  943. TextButton1.BackgroundColor3 = Color3.new(0.498039, 0.498039, 0.498039)
  944. TextButton1.BackgroundTransparency = 0.55000001192093
  945. TextButton1.Position = UDim2.new(0.100000001, 0, 0.100000001, 0)
  946. TextButton1.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  947. TextButton1.ZIndex = 2
  948. TextButton1.Font = Enum.Font.SourceSans
  949. TextButton1.FontSize = Enum.FontSize.Size14
  950. TextButton1.Text = "(Z)\nGift For You"
  951. TextButton1.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  952. TextButton1.TextStrokeTransparency = 0
  953.  
  954. TextLabel.Parent = TextButton1
  955. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  956. TextLabel.BackgroundTransparency = 0.55000001192093
  957. TextLabel.Size = UDim2.new(0, 0, 1, 0)
  958. TextLabel.Font = Enum.Font.SourceSans
  959. TextLabel.FontSize = Enum.FontSize.Size14
  960. TextLabel.Text = ""
  961. TextLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  962. TextLabel.TextStrokeTransparency = 0
  963.  
  964. TextButton2.Name = "TextButton2"
  965. TextButton2.Parent = MoveFrame
  966. TextButton2.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  967. TextButton2.BackgroundTransparency = 0.55000001192093
  968. TextButton2.Position = UDim2.new(0.600000024, 0, 0.100000001, 0)
  969. TextButton2.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  970. TextButton2.ZIndex = 2
  971. TextButton2.Font = Enum.Font.SourceSans
  972. TextButton2.FontSize = Enum.FontSize.Size14
  973. TextButton2.Text = "(X)\nBlackhole Sun"
  974. TextButton2.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  975. TextButton2.TextStrokeTransparency = 0
  976.  
  977. TextLabel_2.Parent = TextButton2
  978. TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
  979. TextLabel_2.BackgroundTransparency = 0.55000001192093
  980. TextLabel_2.Size = UDim2.new(0, 0, 1, 0)
  981. TextLabel_2.Font = Enum.Font.SourceSans
  982. TextLabel_2.FontSize = Enum.FontSize.Size14
  983. TextLabel_2.Text = ""
  984. TextLabel_2.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  985. TextLabel_2.TextStrokeTransparency = 0
  986.  
  987. TextButton3.Name = "TextButton3"
  988. TextButton3.Parent = MoveFrame
  989. TextButton3.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  990. TextButton3.BackgroundTransparency = 0.55000001192093
  991. TextButton3.Position = UDim2.new(0.100000001, 0, 0.600000024, 0)
  992. TextButton3.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  993. TextButton3.ZIndex = 2
  994. TextButton3.Font = Enum.Font.SourceSans
  995. TextButton3.FontSize = Enum.FontSize.Size14
  996. TextButton3.Text = "(C)\nButtterfly with Teeth"
  997. TextButton3.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  998. TextButton3.TextStrokeTransparency = 0
  999.  
  1000. TextLabel_3.Parent = TextButton3
  1001. TextLabel_3.BackgroundColor3 = Color3.new(0, 0, 0)
  1002. TextLabel_3.BackgroundTransparency = 0.55000001192093
  1003. TextLabel_3.Size = UDim2.new(0, 0, 1, 0)
  1004. TextLabel_3.Font = Enum.Font.SourceSans
  1005. TextLabel_3.FontSize = Enum.FontSize.Size14
  1006. TextLabel_3.Text = ""
  1007. TextLabel_3.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  1008. TextLabel_3.TextStrokeTransparency = 0
  1009.  
  1010. TextButton4.Name = "TextButton4"
  1011. TextButton4.Parent = MoveFrame
  1012. TextButton4.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  1013. TextButton4.BackgroundTransparency = 0.55000001192093
  1014. TextButton4.Position = UDim2.new(0.600000024, 0, 0.600000024, 0)
  1015. TextButton4.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  1016. TextButton4.ZIndex = 2
  1017. TextButton4.Font = Enum.Font.SourceSans
  1018. TextButton4.FontSize = Enum.FontSize.Size14
  1019. TextButton4.Text = "(V)\nLeft Hand Black"
  1020. TextButton4.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  1021. TextButton4.TextStrokeTransparency = 0
  1022.  
  1023. TextLabel_4.Parent = TextButton4
  1024. TextLabel_4.BackgroundColor3 = Color3.new(0, 0, 0)
  1025. TextLabel_4.BackgroundTransparency = 0.55000001192093
  1026. TextLabel_4.Size = UDim2.new(0, 0, 1, 0)
  1027. TextLabel_4.Font = Enum.Font.SourceSans
  1028. TextLabel_4.FontSize = Enum.FontSize.Size14
  1029. TextLabel_4.Text = ""
  1030. TextLabel_4.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  1031. TextLabel_4.TextStrokeTransparency = 0
  1032.  
  1033. TextButton5.Name = "TextButton5"
  1034. TextButton5.Parent = MoveFrame
  1035. TextButton5.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  1036. TextButton5.BackgroundTransparency = 0.55000001192093
  1037. TextButton5.Position = UDim2.new(0.100000001, 0, 0, 0)
  1038. TextButton5.Size = UDim2.new(0.400000006, 0, 0.100000001, 0)
  1039. TextButton5.ZIndex = 2
  1040. TextButton5.Font = Enum.Font.SourceSansBold
  1041. TextButton5.FontSize = Enum.FontSize.Size14
  1042. TextButton5.Text = "Antisleep"
  1043. TextButton5.TextColor3 = Color3.new(0.52549, 0.529412, 0.529412)
  1044. TextButton5.TextStrokeTransparency = 0
  1045.  
  1046. TextLabel_5.Parent = TextButton5
  1047. TextLabel_5.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  1048. TextLabel_5.BackgroundTransparency = 0.55000001192093
  1049. TextLabel_5.Size = UDim2.new(0.99999994, 0, 1, 0)
  1050. TextLabel_5.Font = Enum.Font.SourceSans
  1051. TextLabel_5.FontSize = Enum.FontSize.Size14
  1052. TextLabel_5.Text = ""
  1053. TextLabel_5.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  1054. TextLabel_5.TextStrokeTransparency = 0
  1055.  
  1056. StunFrame.Name = "StunFrame"
  1057. StunFrame.Parent = WeaponGUI
  1058. StunFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  1059. StunFrame.BackgroundTransparency = 1
  1060. StunFrame.BorderColor3 = Color3.new(1, 1, 1)
  1061. StunFrame.Position = UDim2.new(0, 0, 0.699999988, 0)
  1062. StunFrame.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  1063.  
  1064. TextLabel_6.Parent = StunFrame
  1065. TextLabel_6.BackgroundColor3 = Color3.new(0, 0, 0)
  1066. TextLabel_6.Position = UDim2.new(0.200000003, 0, 0, 0)
  1067. TextLabel_6.Size = UDim2.new(0.400000006, 0, -4, 0)
  1068. TextLabel_6.Font = Enum.Font.SourceSans
  1069. TextLabel_6.FontSize = Enum.FontSize.Size14
  1070. TextLabel_6.Text = ""
  1071. TextLabel_6.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  1072. TextLabel_6.TextStrokeTransparency = 0
  1073.  
  1074. Fill_4.Name = "Fill"
  1075. Fill_4.Parent = StunFrame
  1076. Fill_4.BackgroundColor3 = Color3.new(0.960784, 0.803922, 0.188235)
  1077. Fill_4.Position = UDim2.new(0.200000003, 0, 0, 0)
  1078. Fill_4.Size = UDim2.new(0.400000006, 0, 0, 0)
  1079. Fill_4.Font = Enum.Font.SourceSans
  1080. Fill_4.FontSize = Enum.FontSize.Size14
  1081. Fill_4.Text = ""
  1082. Fill_4.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  1083. Fill_4.TextStrokeTransparency = 0
  1084.  
  1085. StunLabel.Name = "StunLabel"
  1086. StunLabel.Parent = StunFrame
  1087. StunLabel.BackgroundColor3 = Color3.new(0.960784, 0.803922, 0.188235)
  1088. StunLabel.BackgroundTransparency = 1
  1089. StunLabel.Position = UDim2.new(0.200000003, 0, 0.200000003, 0)
  1090. StunLabel.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  1091. StunLabel.Font = Enum.Font.SourceSans
  1092. StunLabel.FontSize = Enum.FontSize.Size14
  1093. StunLabel.Text = "Stun(0)"
  1094. StunLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  1095. StunLabel.TextStrokeTransparency = 0
  1096.  
  1097. Overlay.Name = "Overlay"
  1098. Overlay.Parent = WeaponGUI
  1099. Overlay.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039)
  1100. Overlay.BackgroundTransparency = 1
  1101. Overlay.BorderColor3 = Color3.new(1, 1, 1)
  1102. Overlay.Size = UDim2.new(5, 0, 5, 0)
  1103.  
  1104.  
  1105. game:GetObjects("rbxassetid://530870142")[1].Parent = script
  1106. wait(0.5)
  1107.  
  1108.  
  1109. --[[local RbxUtility = LoadLibrary("RbxUtility")
  1110. local Create = RbxUtility.Create
  1111.  
  1112. Weld = function(X, Y, Z)
  1113. local CJ = CFrame.new(X.Position)
  1114. local C0 = X.CFrame:inverse() * CJ
  1115. local C1 = Y.CFrame:inverse() * CJ
  1116. if Z then
  1117. C0 = CFrame.new()
  1118. end
  1119. local W = Create("Weld")({Name = "Weld", Parent = X, Part0 = X, Part1 = Y, C0 = C0, C1 = C1})
  1120. return W
  1121. end
  1122.  
  1123. local WeldObjects = function(parent, h)
  1124. for i,obj in pairs(parent:GetChildren()) do
  1125. if obj.ClassName == "Part" and parent:FindFirstChild("Handle") then
  1126. Weld(h, obj)
  1127. end
  1128. end
  1129. end
  1130.  
  1131. WeldObjects(script.Weapon, script.Weapon.Handle)]]
  1132.  
  1133. repeat
  1134. wait()
  1135. until script.Parent
  1136. repeat
  1137. wait()
  1138. until game:GetService("Players").LocalPlayer
  1139. Tool = script.Parent
  1140. fffuuuu = false
  1141. vPlayer = game:GetService("Players").LocalPlayer
  1142. FakeHeartbeat=Instance.new('BindableEvent',script)
  1143. FakeHeartbeat.Name='Heartbeat'
  1144. script:WaitForChild("Heartbeat")
  1145. frame = 1/30
  1146. tf = 0
  1147. allowframeloss = false
  1148. tossremainder = false
  1149. flastframe = tick()
  1150. script.Heartbeat:Fire()
  1151. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1152. tf = tf + s
  1153. if frame <= tf then
  1154. if allowframeloss then
  1155. script.Heartbeat:Fire()
  1156. flastframe = tick()
  1157. else
  1158. for i = 1, math.floor(tf / frame) do
  1159. script.Heartbeat:Fire()
  1160. end
  1161. flastframe = tick()
  1162. end
  1163. if tossremainder then
  1164. tf = 0
  1165. else
  1166. tf = tf - frame * math.floor(tf / frame)
  1167. end
  1168. end
  1169. end)
  1170. wait(1)
  1171. local m = Instance.new("Message")
  1172. m.Text = "1"
  1173. repeat
  1174. repeat
  1175. repeat
  1176. repeat
  1177. repeat
  1178. repeat
  1179. wait()
  1180. until vPlayer.Character
  1181. until vPlayer:FindFirstChild("PlayerGui")
  1182. until vPlayer.Character:FindFirstChild("Humanoid")
  1183. until vPlayer.Character:FindFirstChild("HumanoidRootPart")
  1184. until #script:children() >= 6
  1185. until vPlayer.Character:FindFirstChild("Torso")
  1186. m.Text = "2"
  1187. wait(0.25)
  1188. if --[[vPlayer.Name == "PixelFir3" or --]]vPlayer.Name == vPlayer.Name--[[ or vPlayer.Name == "Qaeo" or vPlayer.Name == "fennybunny" or vPlayer.Name == "kent911t"--]] then
  1189. coroutine.resume(coroutine.create(function()
  1190. while true do
  1191. wait()
  1192. if script:FindFirstChild("Armor") then
  1193. local ss = script.Armor:clone()
  1194. ss.Parent = vPlayer.Character
  1195. repeat
  1196. wait()
  1197. ss.Parent = vPlayer.Character
  1198. until ss.Parent == vPlayer.Character
  1199. ss.Parent = vPlayer.Character
  1200. repeat
  1201. wait()
  1202. until ss:FindFirstChild("Cloak")
  1203. repeat
  1204. wait()
  1205. ss.Parent = vPlayer.Character
  1206. until ss.Parent == vPlayer.Character
  1207. wait(0.66)
  1208. if ss.Parent ~= nil then
  1209. break
  1210. end
  1211. end
  1212. end
  1213. if vPlayer.Character:FindFirstChild("Armor") then
  1214. local RootPart = game.Players.LocalPlayer.Character.HumanoidRootPart
  1215. local RootJoint = RootPart.RootJoint
  1216. RootJoint.C0 = RootJointC0 * CFrame.new(0, 0, 0.2)
  1217. end
  1218. wait(0.25)
  1219. script.Armor:Remove()
  1220. end))
  1221. else
  1222. script.Armor:Remove()
  1223. end
  1224. repeat
  1225. wait()
  1226. until vPlayer:FindFirstChild("PlayerGui") ~= nil
  1227. m.Text = "5"
  1228. playerstats = vPlayer.Character:FindFirstChild("Stats")
  1229. if playerstats == nil then
  1230. playerstats = script.Stats:clone()
  1231. playerstats.Parent = vPlayer.Character
  1232. end
  1233. onAdd = function(new)
  1234. if new.className == "NumberValue" then
  1235. if new.Name == "DecreaseMvmt" then
  1236. if new.Value >= 0 then
  1237. showDamage(vPlayer.Character, "-Movement", "Debuff", "Normal")
  1238. else
  1239. showDamage(vPlayer.Character, "+Movement", "Debuff", "Normal")
  1240. end
  1241. else
  1242. if new.Name == "DecreaseAtk" then
  1243. if new.Value >= 0 then
  1244. showDamage(vPlayer.Character, "-Damage", "Debuff", "Normal")
  1245. else
  1246. showDamage(vPlayer.Character, "+Damage", "Debuff", "Normal")
  1247. end
  1248. else
  1249. if new.Name == "DecreaseDef" then
  1250. if new.Value >= 0 then
  1251. showDamage(vPlayer.Character, "-Defence", "Debuff", "Normal")
  1252. else
  1253. showDamage(vPlayer.Character, "+Defence", "Debuff", "Normal")
  1254. end
  1255. end
  1256. end
  1257. end
  1258. end
  1259. end
  1260. playerstats.Decrease.ChildAdded:connect(onAdd)
  1261. Grabdone = true
  1262. Ult = false
  1263. RightShoulder = nil
  1264. LeftShoulder = nil
  1265. RightHip = nil
  1266. LeftHip = nil
  1267. Neck = nil
  1268. RootJoint = nil
  1269. RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1270. RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1271. LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1272. LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1273. RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1274. RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1275. LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1276. LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1277. NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1278. NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1279. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1280. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1281. Grip = nil
  1282. GripC0 = CFrame.new(0, -0.7, 0) * CFrame.fromEulerAnglesXYZ(-math.pi / 2, 0, math.pi)
  1283. GripUNC0 = CFrame.new(1.1, -0.85, 0.5) * CFrame.fromEulerAnglesXYZ(math.pi / 2.2, -math.pi / 1.13, math.rad(-90))
  1284. Wep = nil
  1285. if not vPlayer.Character:FindFirstChild("Weapon") then
  1286. Wep = script.Weapon
  1287. wait()
  1288. Wep.Parent = vPlayer.Character
  1289. repeat
  1290. wait()
  1291. until vPlayer.Character.Weapon:FindFirstChild("Handle") ~= nil
  1292. Grip = Instance.new("Weld", Wep.Handle)
  1293. Grip.C0 = GripUNC0
  1294. Grip.Name = "Grip"
  1295. Grip.Part0 = vPlayer.Character.Torso
  1296. Grip.Part1 = Grip.Parent
  1297. end
  1298. Wep = vPlayer.Character.Weapon
  1299. repeat
  1300. wait()
  1301. until vPlayer.Character.Weapon:FindFirstChild("Handle") ~= nil
  1302. Grip = vPlayer.Character.Weapon.Handle.Grip
  1303. Grip.C0 = GripUNC0
  1304. Grip.Part0 = vPlayer.Character.Torso
  1305. Grip.Part1 = Grip.Parent
  1306. TrackFunction = nil
  1307. PlayerAnimationScript = nil
  1308. equipdebounce = true
  1309. PlayerCanJump = true
  1310. PlayerCombatKeys = {}
  1311. radiushelp = 0.5
  1312. Corruption = 0
  1313. MaxStun = 80
  1314. Mana = vPlayer.Character.Stats:FindFirstChild("Mana")
  1315. Mana.Value = 0
  1316. Ragemode = false
  1317. SoundTable = {Airdash = "153092348", BarrierHit = "153092205", Grapple = "153092304", Hit_Damage_Heavycut = "153092274", Hit_Damage_Heavydelaysmack = "153092217", Hit_Damage_Heavysmack = "153092227", Hit_Damage_Lightcut = "153092285", Hit_Damage_Lightsmack = "153092249", Hit_Damage_Mediumcut = "153092292", Hit_Damage_Medsmack = "153092238", Hit_Damage_Medsmack_Alt = "153092213", Hit_Damage_Tinycut = "153092296", Overdrive_Begin = "153092315", Overdrive_End = "153092334", none = ""}
  1318. BodyVel = Instance.new("BodyVelocity")
  1319. BodyVel.Name = "HumanoidMover"
  1320. BodyVel.P = 300
  1321. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  1322. BodyVel.Parent = nil
  1323. BodyGyro = Instance.new("BodyGyro")
  1324. BodyGyro.P = 13000
  1325. BodyGyro.maxTorque = Vector3.new(285000, 285000, 285000)
  1326. BodyGyro.D = 400
  1327. CanAttack = true
  1328. PlayerInputs = {}
  1329. PlayerInputCullThreshold = 30
  1330. PlayerInputAgeCullFactor = 30
  1331. PlayerInputStringFrame = 0.7
  1332. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1333. it = Instance.new
  1334. vt = Vector3.new
  1335. cf = CFrame.new
  1336. euler = CFrame.fromEulerAnglesXYZ
  1337. angles = CFrame.Angles
  1338. RageDmgBuff = Instance.new("NumberValue")
  1339. RageDmgBuff.Name = "DecreaseAtk"
  1340. RageDmgBuff.Value = 0
  1341. RageDefBuff = Instance.new("NumberValue")
  1342. RageDefBuff.Name = "DecreaseDef"
  1343. RageDefBuff.Value = -0.25
  1344. RageMvmtBuff = Instance.new("NumberValue")
  1345. RageMvmtBuff.Name = "DecreaseMvmt"
  1346. RageMvmtBuff.Value = 0
  1347. Cooldowns = {["1"] = 8, ["2"] = 12, ["3"] = 13.5, ["4"] = 50, ["5"] = 13.5 --[[["1"] = 0, ["2"] = 0, ["3"] = 0, ["4"] = 0, ["5"] = 0]]}
  1348. CooldownsB = {["1"] = 8, ["2"] = 12, ["3"] = 13.5, ["4"] = 50, ["5"] = 13.5 --[[["1"] = 0, ["2"] = 0, ["3"] = 0, ["4"] = 0, ["5"] = 0]]}
  1349. TwoDInputs = {}
  1350. fwait = function(t)
  1351. if script:FindFirstChild("Heartbeat") == nil then
  1352. return
  1353. end
  1354. if t == nil then
  1355. t = 1/30
  1356. else
  1357. if t == 0 then
  1358. t = 1/30
  1359. end
  1360. end
  1361. local s = 0
  1362. local stime = tick()
  1363. for i_ = 1, t * 30 do
  1364. FakeHeartbeat.Event:wait(0)
  1365. end
  1366. return tick() - stime, workspace.DistributedGameTime
  1367. end
  1368. --[[fwait=function(num) --RS hooked thread yielding
  1369. if num == 0 or num == nil then
  1370. FakeHeartbeat.Event:wait(0)
  1371. else
  1372. for i = 0, num do
  1373. FakeHeartbeat.Event:wait(0)
  1374. end
  1375. end
  1376. end--]]
  1377.  
  1378. setlastnormal = function(key)
  1379. lastnormal = key
  1380. coroutine.resume(coroutine.create(function(k, kt)
  1381. while k == lastnormal do
  1382. if kt + 1.2 < tick() then
  1383. break
  1384. end
  1385. fwait()
  1386. end
  1387. lastnormal = ""
  1388. end), lastnormal, tick())
  1389. end
  1390. BillboardGui = function(image, position, size)
  1391. local billpar = Instance.new("Part")
  1392. billpar.Transparency = 1
  1393. billpar.formFactor = "Custom"
  1394. billpar.Size = Vector3.new(1, 1, 1)
  1395. billpar.Anchored = true
  1396. billpar.CanCollide = false
  1397. billpar.CFrame = CFrame.new(position)
  1398. billpar.Name = "BillboardGuiPart"
  1399. local bill = Instance.new("BillboardGui", billpar)
  1400. bill.Adornee = billpar
  1401. bill.Size = UDim2.new(1, 0, 1, 0)
  1402. bill.SizeOffset = Vector2.new(size, size)
  1403. local d = Instance.new("ImageLabel", bill)
  1404. d.BackgroundTransparency = 1
  1405. d.Size = UDim2.new(1, 0, 1, 0)
  1406. d.Image = image
  1407. return billpar
  1408. end
  1409. NewPart = function(size, cframe, color, meshtype, meshscale)
  1410. local par = Instance.new("Part")
  1411. par.formFactor = "Custom"
  1412. par.TopSurface = 0
  1413. par.BottomSurface = 0
  1414. par.Size = size
  1415. par.CFrame = cframe
  1416. par.BrickColor = BrickColor.new(color)
  1417. do
  1418. if meshtype then
  1419. local m = Instance.new(meshtype, par)
  1420. m.Scale = meshscale
  1421. end
  1422. return par
  1423. end
  1424. end
  1425. CFrameFromTopBack = function(at, top, back)
  1426. local right = top:Cross(back)
  1427. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1428. end
  1429. CameraPlane = function()
  1430. local buttspoop = (workspace.CurrentCamera.CoordinateFrame.p - workspace.CurrentCamera.CoordinateFrame * CFrame.new(0, 0, 5)).p.unit
  1431. return Vector3.new(buttspoop.x, 0, buttspoop.z).unit
  1432. end
  1433. MousePlane = function()
  1434. local mouse = game.Players.LocalPlayer:GetMouse()
  1435. local buttspoop = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - mouse.Hit.p).unit
  1436. return -Vector3.new(buttspoop.x,0,buttspoop.z).unit
  1437. end
  1438. CanStun = true
  1439. InputNormals = {}
  1440. GetIgnoreList = function()
  1441. local lel = {}
  1442. local filter = {}
  1443. lol = function(p)
  1444. for _,v in pairs(p) do
  1445. if v:IsA("BasePart") or v.className == "UnionOperation" then
  1446. table.insert(lel, v)
  1447. if #v:children() > 0 then
  1448. lol(v:children())
  1449. end
  1450. end
  1451. end
  1452. end
  1453. lol(workspace:children())
  1454. for _,v in pairs(lel) do
  1455. if v.Parent.className == "Tool" or v.Parent:FindFirstChild("Humanoid") or v.CanCollide == false or v.Parent.className == "Hat" or v.Parent.className == "Model" and v.Parent:FindFirstChild("Humanoid") == nil then
  1456. table.insert(filter, v)
  1457. end
  1458. end
  1459. lel = nil
  1460. return filter
  1461. end
  1462. InputNormals.E = function()
  1463. if TrackFunction ~= nil then
  1464. TrackFunction:disconnect()
  1465. TrackFunction = nil
  1466. end
  1467. CanInterrupt(false)
  1468. PlayerIsAttacking = true
  1469. local rawframes = 0
  1470. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  1471. local cpos = nil
  1472. DesiredWalkspeed = 0
  1473. BodyVel.Parent = nil
  1474. BodyGyro.Parent = nil
  1475. local cl = 0
  1476. local clastframe = lastframe
  1477. if Ragemode == false then
  1478. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1479. RageSound.Volume = 1
  1480. RageSound.Pitch = 0.95
  1481. RageSound.SoundId = "http://www.roblox.com/asset/?id=235097614"
  1482. RageSound:Play()
  1483. game:GetService("Debris"):AddItem(RageSound, 5)
  1484. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1485. if rawframes <= 7 then
  1486. cl = cl + rawframes * 0.04
  1487. LerpWelds(clastframe, cl, Animations.SoulExStart.Animation(0))
  1488. elseif rawframes > 7 and rawframes <= 12 then
  1489. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 7) / 5), Animations.SoulExStart.Animation(0))
  1490. if rawframes % 2 == 0 then
  1491. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(6, 5, 6))
  1492. pc.Mesh.MeshType = "FileMesh"
  1493. pc.Anchored = true
  1494. pc.CanCollide = false
  1495. pc.Parent = workspace
  1496. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1497. pc.Name = "Shockwave"
  1498. game:GetService("Debris"):AddItem(pc, 5)
  1499. coroutine.resume(coroutine.create(function(p)
  1500. for ii = 1, 10 do
  1501. p.Transparency = 0.5 + ii / 20
  1502. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
  1503. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-0.5, 0.5, -0.5)
  1504. fwait()
  1505. end
  1506. p:Remove()
  1507. end), pc)
  1508. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(10, 10, 10))
  1509. eff.Parent = workspace
  1510. eff.Name = "BloodEffect"
  1511. eff.Anchored = true
  1512. eff.CanCollide = false
  1513. game:GetService("Debris"):AddItem(eff, 5)
  1514. coroutine.resume(coroutine.create(function(p, V, x)
  1515. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1516. A = vPlayer.Character.Torso.Velocity / 60
  1517. for i = 1, 10 do
  1518. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1, 1, 1)
  1519. p.Transparency = 0.5 + i / 20
  1520. p.CFrame = p.CFrame * V + A
  1521. fwait()
  1522. end
  1523. p:Remove()
  1524. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  1525. end
  1526. elseif rawframes > 12 and rawframes <= 17 then
  1527. if rawframes == 13 then
  1528. cl = 0
  1529. end
  1530. cl = cl + (rawframes - 13) * 0.11
  1531. LerpWelds({Animations.SoulExStart.Animation(0)}, cl, Animations.SoulExStart.Animation(1))
  1532. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(10, 10, 10))
  1533. eff.Parent = workspace
  1534. eff.Name = "BloodEffect"
  1535. eff.Anchored = true
  1536. eff.CanCollide = false
  1537. game:GetService("Debris"):AddItem(eff, 5)
  1538. coroutine.resume(coroutine.create(function(p, V, x)
  1539. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1540. A = vPlayer.Character.Torso.Velocity / 60
  1541. for i = 1, 10 do
  1542. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(10, 10, 10) / 10
  1543. p.Transparency = 0.5 + i / 20
  1544. p.CFrame = p.CFrame * V + A
  1545. fwait()
  1546. end
  1547. p:Remove()
  1548. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  1549. elseif rawframes > 17 and rawframes <= 22 then
  1550. if rawframes == 18 then
  1551. for sus = 1, 2 do
  1552. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(1.7, 1.7, 1.7))
  1553. eff.Parent = workspace
  1554. eff.Name = "BloodEffect"
  1555. eff.Anchored = true
  1556. eff.CanCollide = false
  1557. game:GetService("Debris"):AddItem(eff, 5)
  1558. coroutine.resume(coroutine.create(function(p, V, x)
  1559. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1560. A = vPlayer.Character.Torso.Velocity / 60
  1561. for i = 1, 15 do
  1562. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(10, 10, 10) / 15 * x
  1563. p.Transparency = 0.25 + i / 22.5
  1564. p.CFrame = p.CFrame * V + A
  1565. fwait()
  1566. end
  1567. p:Remove()
  1568. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))), sus)
  1569. end
  1570. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position + Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(2, 10, 2))
  1571. pc.Mesh.MeshType = "FileMesh"
  1572. pc.Anchored = true
  1573. pc.CanCollide = false
  1574. pc.Parent = workspace
  1575. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1576. pc.Name = "Shockwave"
  1577. game:GetService("Debris"):AddItem(pc, 5)
  1578. coroutine.resume(coroutine.create(function(p)
  1579. for ii = 1, 15 do
  1580. p.Transparency = ii / 15
  1581. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0.5, 0) / 1.5
  1582. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-1.9, 1, -1.9) / 1.5
  1583. fwait()
  1584. end
  1585. p:Remove()
  1586. end), pc)
  1587. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position + Vector3.new(0, 0, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(6, 5, 6))
  1588. pc.Mesh.MeshType = "FileMesh"
  1589. pc.Anchored = true
  1590. pc.CanCollide = false
  1591. pc.Parent = workspace
  1592. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1593. pc.Name = "Shockwave"
  1594. game:GetService("Debris"):AddItem(pc, 5)
  1595. coroutine.resume(coroutine.create(function(p)
  1596. for ii = 1, 15 do
  1597. p.Transparency = ii / 15
  1598. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(10 + ii), 0) - Vector3.new(0, 0.25, 0) / 1.5
  1599. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-2, 0.5, -2) / 1.5
  1600. fwait()
  1601. end
  1602. p:Remove()
  1603. end), pc)
  1604. Ragemode = true
  1605. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1606. RageSound.Volume = 1
  1607. RageSound.Pitch = 0.75
  1608. RageSound.Looped = true
  1609. RageSound.SoundId = "http://www.roblox.com/asset/?id=188959304"
  1610. RageSound:Play()
  1611. coroutine.resume(coroutine.create(function(p)
  1612. local sus = 0
  1613. playerstats.Stun.Value = playerstats.Stun.Value - Corruption / 2
  1614. if playerstats.Stun.Value < 0 then
  1615. playerstats.Stun.Value = 0
  1616. end
  1617. local pargen1 = Instance.new("ParticleEmitter")
  1618. pargen1.Name = "AttackParticleEmitter3"
  1619. pargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  1620. pargen1.LightEmission = 0.4
  1621. pargen1.ZOffset = 1.6
  1622. pargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.7), NumberSequenceKeypoint.new(1, 1)})
  1623. pargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.5), NumberSequenceKeypoint.new(1, 7)})
  1624. pargen1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  1625. pargen1.Rate = 100
  1626. pargen1.VelocitySpread = 180
  1627. pargen1.Speed = NumberRange.new(0, 0)
  1628. pargen1.Lifetime = NumberRange.new(1.3, 1.8)
  1629. pargen1.Rotation = NumberRange.new(-180, 180)
  1630. pargen1.RotSpeed = NumberRange.new(-70, 70)
  1631. pargen1.Parent = vPlayer.Character.Torso
  1632. local pargen2 = Instance.new("ParticleEmitter")
  1633. pargen2.Name = "AttackParticleEmitter3"
  1634. pargen2.Texture = "http://www.roblox.com/asset/?id=233069772"
  1635. pargen2.LightEmission = 0
  1636. pargen2.ZOffset = 1.65
  1637. pargen2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.95), NumberSequenceKeypoint.new(1, 1)})
  1638. pargen2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 3)})
  1639. pargen2.Color = ColorSequence.new(Color3.new(0.8, 0.8, 0.8), Color3.new(0.4, 0.4, 0.4))
  1640. pargen2.Rate = 30
  1641. pargen2.VelocitySpread = 180
  1642. pargen2.Speed = NumberRange.new(0, 0)
  1643. pargen2.Lifetime = NumberRange.new(0.5, 0.6)
  1644. pargen2.Rotation = NumberRange.new(-180, 180)
  1645. pargen2.RotSpeed = NumberRange.new(-400, 400)
  1646. pargen2.Parent = vPlayer.Character.Torso
  1647. repeat
  1648. fwait(0.15)
  1649. if Corruption <= 0 then
  1650. Ragemode = false
  1651. end
  1652. pargen1.Acceleration = Vector3.new(math.random(-10, 10) / 10, 0.1, math.random(-10, 10) / 10)
  1653. sus = sus + 1
  1654. if sus == 8 then
  1655. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1656. RageSound.Volume = 0.5
  1657. RageSound.Pitch = 0.8
  1658. RageSound.SoundId = "http://www.roblox.com/asset/?id=238319531"
  1659. RageSound:Play()
  1660. game:GetService("Debris"):AddItem(RageSound, 4)
  1661. sus = 0
  1662. end
  1663. if sus % 5 == 0 then
  1664. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(4, 5, 4))
  1665. pc.Mesh.MeshType = "FileMesh"
  1666. pc.Anchored = true
  1667. pc.CanCollide = false
  1668. pc.Parent = workspace
  1669. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1670. pc.Name = "Shockwave"
  1671. game:GetService("Debris"):AddItem(pc, 5)
  1672. coroutine.resume(coroutine.create(function(p)
  1673. for ii = 1, 10 do
  1674. p.Transparency = 0.5 + ii / 20
  1675. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.25, 0)
  1676. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-1.4, 0.5, -1.4)
  1677. fwait()
  1678. end
  1679. p:Remove()
  1680. end), pc)
  1681. end
  1682. if sus % 3 == 0 and Corruption > 0 then
  1683. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(1.7, 1.7, 1.7))
  1684. eff.Parent = workspace
  1685. eff.Name = "BloodEffect"
  1686. eff.Anchored = true
  1687. eff.CanCollide = false
  1688. game:GetService("Debris"):AddItem(eff, 5)
  1689. coroutine.resume(coroutine.create(function(p, V, A)
  1690. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1691. A = vPlayer.Character.Torso.Velocity / 60
  1692. for i = 1, 15 do
  1693. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(12, 12, 12) / 15
  1694. p.Transparency = 0.5 + i / 30
  1695. p.CFrame = p.CFrame * V + A
  1696. fwait()
  1697. end
  1698. p:Remove()
  1699. end), eff, CFrame.Angles(math.rad(math.random(-4, 4)), math.rad(math.random(-4, 4)), math.rad(math.random(-4, 4))))
  1700. end
  1701. if Corruption > 0 and vPlayer.Character.Humanoid.Health > 5 then
  1702. --script.Parent.DMG.RemoteEvent:FireServer(vPlayer.Character.Humanoid, 1.5)
  1703. vPlayer.Character.Humanoid:TakeDamage(1.5)
  1704. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-15, 15) / 10, math.random(-20, 15) / 10, math.random(-5, 5) / 10) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Bright red", "BlockMesh", Vector3.new(1.3, 1.3, 1.3))
  1705. eff.Parent = workspace
  1706. eff.Name = "BloodEffect"
  1707. eff.Anchored = true
  1708. eff.CanCollide = false
  1709. game:GetService("Debris"):AddItem(eff, 5)
  1710. coroutine.resume(coroutine.create(function(p, A, V)
  1711. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  1712. for i = 1, 12 do
  1713. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.9, 0.9, 0.9) * (1 - i / 12)
  1714. p.Transparency = 0.75 + i / 48
  1715. p.CFrame = p.CFrame * A
  1716. fwait()
  1717. end
  1718. p:Remove()
  1719. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)))
  1720. end
  1721. until Ragemode == false
  1722. pargen1.Enabled = false
  1723. pargen2.Enabled = false
  1724. for i = 1, 60 do
  1725. p.Volume = p.Volume / 1.05
  1726. fwait()
  1727. end
  1728. p:Stop()
  1729. p.Volume = 0
  1730. game:GetService("Debris"):AddItem(p, 2)
  1731. game:GetService("Debris"):AddItem(pargen1, 2)
  1732. game:GetService("Debris"):AddItem(pargen2, 2)
  1733. end), RageSound)
  1734. end
  1735. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 17) / 5), Animations.SoulExStart.Animation(1))
  1736. if rawframes > 22 then
  1737. LerpWelds({Animations.SoulExStart.Animation(1)}, (rawframes - 22) / 9, Animations.Stand2.Animation(0))
  1738. end
  1739. end
  1740. if rawframes == 31 then
  1741. TrackFunction:disconnect()
  1742. TrackFunction = nil
  1743. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1744. PlayerIsAttacking = false
  1745. CanInterrupt(true)
  1746. setlastnormal("")
  1747. Walk()
  1748. end
  1749. rawframes = rawframes + 1
  1750. end)
  1751. elseif Ragemode == true then
  1752. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1753. RageSound.Volume = 1
  1754. RageSound.Pitch = 0.5
  1755. RageSound.SoundId = "http://www.roblox.com/asset/?id=233856130"
  1756. RageSound:Play()
  1757. game:GetService("Debris"):AddItem(RageSound, 5)
  1758. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1759. if rawframes <= 7 then
  1760. cl = cl + rawframes * 0.04
  1761. LerpWelds(clastframe, cl, Animations.SoulExEnd.Animation(0))
  1762. elseif rawframes > 7 and rawframes <= 20 then
  1763. Ragemode = false
  1764. if rawframes == 8 then
  1765. Corruption = math.floor(Corruption / 2)
  1766. end
  1767. Neck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(7), -math.rad(4), math.rad(15) + math.sin(math.rad((rawframes - 7) * 30)) / 3)
  1768. elseif rawframes > 20 then
  1769. LerpWelds({Animations.SoulExEnd.Animation(0)}, (rawframes - 20) / 10, Animations.Stand.Animation(0))
  1770. end
  1771. end)
  1772. --if rawframes == 30 then
  1773. TrackFunction:disconnect()
  1774. TrackFunction = nil
  1775. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1776. PlayerIsAttacking = false
  1777. CanInterrupt(true)
  1778. setlastnormal("")
  1779. Walk()
  1780. rawframes = rawframes + 1
  1781. Ragemode = false
  1782. --end
  1783. end
  1784. end
  1785. WeaponBounce = function()
  1786. if TrackFunction ~= nil then
  1787. TrackFunction:disconnect()
  1788. TrackFunction = nil
  1789. end
  1790. CanInterrupt(false)
  1791. PlayerIsAttacking = true
  1792. local rawframes = 0
  1793. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  1794. local cpos = nil
  1795. DesiredWalkspeed = 0
  1796. BodyVel.Parent = nil
  1797. BodyGyro.Parent = nil
  1798. local cl = 0
  1799. local clastframe = lastframe
  1800. local pz = Instance.new("BodyPosition", vPlayer.Character.HumanoidRootPart)
  1801. pz.P = 3500
  1802. pz.D = 1500
  1803. pz.maxForce = Vector3.new(280000, 280000, 280000)
  1804. pz.position = vPlayer.Character.HumanoidRootPart.Position - CharacterPlane() * 3
  1805. game:GetService("Debris"):AddItem(pz, 0.15)
  1806. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1807. if rawframes <= 4 then
  1808. LerpWelds(clastframe, rawframes / 4, Animations.WeaponBounce.Animation(0))
  1809. elseif rawframes > 4 and rawframes <= 8 then
  1810. LerpWelds(clastframe, 1 + (rawframes - 4) * 0.01, Animations.WeaponBounce.Animation(0))
  1811. elseif rawframes > 8 and rawframes <= 12 then
  1812. LerpWelds(clastframe, 1.03 - (rawframes - 8) * 0.01, Animations.WeaponBounce.Animation(0))
  1813. elseif rawframes > 12 then
  1814. local cwalk = "Stand"
  1815. if Ragemode == true then
  1816. cwalk = "Stand2"
  1817. end
  1818. LerpWelds({Animations.WeaponBounce.Animation(0)}, (rawframes - 12) / 7, Animations[cwalk].Animation(0))
  1819. end
  1820. if rawframes == 19 then
  1821. TrackFunction:disconnect()
  1822. TrackFunction = nil
  1823. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1824. PlayerIsAttacking = false
  1825. CanInterrupt(true)
  1826. setlastnormal("")
  1827. Stand()
  1828. end
  1829. rawframes = rawframes + 1
  1830. end)
  1831. end
  1832. Stunned = false
  1833. GetStunnedIdiot = function()
  1834. if Stunned == true or playerstats.Stagger.Value == true then
  1835. return
  1836. end
  1837. if TrackFunction ~= nil then
  1838. TrackFunction:disconnect()
  1839. TrackFunction = nil
  1840. end
  1841. SetLegs(1)
  1842. if vPlayer.Character.Torso:FindFirstChild("JUMP_PROP") then
  1843. vPlayer.Character.Torso.JUMP_PROP:Remove()
  1844. end
  1845. CanInterrupt(false)
  1846. PlayerIsAttacking = true
  1847. local rawframes = 0
  1848. DesiredWalkspeed = 0
  1849. BodyVel.Parent = nil
  1850. BodyGyro.Parent = nil
  1851. local cl = 0
  1852. local clastframe = lastframe
  1853. PlayerState = "Stunned"
  1854. Stunned = true
  1855. local stunvel = BodyVel:clone()
  1856. stunvel.maxForce = Vector3.new(0, 500, 0)
  1857. stunvel.P = 50
  1858. stunvel.velocity = Vector3.new(0, -8, 0)
  1859. stunvel.Parent = vPlayer.Character.HumanoidRootPart
  1860. pos = vPlayer.Character.HumanoidRootPart.Position
  1861. local stungyr = BodyGyro:clone()
  1862. stungyr.maxTorque = Vector3.new(500, 500, 500)
  1863. stungyr.cframe = CFrame.new(pos, pos + CharacterPlane() * 5)
  1864. stungyr.Parent = stunvel.Parent
  1865. vPlayer.Character.Humanoid.PlatformStand = true
  1866. local fakehead = vPlayer.Character.Head:clone()
  1867. fakehead:BreakJoints()
  1868. local w = Instance.new("Weld", fakehead)
  1869. w.Part0 = vPlayer.Character.Head
  1870. w.Part1 = fakehead
  1871. fakehead.Name = "fake"
  1872. fakehead.Parent = vPlayer.Character
  1873. fakehead.CanCollide = false
  1874. vPlayer.Character.Head.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
  1875. vPlayer.Character.Head.face.Transparency = 1
  1876. playerstats.Stunned.Value = true
  1877. if vPlayer.Character:FindFirstChild("Armor") then
  1878. cwe = vPlayer.Character.Armor.Cloak.HeadCloak.Weld
  1879. ccl = cwe.C0
  1880. end
  1881. showDamage(vPlayer.Character, "Stunned!", "Interrupt", "Normal")
  1882. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1883. if rawframes <= 7 then
  1884. LerpWelds(clastframe, rawframes / 7, Animations.Stunned.Animation(0))
  1885. w.C0 = w.C0 * CFrame.Angles(0, math.rad(7), 0)
  1886. if cwe then
  1887. cwe.C0 = cwe.C0 * CFrame.Angles(0, math.rad(7), 0)
  1888. end
  1889. else
  1890. if rawframes >= 91 and rawframes <= 100 then
  1891. stunvel.velocity = Vector3.new(0, 2.5, 0)
  1892. vPlayer.Character.Humanoid.PlatformStand = false
  1893. LerpWelds({Animations.Stunned.Animation(0)}, (rawframes - 90) / 9, Animations.LHB.Animation(1))
  1894. if cwe then
  1895. cwe.C0 = cwe.C0 * CFrame.Angles(0, -math.rad(6), 0)
  1896. end
  1897. w.C0 = w.C0 * CFrame.Angles(0, -math.rad(6), 0)
  1898. else
  1899. if rawframes >= 101 then
  1900. stunvel.P = 0
  1901. local cwalk = "Stand"
  1902. if Ragemode == true then
  1903. cwalk = "Stand2"
  1904. end
  1905. LerpWelds({Animations.LHB.Animation(1)}, (rawframes - 100) / 10, Animations[cwalk].Animation(0))
  1906. end
  1907. end
  1908. end
  1909. do
  1910. if rawframes == 110 then
  1911. if cwe then
  1912. cwe.C0 = ccl
  1913. end
  1914. TrackFunction:disconnect()
  1915. TrackFunction = nil
  1916. playerstats.Stun.Value = 0
  1917. playerstats.Stunned.Value = false
  1918. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1919. PlayerIsAttacking = false
  1920. CanInterrupt(true)
  1921. setlastnormal("")
  1922. stunvel:Remove()
  1923. vPlayer.Character.Humanoid.PlatformStand = false
  1924. vPlayer.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  1925. fakehead:Remove()
  1926. vPlayer.Character.Head.face.Transparency = 0
  1927. stungyr:Remove()
  1928. Stunned = false
  1929. addonCullMovers(vPlayer.Character)
  1930. Stand()
  1931. end
  1932. rawframes = rawframes + 1
  1933. end
  1934. end)
  1935. end
  1936. GetStaggeredIdiot = function()
  1937. if Stunned == true then
  1938. return
  1939. end
  1940. if TrackFunction ~= nil then
  1941. TrackFunction:disconnect()
  1942. TrackFunction = nil
  1943. end
  1944. SetLegs(1)
  1945. if vPlayer.Character.Torso:FindFirstChild("JUMP_PROP") then
  1946. vPlayer.Character.Torso.JUMP_PROP:Remove()
  1947. end
  1948. CanInterrupt(false)
  1949. PlayerIsAttacking = true
  1950. local rawframes = 0
  1951. DesiredWalkspeed = 0
  1952. BodyVel.Parent = nil
  1953. BodyGyro.Parent = nil
  1954. local cl = 0
  1955. local clastframe = lastframe
  1956. PlayerState = "Stunned"
  1957. local stunvel = BodyVel:clone()
  1958. stunvel.maxForce = Vector3.new(0, 500, 0)
  1959. stunvel.P = 50
  1960. stunvel.velocity = Vector3.new(0, -8, 0)
  1961. stunvel.Parent = vPlayer.Character.HumanoidRootPart
  1962. pos = vPlayer.Character.HumanoidRootPart.Position
  1963. local stungyr = BodyGyro:clone()
  1964. stungyr.maxTorque = Vector3.new(500, 500, 500)
  1965. stungyr.cframe = CFrame.new(pos, pos + CharacterPlane() * 7)
  1966. stungyr.Parent = stunvel.Parent
  1967. playerstats.Stagger.Value = false
  1968. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1969. if rawframes <= 6 then
  1970. LerpWelds(clastframe, rawframes / 6, Animations.Staggered.Animation(0))
  1971. elseif rawframes >= 31 and rawframes <= 38 then
  1972. vPlayer.Character.Humanoid.PlatformStand = false
  1973. LerpWelds({Animations.Staggered.Animation(0)}, (rawframes - 30) / 7, Animations.LHB.Animation(1))
  1974. elseif rawframes >= 39 then
  1975. stunvel.P = 0
  1976. local cwalk = "Stand"
  1977. if Ragemode == true then
  1978. cwalk = "Stand2"
  1979. end
  1980. LerpWelds({Animations.LHB.Animation(1)}, (rawframes - 38) / 8, Animations[cwalk].Animation(0))
  1981. end
  1982. if rawframes == 45 then
  1983. TrackFunction:disconnect()
  1984. TrackFunction = nil
  1985. playerstats.Stagger.Value = false
  1986. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1987. PlayerIsAttacking = false
  1988. CanInterrupt(true)
  1989. setlastnormal("")
  1990. stunvel:Remove()
  1991. stungyr:Remove()
  1992. addonCullMovers(vPlayer.Character)
  1993. Stand()
  1994. end
  1995. rawframes = rawframes + 1
  1996. end)
  1997. end
  1998. InputNormals.V = function()
  1999. local useRageVer = false
  2000. local locor = 0
  2001. if Mana.Value >= 50 and Cooldowns["4"] == 0 and Ult == false then
  2002. Mana.Value = Mana.Value - 40
  2003. if Ragemode == true and Corruption >= 20 then
  2004. locor = Corruption - 20
  2005. coroutine.resume(coroutine.create(function()
  2006. for lel = 1, 20 do
  2007. fwait()
  2008. if Corruption > 0 then
  2009. Corruption = Corruption - 1
  2010. else
  2011. break
  2012. end
  2013. end
  2014. end))
  2015. useRageVer = true
  2016. end
  2017. else
  2018. return
  2019. end
  2020. if TrackFunction ~= nil then
  2021. TrackFunction:disconnect()
  2022. TrackFunction = nil
  2023. end
  2024. Ult = true
  2025. Ragemode = false
  2026. CanInterrupt(false)
  2027. PlayerIsAttacking = true
  2028. local cl = 0
  2029. local clastframe = lastframe
  2030. BodyVel.velocity = Vector3.new()
  2031. local CPlane = MousePlane()
  2032. BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000)
  2033. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  2034. BodyGyro.cframe = CFrame.new(vPlayer.Character.HumanoidRootPart.CFrame.p, vPlayer.Character.HumanoidRootPart.CFrame.p + CPlane * 50)
  2035. local cl = 0
  2036. DesiredWalkspeed = 0
  2037. p = Instance.new("Sound", vPlayer.Character.Torso)
  2038. p.Volume = 0.8
  2039. p.Pitch = 1
  2040. p.SoundId = "http://www.roblox.com/asset/?id=240517975"
  2041. p:Play()
  2042. game:GetService("Debris"):AddItem(p, 3)
  2043. local pb = Instance.new("Sound", vPlayer.Character.Torso)
  2044. pb.Volume = 1
  2045. pb.Pitch = 0.85
  2046. pb.SoundId = "http://www.roblox.com/asset/?id=240517987"
  2047. pb:Play()
  2048. game:GetService("Debris"):AddItem(pb, 10)
  2049. do
  2050. for i = 1, 8 do
  2051. fwait()
  2052. cl = cl + i * 0.02
  2053. LerpWelds(clastframe, cl, Animations.LHB.Animation(0))
  2054. if i == 4 then
  2055. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(11, 1, 11))
  2056. pc.Mesh.MeshType = "FileMesh"
  2057. pc.Anchored = true
  2058. pc.CanCollide = false
  2059. pc.Parent = workspace
  2060. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2061. pc.Name = "Shockwave"
  2062. game:GetService("Debris"):AddItem(pc, 5)
  2063. coroutine.resume(coroutine.create(function(p)
  2064. for ii = 1, 10 do
  2065. p.Transparency = ii / 10
  2066. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
  2067. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.5, 0, 0.5)
  2068. fwait()
  2069. end
  2070. p:Remove()
  2071. end), pc)
  2072. end
  2073. end
  2074. end
  2075. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  2076. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  2077. cl = 0
  2078. clastframe = lastframe
  2079. for i = 1, 6 do
  2080. fwait()
  2081. cl = cl + i * 0.05
  2082. LerpWelds(clastframe, cl, Animations.LHB.Animation(1))
  2083. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12))
  2084. eff.Parent = workspace
  2085. eff.Name = "BloodEffect"
  2086. eff.Anchored = true
  2087. eff.CanCollide = false
  2088. game:GetService("Debris"):AddItem(eff, 5)
  2089. coroutine.resume(coroutine.create(function(p, V, x)
  2090. A = vPlayer.Character.Torso.Velocity / 60
  2091. for i = 1, 12 do
  2092. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12
  2093. p.Transparency = 0.75 + i / 48
  2094. p.CFrame = p.CFrame * V + A
  2095. fwait()
  2096. end
  2097. p:Remove()
  2098. end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
  2099. if i ~= 1 and (i ~= 4 or i == 6) then
  2100. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "White", "SpecialMesh", Vector3.new(8, 1, 8))
  2101. pc.Mesh.MeshType = "FileMesh"
  2102. pc.Anchored = true
  2103. pc.CanCollide = false
  2104. pc.Parent = workspace
  2105. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2106. pc.Name = "Shockwave"
  2107. game:GetService("Debris"):AddItem(pc, 5)
  2108. coroutine.resume(coroutine.create(function(p)
  2109. for ii = 1, 7 do
  2110. p.Transparency = ii / 7
  2111. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3), 0) - Vector3.new(0, 0, 0)
  2112. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.4, 0, 1.4)
  2113. fwait()
  2114. end
  2115. p:Remove()
  2116. end), pc)
  2117. end
  2118. end
  2119. fwait()
  2120. for i = 1, 20 do
  2121. do
  2122. CPlane = MousePlane()
  2123. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  2124. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  2125. if i == 5 or i == 10 then
  2126. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(8, 2, 8))
  2127. pc.Mesh.MeshType = "FileMesh"
  2128. pc.Anchored = true
  2129. pc.CanCollide = false
  2130. pc.Parent = workspace
  2131. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2132. pc.Name = "Shockwave"
  2133. game:GetService("Debris"):AddItem(pc, 5)
  2134. coroutine.resume(coroutine.create(function(p)
  2135. for ii = 1, 13 do
  2136. p.Transparency = ii / 13
  2137. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
  2138. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(3, 0, 3)
  2139. fwait()
  2140. end
  2141. p:Remove()
  2142. end), pc)
  2143. else
  2144. do
  2145. do
  2146. if i == 2 or i == 10 then
  2147. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(90), 0, 0), "Really black", "SpecialMesh", Vector3.new(56, 56, 1))
  2148. pc.Mesh.MeshType = "FileMesh"
  2149. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2150. pc.Parent = workspace
  2151. pc.Anchored = true
  2152. pc.CanCollide = false
  2153. pc.Transparency = 0.5
  2154. game:GetService("Debris"):AddItem(pc, 5)
  2155. coroutine.resume(coroutine.create(function(p)
  2156. for ii = 1, 20 do
  2157. p.Transparency = ii / 20
  2158. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  2159. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 1.4, 0) * 2
  2160. fwait()
  2161. end
  2162. p:Remove()
  2163. end), pc)
  2164. end
  2165. if i % 4 == 0 then
  2166. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do
  2167. applyCameraShake(v, 80 + i * 10, 4)
  2168. end
  2169. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "Really black", "SpecialMesh", Vector3.new(18, 2, 18))
  2170. pc.Mesh.MeshType = "FileMesh"
  2171. pc.Anchored = true
  2172. pc.CanCollide = false
  2173. pc.Parent = workspace
  2174. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2175. pc.Name = "Shockwave"
  2176. game:GetService("Debris"):AddItem(pc, 5)
  2177. coroutine.resume(coroutine.create(function(p)
  2178. for ii = 1, 10 do
  2179. p.Transparency = ii / 10
  2180. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0)
  2181. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 0, 1.4)
  2182. fwait()
  2183. end
  2184. p:Remove()
  2185. end), pc)
  2186. else
  2187. do
  2188. do
  2189. if i % 1 == 0 then
  2190. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-20, 20) / 10, math.random(-20, 20) / 10) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(0.7, 0.7, 0.7))
  2191. eff.Parent = workspace
  2192. eff.Name = "BloodEffect"
  2193. eff.Anchored = true
  2194. eff.CanCollide = false
  2195. game:GetService("Debris"):AddItem(eff, 5)
  2196. coroutine.resume(coroutine.create(function(p, V, x)
  2197. A = vPlayer.Character.Torso.Velocity / 60
  2198. for i = 1, 8 do
  2199. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 6, 6) / 8
  2200. p.Transparency = 0.2
  2201. p.CFrame = p.CFrame * V + A
  2202. fwait()
  2203. end
  2204. p:Remove()
  2205. end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
  2206. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12))
  2207. eff.Parent = workspace
  2208. eff.Name = "BloodEffect"
  2209. eff.Anchored = true
  2210. eff.CanCollide = false
  2211. game:GetService("Debris"):AddItem(eff, 5)
  2212. coroutine.resume(coroutine.create(function(p, V, x)
  2213. A = vPlayer.Character.Torso.Velocity / 60
  2214. for i = 1, 12 do
  2215. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12
  2216. p.Transparency = 0.75 + i / 48
  2217. p.CFrame = p.CFrame * V + A
  2218. fwait()
  2219. end
  2220. p:Remove()
  2221. end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
  2222. end
  2223. do
  2224. fwait()
  2225. end
  2226. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  2227.  
  2228. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  2229.  
  2230. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT
  2231.  
  2232. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  2233.  
  2234. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  2235.  
  2236. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  2237.  
  2238. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT
  2239.  
  2240. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  2241.  
  2242. end
  2243. end
  2244. end
  2245. end
  2246. end
  2247. end
  2248. end
  2249. end
  2250. cl = 0
  2251. clastframe = lastframe
  2252. for i = 1, 6 do
  2253. fwait()
  2254. cl = cl + i * 0.05
  2255. LerpWelds(clastframe, cl, Animations.LHB.Animation(2))
  2256. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(2.3, 2.3, 2.3))
  2257. pc.CanCollide = false
  2258. pc.Anchored = true
  2259. pc.Parent = workspace
  2260. game:GetService("Debris"):AddItem(pc, 5)
  2261. coroutine.resume(coroutine.create(function(p)
  2262. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  2263. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120
  2264. for i = 1, 30 do
  2265. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 30
  2266. p.Transparency = i / 30
  2267. p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C
  2268. fwait()
  2269. end
  2270. p:Remove()
  2271. end), pc)
  2272. end
  2273. cl = 0
  2274. clastframe = lastframe
  2275. local Grabbee = nil
  2276. for i = 1, 15 do
  2277. fwait()
  2278. do
  2279. if i == 3 then
  2280. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position, vPlayer.Character.Torso.Position + CPlane * 5) * CFrame.Angles(math.rad(90), math.rad(0), 0), "Really black", "SpecialMesh", Vector3.new(8, 2, 8))
  2281. pc.Mesh.MeshType = "FileMesh"
  2282. pc.Anchored = true
  2283. pc.CanCollide = false
  2284. pc.Parent = workspace
  2285. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2286. pc.Name = "Shockwave"
  2287. game:GetService("Debris"):AddItem(pc, 5)
  2288. coroutine.resume(coroutine.create(function(p)
  2289. for ii = 1, 10 do
  2290. p.Transparency = ii / 10
  2291. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0)
  2292. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 0, 1)
  2293. fwait()
  2294. end
  2295. p:Remove()
  2296. end), pc)
  2297. end
  2298. BodyVel.velocity = CPlane * (i * 7.5 + 65)
  2299. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 2, 4.75)) do
  2300. Grabbee = v
  2301. do break end
  2302. end
  2303. do
  2304. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(2.3, 2.3, 2.3))
  2305. pc.CanCollide = false
  2306. pc.Anchored = true
  2307. pc.Parent = workspace
  2308. game:GetService("Debris"):AddItem(pc, 5)
  2309. coroutine.resume(coroutine.create(function(p)
  2310. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  2311. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120
  2312. for i = 1, 20 do
  2313. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20
  2314. p.Transparency = i / 20
  2315. p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C
  2316. fwait()
  2317. end
  2318. p:Remove()
  2319. end), pc)
  2320. do
  2321. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -3.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(5, 5, 5))
  2322. pc.CanCollide = false
  2323. pc.Anchored = true
  2324. pc.Parent = workspace
  2325. game:GetService("Debris"):AddItem(pc, 5)
  2326. coroutine.resume(coroutine.create(function(p)
  2327. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  2328. for i = 1, 20 do
  2329. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(5, 5, 5) / 20
  2330. p.Transparency = 0.5 + i / 40
  2331. p.CFrame = p.CFrame * R
  2332. fwait()
  2333. end
  2334. p:Remove()
  2335. end), pc)
  2336. if i <= 6 then
  2337. cl = cl + i * 0.05
  2338. LerpWelds(clastframe, cl, Animations.LHB.Animation(3))
  2339. end
  2340. -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT
  2341.  
  2342. -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT
  2343.  
  2344. end
  2345. end
  2346. end
  2347. end
  2348. if Grabbee ~= nil then
  2349. if Grabbee:FindFirstChild("Stats") and Grabbee.Stats.Stunned.Value == false then
  2350. Grabbee.Stats.Stun.Value = 999
  2351. end
  2352. cbuff = Instance.new("NumberValue", playerstats.Decrease)
  2353. cbuff.Name = "DecreaseDef"
  2354. cbuff.Value = -2
  2355. Mana.Value = Mana.Value - 10
  2356. if useRageVer == true then
  2357. borb = math.floor(40 + Mana.Value / 3 + (locor) / 3) * 0.4
  2358. else
  2359. borb = math.floor(40 + Mana.Value / 3) * 0.4
  2360. end
  2361. local Grabdone = false
  2362. gpos = Instance.new("BodyPosition")
  2363. gpos.Name = ":<"
  2364. gpos.Parent = vPlayer.Character.HumanoidRootPart
  2365. gpos.P = 5000
  2366. gpos.D = 600
  2367. gpos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2368. gpos.position = vPlayer.Character.HumanoidRootPart.Position
  2369. coroutine.resume(coroutine.create(function(NNoob)
  2370. nubgyro = nil
  2371. while Grabdone == false and vPlayer.Character.Humanoid.Health > 0 do
  2372. if NNoob.Parent == nil then
  2373. break
  2374. else
  2375. if NNoob.Humanoid.Health < 0 then
  2376. break
  2377. end
  2378. end
  2379. NNoob.Humanoid.PlatformStand = true
  2380. if nubgyro == nil or nubpos == nil then
  2381. if NNoob.Torso:FindFirstChild(":>") then
  2382. NNoob.Torso[":>"]:Remove()
  2383. end
  2384. if NNoob.Torso:FindFirstChild(":<") then
  2385. NNoob.Torso[":<"]:Remove()
  2386. end
  2387. nubgyro = Instance.new("BodyGyro")
  2388. nubgyro.Name = ":>"
  2389. nubgyro.Parent = NNoob.Torso
  2390. nubgyro.P = 5000
  2391. nubgyro.D = 200
  2392. nubgyro.maxTorque = Vector3.new(50000, 50000, 50000) * 5000
  2393. nubgyro.cframe = vPlayer.Character["Left Arm"].CFrame
  2394. nubpos = Instance.new("BodyPosition")
  2395. nubpos.Name = ":<"
  2396. nubpos.Parent = NNoob.Torso
  2397. nubpos.P = 8000
  2398. nubpos.D = 200
  2399. nubpos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2400. nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.6, 0).p
  2401. else
  2402. if nubgyro.Parent == nil then
  2403. nubgyro = nil
  2404. nubpos = nil
  2405. else
  2406. nubgyro.cframe = vPlayer.Character.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 18, math.pi, 0)
  2407. nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.4, 0).p - Vector3.new(0, 0.3, 0)
  2408. end
  2409. end
  2410. fwait()
  2411. end
  2412. if nubpos and nubgyro then
  2413. nubpos:Remove()
  2414. nubgyro:Remove()
  2415. if NNoob:FindFirstChild("Humanoid") then
  2416. NNoob.Humanoid.PlatformStand = false
  2417. end
  2418. end
  2419. end), Grabbee)
  2420. p = Instance.new("Sound", vPlayer.Character.Torso)
  2421. p.Volume = 1
  2422. p.Pitch = 0.9
  2423. p.SoundId = "http://www.roblox.com/asset/?id=240429615"
  2424. p:Play()
  2425. game:GetService("Debris"):AddItem(p, 3)
  2426. BodyVel.velocity = Vector3.new()
  2427. cl = 0
  2428. clastframe = lastframe
  2429. for i = 1, 7 do
  2430. fwait()
  2431. cl = cl + i * 0.036
  2432. LerpWelds(clastframe, cl, Animations.LHB.Animation(4))
  2433. end
  2434. cl = 0
  2435. clastframe = lastframe
  2436. for i = 1, 8 do
  2437. fwait()
  2438. cl = cl + i * 0.028
  2439. LerpWelds(clastframe, cl, Animations.LHB.Animation(5))
  2440. end
  2441. p = Instance.new("Sound", vPlayer.Character.Torso)
  2442. p.Volume = 1
  2443. p.Pitch = 0.55
  2444. p.SoundId = "http://www.roblox.com/asset/?id=233856115"
  2445. p:Play()
  2446. game:GetService("Debris"):AddItem(p, 3)
  2447. p = Instance.new("Sound", vPlayer.Character.Torso)
  2448. p.Volume = 1
  2449. p.Pitch = 1
  2450. p.SoundId = "http://www.roblox.com/asset/?id=192410070"
  2451. p:Play()
  2452. game:GetService("Debris"):AddItem(p, 3)
  2453. p = Instance.new("Sound", vPlayer.Character.Torso)
  2454. p.Volume = 1
  2455. p.Pitch = 0.4
  2456. p.SoundId = "http://www.roblox.com/asset/?id=231917822"
  2457. p:Play()
  2458. game:GetService("Debris"):AddItem(p, 3)
  2459. p = Instance.new("Sound", Grabbee.Torso)
  2460. p.Volume = 1
  2461. p.Pitch = 1
  2462. p.SoundId = "http://www.roblox.com/asset/?id=243711335"
  2463. p:Play()
  2464. game:GetService("Debris"):AddItem(p, 3)
  2465. local sees = math.ceil(Mana.Value / borb)
  2466. local sees2 = (math.ceil(Corruption / borb))
  2467. local partic1, partic2 = nil, nil
  2468. partic1 = Instance.new("ParticleEmitter")
  2469. partic1.Name = "AttackParticleEmitter3"
  2470. partic1.Texture = "http://www.roblox.com/asset/?id=233069772"
  2471. partic1.LightEmission = 0
  2472. partic1.ZOffset = 2
  2473. partic1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  2474. partic1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 1)})
  2475. partic1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  2476. partic1.Rate = 80
  2477. partic1.VelocitySpread = 180
  2478. partic1.Speed = NumberRange.new(6, 10)
  2479. partic1.Lifetime = NumberRange.new(1, 1.2)
  2480. partic1.Rotation = NumberRange.new(-180, 180)
  2481. partic1.RotSpeed = NumberRange.new(-100, 100)
  2482. partic1.Parent = Grabbee.Torso
  2483. if useRageVer then
  2484. partic2 = Instance.new("ParticleEmitter", p)
  2485. partic2.Name = "AttackParticleEmitter3"
  2486. partic2.Texture = "http://www.roblox.com/asset/?id=241409051"
  2487. partic2.LightEmission = 0
  2488. partic2.ZOffset = 1
  2489. partic2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 1)})
  2490. partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  2491. partic2.Color = ColorSequence.new(Color3.new(0.3, 0.3, 0.3), Color3.new(0.2, 0.2, 0.2))
  2492. partic2.Rate = 60
  2493. partic2.VelocitySpread = 180
  2494. partic2.Speed = NumberRange.new(1, 2)
  2495. partic2.Lifetime = NumberRange.new(1, 1.2)
  2496. partic2.Rotation = NumberRange.new(-180, 180)
  2497. partic2.RotSpeed = NumberRange.new(-100, 100)
  2498. partic2.Acceleration = Vector3.new(0, 10, 0)
  2499. partic2.Parent = Grabbee.Torso
  2500. end
  2501. for i = 1, borb + borb % 2 do
  2502. fwait()
  2503. if i % 2 == 0 then
  2504. applyDamage(Grabbee, 3, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false)
  2505. local st = Grabbee:FindFirstChild("Stats")
  2506. if st and st:FindFirstChild("Mana") then
  2507. if st.Mana.Value >= 3 then
  2508. --script.Parent.DMG.RemoteEventM:FireServer(st.Mana, 3)
  2509. st.Mana.Value = st.Mana.Value - 3
  2510. else
  2511. st.Mana.Value = 0
  2512. end
  2513. end
  2514. end
  2515. do
  2516. if sees <= Mana.Value then
  2517. Mana.Value = Mana.Value - sees
  2518. else
  2519. Mana.Value = 0
  2520. end
  2521. if useRageVer then
  2522. if sees2 <= Corruption then
  2523. Corruption = Corruption - sees2
  2524. else
  2525. Corruption = 0
  2526. end
  2527. end
  2528. if useRageVer == true and i % 2 == 0 then
  2529. if vPlayer.Character.Humanoid.Health >= 6.5 then
  2530. vPlayer.Character.Humanoid:TakeDamage(1.5)
  2531. end
  2532. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-20, 20) / 10, math.random(-20, 20) / 20).p, 0)
  2533. eb.Parent = workspace
  2534. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  2535. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  2536. game:GetService("Debris"):AddItem(eb, 3)
  2537. coroutine.resume(coroutine.create(function(p)
  2538. local r = math.random(-3, 3) * 9
  2539. if r > -12 and r < 1 then
  2540. r = -12
  2541. else
  2542. if r < 12 and r > -1 then
  2543. r = 12
  2544. end
  2545. end
  2546. for i = 1, 12 do
  2547. p.BillboardGui.ImageLabel.ImageTransparency = 0.5 + i / 24
  2548. p.BillboardGui.Size = UDim2.new(3 + i, 0, 3 + i, 0)
  2549. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  2550. fwait()
  2551. end
  2552. p:Remove()
  2553. end), eb)
  2554. end
  2555. do
  2556. local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12))
  2557. eff.Parent = workspace
  2558. eff.Name = "BloodEffect"
  2559. eff.Anchored = true
  2560. eff.CanCollide = false
  2561. game:GetService("Debris"):AddItem(eff, 5)
  2562. coroutine.resume(coroutine.create(function(p, V, x)
  2563. A = vPlayer.Character.Torso.Velocity / 60
  2564. for i = 1, 8 do
  2565. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 8
  2566. p.Transparency = 0.75 + i / 32
  2567. p.CFrame = p.CFrame * V + A
  2568. fwait()
  2569. end
  2570. p:Remove()
  2571. end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
  2572. if i % 5 == 0 then
  2573. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do
  2574. applyCameraShake(v, 120, 5)
  2575. end
  2576. applyCameraShake(vPlayer.Character, 120, 5)
  2577. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position + Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "Really black", "SpecialMesh", Vector3.new(6, 13, 6))
  2578. pc.Mesh.MeshType = "FileMesh"
  2579. pc.Anchored = true
  2580. pc.CanCollide = false
  2581. pc.Parent = workspace
  2582. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2583. pc.Name = "Shockwave"
  2584. game:GetService("Debris"):AddItem(pc, 5)
  2585. coroutine.resume(coroutine.create(function(p)
  2586. for ii = 1, 13 do
  2587. p.Transparency = ii / 13
  2588. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.38461538461538, 0)
  2589. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, -1, 1)
  2590. fwait()
  2591. end
  2592. p:Remove()
  2593. end), pc)
  2594. end
  2595. do
  2596. if Grabbee.Parent == nil then
  2597. break
  2598. else
  2599. if Grabbee:FindFirstChild("Humanoid") == nil then
  2600. break
  2601. end
  2602. end
  2603. local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-25, 25) / 10, math.random(-20, 20) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(1.1, 1.1, 1.1))
  2604. eff.Parent = workspace
  2605. eff.Name = "BloodEffect"
  2606. eff.Anchored = true
  2607. eff.CanCollide = false
  2608. game:GetService("Debris"):AddItem(eff, 5)
  2609. coroutine.resume(coroutine.create(function(p, V, x)
  2610. A = vPlayer.Character.Torso.Velocity / 60
  2611. for i = 1, 12 do
  2612. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) / 12
  2613. p.Transparency = 0.25 + i / 48
  2614. p.CFrame = p.CFrame * V + A
  2615. fwait()
  2616. end
  2617. p:Remove()
  2618. end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
  2619. do
  2620. if i % 3 == 0 then
  2621. local pc = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Bright blue", "BlockMesh", Vector3.new(2, 2, 2))
  2622. pc.CanCollide = false
  2623. pc.Anchored = true
  2624. pc.Parent = workspace
  2625. game:GetService("Debris"):AddItem(pc, 5)
  2626. coroutine.resume(coroutine.create(function(p)
  2627. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  2628. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40)
  2629. for i = 1, 20 do
  2630. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20
  2631. p.Transparency = i / 20
  2632. p.CFrame = p.CFrame * R - Vector3.new(0, 0.029757575757576 * i, 0)
  2633. fwait()
  2634. end
  2635. p:Remove()
  2636. end), pc)
  2637. end
  2638. end
  2639. end
  2640. end
  2641. end
  2642. end
  2643. cl = 0
  2644. clastframe = lastframe
  2645. for i = 1, 5 do
  2646. wait()
  2647. cl = cl + i * 0.07
  2648. if i == 3 then
  2649. Grabdone = true
  2650. partic1.Enabled = false
  2651. game:GetService("Debris"):AddItem(partic1, 5)
  2652. if partic2 then
  2653. partic2.Enabled = false
  2654. game:GetService("Debris"):AddItem(partic2, 5)
  2655. end
  2656. p = Instance.new("Sound", vPlayer.Character.Torso)
  2657. p.Volume = 1
  2658. p.Pitch = 0.95
  2659. p.SoundId = "http://www.roblox.com/asset/?id=241816029"
  2660. p:Play()
  2661. game:GetService("Debris"):AddItem(p, 3)
  2662. if Grabbee:FindFirstChild("Stats") then
  2663. if Grabbee.Stats.Mana.Value >= 10 then
  2664. Grabbee.Stats.Mana.Value = Grabbee.Stats.Mana.Value - 10
  2665. else
  2666. Grabbee.Stats.Mana.Value = 0
  2667. end
  2668. if Grabbee.Stats.Stunned.Value == false then
  2669. Grabbee.Stats.Stun.Value = 999
  2670. end
  2671. end
  2672. applyDamage(Grabbee, 15, Vector3.new(0, 30, 0) + CPlane * 40, true, false, addonCullMovers, 0, 0, "", 0, false, false, 0, true, "IgnoreDefense", true, false)
  2673. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(Grabbee.Torso.Position, Grabbee.Torso.Position + CPlane * 9.5 + Vector3.new(0, 5, 0)) * CFrame.Angles(math.random(-30, 30) / 50, math.random(-30, 30) / 50, math.random(-30, 30) / 50), "Really black", "SpecialMesh", Vector3.new(6, 6, 2))
  2674. pc.Mesh.MeshType = "FileMesh"
  2675. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2676. pc.Parent = workspace
  2677. pc.Anchored = true
  2678. pc.CanCollide = false
  2679. pc.Transparency = 0.5
  2680. game:GetService("Debris"):AddItem(pc, 5)
  2681. coroutine.resume(coroutine.create(function(p)
  2682. for ii = 1, 28 do
  2683. p.Transparency = ii / 28
  2684. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.1)
  2685. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.8 - ii * 0.05, 1.8 - ii * 0.05, 0)
  2686. fwait()
  2687. end
  2688. p:Remove()
  2689. end), pc)
  2690. for loel = 1, 8 do
  2691. local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(4, 4, 4))
  2692. eff.Parent = workspace
  2693. eff.Name = "BloodEffect"
  2694. eff.Anchored = true
  2695. eff.CanCollide = false
  2696. game:GetService("Debris"):AddItem(eff, 5)
  2697. coroutine.resume(coroutine.create(function(p, V, x)
  2698. for i = 1, 25 do
  2699. p.Transparency = 0.5 + i / 50
  2700. p.CFrame = p.CFrame + x / 2
  2701. fwait()
  2702. end
  2703. p:Remove()
  2704. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))), Vector3.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10))
  2705. end
  2706. for loel = 1, 3 do
  2707. local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-25, 25) / 10, math.random(-20, 20) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(4, 4, 4))
  2708. eff.Parent = workspace
  2709. eff.Name = "BloodEffect"
  2710. eff.Anchored = true
  2711. eff.CanCollide = false
  2712. game:GetService("Debris"):AddItem(eff, 5)
  2713. coroutine.resume(coroutine.create(function(p, V, x)
  2714. for i = 1, 25 do
  2715. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 25
  2716. p.Transparency = 0.25 + i / 18.75
  2717. p.CFrame = p.CFrame * V
  2718. fwait()
  2719. end
  2720. p:Remove()
  2721. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  2722. end
  2723. end
  2724. do
  2725. do
  2726. LerpWelds(clastframe, cl, Animations.LHB.Animation(6))
  2727. -- DECOMPILER ERROR at PC2735: LeaveBlock: unexpected jumping out DO_STMT
  2728.  
  2729. end
  2730. end
  2731. end
  2732. cbuff:Remove()
  2733. gpos:Remove()
  2734. else
  2735. do
  2736. for i = 1, 4 do
  2737. fwait()
  2738. BodyVel.velocity = BodyVel.velocity / 1.25
  2739. end
  2740. do
  2741. cl = 0
  2742. coroutine.resume(coroutine.create(function(p)
  2743. for i = 1, 30 do
  2744. p.Volume = 1 - i / 30
  2745. fwait()
  2746. end
  2747. p:Stop()
  2748. end), pb)
  2749. clastframe = lastframe
  2750. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  2751. for i = 1, 15 do
  2752. fwait()
  2753. BodyVel.velocity = BodyVel.velocity / 1.2
  2754. LerpWelds(clastframe, i / 15, Animations.Stand.Animation(0))
  2755. end
  2756. if Grabbee == nil then
  2757. Cooldowns["4"] = CooldownsB["4"] / 3
  2758. else
  2759. Cooldowns["4"] = CooldownsB["4"]
  2760. end
  2761. end
  2762. end
  2763. end
  2764. CanInterrupt(true)
  2765. PlayerIsAttacking = false
  2766. BodyVel.Parent = nil
  2767. BodyGyro.Parent = nil
  2768. Ult = false
  2769. end
  2770. InputNormals.C = function()
  2771. local useRageVer = false
  2772. if Mana.Value >= 35 and Cooldowns["3"] == 0 then
  2773. Mana.Value = Mana.Value - 35
  2774. Cooldowns["3"] = CooldownsB["3"]
  2775. if Ragemode == true and Corruption >= 20 then
  2776. coroutine.resume(coroutine.create(function()
  2777. for lel = 1, 20 do
  2778. fwait()
  2779. if Corruption > 0 then
  2780. Corruption = Corruption - 1
  2781. else
  2782. break
  2783. end
  2784. end
  2785. end))
  2786. useRageVer = true
  2787. end
  2788. else
  2789. return
  2790. end
  2791. if TrackFunction ~= nil then
  2792. TrackFunction:disconnect()
  2793. TrackFunction = nil
  2794. end
  2795. CanInterrupt(false)
  2796. PlayerIsAttacking = true
  2797. local rawframes = 0
  2798. Tool.Status.AnimFrame.Value = 0
  2799. local DidHit = false
  2800. ccctime = tick()
  2801. local CPlane = MousePlane()
  2802. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  2803. BodyGyro.cframe = CFrame.new(vPlayer.Character.HumanoidRootPart.CFrame.p, vPlayer.Character.HumanoidRootPart.CFrame.p + CPlane * 50)
  2804. local cl = 0
  2805. local clastframe = lastframe
  2806. local cframes = 0
  2807. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  2808. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  2809. BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000)
  2810. DesiredWalkspeed = 0
  2811. local Grabbed = {}
  2812. TrackFunction = script.Heartbeat.Event:connect(function()
  2813. if rawframes <= 5 then
  2814. CPlane = MousePlane()
  2815. BodyGyro.cframe = clerp(BodyGyro.cframe, CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50), 1)
  2816. end
  2817. if rawframes <= 6 then
  2818. cframes = rawframes
  2819. cl = cl + cframes * 0.05
  2820. LerpWelds(clastframe, cl, Animations.ShatterCannon.Animation(1))
  2821. elseif rawframes > 6 and rawframes <= 10 then
  2822. if rawframes == 7 then
  2823. tpargen1 = Instance.new("ParticleEmitter")
  2824. tpargen1.Name = "AttackParticleEmitter3"
  2825. tpargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  2826. tpargen1.LightEmission = 0.1
  2827. tpargen1.ZOffset = 1.3
  2828. tpargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.65), NumberSequenceKeypoint.new(1, 1)})
  2829. tpargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.6), NumberSequenceKeypoint.new(1, 0)})
  2830. tpargen1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  2831. tpargen1.Rate = 120
  2832. tpargen1.VelocitySpread = 180
  2833. tpargen1.Acceleration = Vector3.new(0, -15, 0)
  2834. tpargen1.Speed = NumberRange.new(3, 6)
  2835. tpargen1.Lifetime = NumberRange.new(0.6, 0.8)
  2836. tpargen1.Rotation = NumberRange.new(-180, 180)
  2837. tpargen1.RotSpeed = NumberRange.new(-70, 70)
  2838. tpargen1.Parent = Wep.Blade
  2839. p = Instance.new("Sound", vPlayer.Character.Torso)
  2840. p.Volume = 1
  2841. p.Pitch = 0.8
  2842. p.SoundId = "http://www.roblox.com/asset/?id=231917856"
  2843. p:Play()
  2844. game:GetService("Debris"):AddItem(p, 3)
  2845. clastframe = lastframe
  2846. cl = 0
  2847. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Torso.Position, Vector3.new(0, -3, 0)), vPlayer.Character)
  2848. local pz = NewPart(Vector3.new(6, 6, 1), CFrame.new(loc) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "BlockMesh", Vector3.new(1, 1, 0))
  2849. pz.Transparency = 1
  2850. pz.Anchored = true
  2851. pz.CanCollide = false
  2852. pz.Parent = workspace
  2853. pz.Name = "Rune"
  2854. local d1 = Instance.new("Decal", pz)
  2855. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  2856. d1.Face = "Front"
  2857. d1.Name = "d1"
  2858. local d1 = Instance.new("Decal", pz)
  2859. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  2860. d1.Face = "Back"
  2861. d1.Name = "d2"
  2862. coroutine.resume(coroutine.create(function(p, dir)
  2863. for i = 1, 5 do
  2864. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(10 + i * 2))
  2865. p.d1.Transparency = 0.9 + i / 50
  2866. p.d2.Transparency = 0.9 + i / 50
  2867. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 0)
  2868. fwait()
  2869. end
  2870. p:Remove()
  2871. end), pz, CPlane)
  2872. game:GetService("Debris"):AddItem(pz, 6)
  2873. p = Instance.new("Sound", vPlayer.Character.Torso)
  2874. p.Volume = 0.8
  2875. p.Pitch = 1
  2876. p.SoundId = "http://www.roblox.com/asset/?id=231917934"
  2877. p:Play()
  2878. game:GetService("Debris"):AddItem(p, 3)
  2879. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(3, 5, 3))
  2880. pc.Mesh.MeshType = "FileMesh"
  2881. pc.Anchored = true
  2882. pc.CanCollide = false
  2883. pc.Parent = workspace
  2884. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2885. pc.Name = "Shockwave"
  2886. pc.Transparency = 0.5
  2887. game:GetService("Debris"):AddItem(pc, 5)
  2888. coroutine.resume(coroutine.create(function(p)
  2889. for ii = 1, 15 do
  2890. p.Transparency = ii / 15
  2891. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.25, 0)
  2892. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.3, -0.33, 1.3)
  2893. fwait()
  2894. end
  2895. p:Remove()
  2896. end), pc)
  2897. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position + CPlane * 6, vPlayer.Character.Torso.Position - CPlane * 9.5) * CFrame.Angles(-math.pi / 2, math.random(-10, 10), 0), "Institutional white", "SpecialMesh", Vector3.new(7.3, 6, 7.3))
  2898. pc.Mesh.MeshType = "FileMesh"
  2899. pc.Parent = workspace
  2900. pc.Anchored = true
  2901. pc.CanCollide = false
  2902. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2903. pc.Name = "Shockwave"
  2904. pc.Transparency = 0.5
  2905. game:GetService("Debris"):AddItem(pc, 5)
  2906. coroutine.resume(coroutine.create(function(p)
  2907. for ii = 1, 9 do
  2908. p.Transparency = 0.5 + ii / 18
  2909. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(3 + ii), 0) * CFrame.new(0, 1.5, 0)
  2910. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, -0.3, 1)
  2911. fwait()
  2912. end
  2913. p:Remove()
  2914. end), pc)
  2915. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 25)) do
  2916. applyCameraShake(v, 250, 4)
  2917. end
  2918. applyCameraShake(vPlayer.Character, 250, 4)
  2919. end
  2920. cframes = rawframes - 7
  2921. cl = cframes * 0.2
  2922. LerpWelds(clastframe, cframes / 3, Animations.ShatterCannon.Animation(2))
  2923. print(cl, "D")
  2924. print(cframes / 3, "DI")
  2925. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.4)) do
  2926. applyDamage(v, 10, Vector3.new(), false, false, nil, 0.2, 1, "199149269", 0.5, true, true, 10, false, "Normal", false, false)
  2927. applyCameraShake(v, 50, 5)
  2928. -- DECOMPILER ERROR at PC529: Overwrote pending register: R6 in 'AssignReg'
  2929.  
  2930. local lelpos = Instance.new("BodyPosition", v.Torso)
  2931. lelpos.P = 4000
  2932. lelpos.D = 100
  2933. -- DECOMPILER ERROR at PC534: Overwrote pending register: R6 in 'AssignReg'
  2934.  
  2935. -- DECOMPILER ERROR at PC535: Overwrote pending register: R6 in 'AssignReg'
  2936.  
  2937. lelpos.maxForce = Vector3.new(50000000, 50000000, 50000000)
  2938. lelpos.Parent = v
  2939. lelpos.position = v.HumanoidRootPart.Position + CPlane * 3 + BodyVel.velocity / 5
  2940. game:GetService("Debris"):AddItem(lelpos, 0.5)
  2941. -- DECOMPILER ERROR at PC561: Overwrote pending register: R6 in 'AssignReg'
  2942.  
  2943. -- DECOMPILER ERROR at PC562: Overwrote pending register: R6 in 'AssignReg'
  2944. coroutine.resume(coroutine.create(function(p)
  2945. while p.Parent do
  2946. p.position = Wep.Blade.Position + CPlane * 1
  2947. fwait()
  2948. end
  2949. end), lelpos)
  2950. -- DECOMPILER ERROR at PC570: Overwrote pending register: R6 in 'AssignReg'
  2951.  
  2952. DidHit = true
  2953. -- DECOMPILER ERROR at PC572: Overwrote pending register: R6 in 'AssignReg'
  2954. local eff = NewPart(Vector3.new(1, 1, 1), v.Torso.CFrame * CFrame.new(math.random(-15, 15) / 50, math.random(-20, 15) / 50, math.random(-5, 5) / 50) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Bright red", "BlockMesh", Vector3.new(1.3, 1.3, 1.3))
  2955. --local eff = nil
  2956. eff.Parent = workspace
  2957. eff.Name = "BloodEffect"
  2958. eff.Anchored = true
  2959. eff.CanCollide = false
  2960. game:GetService("Debris"):AddItem(eff, 5)
  2961. coroutine.resume(coroutine.create(function(p, A, V)
  2962. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  2963. for i = 1, 12 do
  2964. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.2, 1.2, 1.2) * (1 - i / 12)
  2965. p.Transparency = 0.75 + i / 48
  2966. p.CFrame = p.CFrame * A
  2967. fwait()
  2968. end
  2969. p:Remove()
  2970. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)))
  2971. if v:FindFirstChild("BleedController") == nil then
  2972. s = script.BleedController:clone()
  2973. s.Disabled = false
  2974. s.Parent = v
  2975. showDamage(v, "Bleeding", "Debuff", "IgnoreDefense")
  2976. end
  2977. end
  2978. end
  2979. if rawframes >= 23 then
  2980. local cwalk = "Stand"
  2981. if Ragemode == true then
  2982. cwalk = "Stand2"
  2983. end
  2984. LerpWelds({Animations.ShatterCannon.Animation(2)}, (rawframes - 23) / 10, Animations[cwalk].Animation(0))
  2985. end
  2986. -- DECOMPILER ERROR at PC745: Unhandled construct in 'MakeBoolean' P1
  2987.  
  2988. if useRageVer == false and rawframes >= 9 and rawframes <= 18 then
  2989. if rawframes == 10 then
  2990. for LOUD = 1, 1 do
  2991. p = Instance.new("Sound", vPlayer.Character.Torso)
  2992. p.Volume = 1
  2993. p.Pitch = 0.8
  2994. p.SoundId = "http://www.roblox.com/asset/?id=243711322"
  2995. p:Play()
  2996. game:GetService("Debris"):AddItem(p, 3)
  2997. end
  2998. end
  2999. if rawframes % 2 == 0 then
  3000. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.4)) do
  3001. applyDamage(v, 2, Vector3.new(), false, false, nil, 0, 1, "199149137", math.random(60, 70) / 100, false, true, 3, false, "IgnoreDefense", false, false)
  3002. applyCameraShake(v, 50, 3)
  3003. if v:FindFirstChild("BleedController") == nil then
  3004. s = script.BleedController:clone()
  3005. s.Disabled = false
  3006. s.Parent = v--]]
  3007. -- DECOMPILER ERROR at PC835: Overwrote pending register: R8 in 'AssignReg'
  3008.  
  3009. showDamage(v, "Bleeding", "Debuff", "IgnoreDefense")
  3010. end
  3011. -- DECOMPILER ERROR at PC842: Overwrote pending register: R8 in 'AssignReg'
  3012.  
  3013. -- DECOMPILER ERROR at PC847: Overwrote pending register: R8 in 'AssignReg'
  3014.  
  3015. -- DECOMPILER ERROR at PC848: Overwrote pending register: R8 in 'AssignReg'
  3016.  
  3017. -- DECOMPILER ERROR at PC869: Overwrote pending register: R8 in 'AssignReg'
  3018.  
  3019. -- DECOMPILER ERROR at PC870: Overwrote pending register: R8 in 'AssignReg'
  3020.  
  3021. -- DECOMPILER ERROR at PC888: Overwrote pending register: R8 in 'AssignReg'
  3022. --(size, cframe, color, meshtype, meshscale)
  3023. --[[local eff = NewPart(Vector3.new(1, 1, 1), v.Torso.CFrame * CFrame.new(math.random(-15, 15) / 20, math.random(-20, 15) / 20, math.random(-5, 5) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Bright red", "BlockMesh", Vector3.new(1, 1, 1))
  3024. eff.Parent = workspace
  3025. eff.Name = "BloodEffect"
  3026. eff.Anchored = true
  3027. eff.CanCollide = false
  3028. -- DECOMPILER ERROR at PC904: Overwrote pending register: R8 in 'AssignReg'
  3029.  
  3030. -- DECOMPILER ERROR at PC907: Overwrote pending register: R8 in 'AssignReg'
  3031.  
  3032. game:GetService("Debris"):AddItem(eff, 5)--]]
  3033. -- DECOMPILER ERROR at PC914: Overwrote pending register: R8 in 'AssignReg'
  3034.  
  3035. -- DECOMPILER ERROR at PC916: Overwrote pending register: R8 in 'AssignReg'
  3036.  
  3037. --coroutine.resume(coroutine.create(R8_PC701), R8_PC701, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)))
  3038. end
  3039. print("XXX")
  3040. for sus = 1, 2 do
  3041. local px = Instance.new("Part", Wep)
  3042. px.Name = "Spike"
  3043. px.formFactor = "Custom"
  3044. -- DECOMPILER ERROR at PC968: Overwrote pending register: R8 in 'AssignReg'
  3045.  
  3046. px.Size = Vector3.new(0.2, 0.2, 0.2)
  3047. px.Anchored = false
  3048. px.CanCollide = false
  3049. px.CFrame = vPlayer.Character.Torso.CFrame
  3050. px:BreakJoints()
  3051. px.TopSurface = 0
  3052. px.BottomSurface = 0
  3053. px.BrickColor = BrickColor.new("Black")
  3054. px.Material = "Metal"
  3055. local m = Instance.new("SpecialMesh", px)
  3056. m.MeshType = "FileMesh"
  3057. m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3058. -- DECOMPILER ERROR at PC998: Overwrote pending register: R8 in 'AssignReg'
  3059.  
  3060. m.Scale = Vector3.new(0.0375, 0.0375--[[R8_PC701]], math.random(20, 30) / 100)
  3061. local w = Instance.new("Weld", px)
  3062. w.Part0 = Wep.Blade
  3063. w.Part1 = px
  3064. -- DECOMPILER ERROR at PC1017: Overwrote pending register: R8 in 'AssignReg'
  3065.  
  3066. -- DECOMPILER ERROR at PC1026: Overwrote pending register: R8 in 'AssignReg'
  3067.  
  3068. -- DECOMPILER ERROR at PC1027: Overwrote pending register: R8 in 'AssignReg'
  3069.  
  3070. w.C0 = CFrame.new(0, -1.8 + (rawframes - 10) / 3.75 + sus * 0.05, 0)-- * R8_PC701
  3071. -- DECOMPILER ERROR at PC1048: Overwrote pending register: R8 in 'AssignReg'
  3072.  
  3073. local pargen1 = Instance.new("ParticleEmitter", px)
  3074. pargen1.Name = "Emitter"
  3075. pargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  3076. pargen1.LightEmission = 0.15
  3077. pargen1.ZOffset = 1
  3078. -- DECOMPILER ERROR at PC1054: Overwrote pending register: R8 in 'AssignReg'
  3079.  
  3080. -- DECOMPILER ERROR at PC1055: Overwrote pending register: R8 in 'AssignReg'
  3081.  
  3082. --[[R8_PC701 = R8_PC701({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  3083. pargen1.Transparency = R8_PC701
  3084. R8_PC701 = NumberSequence
  3085. R8_PC701 = R8_PC701.new
  3086. R8_PC701 = R8_PC701({NumberSequenceKeypoint.new(0, 1.5), NumberSequenceKeypoint.new(1, 0)})
  3087. pargen1.Size = R8_PC701
  3088. R8_PC701 = ColorSequence
  3089. R8_PC701 = R8_PC701.new
  3090. R8_PC701 = R8_PC701(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  3091. pargen1.Color = R8_PC701
  3092. pargen1.Rate = 40
  3093. pargen1.VelocitySpread = 5
  3094. R8_PC701 = Vector3
  3095. R8_PC701 = R8_PC701.new
  3096. R8_PC701 = R8_PC701(0, 0, 0)
  3097. pargen1.Acceleration = R8_PC701
  3098. R8_PC701 = NumberRange
  3099. R8_PC701 = R8_PC701.new
  3100. R8_PC701 = R8_PC701(8, 13)
  3101. pargen1.Speed = R8_PC701
  3102. R8_PC701 = NumberRange
  3103. R8_PC701 = R8_PC701.new
  3104. R8_PC701 = R8_PC701(0.5, 0.5)
  3105. pargen1.Lifetime = R8_PC701
  3106. R8_PC701 = NumberRange
  3107. R8_PC701 = R8_PC701.new
  3108. R8_PC701 = R8_PC701(-180, 180)
  3109. pargen1.Rotation = R8_PC701
  3110. R8_PC701 = NumberRange
  3111. R8_PC701 = R8_PC701.new
  3112. R8_PC701 = R8_PC701(-80, 80)
  3113. pargen1.RotSpeed = R8_PC701
  3114. pargen1.Parent = px
  3115. R8_PC701 = w.Part1
  3116. w.Parent = R8_PC701
  3117. R8_PC701 = game
  3118. R8_PC701 = R8_PC701(R8_PC701, "Debris")
  3119. R8_PC701(R8_PC701, px, 7)--]]
  3120. pargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  3121. pargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1.5), NumberSequenceKeypoint.new(1, 0)})
  3122. pargen1.Color = ColorSequence.new(Color3.new(0.15, 0.05, 0.2), Color3.new(0.1, 0.1, 0.1))
  3123. pargen1.Rate = 40
  3124. pargen1.VelocitySpread = 5
  3125. pargen1.Acceleration = Vector3.new(0, 0, 0)
  3126. pargen1.Speed = NumberRange.new(8, 13)
  3127. pargen1.Lifetime = NumberRange.new(0.5, 0.5)
  3128. pargen1.Rotation = NumberRange.new(-180, 180)
  3129. pargen1.RotSpeed = NumberRange.new(-80, 80)
  3130. pargen1.Parent = px
  3131. w.Parent = w.Part1
  3132. game:GetService("Debris"):AddItem(px, 7)
  3133. -- DECOMPILER ERROR at PC1147: Overwrote pending register: R8 in 'AssignReg'
  3134.  
  3135. local s = math.random(35, 85) / 10--R8_PC701
  3136. if sus <= 1 then
  3137. w.C1 = CFrame.new(0, -0.1, 0) * CFrame.Angles(math.pi, 0, 0)
  3138. else
  3139. w.C1 = CFrame.new(0, 0.1, 0) * CFrame.Angles(0, 0, 0)
  3140. -- DECOMPILER ERROR at PC1180: Overwrote pending register: R8 in 'AssignReg'
  3141.  
  3142. end
  3143. coroutine.resume(coroutine.create(function(px, s)
  3144. local sz = math.random(35, 85) / 10
  3145. fwait(0.03 * math.random(0, 8))
  3146. for i = 1, 2 do
  3147. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, -(sz / 2) / 2.5 * s, 0)
  3148. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, sz / 2, 0)
  3149. fwait()
  3150. end
  3151. fwait(0.03 * math.random(1, 2))
  3152. for i = 1, 5 do
  3153. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, sz / 5 / 2.5 * s, 0)
  3154. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, -(sz / 5), 0)
  3155. fwait()
  3156. end
  3157. px.Transparency = 1
  3158. px.Emitter.Enabled = false
  3159. end), px, s)
  3160. end
  3161. end
  3162. end
  3163. if rawframes >= 9 and rawframes <= 21 then
  3164. if rawframes == 10 then
  3165. for LOUD = 1, 1 do
  3166. p = Instance.new("Sound", vPlayer.Character.Torso)
  3167. p.Volume = 1
  3168. p.Pitch = 0.58
  3169. p.SoundId = "http://www.roblox.com/asset/?id=243711322"
  3170. p:Play()
  3171. game:GetService("Debris"):AddItem(p, 3)
  3172. end
  3173. end
  3174. if rawframes % 3 == 0 then
  3175. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.4)) do
  3176. applyDamage(v, 4, Vector3.new(), false, false, nil, 0, 1, "199149137", math.random(60, 70) / 100, true, true, 3, false, "IgnoreDefense", true, false)
  3177. applyCameraShake(v, 50, 3)
  3178. local eff = NewPart(Vector3.new(1, 1, 1), v.Torso.CFrame * CFrame.new(math.random(-15, 15) / 20, math.random(-20, 15) / 20, math.random(-5, 5) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Bright red", "BlockMesh", Vector3.new(1, 1, 1))
  3179. eff.Parent = workspace
  3180. eff.Name = "BloodEffect"
  3181. eff.Anchored = true
  3182. eff.CanCollide = false
  3183. game:GetService("Debris"):AddItem(eff, 5)
  3184. coroutine.resume(coroutine.create(function(p, A, V)
  3185. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  3186. for i = 1, 10 do
  3187. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.6, 0.6, 0.6) * (1 - i / 10)
  3188. p.Transparency = 0.75 + i / 40
  3189. p.CFrame = p.CFrame * A
  3190. fwait()
  3191. end
  3192. p:Remove()
  3193. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)))
  3194. if v:FindFirstChild("BleedController") == nil then
  3195. s = script.BleedController:clone()
  3196. s.Disabled = false
  3197. s.Parent = v
  3198. showDamage(v, "Bleeding", "Debuff", "IgnoreDefense")
  3199. end
  3200. end
  3201. end
  3202. print("XXX")
  3203. for sus = 1, 2 do
  3204. local px = Instance.new("Part", Wep)
  3205. px.Name = "Spike"
  3206. px.formFactor = "Custom"
  3207. px.Size = Vector3.new(0.2, 0.2, 0.2)
  3208. px.Anchored = false
  3209. px.CanCollide = false
  3210. px.CFrame = vPlayer.Character.Torso.CFrame
  3211. px:BreakJoints()
  3212. px.TopSurface = 0
  3213. px.BottomSurface = 0
  3214. px.BrickColor = BrickColor.new("Black")
  3215. px.Material = "Metal"
  3216. local m = Instance.new("SpecialMesh", px)
  3217. m.MeshType = "FileMesh"
  3218. m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3219. m.Scale = Vector3.new(0.0375, 0.2, math.random(15, 25) / 100)
  3220. local w = Instance.new("Weld")
  3221. w.Part0 = Wep.Blade
  3222. w.Part1 = px
  3223. w.C0 = CFrame.new(0, -1.8 + (rawframes - 10) / 4.5 + sus * 0.05, 0) * CFrame.Angles(math.pi / 2 + math.rad(math.random(-15, 15) * 3), 0, 0)
  3224. local pargen1 = Instance.new("ParticleEmitter")
  3225. pargen1.Name = "Emitter"
  3226. pargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  3227. pargen1.LightEmission = 0.15
  3228. pargen1.ZOffset = 1
  3229. pargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  3230. pargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1.5), NumberSequenceKeypoint.new(1, 0)})
  3231. pargen1.Color = ColorSequence.new(Color3.new(0.15, 0.05, 0.2), Color3.new(0.1, 0.1, 0.1))
  3232. pargen1.Rate = 40
  3233. pargen1.VelocitySpread = 5
  3234. pargen1.Acceleration = Vector3.new(0, 0, 0)
  3235. pargen1.Speed = NumberRange.new(8, 13)
  3236. pargen1.Lifetime = NumberRange.new(0.5, 0.5)
  3237. pargen1.Rotation = NumberRange.new(-180, 180)
  3238. pargen1.RotSpeed = NumberRange.new(-80, 80)
  3239. pargen1.Parent = px
  3240. w.Parent = w.Part1
  3241. game:GetService("Debris"):AddItem(px, 7)
  3242. px.Anchored = false
  3243. local s = -1
  3244. if sus <= 1 then
  3245. w.C1 = CFrame.new(0, -0.1, 0) * CFrame.Angles(math.pi, 0, 0)
  3246. else
  3247. w.C1 = CFrame.new(0, 0.1, 0) * CFrame.Angles(0, 0, 0)
  3248. s = 1
  3249. end
  3250. coroutine.resume(coroutine.create(function(px, s)
  3251. local sz = math.random(40, 80) / 10
  3252. fwait(0.03 * math.random(0, 8))
  3253. for i = 1, 2 do
  3254. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, -(sz / 2) / 2.5 * s, 0)
  3255. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, sz / 2, 0)
  3256. fwait()
  3257. end
  3258. for i = 1, 4 do
  3259. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, sz / 4 / 2.5 * s, 0)
  3260. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, -(sz / 4), 0)
  3261. fwait()
  3262. end
  3263. px.Transparency = 1
  3264. px.Emitter.Enabled = false
  3265. end), px, s)
  3266. end
  3267. end
  3268. if rawframes == 20 then
  3269. tpargen1.Enabled = false
  3270. game:GetService("Debris"):AddItem(tpargen1, 5)
  3271. end
  3272. if rawframes >= 6 and rawframes <= 9 and DidHit == false then
  3273. BodyVel.velocity = BodyVel.velocity + CPlane * (rawframes * 3.3 + 15)
  3274. else
  3275. BodyVel.velocity = BodyVel.velocity / 1.35
  3276. end
  3277. if rawframes == 33 then
  3278. TrackFunction:disconnect()
  3279. TrackFunction = nil
  3280. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3281. PlayerIsAttacking = false
  3282. CanInterrupt(true)
  3283. setlastnormal("")
  3284. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  3285. Stand()
  3286. end
  3287. rawframes = rawframes + 1
  3288. end)
  3289. end
  3290. InputNormals.Z = function()
  3291. local StunnedPlayer = nil
  3292. local pos = vPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 3, 0)
  3293. for _,v in pairs(GetNubsInRadius(pos, 6)) do
  3294. if v:FindFirstChild("Stats") and v.Stats:FindFirstChild("Stunned") and v:FindFirstChild("Torso") and v.Stats.Stunned.Value == true and (v.Torso.Position - (pos + MousePlane() * 3)).magnitude <= 4.5 then
  3295. StunnedPlayer = v
  3296. break
  3297. end
  3298. end
  3299. if StunnedPlayer == nil then
  3300. local useRageVer = false
  3301. if Mana.Value >= 20 and Cooldowns["1"] == 0 then
  3302. Mana.Value = Mana.Value - 20
  3303. Cooldowns["1"] = CooldownsB["1"]
  3304. if Ragemode == true and Corruption >= 20 then
  3305. coroutine.resume(coroutine.create(function()
  3306. for lel = 1, 20 do
  3307. fwait()
  3308. if Corruption > 0 then
  3309. Corruption = Corruption - 1
  3310. else
  3311. break
  3312. end
  3313. end
  3314. end))
  3315. useRageVer = true
  3316. end
  3317. else
  3318. return
  3319. end
  3320. if TrackFunction ~= nil then
  3321. TrackFunction:disconnect()
  3322. TrackFunction = nil
  3323. end
  3324. CanInterrupt(false)
  3325. PlayerIsAttacking = true
  3326. local rawframes = 0
  3327. Tool.Status.AnimFrame.Value = 0
  3328. local DidHit = false
  3329. local CPlane = MousePlane()
  3330. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  3331. DesiredWalkspeed = 0
  3332. local cl = 0
  3333. local clastframe = lastframe
  3334. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3335. local cwalk = "Stand"
  3336. if Ragemode then
  3337. cwalk = "Stand2"
  3338. end
  3339. local Grabbee = nil
  3340. sos = 0
  3341. BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000)
  3342. p = Instance.new("Sound", vPlayer.Character.Torso)
  3343. p.Volume = 1
  3344. p.Pitch = 0.9
  3345. p.SoundId = "http://www.roblox.com/asset/?id=241816017"
  3346. p:Play()
  3347. game:GetService("Debris"):AddItem(p, 3)
  3348. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  3349. CPlane = CharacterPlane()
  3350. if rawframes <= 4 then
  3351. LerpWelds(clastframe, rawframes / 4, Animations.LHB.Animation(2))
  3352. if rawframes == 3 then
  3353. p = Instance.new("Sound", vPlayer.Character["Left Arm"])
  3354. p.Volume = 1
  3355. p.Pitch = 0.55
  3356. p.SoundId = "http://www.roblox.com/asset/?id=233856146"
  3357. p:Play()
  3358. game:GetService("Debris"):AddItem(p, 3)
  3359. end
  3360. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -2, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(3, 3, 3))
  3361. pc.CanCollide = false
  3362. pc.Anchored = true
  3363. pc.Parent = workspace
  3364. game:GetService("Debris"):AddItem(pc, 5)
  3365. coroutine.resume(coroutine.create(function(p, x)
  3366. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  3367. for i = 1, 15 do
  3368. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(3, 3, 3) / 15
  3369. p.Transparency = 0.25 + i / 20 + x
  3370. p.CFrame = p.CFrame * R
  3371. fwait()
  3372. end
  3373. p:Remove()
  3374. end), pc, 0.5 - rawframes / 10)
  3375. end
  3376. if rawframes >= 5 and rawframes <= 10 and useRageVer == false then
  3377. cl = cl + (rawframes - 4) * 0.05
  3378. LerpWelds({Animations.LHB.Animation(2)}, cl, Animations.LHB.Animation(3))
  3379. elseif rawframes >= 5 and rawframes <= 17 and useRageVer == true then
  3380. if rawframes <= 10 then
  3381. cl = cl + (rawframes - 4) * 0.05
  3382. LerpWelds({Animations.LHB.Animation(2)}, cl, Animations.LHB.Animation(3))
  3383. end
  3384. if Grabbee and rawframes <= 14 then
  3385. sos = sos + 1
  3386. applyDamage(Grabbee, 1, Vector3.new(), false, false, nil, 0, 1, "231917788", 0.7, false, false, 2, true, "Pure", true, false)
  3387. lelpos.Position = vPlayer.Character.HumanoidRootPart.Position + CPlane * 17
  3388. lelpos.Parent.CFrame = CFrame.new(lelpos.position, vPlayer.Character.HumanoidRootPart.Position)
  3389. end
  3390. end
  3391. --if Grabbee then
  3392. if rawframes >= 18 and rawframes <= 22 then
  3393. LerpWelds({Animations.LHB.Animation(3)}, (rawframes - 17) / 4, Animations.LHB.Animation(2))
  3394. elseif rawframes >= 23 and rawframes <= 29 then
  3395. LerpWelds({Animations.LHB.Animation(2)}, (rawframes - 22) / 6, Animations[cwalk].Animation(0))
  3396. end
  3397. if Grabbee and rawframes == 18 then
  3398. if useRageVer == false then
  3399. applyDamage(Grabbee, 10, Vector3.new(0, 20, 0) + CPlane * 32.5, false, false, nil, 0, 1, "", 1, true, true, 15, true, "IgnoreDefense", true, false)
  3400. if Grabbee:FindFirstChild("Stats") then
  3401. cbuff = Instance.new("NumberValue", Grabbee.Stats.Decrease)
  3402. cbuff.Name = "DecreaseDef"
  3403. cbuff.Value = 0.1
  3404. game:GetService("Debris"):AddItem(cbuff, 3)
  3405. if Grabbee:FindFirstChild("Stats") then
  3406. --[[ s = script.ForceGuardDown:clone()
  3407. s.Disabled = false
  3408. s.Parent = Grabbee.Stats.Block--]]
  3409. end
  3410. end
  3411. else
  3412. applyDamage(Grabbee, 10, Vector3.new(0, 25, 0) + CPlane * 47.5, false, false, nil, 0, 1, "", 1, true, true, 25, true, "IgnoreDefense", true, false)
  3413. if Grabbee:FindFirstChild("Stats") then
  3414. cbuff = Instance.new("NumberValue", Grabbee.Stats.Decrease)
  3415. cbuff.Name = "DecreaseDef"
  3416. cbuff.Value = 0.15
  3417. game:GetService("Debris"):AddItem(cbuff, 3)
  3418. if Grabbee:FindFirstChild("Stats") then
  3419. --[[ s = script.ForceGuardDown:clone()
  3420. s.Disabled = false
  3421. s.Parent = Grabbee.Stats.Block--]]
  3422. end
  3423. end
  3424. end
  3425. lelpos:Remove()
  3426. if Grabbee:FindFirstChild("Stats") then
  3427. local manaobject = Grabbee.Stats:FindFirstChild("Mana")
  3428. if manaobject and manaobject.Value >= 15 then
  3429. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 15)
  3430. manaobject.Value = manaobject.Value - 15
  3431. end
  3432. end
  3433. local p = Instance.new("Sound", Grabbee.Torso)
  3434. p.Volume = 1
  3435. p.Pitch = 0.9
  3436. p.SoundId = "http://www.roblox.com/asset/?id=243711369"
  3437. p:Play()
  3438. game:GetService("Debris"):AddItem(p, 3)
  3439. local p = Instance.new("Sound", Grabbee.Torso)
  3440. p.Volume = 1
  3441. p.Pitch = 0.95
  3442. p.SoundId = "http://www.roblox.com/asset/?id=231917833"
  3443. p:Play()
  3444. game:GetService("Debris"):AddItem(p, 3)
  3445. for LEL = 1, 3 do
  3446. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(Grabbee.Torso.Position, Grabbee.Torso.Position + CPlane * 9.5 + Vector3.new(0, 5, 0)) * CFrame.Angles(math.random(-30, 30) / 50, math.random(-30, 30) / 50, math.random(-30, 30) / 50), "Really black", "BlockMesh", Vector3.new(2, 2, 2))
  3447. pc.Parent = workspace
  3448. pc.Anchored = true
  3449. pc.CanCollide = false
  3450. pc.Transparency = 1
  3451. game:GetService("Debris"):AddItem(pc, 5)
  3452. coroutine.resume(coroutine.create(function(p, V, x)
  3453. for i = 1, 12 do
  3454. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(7 + LEL * 2, 7 + LEL * 2, 7 + LEL * 2) / 12
  3455. p.Transparency = 0.25 + i / 9
  3456. p.CFrame = p.CFrame * V
  3457. fwait()
  3458. end
  3459. p:Remove()
  3460. end), pc, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  3461. end
  3462. coroutine.resume(coroutine.create(function(Grabbee)
  3463. for loel = 1, 6 do
  3464. local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-25, 25) / 10, math.random(-20, 20) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(1, 1, 1))
  3465. eff.Parent = workspace
  3466. eff.Name = "BloodEffect"
  3467. eff.Anchored = true
  3468. eff.CanCollide = false
  3469. game:GetService("Debris"):AddItem(eff, 5)
  3470. coroutine.resume(coroutine.create(function(p, V, x)
  3471. for i = 1, 15 do
  3472. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) / 15
  3473. p.Transparency = 0.5 + i / 30
  3474. p.CFrame = p.CFrame * V + Vector3.new(0, 0.2, 0)
  3475. fwait()
  3476. end
  3477. p:Remove()
  3478. end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
  3479. fwait(0.2)
  3480. end
  3481. end), Grabbee)
  3482. end
  3483. if rawframes == 30 then
  3484. TrackFunction:disconnect()
  3485. TrackFunction = nil
  3486. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3487. PlayerIsAttacking = false
  3488. CanInterrupt(true)
  3489. setlastnormal("")
  3490. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  3491. Stand()
  3492. end
  3493. if rawframes >= 18 then
  3494. LerpWelds({Animations.LHB.Animation(3)}, (rawframes - 17) / 8, Animations[cwalk].Animation(0))
  3495. end
  3496. if rawframes == 25 then
  3497. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  3498. TrackFunction:disconnect()
  3499. TrackFunction = nil
  3500. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3501. PlayerIsAttacking = false
  3502. CanInterrupt(true)
  3503. setlastnormal("")
  3504. Stand()
  3505. end
  3506. if rawframes >= 6 and rawframes <= 11 then
  3507. if useRageVer == false then
  3508. BodyVel.velocity = CPlane * (rawframes * 6.5 + 40)
  3509. else
  3510. BodyVel.velocity = CPlane * (rawframes * 9.5 + 55)
  3511. end
  3512. if Grabbee == nil then
  3513. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 2.5, 3.5)) do
  3514. Grabbee = v
  3515. applyDamage(Grabbee, 6, Vector3.new(), false, false, nil, 0, 1, "153092213", 1.2, false, false, 10, true, "Normal", true, false)
  3516. p = Instance.new("Sound", Grabbee.Torso)
  3517. p.Volume = 1
  3518. p.Pitch = 0.9
  3519. p.SoundId = "http://www.roblox.com/asset/?id=240429615"
  3520. p:Play()
  3521. game:GetService("Debris"):AddItem(p, 3)
  3522. local par, loc = workspace:FindPartOnRay(Ray.new(Grabbee.Torso.Position, Vector3.new(0, -10, 0)), Grabbee)
  3523. lelpos = Instance.new("BodyPosition", Grabbee.Torso)
  3524. lelpos.P = 400
  3525. lelpos.D = 100
  3526. lelpos.maxForce = Vector3.new(5000000, 5000000, 5000000)
  3527. lelpos.position = loc + Vector3.new(0, 3, 0) + CPlane * 6.6
  3528. do break end
  3529. end
  3530. end
  3531. else
  3532. BodyVel.velocity = BodyVel.velocity / 1.3
  3533. if Grabbee and useRageVer == false then
  3534. BodyVel.velocity = BodyVel.velocity / 3
  3535. end
  3536. if rawframes >= 5 and rawframes <= 20 then
  3537. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -2, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(3, 3, 3))
  3538. pc.CanCollide = false
  3539. pc.Anchored = true
  3540. pc.Parent = workspace
  3541. game:GetService("Debris"):AddItem(pc, 5)
  3542. coroutine.resume(coroutine.create(function(p)
  3543. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  3544. for i = 1, 18 do
  3545. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(3, 3, 3) / 18
  3546. p.Transparency = 0.5 + i / 36
  3547. p.CFrame = p.CFrame * R
  3548. fwait()
  3549. end
  3550. p:Remove()
  3551. end), pc)
  3552. end
  3553. end
  3554. --end
  3555. --end
  3556. rawframes = rawframes + 1
  3557. end)
  3558. else
  3559. local useRageVer = false
  3560. if Cooldowns["5"] == 0 then
  3561. Cooldowns["5"] = CooldownsB["5"]
  3562. if Ragemode == true and Corruption >= 20 then
  3563. coroutine.resume(coroutine.create(function()
  3564. for lel = 1, 20 do
  3565. fwait()
  3566. if Corruption > 0 then
  3567. Corruption = Corruption - 1
  3568. else
  3569. break
  3570. end
  3571. end
  3572. end))
  3573. useRageVer = true
  3574. end
  3575. else
  3576. return
  3577. end
  3578. if TrackFunction ~= nil then
  3579. TrackFunction:disconnect()
  3580. TrackFunction = nil
  3581. end
  3582. CanInterrupt(false)
  3583. PlayerIsAttacking = true
  3584. local rawframes = 0
  3585. Tool.Status.AnimFrame.Value = 0
  3586. local DidHit = false
  3587. local dir = (-vPlayer.Character.HumanoidRootPart.Position - StunnedPlayer.Torso.Position).unit
  3588. local CPlane = MousePlane()
  3589. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  3590. DesiredWalkspeed = 0
  3591. local cl = 0
  3592. local clastframe = lastframe
  3593. if useRageVer == false then
  3594. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  3595. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3596. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  3597. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  3598. if rawframes <= 7 then
  3599. cl = cl + rawframes * 0.036
  3600. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(0))
  3601. elseif rawframes >= 8 and rawframes <= 10 then
  3602. cl = 0
  3603. if rawframes == 8 then
  3604. p = Instance.new("Sound", vPlayer.Character.Torso)
  3605. p.Volume = 1
  3606. p.Pitch = 0.9
  3607. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3608. p:Play()
  3609. game:GetService("Debris"):AddItem(p, 3)
  3610. clastframe = lastframe
  3611. end
  3612. if rawframes == 10 then
  3613. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 25)) do
  3614. applyCameraShake(v, 100, 6)
  3615. end
  3616. cbuff = Instance.new("NumberValue", StunnedPlayer.Stats.Decrease)
  3617. cbuff.Name = "DecreaseMvmt"
  3618. cbuff.Value = 0.15
  3619. game:GetService("Debris"):AddItem(cbuff, 5)
  3620. cbuff = Instance.new("NumberValue", StunnedPlayer.Stats.Decrease)
  3621. cbuff.Name = "DecreaseDef"
  3622. cbuff.Value = 0.15
  3623. game:GetService("Debris"):AddItem(cbuff, 5)
  3624. stp = Instance.new("BodyPosition", StunnedPlayer.Torso)
  3625. stp.position = StunnedPlayer.Torso.Position
  3626. p = Instance.new("Sound", vPlayer.Character.Torso)
  3627. p.Volume = 0.5
  3628. p.Pitch = 1.2
  3629. p.SoundId = "http://www.roblox.com/asset/?id=231917806"
  3630. p:Play()
  3631. game:GetService("Debris"):AddItem(p, 3)
  3632. applyCameraShake(vPlayer.Character, 100, 6)
  3633. applyDamage(StunnedPlayer, 3, Vector3.new(0, 17.5, 0), false, false, addonCullMovers, 0.1, 1, "153092227", 1, false, false, 0, true, "Normal", false, false)
  3634. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character["Left Leg"].Position, Vector3.new(0, -1, 0)), vPlayer.Character)
  3635. local pz = NewPart(Vector3.new(2, 2, 1), CFrame.new(loc) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "BlockMesh", Vector3.new(2.5, 2.5, 0))
  3636. pz.Transparency = 1
  3637. pz.Anchored = true
  3638. pz.CanCollide = false
  3639. pz.Parent = workspace
  3640. pz.Name = "Rune"
  3641. local d1 = Instance.new("Decal", pz)
  3642. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3643. d1.Face = "Front"
  3644. d1.Name = "d1"
  3645. local d1 = Instance.new("Decal", pz)
  3646. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3647. d1.Face = "Back"
  3648. d1.Name = "d2"
  3649. coroutine.resume(coroutine.create(function(p, dir)
  3650. for i = 1, 5 do
  3651. fwait()
  3652. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(20 + i * 2))
  3653. p.d1.Transparency = 0.5 + i / 10
  3654. p.d2.Transparency = 0.5 + i / 10
  3655. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.5, 1.5, 0)
  3656. end
  3657. p:Remove()
  3658. end), pz, CPlane)
  3659. game:GetService("Debris"):AddItem(pz, 6)
  3660. end
  3661. LerpWelds(clastframe, (rawframes - 7) / 3, Animations.Antisleep.Animation(1))
  3662. end
  3663. if rawframes >= 13 and rawframes <= 21 then
  3664. if rawframes == 13 then
  3665. clastframe = lastframe
  3666. end
  3667. cl = cl + (rawframes - 12) * 0.022
  3668. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(2))
  3669. elseif rawframes >= 22 and rawframes <= 27 then
  3670. if rawframes == 22 then
  3671. cl = 0
  3672. clastframe = lastframe
  3673. end
  3674. cl = cl + (rawframes - 21) * 0.054
  3675. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(3))
  3676. if rawframes == 22 then
  3677. p = Instance.new("Sound", vPlayer.Character.Torso)
  3678. p.Volume = 1
  3679. p.Pitch = 1
  3680. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3681. p:Play()
  3682. game:GetService("Debris"):AddItem(p, 3)
  3683. clastframe = lastframe
  3684. end
  3685. if rawframes == 24 then
  3686. stp:Remove()
  3687. applyCameraShake(StunnedPlayer, 150, 4)
  3688. applyCameraShake(vPlayer.Character, 150, 4)
  3689. applyDamage(StunnedPlayer, 7, Vector3.new(0, 5, 0) + CPlane * 55, false, false, nil, 0.1, 1, "153092213", 1, false, false, 0, true, "Normal", false, false)
  3690. end
  3691. elseif rawframes >= 28 and rawframes <= 32 then
  3692. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 28) / 4), Animations.Antisleep.Animation(3))
  3693. elseif rawframes >= 33 then
  3694. if rawframes == 33 then
  3695. clastframe = lastframe
  3696. end
  3697. local cwalk = "Stand"
  3698. if Ragemode == true then
  3699. cwalk = "Stand2"
  3700. end
  3701. LerpWelds(clastframe, (rawframes - 32) / 5, Animations[cwalk].Animation(0))
  3702. end
  3703. if rawframes == 0 then
  3704. BodyGyro.Parent.CFrame = BodyGyro.cframe
  3705. end
  3706. if rawframes == 37 then
  3707. TrackFunction:disconnect()
  3708. TrackFunction = nil
  3709. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3710. PlayerIsAttacking = false
  3711. CanInterrupt(true)
  3712. setlastnormal("")
  3713. Stand()
  3714. end
  3715. rawframes = rawframes + 1
  3716. end)
  3717. coroutine.resume(coroutine.create(function(stat)
  3718. repeat
  3719. fwait()
  3720. until stat.Value <= 20
  3721. stat.Value = stat.Value + 40
  3722. end), StunnedPlayer.Stats.Stun)
  3723. elseif useRageVer == true then
  3724. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  3725. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3726. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  3727. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  3728. if rawframes <= 7 then
  3729. cl = cl + rawframes * 0.036
  3730. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(0))
  3731. else
  3732. if rawframes >= 8 and rawframes <= 10 then
  3733. cl = 0
  3734. if rawframes == 8 then
  3735. p = Instance.new("Sound", vPlayer.Character.Torso)
  3736. p.Volume = 1
  3737. p.Pitch = 0.9
  3738. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3739. p:Play()
  3740. game:GetService("Debris"):AddItem(p, 3)
  3741. clastframe = lastframe
  3742. end
  3743. if rawframes == 10 then
  3744. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 25)) do
  3745. applyCameraShake(v, 100, 6)
  3746. end
  3747. cbuff = Instance.new("NumberValue", StunnedPlayer.Stats.Decrease)
  3748. cbuff.Name = "DecreaseMvmt"
  3749. cbuff.Value = 0.33
  3750. game:GetService("Debris"):AddItem(cbuff, 4)
  3751. stp = Instance.new("BodyPosition", StunnedPlayer.Torso)
  3752. stp.position = StunnedPlayer.Torso.Position
  3753. p = Instance.new("Sound", vPlayer.Character.Torso)
  3754. p.Volume = 0.5
  3755. p.Pitch = 1.2
  3756. p.SoundId = "http://www.roblox.com/asset/?id=231917806"
  3757. p:Play()
  3758. game:GetService("Debris"):AddItem(p, 3)
  3759. applyCameraShake(vPlayer.Character, 100, 6)
  3760. applyDamage(StunnedPlayer, 3, Vector3.new(0, 10, 0), false, false, addonCullMovers, 0.1, 1, "153092227", 1, false, false, 20, true, "IgnoreDefense", false, false)
  3761. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character["Left Leg"].Position, Vector3.new(0, -1, 0)), vPlayer.Character)
  3762. local pz = NewPart(Vector3.new(2, 2, 1), CFrame.new(loc) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "BlockMesh", Vector3.new(2.5, 2.5, 0))
  3763. pz.Transparency = 1
  3764. pz.Anchored = true
  3765. pz.CanCollide = false
  3766. pz.Parent = workspace
  3767. pz.Name = "Rune"
  3768. local d1 = Instance.new("Decal", pz)
  3769. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3770. d1.Face = "Front"
  3771. d1.Name = "d1"
  3772. local d1 = Instance.new("Decal", pz)
  3773. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3774. d1.Face = "Back"
  3775. d1.Name = "d2"
  3776. coroutine.resume(coroutine.create(function(p, dir)
  3777. for i = 1, 5 do
  3778. fwait()
  3779. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(20 + i * 2))
  3780. p.d1.Transparency = 0.5 + i / 10
  3781. p.d2.Transparency = 0.5 + i / 10
  3782. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.5, 1.5, 0)
  3783. end
  3784. p:Remove()
  3785. end), pz, CPlane)
  3786. game:GetService("Debris"):AddItem(pz, 6)
  3787. end
  3788. LerpWelds(clastframe, (rawframes - 7) / 3, Animations.Antisleep.Animation(1))
  3789. end
  3790. end
  3791. if rawframes >= 13 and rawframes <= 24 then
  3792. if rawframes == 13 then
  3793. p = Instance.new("Sound", vPlayer.Character.Torso)
  3794. p.Volume = 1
  3795. p.Pitch = 1
  3796. p.SoundId = "http://www.roblox.com/asset/?id=240428955"
  3797. p:Play()
  3798. game:GetService("Debris"):AddItem(p, 3)
  3799. end
  3800. if rawframes <= 18 then
  3801. LerpWelds({Animations.Antisleep.Animation(1)}, (rawframes - 10) / 4, Animations.Antisleep.Animation(5))
  3802. end
  3803. if rawframes % 4 == 0 then
  3804. applyDamage(StunnedPlayer, 3, Vector3.new(0, -5, 0), false, false, nil, 0, 1, "", 1, false, false, 0, true, "Normal", false, false)
  3805. end
  3806. LeftHip.C0 = sLeftHip.C0 * CFrame.Angles(0, math.cos(math.rad((rawframes - 13) * 360 / 11)) / 7, 0)
  3807. elseif rawframes >= 25 and rawframes <= 33 then
  3808. if rawframes == 25 then
  3809. clastframe = lastframe
  3810. end
  3811. cl = cl + (rawframes - 24) * 0.022
  3812. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(2))
  3813. elseif rawframes >= 34 and rawframes <= 39 then
  3814. if rawframes == 34 then
  3815. cl = 0
  3816. clastframe = lastframe
  3817. end
  3818. cl = cl + (rawframes - 33) * 0.054
  3819. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(3))
  3820. if rawframes == 34 then
  3821. p = Instance.new("Sound", vPlayer.Character.Torso)
  3822. p.Volume = 1
  3823. p.Pitch = 1
  3824. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3825. p:Play()
  3826. game:GetService("Debris"):AddItem(p, 3)
  3827. clastframe = lastframe
  3828. end
  3829. if rawframes == 36 then
  3830. stp:Remove()
  3831. applyCameraShake(StunnedPlayer, 150, 4)
  3832. applyCameraShake(vPlayer.Character, 150, 4)
  3833. applyDamage(StunnedPlayer, 7, Vector3.new(0, 5, 0) + CPlane * 65, false, false, nil, 0.1, 1, "153092213", 1, false, false, 20, true, "IgnoreDefense", false, false)
  3834. end
  3835. elseif rawframes >= 40 and rawframes <= 44 then
  3836. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 40) / 4), Animations.Antisleep.Animation(3))
  3837. elseif rawframes >= 45 then
  3838. if rawframes == 45 then
  3839. clastframe = lastframe
  3840. end
  3841. local cwalk = "Stand"
  3842. if Ragemode == true then
  3843. cwalk = "Stand2"
  3844. end
  3845. LerpWelds(clastframe, (rawframes - 44) / 5, Animations[cwalk].Animation(0))
  3846. end
  3847. if rawframes == 0 then
  3848. BodyGyro.Parent.CFrame = BodyGyro.cframe
  3849. end
  3850. if rawframes == 49 then
  3851. TrackFunction:disconnect()
  3852. TrackFunction = nil
  3853. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3854. PlayerIsAttacking = false
  3855. CanInterrupt(true)
  3856. setlastnormal("")
  3857. Stand()
  3858. end
  3859. rawframes = rawframes + 1
  3860. end)
  3861. coroutine.resume(coroutine.create(function(stat)
  3862. repeat
  3863. fwait()
  3864. until stat.Value <= 20
  3865. stat.Value = stat.Value + 40
  3866. end), StunnedPlayer.Stats.Stun)
  3867. end
  3868. end
  3869. end
  3870. InputNormals.X = function()
  3871. local useRageVer = false
  3872. if Mana.Value >= 30 and Cooldowns["2"] == 0 then
  3873. Mana.Value = Mana.Value - 30
  3874. Cooldowns["2"] = CooldownsB["2"]
  3875. if Ragemode == true and Corruption >= 20 then
  3876. coroutine.resume(coroutine.create(function()
  3877. for lel = 1, 20 do
  3878. fwait()
  3879. if Corruption > 0 then
  3880. Corruption = Corruption - 1
  3881. else
  3882. break
  3883. end
  3884. end
  3885. end))
  3886. useRageVer = true
  3887. end
  3888. else
  3889. return
  3890. end
  3891. if TrackFunction ~= nil then
  3892. TrackFunction:disconnect()
  3893. TrackFunction = nil
  3894. end
  3895. local llastnormal = lastnormal
  3896. if llastnormal == "MMMMMM" then
  3897. llastnormal = "MMMMM"
  3898. end
  3899. CanInterrupt(false)
  3900. PlayerIsAttacking = true
  3901. local rawframes = 0
  3902. Tool.Status.AnimFrame.Value = 0
  3903. local DidHit = false
  3904. ccctime = tick()
  3905. local CPlane = MousePlane()
  3906. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  3907. local cl = 0
  3908. local clastframe = lastframe
  3909. local cproj = nil
  3910. local cprojtab = {}
  3911. local cpm = Instance.new("Model")
  3912. game:GetService("Debris"):AddItem(cpm, 10)
  3913. cpm.Name = "BSHolder"
  3914. DesiredWalkspeed = 0
  3915. TrackFunction = FakeHeartbeat.Event:connect(function()
  3916. if rawframes < 4 then
  3917. CPlane = MousePlane()
  3918. end
  3919. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3920. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  3921. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  3922. if rawframes == 0 then
  3923. BodyGyro.Parent.CFrame = BodyGyro.cframe
  3924. end
  3925. if rawframes < 25 then
  3926. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(1.6, 1.6, 1.6))
  3927. pc.CanCollide = false
  3928. pc.Anchored = true
  3929. pc.Parent = workspace
  3930. game:GetService("Debris"):AddItem(pc, 5)
  3931. coroutine.resume(coroutine.create(function(p)
  3932. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  3933. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40)
  3934. for i = 1, 20 do
  3935. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1, 1, 1) / 30
  3936. p.Transparency = 0.5 + i / 40
  3937. p.CFrame = p.CFrame * R - Vector3.new(0, 0.029757575757576 * i, 0) + C
  3938. fwait()
  3939. end
  3940. p:Remove()
  3941. end), pc)
  3942. end
  3943. if rawframes <= 5 then
  3944. LerpWelds(clastframe, rawframes / 5, Animations.BlackSpace.Animation(0))
  3945. if rawframes == 1 then
  3946. p = Instance.new("Sound", vPlayer.Character.Torso)
  3947. p.Volume = 0.85
  3948. p.Pitch = 0.9
  3949. p.SoundId = "http://www.roblox.com/asset/?id=233091161"
  3950. p:Play()
  3951. game:GetService("Debris"):AddItem(p, 3)
  3952. end
  3953. elseif rawframes > 5 and rawframes <= 8 then
  3954. LerpWelds(clastframe, 1 + (rawframes - 6) * 0.02, Animations.BlackSpace.Animation(0))
  3955. if rawframes == 6 then
  3956. local pz = NewPart(Vector3.new(2, 2, 1), vPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0.4, -4.7), "Really black", "BlockMesh", Vector3.new(1.5, 1.5, 0))
  3957. pz.Transparency = 1
  3958. pz.Anchored = true
  3959. pz.CanCollide = false
  3960. pz.Parent = workspace
  3961. pz.Name = "Rune"
  3962. local d1 = Instance.new("Decal", pz)
  3963. d1.Texture = "http://www.roblox.com/asset/?id=233083637"
  3964. d1.Face = "Front"
  3965. d1.Name = "d1"
  3966. d1.Transparency = 0.5
  3967. local d1 = Instance.new("Decal", pz)
  3968. d1.Texture = "http://www.roblox.com/asset/?id=233083637"
  3969. d1.Face = "Back"
  3970. d1.Name = "d2"
  3971. d1.Transparency = 0.5
  3972. coroutine.resume(coroutine.create(function(p, dir)
  3973. for i = 1, 28 do
  3974. fwait()
  3975. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(28 - i) / 2)
  3976. if i <= 7 then
  3977. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.3, i * 0.3, 0)
  3978. p.d1.Transparency = 1 - i / 14
  3979. p.d2.Transparency = 1 - i / 14
  3980. end
  3981. if i > 20 then
  3982. p.d1.Transparency = 0.5 + (i - 18) / 16
  3983. p.d2.Transparency = 0.5 + (i - 18) / 16
  3984. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad((i - 20) * 5) / 2)
  3985. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.1, 0.1, 0)
  3986. end
  3987. end
  3988. p:Remove()
  3989. end), pz, CPlane)
  3990. game:GetService("Debris"):AddItem(pz, 6)
  3991. elseif rawframes == 8 then
  3992. local pz = NewPart(Vector3.new(2, 2, 1), vPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0.4, -4.7), "Really black", "BlockMesh", Vector3.new(1.5, 1.5, 0))
  3993. pz.Transparency = 1
  3994. pz.Anchored = true
  3995. pz.CanCollide = false
  3996. pz.Parent = workspace
  3997. pz.Name = "Rune"
  3998. local d1 = Instance.new("Decal", pz)
  3999. d1.Texture = "http://www.roblox.com/asset/?id=233083618"
  4000. d1.Face = "Front"
  4001. d1.Name = "d1"
  4002. d1.Transparency = 0.5
  4003. local d1 = Instance.new("Decal", pz)
  4004. d1.Texture = "http://www.roblox.com/asset/?id=233083618"
  4005. d1.Face = "Back"
  4006. d1.Name = "d2"
  4007. d1.Transparency = 0.5
  4008. coroutine.resume(coroutine.create(function(p, dir)
  4009. for i = 1, 26 do
  4010. fwait()
  4011. p.CFrame = p.CFrame * CFrame.Angles(0, 0, -math.rad(28 - i))
  4012. if i <= 7 then
  4013. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.078, i * 0.078, 0)
  4014. p.d1.Transparency = 1 - i / 14
  4015. p.d2.Transparency = 1 - i / 14
  4016. end
  4017. if i > 18 then
  4018. p.d1.Transparency = 0.5 + (i - 18) / 16
  4019. p.d2.Transparency = 0.5 + (i - 18) / 16
  4020. p.CFrame = p.CFrame * CFrame.Angles(0, 0, -math.rad((i - 20) * 5))
  4021. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.1, 0.1, 0)
  4022. end
  4023. end
  4024. p:Remove()
  4025. end), pz, CPlane)
  4026. game:GetService("Debris"):AddItem(pz, 6)
  4027. end
  4028. elseif rawframes > 8 and rawframes <= 12 then
  4029. LerpWelds(clastframe, 1.04 - (rawframes - 8) * 0.02, Animations.BlackSpace.Animation(0))
  4030. elseif rawframes > 12 and rawframes <= 17 then
  4031. cl = cl + (rawframes - 12) * 0.066
  4032. if rawframes == 15 then
  4033. p = Instance.new("Sound", vPlayer.Character.Torso)
  4034. p.Volume = 0.4
  4035. p.Pitch = 0.7
  4036. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  4037. p:Play()
  4038. game:GetService("Debris"):AddItem(p, 3)
  4039. end
  4040. LerpWelds({Animations.BlackSpace.Animation(0)}, cl, Animations.BlackSpace.Animation(1))
  4041. elseif rawframes > 17 and rawframes <= 20 then
  4042. LerpWelds({Animations.BlackSpace.Animation(0)}, 1 + (rawframes - 17) * 0.02, Animations.BlackSpace.Animation(1))
  4043. elseif rawframes > 20 and rawframes <= 23 then
  4044. LerpWelds({Animations.BlackSpace.Animation(0)}, 1.04 - (rawframes - 20) * 0.02, Animations.BlackSpace.Animation(1))
  4045. elseif rawframes > 23 and rawframes <= 32 then
  4046. local cwalk = "Stand"
  4047. if Ragemode == true then
  4048. cwalk = "Stand2"
  4049. end
  4050. LerpWelds({Animations.BlackSpace.Animation(1)}, (rawframes - 23) / 12, Animations[cwalk].Animation(0))
  4051. end
  4052. if rawframes == 17 then
  4053. local eb = BillboardGui("http://www.roblox.com/asset/?id=234376736", vPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0.4, -6).p, 0)
  4054. eb.Parent = workspace
  4055. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  4056. eb.BillboardGui.Size = UDim2.new(8, 0, 8, 0)
  4057. eb.BillboardGui.ImageLabel.ImageTransparency = 0.5
  4058. game:GetService("Debris"):AddItem(eb, 10)
  4059. if useRageVer == false then
  4060. p = Instance.new("Sound", eb)
  4061. p.Volume = 1
  4062. p.Pitch = 1.05
  4063. p.SoundId = "http://www.roblox.com/asset/?id=231917975"
  4064. p:Play()
  4065. game:GetService("Debris"):AddItem(p, 3)
  4066. coroutine.resume(coroutine.create(function(p, cdir)
  4067. for i = 1, 55 do
  4068. p.CFrame = p.CFrame + cdir * 0.45
  4069. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  4070. if i % 8 == 0 and i <= 50 then
  4071. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position - Vector3.new(0, 2.2, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Light stone grey", "SpecialMesh", Vector3.new(12, 2, 12))
  4072. pc.Mesh.MeshType = "FileMesh"
  4073. pc.Anchored = true
  4074. pc.CanCollide = false
  4075. pc.Parent = workspace
  4076. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4077. pc.Name = "Shockwave"
  4078. game:GetService("Debris"):AddItem(pc, 5)
  4079. coroutine.resume(coroutine.create(function(p)
  4080. for ii = 1, 20 do
  4081. p.Transparency = 0.75 + ii / 80
  4082. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3 + ii), 0) - Vector3.new(0, 0.05, 0)
  4083. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.4, -0.1, 0.4)
  4084. fwait()
  4085. end
  4086. p:Remove()
  4087. end), pc)
  4088. if i <= 50 then
  4089. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(0 + math.rad(90), 0, 0), "Really black", "SpecialMesh", Vector3.new(5, 5, 2))
  4090. pc.Mesh.MeshType = "FileMesh"
  4091. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4092. pc.Parent = workspace
  4093. pc.Anchored = true
  4094. pc.CanCollide = false
  4095. pc.Transparency = 0.5
  4096. game:GetService("Debris"):AddItem(pc, 5)
  4097. coroutine.resume(coroutine.create(function(p, cdir)
  4098. for ii = 1, 12 do
  4099. p.Transparency = ii / 12
  4100. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) + cdir * 0.225
  4101. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 0)
  4102. fwait()
  4103. end
  4104. p:Remove()
  4105. end), pc, cdir)
  4106. end
  4107. end
  4108. do
  4109. if i % 5 == 0 and i <= 50 then
  4110. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(math.random(-30, 30) / 50 + math.rad(90), math.random(-30, 30) / 50, math.random(-30, 30) / 50), "Really black", "SpecialMesh", Vector3.new(11, 11, 3))
  4111. pc.Mesh.MeshType = "FileMesh"
  4112. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4113. pc.Parent = workspace
  4114. pc.Anchored = true
  4115. pc.CanCollide = false
  4116. pc.Transparency = 0.5
  4117. game:GetService("Debris"):AddItem(pc, 5)
  4118. coroutine.resume(coroutine.create(function(p, cdir)
  4119. for ii = 1, 12 do
  4120. p.Transparency = ii / 12
  4121. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) + cdir * 0.225
  4122. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.6, 0.6, 0)
  4123. fwait()
  4124. end
  4125. p:Remove()
  4126. end), pc, cdir)
  4127. for _,v in pairs(GetNubsInRadius(p.Position, 22.5)) do
  4128. local sitoop = (p.Position - v.Torso.Position) * 8
  4129. if v:FindFirstChild("Stats") then
  4130. local manaobject = v.Stats:FindFirstChild("Mana")
  4131. if manaobject and manaobject.Value > 0 then
  4132. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 1)
  4133. manaobject.Value = manaobject.Value-1
  4134. end
  4135. end
  4136. if (p.Position - v.Torso.Position).magnitude <= 12 then
  4137. applyDamage(v, 1, Vector3.new(), false, false, nil, 0, 1, "233856106", math.random(170, 200) / 100, false, false, 0, true, "Pure", true, false)
  4138. do
  4139. if v:FindFirstChild("Stats") then
  4140. local manaobject = v.Stats:FindFirstChild("Mana")
  4141. if manaobject and manaobject.Value > 0 then
  4142. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 1)
  4143. manaobject.Value = manaobject.Value-1
  4144. end
  4145. end
  4146. local pz = Instance.new("BodyPosition", v.Torso)
  4147. pz.P = 3500
  4148. pz.D = 1100
  4149. pz.maxForce = Vector3.new(3800000, 3800000, 3800000)
  4150. pz.position = p.Position + cdir * 7.5
  4151. game:GetService("Debris"):AddItem(pz, 0.18)
  4152. local cpro = NewPart(Vector3.new(1, 1, 1), CFrame.new(v.Torso.Position + Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))), "Really black", "BlockMesh", Vector3.new(1, 1, 1))
  4153. cpro.Anchored = true
  4154. cpro.CanCollide = false
  4155. cpro.Reflectance = 0.1
  4156. cpro.Parent = workspace
  4157. cpro.Transparency = 0.5
  4158. game:GetService("Debris"):AddItem(cpro, 10)
  4159. coroutine.resume(coroutine.create(function(p, cdir, R)
  4160. for ii = 1, 8 do
  4161. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.8, 0.8, 0.8)
  4162. p.Transparency = 0.5 + ii / 16
  4163. p.CFrame = p.CFrame * R
  4164. fwait()
  4165. end
  4166. p:Remove()
  4167. end), cpro, cdir, CFrame.Angles(math.random(-30, 30) / 100, math.random(-30, 30) / 100, math.random(-30, 30) / 100))
  4168. applyCameraShake(v, 50, 5)
  4169. do
  4170. local cpro = NewPart(Vector3.new(1, 1, 1), CFrame.new(v.Torso.Position + Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))), "Really black", "SpecialMesh", Vector3.new(1, 1, 1))
  4171. cpro.Anchored = true
  4172. cpro.Mesh.MeshType = "Sphere"
  4173. cpro.CanCollide = false
  4174. cpro.Reflectance = 0.1
  4175. cpro.Parent = workspace
  4176. cpro.Transparency = 0.5
  4177. game:GetService("Debris"):AddItem(cpro, 10)
  4178. coroutine.resume(coroutine.create(function(p, cdir)
  4179. for ii = 1, 7 do
  4180. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4181. p.Transparency = 0.5 + ii / 14
  4182. p.CFrame = p.CFrame + cdir * 0.225
  4183. fwait()
  4184. end
  4185. p:Remove()
  4186. end), cpro, cdir)
  4187. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out DO_STMT
  4188.  
  4189. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out DO_STMT
  4190.  
  4191. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out IF_THEN_STMT
  4192.  
  4193. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out IF_STMT
  4194.  
  4195. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out DO_STMT
  4196.  
  4197. end
  4198. end
  4199. end
  4200. end
  4201. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(6, 6, 6))
  4202. cpro.Anchored = true
  4203. cpro.Mesh.MeshType = "Sphere"
  4204. cpro.CanCollide = false
  4205. cpro.Reflectance = 0.1
  4206. cpro.Parent = workspace
  4207. cpro.Transparency = 0.5
  4208. game:GetService("Debris"):AddItem(cpro, 10)
  4209. coroutine.resume(coroutine.create(function(p, cdir)
  4210. for ii = 1, 10 do
  4211. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.75, 0.75, 0.75)
  4212. p.Transparency = 0.5 + ii / 20
  4213. p.CFrame = p.CFrame + cdir * 0.225
  4214. fwait()
  4215. end
  4216. p:Remove()
  4217. end), cpro, cdir)
  4218. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(12, 12, 12))
  4219. cpro.Anchored = true
  4220. cpro.Mesh.MeshType = "Sphere"
  4221. cpro.CanCollide = false
  4222. cpro.Reflectance = 0.1
  4223. cpro.Parent = workspace
  4224. cpro.Transparency = 0.5
  4225. game:GetService("Debris"):AddItem(cpro, 10)
  4226. coroutine.resume(coroutine.create(function(p, cdir)
  4227. for ii = 1, 10 do
  4228. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.95, 0.95, 0.95)
  4229. p.Transparency = 0.5 + ii / 20
  4230. p.CFrame = p.CFrame + cdir * 0.225
  4231. fwait()
  4232. end
  4233. p:Remove()
  4234. end), cpro, cdir)
  4235. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(17, 17, 17))
  4236. cpro.Anchored = true
  4237. cpro.Mesh.MeshType = "Sphere"
  4238. cpro.CanCollide = false
  4239. cpro.Reflectance = 0.1
  4240. cpro.Parent = workspace
  4241. cpro.Transparency = 0.5
  4242. game:GetService("Debris"):AddItem(cpro, 10)
  4243. coroutine.resume(coroutine.create(function(p, cdir)
  4244. for ii = 1, 15 do
  4245. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.2, 1.2, 1.2)
  4246. p.Transparency = 0.75 + ii / 60
  4247. p.CFrame = p.CFrame + cdir * 0.225
  4248. fwait()
  4249. end
  4250. p:Remove()
  4251. end), cpro, cdir)
  4252. end
  4253. fwait()
  4254. -- DECOMPILER ERROR at PC621: LeaveBlock: unexpected jumping out DO_STMT
  4255.  
  4256. -- DECOMPILER ERROR at PC621: LeaveBlock: unexpected jumping out DO_STMT
  4257.  
  4258. end
  4259. end
  4260. for i = 55, 65 do
  4261. p.CFrame = p.CFrame + cdir * 0.4
  4262. if i >= 60 then
  4263. p.BillboardGui.ImageLabel.ImageTransparency = p.BillboardGui.ImageLabel.ImageTransparency + 0.1
  4264. if i == 60 then
  4265. for _,v in pairs(GetNubsInRadius(p.Position, 30)) do
  4266. applyCameraShake(v, 130, 10)
  4267. end
  4268. applyCameraShake(vPlayer.Character, 130, 10)
  4269. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  4270. applyDamage(v, 10, v.Torso.Position - p.Position.unit * 30 + Vector3.new(0, 20, 0), false, false, addonCullMovers, 0.01, 1, "", math.random(190, 220) / 100, true, true, 25, true, "Normal", false, false)
  4271. end
  4272. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "SpecialMesh", Vector3.new(6, 6, 2))
  4273. pc.Mesh.MeshType = "FileMesh"
  4274. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4275. pc.Parent = workspace
  4276. pc.Anchored = true
  4277. pc.CanCollide = false
  4278. pc.Transparency = 0.5
  4279. game:GetService("Debris"):AddItem(pc, 5)
  4280. coroutine.resume(coroutine.create(function(p)
  4281. for ii = 1, 25 do
  4282. p.Transparency = ii / 25
  4283. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5 - ii * 0.2, 5 - ii * 0.2, 0)
  4284. fwait()
  4285. end
  4286. p:Remove()
  4287. end), pc)
  4288. for loel = 1, 3 do
  4289. local eff = NewPart(Vector3.new(1, 1, 1), p.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(5, 5, 5))
  4290. eff.Parent = workspace
  4291. eff.Name = "BloodEffect"
  4292. eff.Anchored = true
  4293. eff.CanCollide = false
  4294. game:GetService("Debris"):AddItem(eff, 5)
  4295. coroutine.resume(coroutine.create(function(p, V, x)
  4296. for i = 1, 23 do
  4297. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 23
  4298. p.Transparency = 0.25 + i / 17.25
  4299. p.CFrame = p.CFrame * V
  4300. fwait()
  4301. end
  4302. p:Remove()
  4303. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  4304. end
  4305. ps = Instance.new("Sound", p)
  4306. ps.Volume = 1
  4307. ps.Pitch = 0.66
  4308. ps.SoundId = "http://www.roblox.com/asset/?id=231917888"
  4309. ps:Play()
  4310. game:GetService("Debris"):AddItem(ps, 3)
  4311. ps = Instance.new("Sound", p)
  4312. ps.Volume = 1
  4313. ps.Pitch = 0.8
  4314. ps.SoundId = "http://www.roblox.com/asset/?id=192410084"
  4315. ps:Play()
  4316. game:GetService("Debris"):AddItem(ps, 3)
  4317. end
  4318. end
  4319. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  4320. fwait()
  4321. -- DECOMPILER ERROR at PC907: LeaveBlock: unexpected jumping out DO_STMT
  4322.  
  4323. end
  4324. p:Remove()
  4325. end), eb, CPlane)
  4326. else
  4327. p = Instance.new("Sound", eb)
  4328. p.Volume = 1
  4329. p.Pitch = 1.2
  4330. p.SoundId = "http://www.roblox.com/asset/?id=188959258"
  4331. p:Play()
  4332. game:GetService("Debris"):AddItem(p, 3)
  4333. local partic1 = Instance.new("ParticleEmitter", eb)
  4334. partic1.Name = "AttackParticleEmitter3"
  4335. partic1.Texture = "http://www.roblox.com/asset/?id=233839085"
  4336. partic1.LightEmission = 0
  4337. partic1.ZOffset = 1.6
  4338. partic1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0.5), NumberSequenceKeypoint.new(1, 1)})
  4339. partic1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 9), NumberSequenceKeypoint.new(1, 0)})
  4340. partic1.Color = ColorSequence.new(Color3.new(0.8, 0.8, 0.8), Color3.new(0.8, 0.8, 0.8))
  4341. partic1.Rate = 20
  4342. partic1.VelocitySpread = 0
  4343. partic1.Speed = NumberRange.new(0, 0)
  4344. partic1.Lifetime = NumberRange.new(1, 1)
  4345. partic1.Rotation = NumberRange.new(-180, 180)
  4346. partic1.RotSpeed = NumberRange.new(800, 800)
  4347. partic1.Enabled = false
  4348. coroutine.resume(coroutine.create(function(p, cdir)
  4349. for i = 1, 65 do
  4350. p.AttackParticleEmitter3.Acceleration = cdir * 0.9
  4351. p.CFrame = p.CFrame + cdir * 0.45
  4352. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  4353. if i % 8 == 0 and i <= 60 then
  4354. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position - Vector3.new(0, 2.2, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Light stone grey", "SpecialMesh", Vector3.new(12, 2, 12))
  4355. pc.Mesh.MeshType = "FileMesh"
  4356. pc.Anchored = true
  4357. pc.CanCollide = false
  4358. pc.Parent = workspace
  4359. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4360. pc.Name = "Shockwave"
  4361. game:GetService("Debris"):AddItem(pc, 5)
  4362. coroutine.resume(coroutine.create(function(p)
  4363. for ii = 1, 20 do
  4364. p.Transparency = 0.75 + ii / 80
  4365. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3 + ii), 0) - Vector3.new(0, 0.05, 0)
  4366. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.4, -0.1, 0.4)
  4367. fwait()
  4368. end
  4369. p:Remove()
  4370. end), pc)
  4371. if i <= 60 then
  4372. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(0 + math.rad(90), 0, 0), "Really black", "SpecialMesh", Vector3.new(5, 5, 2))
  4373. pc.Mesh.MeshType = "FileMesh"
  4374. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4375. pc.Parent = workspace
  4376. pc.Anchored = true
  4377. pc.CanCollide = false
  4378. pc.Transparency = 0.5
  4379. game:GetService("Debris"):AddItem(pc, 5)
  4380. coroutine.resume(coroutine.create(function(p, cdir)
  4381. for ii = 1, 12 do
  4382. p.Transparency = ii / 12
  4383. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) + cdir * 0.225
  4384. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 0)
  4385. fwait()
  4386. end
  4387. p:Remove()
  4388. end), pc, cdir)
  4389. end
  4390. end
  4391. if i % 5 == 0 and i <= 50 then
  4392. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(math.random(-30, 30) / 50 + math.rad(90), math.random(-30, 30) / 50, math.random(-30, 30) / 50), "Really black", "SpecialMesh", Vector3.new(11, 11, 3))
  4393. pc.Mesh.MeshType = "FileMesh"
  4394. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4395. pc.Parent = workspace
  4396. pc.Anchored = true
  4397. pc.CanCollide = false
  4398. pc.Transparency = 0.5
  4399. game:GetService("Debris"):AddItem(pc, 5)
  4400. coroutine.resume(coroutine.create(function(p, cdir)
  4401. for ii = 1, 12 do
  4402. p.Transparency = ii / 12
  4403. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) + cdir * 0.225
  4404. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.6, 0.6, 0)
  4405. fwait()
  4406. end
  4407. p:Remove()
  4408. end), pc, cdir)
  4409. for _,v in pairs(GetNubsInRadius(p.Position, 22.5)) do
  4410. local sitoop = (p.Position - v.Torso.Position) * 8
  4411. if v:FindFirstChild("Stats") then
  4412. local manaobject = v.Stats:FindFirstChild("Mana")
  4413. if manaobject and manaobject.Value > 0 then
  4414. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 1)
  4415. manaobject.Value = manaobject.Value-1
  4416. end
  4417. end
  4418. if (p.Position - v.Torso.Position).magnitude <= 12 then
  4419. applyDamage(v, 1, Vector3.new(), false, false, nil, 0, 1, "233856106", math.random(170, 200) / 100, false, false, 0, true, "Pure", true, false)
  4420. if v:FindFirstChild("Stats") then
  4421. local manaobject = v.Stats:FindFirstChild("Mana")
  4422. if manaobject and manaobject.Value > 0 then
  4423. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 1)
  4424. manaobject.Value = manaobject.Value-1
  4425. end
  4426. end
  4427. local pz = Instance.new("BodyPosition", v.Torso)
  4428. pz.P = 3500
  4429. pz.D = 1100
  4430. pz.maxForce = Vector3.new(3800000, 3800000, 3800000)
  4431. pz.position = p.Position + cdir * 7.5
  4432. game:GetService("Debris"):AddItem(pz, 0.18)
  4433. local cpro = NewPart(Vector3.new(1, 1, 1), CFrame.new(v.Torso.Position + Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))), "Really black", "BlockMesh", Vector3.new(1, 1, 1))
  4434. cpro.Anchored = true
  4435. cpro.CanCollide = false
  4436. cpro.Reflectance = 0.1
  4437. cpro.Parent = workspace
  4438. cpro.Transparency = 0.5
  4439. game:GetService("Debris"):AddItem(cpro, 10)
  4440. coroutine.resume(coroutine.create(function(p, cdir, R)
  4441. for ii = 1, 8 do
  4442. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.8, 0.8, 0.8)
  4443. p.Transparency = 0.5 + ii / 16
  4444. p.CFrame = p.CFrame * R
  4445. fwait()
  4446. end
  4447. p:Remove()
  4448. end), cpro, cdir, CFrame.Angles(math.random(-30, 30) / 100, math.random(-30, 30) / 100, math.random(-30, 30) / 100))
  4449. applyCameraShake(v, 50, 5)
  4450. local cpro = NewPart(Vector3.new(1, 1, 1), CFrame.new(v.Torso.Position + Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))), "Really black", "SpecialMesh", Vector3.new(1, 1, 1))
  4451. cpro.Anchored = true
  4452. cpro.Mesh.MeshType = "Sphere"
  4453. cpro.CanCollide = false
  4454. cpro.Reflectance = 0.1
  4455. cpro.Parent = workspace
  4456. cpro.Transparency = 0.5
  4457. game:GetService("Debris"):AddItem(cpro, 10)
  4458. coroutine.resume(coroutine.create(function(p, cdir)
  4459. for ii = 1, 7 do
  4460. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4461. p.Transparency = 0.5 + ii / 14
  4462. p.CFrame = p.CFrame + cdir * 0.225
  4463. fwait()
  4464. end
  4465. p:Remove()
  4466. end), cpro, cdir)
  4467. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out DO_STMT
  4468.  
  4469. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out DO_STMT
  4470.  
  4471. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out IF_THEN_STMT
  4472.  
  4473. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out IF_STMT
  4474.  
  4475. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out DO_STMT
  4476.  
  4477. end
  4478. end
  4479. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(6, 6, 6))
  4480. cpro.Anchored = true
  4481. cpro.Mesh.MeshType = "Sphere"
  4482. cpro.CanCollide = false
  4483. cpro.Reflectance = 0.1
  4484. cpro.Parent = workspace
  4485. cpro.Transparency = 0.5
  4486. game:GetService("Debris"):AddItem(cpro, 10)
  4487. coroutine.resume(coroutine.create(function(p, cdir)
  4488. for ii = 1, 10 do
  4489. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.75, 0.75, 0.75)
  4490. p.Transparency = 0.5 + ii / 20
  4491. p.CFrame = p.CFrame + cdir * 0.225
  4492. fwait()
  4493. end
  4494. p:Remove()
  4495. end), cpro, cdir)
  4496. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(12, 12, 12))
  4497. cpro.Anchored = true
  4498. cpro.Mesh.MeshType = "Sphere"
  4499. cpro.CanCollide = false
  4500. cpro.Reflectance = 0.1
  4501. cpro.Parent = workspace
  4502. cpro.Transparency = 0.5
  4503. game:GetService("Debris"):AddItem(cpro, 10)
  4504. coroutine.resume(coroutine.create(function(p, cdir)
  4505. for ii = 1, 10 do
  4506. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.95, 0.95, 0.95)
  4507. p.Transparency = 0.5 + ii / 20
  4508. p.CFrame = p.CFrame + cdir * 0.225
  4509. fwait()
  4510. end
  4511. p:Remove()
  4512. end), cpro, cdir)
  4513. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(17, 17, 17))
  4514. cpro.Anchored = true
  4515. cpro.Mesh.MeshType = "Sphere"
  4516. cpro.CanCollide = false
  4517. cpro.Reflectance = 0.1
  4518. cpro.Parent = workspace
  4519. cpro.Transparency = 0.5
  4520. game:GetService("Debris"):AddItem(cpro, 10)
  4521. coroutine.resume(coroutine.create(function(p, cdir)
  4522. for ii = 1, 15 do
  4523. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.2, 1.2, 1.2)
  4524. p.Transparency = 0.75 + ii / 60
  4525. p.CFrame = p.CFrame + cdir * 0.225
  4526. fwait()
  4527. end
  4528. p:Remove()
  4529. end), cpro, cdir)
  4530. end
  4531. if i == 20 or i == 40 or i == 60 then
  4532. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  4533. applyCameraShake(v, 100, 5)
  4534. end
  4535. applyCameraShake(vPlayer.Character, 100, 5)
  4536. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  4537. applyDamage(v, 4, -v.Torso.Position - p.Position.unit * 20, false, false, nil, 0.01, 1, "", math.random(190, 220) / 100, false, false, 10, true, "Normal", false, false)
  4538. end
  4539. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "SpecialMesh", Vector3.new(40, 40, 1))
  4540. pc.Mesh.MeshType = "FileMesh"
  4541. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4542. pc.Parent = workspace
  4543. pc.Anchored = true
  4544. pc.CanCollide = false
  4545. pc.Transparency = 0.5
  4546. game:GetService("Debris"):AddItem(pc, 5)
  4547. coroutine.resume(coroutine.create(function(p)
  4548. for ii = 1, 15 do
  4549. p.Transparency = 0.5 + ii / 30
  4550. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 0)
  4551. p.CFrame = p.CFrame + cdir * 0.225
  4552. fwait()
  4553. end
  4554. p:Remove()
  4555. end), pc)
  4556. local eff = NewPart(Vector3.new(1, 1, 1), p.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "SpecialMesh", Vector3.new(25, 25, 25))
  4557. eff.Parent = workspace
  4558. eff.Mesh.MeshType = "Sphere"
  4559. eff.Name = "BloodEffect"
  4560. eff.Anchored = true
  4561. eff.CanCollide = false
  4562. game:GetService("Debris"):AddItem(eff, 5)
  4563. coroutine.resume(coroutine.create(function(p, V, x)
  4564. for i = 1, 15 do
  4565. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(35, 35, 35) / 15
  4566. p.Transparency = 0.5 + i / 30
  4567. p.CFrame = p.CFrame * V + cdir * 0.225
  4568. fwait()
  4569. end
  4570. p:Remove()
  4571. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  4572. ps = Instance.new("Sound", p)
  4573. ps.Volume = 1
  4574. ps.Pitch = 0.6
  4575. ps.SoundId = "http://www.roblox.com/asset/?id=235097661"
  4576. ps:Play()
  4577. game:GetService("Debris"):AddItem(ps, 3)
  4578. end
  4579. fwait()
  4580. -- DECOMPILER ERROR at PC854: LeaveBlock: unexpected jumping out DO_STMT
  4581.  
  4582. -- DECOMPILER ERROR at PC854: LeaveBlock: unexpected jumping out DO_STMT
  4583.  
  4584. -- DECOMPILER ERROR at PC854: LeaveBlock: unexpected jumping out DO_STMT
  4585.  
  4586. end
  4587. for i = 65, 75 do
  4588. p.CFrame = p.CFrame + cdir * 0.4
  4589. p.Sound.Volume = p.Sound.Volume - 0.1
  4590. if i >= 70 then
  4591. p.BillboardGui.ImageLabel.ImageTransparency = p.BillboardGui.ImageLabel.ImageTransparency + 0.1
  4592. if i == 70 then
  4593. for _,v in pairs(GetNubsInRadius(p.Position, 30)) do
  4594. applyCameraShake(v, 130, 10)
  4595. end
  4596. applyCameraShake(vPlayer.Character, 130, 10)
  4597. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  4598. applyDamage(v, 10, v.Torso.Position - p.Position.unit * 30 + Vector3.new(0, 20, 0), false, false, addonCullMovers, 0.01, 1, "", math.random(190, 220) / 100, true, true, 25, true, "Normal", false, false)
  4599. end
  4600. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "SpecialMesh", Vector3.new(6, 6, 2))
  4601. pc.Mesh.MeshType = "FileMesh"
  4602. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4603. pc.Parent = workspace
  4604. pc.Anchored = true
  4605. pc.CanCollide = false
  4606. pc.Transparency = 0.5
  4607. game:GetService("Debris"):AddItem(pc, 5)
  4608. coroutine.resume(coroutine.create(function(p)
  4609. for ii = 1, 25 do
  4610. p.Transparency = ii / 25
  4611. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5 - ii * 0.2, 5 - ii * 0.2, 0)
  4612. fwait()
  4613. end
  4614. p:Remove()
  4615. end), pc)
  4616. for loel = 1, 3 do
  4617. local eff = NewPart(Vector3.new(1, 1, 1), p.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(5, 5, 5))
  4618. eff.Parent = workspace
  4619. eff.Name = "BloodEffect"
  4620. eff.Anchored = true
  4621. eff.CanCollide = false
  4622. game:GetService("Debris"):AddItem(eff, 5)
  4623. coroutine.resume(coroutine.create(function(p, V, x)
  4624. for i = 1, 23 do
  4625. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 23
  4626. p.Transparency = 0.25 + i / 17.25
  4627. p.CFrame = p.CFrame * V
  4628. fwait()
  4629. end
  4630. p:Remove()
  4631. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  4632. end
  4633. ps = Instance.new("Sound", p)
  4634. ps.Volume = 1
  4635. ps.Pitch = 0.66
  4636. ps.SoundId = "http://www.roblox.com/asset/?id=231917888"
  4637. ps:Play()
  4638. game:GetService("Debris"):AddItem(ps, 3)
  4639. ps = Instance.new("Sound", p)
  4640. ps.Volume = 1
  4641. ps.Pitch = 0.8
  4642. ps.SoundId = "http://www.roblox.com/asset/?id=192410084"
  4643. ps:Play()
  4644. game:GetService("Debris"):AddItem(ps, 3)
  4645. end
  4646. end
  4647. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  4648. fwait()
  4649. -- DECOMPILER ERROR at PC1145: LeaveBlock: unexpected jumping out DO_STMT
  4650.  
  4651. end
  4652. p:Remove()
  4653. end), eb, CPlane)
  4654. end
  4655. end
  4656. BodyVel.velocity = BodyVel.velocity / 1.1
  4657. if rawframes == 36 then
  4658. TrackFunction:disconnect()
  4659. TrackFunction = nil
  4660. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4661. PlayerIsAttacking = false
  4662. CanInterrupt(true)
  4663. setlastnormal(llastnormal)
  4664. Stand()
  4665. end
  4666. rawframes = rawframes + 1
  4667. end)
  4668. end
  4669. lastcin = tick()
  4670. CharacterPlane = function()
  4671. local cl = vPlayer.Character.HumanoidRootPart.CFrame.lookVector
  4672. return Vector3.new(cl.x, 0, cl.z).unit
  4673. end
  4674. SetLegs = function(v)
  4675. if v == 0 then
  4676. RightHip.Part0 = vPlayer.Character.Torso
  4677. LeftHip.Part0 = vPlayer.Character.Torso
  4678. else
  4679. RightHip.Part0 = vPlayer.Character.HumanoidRootPart
  4680. LeftHip.Part0 = vPlayer.Character.HumanoidRootPart
  4681. end
  4682. end
  4683. InputNormals.R = function()
  4684. if TrackFunction ~= nil then
  4685. TrackFunction:disconnect()
  4686. TrackFunction = nil
  4687. end
  4688. CanInterrupt(false)
  4689. PlayerIsAttacking = true
  4690. local rawframes = 0
  4691. Tool.Status.AnimFrame.Value = 0
  4692. local DidHit = false
  4693. local CPlane = MousePlane()
  4694. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4695. local cpos = nil
  4696. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4697. BodyVel.Parent = nil
  4698. BodyGyro.Parent = nil
  4699. local cl = 0
  4700. local clastframe = lastframe
  4701. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4702. CPlane = CharacterPlane()
  4703. BodyVel.Parent = nil
  4704. BodyGyro.Parent = nil
  4705. if rawframes <= 3 then
  4706. LerpWelds(clastframe, rawframes / 3, Animations.ZZ.Animation(0))
  4707. if rawframes == 1 then
  4708. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4709. p.Volume = 1
  4710. p.Pitch = 0.7
  4711. p.SoundId = "http://www.roblox.com/asset/?id=243711441"
  4712. p:Play()
  4713. game:GetService("Debris"):AddItem(p, 3)
  4714. end
  4715. else
  4716. if rawframes > 3 and rawframes <= 5 then
  4717. LerpWelds({Animations.ZZ.Animation(0)}, (rawframes - 3) / 2, Animations.ZZ.Animation(1))
  4718. else
  4719. if rawframes > 5 and rawframes <= 7 then
  4720. LerpWelds({Animations.ZZ.Animation(1)}, (rawframes - 5) / 2, Animations.ZZ.Animation(2))
  4721. else
  4722. if rawframes > 7 and rawframes <= 10 then
  4723. LerpWelds({Animations.ZZ.Animation(1)}, 1 + (rawframes - 8) * 0.03, Animations.ZZ.Animation(2))
  4724. else
  4725. if rawframes > 10 and rawframes <= 14 then
  4726. LerpWelds({Animations.ZZ.Animation(1)}, 1.08 - (rawframes - 11) * 0.03, Animations.ZZ.Animation(2))
  4727. end
  4728. end
  4729. end
  4730. end
  4731. end
  4732. if rawframes >= 3 and rawframes <= 7 and rawframes % 2 == 0 then
  4733. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  4734. applyDamage(v, 9, CPlane * 35, false, false, nil, 0.2, 1, "201858024", 0.6, true, true, 8, false, "Normal", false, true)
  4735. applyCameraShake(v, 90, 5)
  4736. DidHit = true
  4737. end
  4738. end
  4739. do
  4740. if rawframes == 7 then
  4741. CanInterrupt(true)
  4742. setlastnormal("R")
  4743. end
  4744. if rawframes == 15 then
  4745. TrackFunction:disconnect()
  4746. TrackFunction = nil
  4747. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4748. PlayerIsAttacking = false
  4749. CanInterrupt(true)
  4750. setlastnormal("")
  4751. Walk()
  4752. end
  4753. rawframes = rawframes + 1
  4754. end
  4755. end)
  4756. end
  4757. InputNormals.RR = function()
  4758. if TrackFunction ~= nil then
  4759. TrackFunction:disconnect()
  4760. TrackFunction = nil
  4761. end
  4762. CanInterrupt(false)
  4763. PlayerIsAttacking = true
  4764. local rawframes = 0
  4765. Tool.Status.AnimFrame.Value = 0
  4766. local DidHit = false
  4767. local CPlane = MousePlane()
  4768. local cl = 0
  4769. local clastframe = lastframe
  4770. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4771. local cpos = nil
  4772. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4773. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4774. CPlane = CharacterPlane()
  4775. if rawframes <= 5 then
  4776. LerpWelds(clastframe, rawframes / 5, Animations.ZZZ.Animation(0))
  4777. else
  4778. if rawframes > 5 and rawframes <= 11 then
  4779. cl = cl + (rawframes - 5) * 0.0485
  4780. LerpWelds({Animations.ZZZ.Animation(0)}, cl, Animations.ZZZ.Animation(1))
  4781. if rawframes == 6 then
  4782. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4783. p.Volume = 1
  4784. p.Pitch = 0.7
  4785. p.SoundId = "http://www.roblox.com/asset/?id=243711427"
  4786. p:Play()
  4787. game:GetService("Debris"):AddItem(p, 3)
  4788. end
  4789. else
  4790. if rawframes > 11 and rawframes <= 17 then
  4791. LerpWelds({Animations.ZZZ.Animation(0)}, 1 + (rawframes - 11) * 0.01, Animations.ZZZ.Animation(1))
  4792. else
  4793. if rawframes > 17 and rawframes <= 21 then
  4794. LerpWelds({Animations.ZZZ.Animation(0)}, 1.1 - (rawframes - 17) * 0.04, Animations.ZZZ.Animation(1))
  4795. end
  4796. end
  4797. end
  4798. end
  4799. SetLegs(1)
  4800. if rawframes >= 5 and rawframes <= 10 and rawframes % 2 == 0 then
  4801. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  4802. applyDamage(v, 9, CPlane * 30, false, false, nil, 0.25, 1, "201858024", 0.5, true, true, 10, false, "Normal", false, true)
  4803. applyCameraShake(v, 90, 5)
  4804. DidHit = true
  4805. end
  4806. end
  4807. if rawframes == 13 then
  4808. CanInterrupt(true)
  4809. setlastnormal("RR")
  4810. end
  4811. if rawframes == 21 then
  4812. TrackFunction:disconnect()
  4813. TrackFunction = nil
  4814. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4815. PlayerIsAttacking = false
  4816. CanInterrupt(true)
  4817. setlastnormal("")
  4818. Walk()
  4819. end
  4820. rawframes = rawframes + 1
  4821. end)
  4822. end
  4823. InputNormals.RRR = function()
  4824. if TrackFunction ~= nil then
  4825. TrackFunction:disconnect()
  4826. TrackFunction = nil
  4827. end
  4828. CanInterrupt(false)
  4829. PlayerIsAttacking = true
  4830. local rawframes = 0
  4831. Tool.Status.AnimFrame.Value = 0
  4832. local DidHit = false
  4833. local CPlane = MousePlane()
  4834. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4835. local cpos = nil
  4836. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4837. BodyVel.Parent = nil
  4838. BodyGyro.Parent = nil
  4839. local cl = 0
  4840. local clastframe = lastframe
  4841. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4842. CPlane = CharacterPlane()
  4843. if rawframes <= 3 then
  4844. LerpWelds(clastframe, rawframes / 3, Animations.ZZ3.Animation(0))
  4845. if rawframes == 1 then
  4846. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4847. p.Volume = 1
  4848. p.Pitch = 0.7
  4849. p.SoundId = "http://www.roblox.com/asset/?id=243711414"
  4850. p:Play()
  4851. game:GetService("Debris"):AddItem(p, 3)
  4852. end
  4853. elseif rawframes > 3 and rawframes <= 5 then
  4854. LerpWelds({Animations.ZZ3.Animation(0)}, (rawframes - 3) / 2, Animations.ZZ3.Animation(1))
  4855. elseif rawframes > 5 and rawframes <= 7 then
  4856. LerpWelds({Animations.ZZ3.Animation(1)}, (rawframes - 5) / 2, Animations.ZZ3.Animation(2))
  4857. elseif rawframes > 7 and rawframes <= 10 then
  4858. LerpWelds({Animations.ZZ3.Animation(1)}, 1 + (rawframes - 8) * 0.03, Animations.ZZ3.Animation(2))
  4859. elseif rawframes > 10 and rawframes <= 14 then
  4860. LerpWelds({Animations.ZZ3.Animation(1)}, 1.08 - (rawframes - 11) * 0.03, Animations.ZZ3.Animation(2))
  4861. end
  4862. if rawframes >= 3 and rawframes <= 7 and rawframes % 2 == 0 then
  4863. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  4864. applyDamage(v, 8, CPlane * 50, false, false, nil, 0.2, 1, "201858024", 0.6, true, true, 12, false, "Normal", false, true)
  4865. applyCameraShake(v, 90, 5)
  4866. DidHit = true
  4867. end
  4868. end
  4869. if rawframes == 10 then
  4870. CanInterrupt(true)
  4871. setlastnormal("RRR")
  4872. end
  4873. if rawframes == 15 then
  4874. TrackFunction:disconnect()
  4875. TrackFunction = nil
  4876. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4877. PlayerIsAttacking = false
  4878. CanInterrupt(true)
  4879. setlastnormal("")
  4880. Walk()
  4881. end
  4882. rawframes = rawframes + 1
  4883. end)
  4884. end
  4885. InputNormals.RRRR = function()
  4886. if TrackFunction ~= nil then
  4887. TrackFunction:disconnect()
  4888. TrackFunction = nil
  4889. end
  4890. CanInterrupt(false)
  4891. PlayerIsAttacking = true
  4892. local rawframes = 0
  4893. Tool.Status.AnimFrame.Value = 0
  4894. local DidHit = false
  4895. local CPlane = CharacterPlane()
  4896. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4897. local cpos = nil
  4898. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4899. BodyVel.Parent = nil
  4900. BodyGyro.Parent = nil
  4901. local cl = 0
  4902. local clastframe = lastframe
  4903. local cwalk = "Stand2"
  4904. if (vPlayer.Character.HumanoidRootPart.Velocity).magnitude > 3 then
  4905. cwalk = "Walk2"
  4906. end
  4907. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4908. CPlane = CharacterPlane()
  4909. if rawframes <= 5 then
  4910. LerpWelds(clastframe, rawframes / 5 - 0.1, Animations.Z2.Animation(0))
  4911. if rawframes == 4 then
  4912. p = Instance.new("Sound", vPlayer.Character["Left Arm"])
  4913. p.Volume = 0.4
  4914. p.Pitch = 0.85
  4915. p.SoundId = "http://www.roblox.com/asset/?id=233096543"
  4916. p:Play()
  4917. game:GetService("Debris"):AddItem(p, 3)
  4918. end
  4919. elseif rawframes > 5 and rawframes <= 18 then
  4920. LerpWelds(clastframe, 1, Animations.Z2.Animation(0))
  4921. elseif rawframes > 18 then
  4922. LerpWelds({Animations.Z2.Animation(0)}, (rawframes - 18) / 6, Animations[cwalk].Animation(0))
  4923. end
  4924. if rawframes > 7 and rawframes <= 16 and rawframes % 3 == 0 then
  4925. for _,v in pairs(GetNubsInRadius(clpos, 10)) do
  4926. local pz = Instance.new("BodyPosition", v.Torso)
  4927. pz.P = 6000
  4928. pz.D = 1000
  4929. pz.maxForce = Vector3.new(740000, 0, 740000)
  4930. pz.position = clpos
  4931. game:GetService("Debris"):AddItem(pz, 0.6)
  4932. applyDamage(v, 3, Vector3.new(), false, false, nil, 0.01, 1, "231917784", math.random(140, 160) / 100, false, true, 6, false, "IgnoreDefense", false, false)
  4933. -- DECOMPILER ERROR at PC156: Overwrote pending register: R7 in 'AssignReg'
  4934.  
  4935. if v:FindFirstChild("Stats") then
  4936. local manaobject = v.Stats:FindFirstChild("Mana")
  4937. -- DECOMPILER ERROR at PC161: Overwrote pending register: R7 in 'AssignReg'
  4938.  
  4939. -- DECOMPILER ERROR at PC164: Overwrote pending register: R7 in 'AssignReg'
  4940.  
  4941. -- DECOMPILER ERROR at PC165: Overwrote pending register: R7 in 'AssignReg'
  4942.  
  4943. if manaobject.Value --[[and R7_PC149--]] > 0 then
  4944. manaobject.Value = manaobject.Value - 5--R7_PC149
  4945. end
  4946. end
  4947. end
  4948. end
  4949. if rawframes == 7 then
  4950. local xx = game.Players.LocalPlayer:GetMouse().hit.p
  4951. xx = Vector3.new(xx.x, 0, xx.z)
  4952. local yy = vPlayer.Character.Torso.Position
  4953. yy = Vector3.new(yy.x, 0, yy.z)
  4954. local distout = (xx - yy).magnitude
  4955. if distout > 50 then
  4956. distout = 50
  4957. else
  4958. if distout < 8 then
  4959. distout = 8
  4960. end
  4961. end
  4962. -- DECOMPILER ERROR at PC219: Overwrote pending register: R7 in 'AssignReg'
  4963.  
  4964. local eb = BillboardGui("http://www.roblox.com/asset/?id=233522714", vPlayer.Character.HumanoidRootPart.CFrame.p + MousePlane() * distout + Vector3.new(0--[[R7_PC149]], 1.5, 0), 0)
  4965. eb.Parent = workspace
  4966. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  4967. eb.BillboardGui.Size = UDim2.new(0, --[[--]]1, 0, 0)
  4968. eb.BillboardGui.ImageLabel.ImageTransparency = 1
  4969. game:GetService("Debris"):AddItem(eb, 3)
  4970. p = Instance.new("Sound", eb)
  4971. p.Volume = 1
  4972. p.Pitch = 0.85
  4973. p.SoundId = "http://www.roblox.com/asset/?id=233091136"
  4974. p:Play()
  4975. -- DECOMPILER ERROR at PC277: Overwrote pending register: R7 in 'AssignReg'
  4976.  
  4977. game:GetService("Debris"):AddItem(p, --[[]]3)
  4978. p = Instance.new("Sound", eb)
  4979. p.Volume = 1
  4980. p.Pitch = 1.1
  4981. p.SoundId = "http://www.roblox.com/asset/?id=231917833"
  4982. p:Play()
  4983. -- DECOMPILER ERROR at PC300: Overwrote pending register: R7 in 'AssignReg'
  4984.  
  4985. game:GetService("Debris"):AddItem(p, --[[]]3)
  4986. -- DECOMPILER ERROR at PC305: Overwrote pending register: R7 in 'AssignReg'
  4987.  
  4988. -- DECOMPILER ERROR at PC306: Overwrote pending register: R7 in 'AssignReg'
  4989.  
  4990. -- DECOMPILER ERROR at PC312: Overwrote pending register: R7 in 'AssignReg'
  4991.  
  4992. --[[for _,v in pairs(GetNubsInRadius(eb.Position + R7_PC149, R7_PC149)) do
  4993. applyCameraShake(v, 200, 3)
  4994. end--]]
  4995. applyCameraShake(vPlayer.Character, 200, 3)
  4996. coroutine.resume(coroutine.create(function(p, cdir)
  4997. for i = 1, 35 do
  4998. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + (50 - i) / 2
  4999. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(0.15 - i * 0.015, 0, 0.15 - i * 0.015, 0)
  5000. if i <= 8 then
  5001. p.BillboardGui.ImageLabel.ImageTransparency = 1 - i / 16
  5002. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(i * 0.25, 0, i * 0.25, 0)
  5003. else
  5004. if i > 13 then
  5005. p.BillboardGui.ImageLabel.ImageTransparency = 0.5 + (i - 14) / 21
  5006. end
  5007. end
  5008. fwait()
  5009. end
  5010. p:Remove()
  5011. end), eb)
  5012. clpos = eb.Position
  5013. local p = Instance.new("Part", workspace)
  5014. p.formFactor = "Custom"
  5015. p.TopSurface = 0
  5016. p.BottomSurface = 0
  5017. p.BrickColor = BrickColor.new("Really black")
  5018. p.Size = Vector3.new(0.9, 0.9, 0.9)
  5019. local m = Instance.new("SpecialMesh", p)
  5020. m.MeshType = "Sphere"
  5021. p.CFrame = CFrame.new(clpos - CharacterPlane() * 0.25)
  5022. p.Anchored = true
  5023. p.CanCollide = false
  5024. game:GetService("Debris"):AddItem(p, 5)
  5025. coroutine.resume(coroutine.create(function(p)
  5026. for i = 1, 8 do
  5027. p.Transparency = 1 - i / 16
  5028. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.425, i * 0.425, i * 0.425)
  5029. fwait()
  5030. end
  5031. for i = 1, 20 do
  5032. p.Transparency = 0.5 + i / 40
  5033. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.025, 0.025, 0.025) * i
  5034. fwait()
  5035. end
  5036. p:Remove()
  5037. end), p)
  5038. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(clpos - Vector3.new(0, 3, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "White", "SpecialMesh", Vector3.new(5, 3, 5))
  5039. pc.Mesh.MeshType = "FileMesh"
  5040. pc.Anchored = true
  5041. pc.CanCollide = false
  5042. pc.Parent = workspace
  5043. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5044. pc.Name = "Shockwave"
  5045. pc.Transparency = 0.5
  5046. game:GetService("Debris"):AddItem(pc, 5)
  5047. coroutine.resume(coroutine.create(function(p)
  5048. for ii = 1, 10 do
  5049. p.Transparency = 0.75 + ii / 40
  5050. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii * 2), 0)
  5051. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2.5, 0, 2.5)
  5052. fwait()
  5053. end
  5054. p:Remove()
  5055. end), pc)
  5056. local p = Instance.new("Part", workspace)
  5057. p.formFactor = "Custom"
  5058. p.TopSurface = 0
  5059. p.BottomSurface = 0
  5060. p.BrickColor = BrickColor.new("Really black")
  5061. p.Size = Vector3.new(1, 1, 1)
  5062. local m = Instance.new("SpecialMesh", p)
  5063. m.Scale = Vector3.new(25, 25, 25)
  5064. m.MeshType = "Sphere"
  5065. p.CFrame = CFrame.new(clpos - MousePlane() * 0.25)
  5066. p.Anchored = true
  5067. p.CanCollide = false
  5068. game:GetService("Debris"):AddItem(p, 5)
  5069. coroutine.resume(coroutine.create(function(p)
  5070. for i = 1, 10 do
  5071. p.Transparency = 0.5 + i / 20
  5072. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2.5, 2.5, 2.5)
  5073. fwait()
  5074. end
  5075. p:Remove()
  5076. end), p)
  5077. for lel = 1, 3 do
  5078. local p = Instance.new("Part", workspace)
  5079. p.formFactor = "Custom"
  5080. p.TopSurface = 0
  5081. p.BottomSurface = 0
  5082. p.BrickColor = BrickColor.new("Black")
  5083. p.Size = Vector3.new(1, 1, 1)
  5084. local m = Instance.new("SpecialMesh", p)
  5085. m.MeshType = "Sphere"
  5086. p.CFrame = CFrame.new(clpos) * CFrame.Angles(0, math.rad(45 * lel), 0)
  5087. p.Anchored = true
  5088. p.CanCollide = false
  5089. game:GetService("Debris"):AddItem(p, 5)
  5090. coroutine.resume(coroutine.create(function(p, d)
  5091. local cpos = p.Position
  5092. for i = 1, 24 do
  5093. if i <= 10 then
  5094. p.Transparency = 1 - i / 20
  5095. else
  5096. if i >= 20 then
  5097. p.Transparency = p.Transparency + 0.1
  5098. end
  5099. end
  5100. p.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5) * (p.Position - cpos).magnitude
  5101. p.CFrame = p.CFrame + Vector3.new(math.cos(math.rad(i * 15) + math.rad(120 * d)) * (0.5 + i * 0.075), 0, math.sin(math.rad(i * 15) + math.rad(120 * d)) * (0.5 + i * 0.075))
  5102. fwait()
  5103. end
  5104. p:Remove()
  5105. end), p, lel - 1)
  5106. end
  5107. coroutine.resume(coroutine.create(function(pos)
  5108. for lel = 1, 3 do
  5109. fwait()
  5110. local p = Instance.new("Part", workspace)
  5111. p.formFactor = "Custom"
  5112. p.TopSurface = 0
  5113. p.BottomSurface = 0
  5114. p.BrickColor = BrickColor.new("Royal purple")
  5115. p.Size = Vector3.new(1.7, 1.7, 1.7)
  5116. local m = Instance.new("SpecialMesh", p)
  5117. m.MeshType = "Sphere"
  5118. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(math.random(-180, 180)), math.rad(math.random(-180, 180)), math.rad(math.random(-180, 180)))
  5119. p.Anchored = true
  5120. p.CanCollide = false
  5121. game:GetService("Debris"):AddItem(p, 5)
  5122. coroutine.resume(coroutine.create(function(p)
  5123. for i = 1, 25 do
  5124. p.Transparency = i / 25
  5125. p.CFrame = p.CFrame * CFrame.new(math.cos(math.rad(i ^ 1.9)) * 0.74, 0, math.sin(math.rad(i ^ 1.7)) * 0.74)
  5126. fwait()
  5127. end
  5128. p:Remove()
  5129. end), p)
  5130. end
  5131. end), clpos)
  5132. end
  5133. if rawframes == 18 then
  5134. CanInterrupt(true)
  5135. setlastnormal("RRRR")
  5136. end
  5137. if rawframes == 24 then
  5138. TrackFunction:disconnect()
  5139. TrackFunction = nil
  5140. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5141. PlayerIsAttacking = false
  5142. CanInterrupt(true)
  5143. setlastnormal("")
  5144. Walk()
  5145. end
  5146. rawframes = rawframes + 1
  5147. end)
  5148. end
  5149. InputNormals.RRRRR = function()
  5150. if TrackFunction ~= nil then
  5151. TrackFunction:disconnect()
  5152. TrackFunction = nil
  5153. end
  5154. CanInterrupt(false)
  5155. PlayerIsAttacking = true
  5156. local rawframes = 0
  5157. Tool.Status.AnimFrame.Value = 0
  5158. local DidHit = false
  5159. local CPlane = MousePlane()
  5160. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5161. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5162. local cpos = nil
  5163. local cl = 0
  5164. local clastframe = lastframe
  5165. DesiredWalkspeed = 0
  5166. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5167. if rawframes < 5 then
  5168. CPlane = MousePlane()
  5169. end
  5170. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5171. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5172. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5173. if rawframes == 0 then
  5174. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5175. end
  5176. if rawframes <= 4 then
  5177. LerpWelds(clastframe, rawframes / 4, Animations.ZZZZZ.Animation(0))
  5178. if rawframes == 2 then
  5179. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5180. p.Volume = 1
  5181. p.Pitch = 0.8
  5182. p.SoundId = "http://www.roblox.com/asset/?id=234365549"
  5183. p:Play()
  5184. game:GetService("Debris"):AddItem(p, 3)
  5185. end
  5186. else
  5187. if rawframes > 4 and rawframes <= 7 then
  5188. LerpWelds({Animations.ZZZZZ.Animation(0)}, (rawframes - 4) / 3, Animations.ZZZZZ.Animation(1))
  5189. else
  5190. if rawframes > 7 and rawframes <= 10 then
  5191. LerpWelds({Animations.ZZZZZ.Animation(1)}, (rawframes - 7) / 3, Animations.ZZZZZ.Animation(2))
  5192. else
  5193. if rawframes > 11 and rawframes <= 13 then
  5194. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1 + (rawframes - 11) * 0.03, Animations.ZZZZZ.Animation(2))
  5195. else
  5196. if rawframes > 13 and rawframes <= 18 then
  5197. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1.06 - (rawframes - 13) * 0.03, Animations.ZZZZZ.Animation(2))
  5198. else
  5199. if rawframes > 18 then
  5200. local cwalk = "Stand"
  5201. if Ragemode == true then
  5202. cwalk = "Stand2"
  5203. end
  5204. LerpWelds({Animations.ZZZZZ.Animation(2)}, (rawframes - 18) / 8, Animations[cwalk].Animation(0))
  5205. end
  5206. end
  5207. end
  5208. end
  5209. end
  5210. end
  5211. do
  5212. if rawframes >= 1 and rawframes <= 5 then
  5213. BodyVel.velocity = CPlane * (rawframes * 5 + 5)
  5214. else
  5215. BodyVel.velocity = BodyVel.velocity / 1.2
  5216. end
  5217. if rawframes >= 5 and rawframes <= 10 then
  5218. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position - CPlane * 0.5 - Vector3.new(0, 0.5, 0), 3.3)) do
  5219. applyDamage(v, 8, CPlane * 40, false, false, nil, 0.1, 1, "201858024", 0.85, true, true, 12, false, "Normal", false, true)
  5220. applyCameraShake(v, 120, 5)
  5221. DidHit = true
  5222. end
  5223. end
  5224. do
  5225. if rawframes == 10 then
  5226. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5227. p.Volume = 1
  5228. p.Pitch = 1.1
  5229. p.SoundId = "http://www.roblox.com/asset/?id=191395766"
  5230. p:Play()
  5231. game:GetService("Debris"):AddItem(p, 3)
  5232. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Weapon.Blade.Position, Vector3.new(0, -3, 0)), vPlayer.Character)
  5233. local pz = NewPart(Vector3.new(2, 2, 1), CFrame.new(loc) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "BlockMesh", Vector3.new(0.5, 0.5, 0))
  5234. pz.Transparency = 1
  5235. pz.Anchored = true
  5236. pz.CanCollide = false
  5237. pz.Parent = workspace
  5238. pz.Name = "Rune"
  5239. local d1 = Instance.new("Decal", pz)
  5240. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5241. d1.Face = "Front"
  5242. d1.Name = "d1"
  5243. local d1 = Instance.new("Decal", pz)
  5244. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5245. d1.Face = "Back"
  5246. d1.Name = "d2"
  5247. coroutine.resume(coroutine.create(function(p, dir)
  5248. for i = 1, 5 do
  5249. fwait()
  5250. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(10 + i * 2))
  5251. p.d1.Transparency = 0.5 + i / 10
  5252. p.d2.Transparency = 0.5 + i / 10
  5253. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0)
  5254. end
  5255. p:Remove()
  5256. end), pz, CPlane)
  5257. game:GetService("Debris"):AddItem(pz, 6)
  5258. end
  5259. do
  5260. if rawframes == 17 then
  5261. CanInterrupt(true)
  5262. setlastnormal("RRRRR")
  5263. end
  5264. if rawframes == 26 then
  5265. TrackFunction:disconnect()
  5266. TrackFunction = nil
  5267. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5268. PlayerIsAttacking = false
  5269. CanInterrupt(true)
  5270. setlastnormal("")
  5271. Stand()
  5272. end
  5273. rawframes = rawframes + 1
  5274. end
  5275. end
  5276. end
  5277. end)
  5278. end
  5279. InputNormals.RRRRRR = function()
  5280. if TrackFunction ~= nil then
  5281. TrackFunction:disconnect()
  5282. TrackFunction = nil
  5283. end
  5284. CanInterrupt(false)
  5285. PlayerIsAttacking = true
  5286. local rawframes = 0
  5287. Tool.Status.AnimFrame.Value = 0
  5288. local DidHit = false
  5289. local CPlane = MousePlane()
  5290. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5291. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5292. local cpos = nil
  5293. local cl = 0
  5294. local clastframe = lastframe
  5295. DesiredWalkspeed = 0
  5296. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5297. if rawframes < 5 then
  5298. CPlane = MousePlane()
  5299. end
  5300. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5301. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5302. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5303. if rawframes == 0 then
  5304. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5305. end
  5306. if rawframes <= 6 then
  5307. LerpWelds(clastframe, rawframes / 5.8, Animations.ZZ2.Animation(1))
  5308. if rawframes == 2 then
  5309. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5310. p.Volume = 1
  5311. p.Pitch = 0.8
  5312. p.SoundId = "http://www.roblox.com/asset/?id=189505665"
  5313. p:Play()
  5314. game:GetService("Debris"):AddItem(p, 3)
  5315. end
  5316. else
  5317. if rawframes > 6 and rawframes <= 10 then
  5318. cl = cl + (rawframes - 6) * 0.11
  5319. LerpWelds({Animations.ZZ2.Animation(1)}, cl, Animations.ZZ2.Animation(2))
  5320. else
  5321. if rawframes > 10 and rawframes <= 17 then
  5322. LerpWelds({Animations.ZZ2.Animation(1)}, 1 + (cl - 1) / (rawframes - 10) / 6, Animations.ZZ2.Animation(2))
  5323. else
  5324. if rawframes > 17 then
  5325. local cwalk = "Stand"
  5326. if Ragemode == true then
  5327. cwalk = "Stand2"
  5328. end
  5329. LerpWelds({Animations.ZZ2.Animation(2)}, (rawframes - 18) / 8, Animations[cwalk].Animation(0))
  5330. end
  5331. end
  5332. end
  5333. end
  5334. do
  5335. if rawframes >= 7 and rawframes <= 10 then
  5336. BodyVel.velocity = CPlane * (rawframes * 7 + 15)
  5337. else
  5338. BodyVel.velocity = BodyVel.velocity / 1.3
  5339. end
  5340. if rawframes >= 7 and rawframes <= 12 then
  5341. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 3, 3.3)) do
  5342. applyDamage(v, 16, CPlane * 80, false, false, nil, 0.4, 1, "", 0.8, true, true, 25, false, "Normal", true, false)
  5343. applyCameraShake(v, 250, 4)
  5344. if DidHit == false then
  5345. p = Instance.new("Sound", vPlayer.Character.Weapon.Handle)
  5346. p.Volume = 1
  5347. p.Pitch = 0.8
  5348. p.SoundId = "http://www.roblox.com/asset/?id=189505617"
  5349. p:Play()
  5350. game:GetService("Debris"):AddItem(p, 3)
  5351. p = Instance.new("Sound", vPlayer.Character.Weapon.Handle)
  5352. p.Volume = 0.3
  5353. p.Pitch = 1
  5354. p.SoundId = "http://www.roblox.com/asset/?id=191395579"
  5355. p:Play()
  5356. game:GetService("Debris"):AddItem(p, 3)
  5357. end
  5358. DidHit = true
  5359. end
  5360. end
  5361. do
  5362. if rawframes == 18 then
  5363. CanInterrupt(true)
  5364. setlastnormal("R")
  5365. end
  5366. if rawframes == 26 then
  5367. TrackFunction:disconnect()
  5368. TrackFunction = nil
  5369. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5370. PlayerIsAttacking = false
  5371. CanInterrupt(true)
  5372. setlastnormal("")
  5373. Stand()
  5374. end
  5375. rawframes = rawframes + 1
  5376. end
  5377. end
  5378. end)
  5379. end
  5380. InputNormals.M = function()
  5381. if TrackFunction ~= nil then
  5382. TrackFunction:disconnect()
  5383. TrackFunction = nil
  5384. end
  5385. fffuuuu = false
  5386. CanInterrupt(false)
  5387. PlayerIsAttacking = true
  5388. local rawframes = 0
  5389. Tool.Status.AnimFrame.Value = 0
  5390. local DidHit = false
  5391. local CPlane = MousePlane()
  5392. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5393. local cpos = nil
  5394. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5395. BodyVel.Parent = nil
  5396. BodyGyro.Parent = nil
  5397. local cl = 0
  5398. local clastframe = lastframe
  5399. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5400. CPlane = CharacterPlane()
  5401. if rawframes <= 4 then
  5402. LerpWelds(clastframe, rawframes / 4, Animations.ZZ.Animation(0))
  5403. if rawframes == 1 then
  5404. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5405. p.Volume = 1
  5406. p.Pitch = 0.5
  5407. p.SoundId = "http://www.roblox.com/asset/?id=243711414"
  5408. p:Play()
  5409. game:GetService("Debris"):AddItem(p, 3)
  5410. end
  5411. else
  5412. if rawframes > 4 and rawframes <= 6 then
  5413. LerpWelds({Animations.ZZ.Animation(0)}, (rawframes - 4) / 2, Animations.ZZ.Animation(1))
  5414. else
  5415. if rawframes > 6 and rawframes <= 8 then
  5416. LerpWelds({Animations.ZZ.Animation(1)}, (rawframes - 6) / 2, Animations.ZZ.Animation(2))
  5417. else
  5418. if rawframes > 8 and rawframes <= 11 then
  5419. LerpWelds({Animations.ZZ.Animation(1)}, 1 + (rawframes - 8) * 0.03, Animations.ZZ.Animation(2))
  5420. else
  5421. if rawframes > 11 and rawframes <= 15 then
  5422. LerpWelds({Animations.ZZ.Animation(1)}, 1.08 - (rawframes - 11) * 0.03, Animations.ZZ.Animation(2))
  5423. end
  5424. end
  5425. end
  5426. end
  5427. end
  5428. if rawframes >= 4 and rawframes <= 8 and rawframes % 2 == 0 then
  5429. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  5430. applyDamage(v, 6, CPlane * 30, false, false, nil, 0.3, 1, "201858024", 0.6, true, true, 6, false, "Normal", false, true)
  5431. applyCameraShake(v, 90, 5)
  5432. DidHit = true
  5433. end
  5434. end
  5435. do
  5436. if rawframes == 8 then
  5437. CanInterrupt(true)
  5438. setlastnormal("MM")
  5439. end
  5440. if rawframes == 16 then
  5441. fffuuuu = false
  5442. TrackFunction:disconnect()
  5443. TrackFunction = nil
  5444. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5445. PlayerIsAttacking = false
  5446. CanInterrupt(true)
  5447. setlastnormal("")
  5448. Walk()
  5449. end
  5450. rawframes = rawframes + 1
  5451. end
  5452. end)
  5453. end
  5454. InputNormals.MMM = function()
  5455. fffuuuu = false
  5456. if TrackFunction ~= nil then
  5457. TrackFunction:disconnect()
  5458. TrackFunction = nil
  5459. end
  5460. CanInterrupt(false)
  5461. PlayerIsAttacking = true
  5462. local rawframes = 0
  5463. Tool.Status.AnimFrame.Value = 0
  5464. local DidHit = false
  5465. local CPlane = MousePlane()
  5466. local cl = 0
  5467. local clastframe = lastframe
  5468. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5469. local cpos = nil
  5470. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5471. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5472. CPlane = CharacterPlane()
  5473. if rawframes <= 8 then
  5474. LerpWelds(clastframe, rawframes / 8, Animations.ZZZ.Animation(0))
  5475. else
  5476. if rawframes > 8 and rawframes <= 15 then
  5477. cl = cl + (rawframes - 8) * 0.036
  5478. LerpWelds({Animations.ZZZ.Animation(0)}, cl, Animations.ZZZ.Animation(1))
  5479. if rawframes == 9 then
  5480. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5481. p.Volume = 1
  5482. p.Pitch = 0.5
  5483. p.SoundId = "http://www.roblox.com/asset/?id=243711427"
  5484. p:Play()
  5485. game:GetService("Debris"):AddItem(p, 3)
  5486. end
  5487. else
  5488. if rawframes > 15 and rawframes <= 21 then
  5489. LerpWelds({Animations.ZZZ.Animation(0)}, 1 + (rawframes - 15) * 0.01, Animations.ZZZ.Animation(1))
  5490. else
  5491. if rawframes > 21 and rawframes <= 25 then
  5492. LerpWelds({Animations.ZZZ.Animation(0)}, 1.1 - (rawframes - 21) * 0.04, Animations.ZZZ.Animation(1))
  5493. end
  5494. end
  5495. end
  5496. end
  5497. SetLegs(1)
  5498. if rawframes >= 8 and rawframes <= 14 and rawframes % 2 == 0 then
  5499. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  5500. applyDamage(v, 8, CPlane * 40, false, false, nil, 0.3, 1, "201858024", 0.5, true, true, 7, false, "Normal", false, true)
  5501. applyCameraShake(v, 90, 5)
  5502. DidHit = true
  5503. end
  5504. end
  5505. do
  5506. if rawframes == 14 then
  5507. CanInterrupt(true)
  5508. setlastnormal("MMM")
  5509. end
  5510. if rawframes == 24 then
  5511. fffuuuu = false
  5512. TrackFunction:disconnect()
  5513. TrackFunction = nil
  5514. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5515. PlayerIsAttacking = false
  5516. CanInterrupt(true)
  5517. setlastnormal("")
  5518. Walk()
  5519. end
  5520. rawframes = rawframes + 1
  5521. end
  5522. end)
  5523. end
  5524. InputNormals.MMMM = function()
  5525. if TrackFunction ~= nil then
  5526. TrackFunction:disconnect()
  5527. TrackFunction = nil
  5528. end
  5529. fffuuuu = false
  5530. CanInterrupt(false)
  5531. PlayerIsAttacking = true
  5532. DesiredWalkspeed = 0
  5533. local rawframes = 0
  5534. Tool.Status.AnimFrame.Value = 0
  5535. local DidHit = false
  5536. local CPlane = MousePlane()
  5537. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5538. local cl = 0
  5539. local clastframe = lastframe
  5540. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5541. if rawframes < 9 then
  5542. CPlane = MousePlane()
  5543. end
  5544. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5545. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5546. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5547. if rawframes == 0 then
  5548. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5549. end
  5550. BodyVel.velocity = BodyVel.velocity / 1.25
  5551. if rawframes <= 5 then
  5552. LerpWelds(clastframe, rawframes / 5, Animations.ZZZZ.Animation(0))
  5553. elseif rawframes > 5 and rawframes <= 10 then
  5554. LerpWelds({Animations.ZZZZ.Animation(0)}, (rawframes - 5) / 5, Animations.ZZZZ.Animation(1))
  5555. if rawframes == 6 then
  5556. p = Instance.new("Sound", vPlayer.Character.Torso)
  5557. p.Volume = 0.25
  5558. p.Pitch = 0.9
  5559. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  5560. wait()
  5561. p:Play()
  5562. game:GetService("Debris"):AddItem(p, 3)
  5563. end
  5564. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(1.6, 1.6, 1.6))
  5565. pc.CanCollide = false
  5566. pc.Anchored = true
  5567. pc.Parent = workspace
  5568. game:GetService("Debris"):AddItem(pc, 5)
  5569. coroutine.resume(coroutine.create(function(p)
  5570. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  5571. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  5572. for i=1, 20 do
  5573. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  5574. p.Transparency = i/20
  5575. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  5576. fwait()
  5577. end
  5578. p:Remove()
  5579. end),pc)
  5580. elseif rawframes > 13 and rawframes <= 19 then
  5581. LerpWelds({Animations.ZZZZ.Animation(0)}, 1 - (rawframes - 13) * 0.02, Animations.ZZZZ.Animation(1))
  5582. elseif rawframes > 19 and rawframes <= 26 then
  5583. LerpWelds({Animations.ZZZZ.Animation(1)}, (rawframes - 19) / 7.05 - 0.1, Animations.ZZZZ.Animation(2))
  5584. elseif rawframes > 33 then
  5585. local cwalk = "Stand"
  5586. if Ragemode == true then
  5587. cwalk = "Stand2"
  5588. end
  5589. LerpWelds({Animations.ZZZZ.Animation(2)}, (rawframes - 33) / 9, Animations[cwalk].Animation(0))
  5590. end
  5591. if rawframes == 23 then
  5592. cpos = vPlayer.Character.Torso.Position + CPlane * 33.5
  5593. coroutine.resume(coroutine.create(function(pos, dir)
  5594. for i = 0, 2 do
  5595. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(pos - dir * (i * 11.5) - Vector3.new(0, 3, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(9, 1, 9))
  5596. pc.Mesh.MeshType = "FileMesh"
  5597. pc.Parent = workspace
  5598. pc.Anchored = true
  5599. pc.CanCollide = false
  5600. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5601. pc.Name = "Shockwave"
  5602. game:GetService("Debris"):AddItem(pc, 5)
  5603. coroutine.resume(coroutine.create(function(p)
  5604. for ii = 1, 15 do
  5605. p.Transparency = ii / 15
  5606. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(15 + ii), 0) + Vector3.new(0, 0.35, 0)
  5607. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(-0.4, 0.7, -0.4)
  5608. fwait()
  5609. end
  5610. p:Remove()
  5611. end), pc)
  5612. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(pos - dir * (i * 8) + Vector3.new(0, 0, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Black", "SpecialMesh", Vector3.new(1, 7, 1))
  5613. pc.Mesh.MeshType = "FileMesh"
  5614. pc.Anchored = true
  5615. pc.CanCollide = false
  5616. pc.Parent = workspace
  5617. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5618. pc.Name = "Shockwave"
  5619. game:GetService("Debris"):AddItem(pc, 5)
  5620. coroutine.resume(coroutine.create(function(p)
  5621. for ii = 1, 10 do
  5622. p.Transparency = ii / 10
  5623. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(15 + ii), 0) - Vector3.new(0, 0.25, 0)
  5624. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.3, -0.5, 1.3)
  5625. fwait()
  5626. end
  5627. p:Remove()
  5628. end), pc)
  5629. local p = Instance.new("Sound", pc)
  5630. p.Volume = 1
  5631. p.Pitch = 0.85
  5632. p.SoundId = "http://www.roblox.com/asset/?id=233856106"
  5633. p:Play()
  5634. game:GetService("Debris"):AddItem(p, 3)
  5635. for _,v in pairs(GetNubsInRadius(pc.CFrame.p + Vector3.new(0, 0, 0), 8.8)) do
  5636. applyDamage(v, 2, -dir * (55 - i * 10), false, false, nil, 0.01, 1, "", 1.125, false, true, 5, false, "Normal", false, false)
  5637. applyCameraShake(v, 70, 3)
  5638. DidHit = true
  5639. end
  5640. fwait(0.15)
  5641. end
  5642. end), cpos, CPlane)
  5643. end
  5644. if rawframes == 8 then
  5645. local pz = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character["Left Arm"].Position) + CPlane * 0.5, "Really black", "SpecialMesh", Vector3.new(2, 2, 0))
  5646. pz.Anchored = true
  5647. pz.CanCollide = false
  5648. pz.Parent = workspace
  5649. pz.Mesh.MeshType = "Sphere"
  5650. game:GetService("Debris"):AddItem(pz, 5)
  5651. local p = Instance.new("Sound", pz)
  5652. p.Volume = 1
  5653. p.Pitch = 0.65
  5654. p.SoundId = "http://www.roblox.com/asset/?id=231917788"
  5655. p:Play()
  5656. game:GetService("Debris"):AddItem(p, 3)
  5657. local p = Instance.new("Sound", pz)
  5658. p.Volume = 1
  5659. p.Pitch = 1
  5660. p.SoundId = "http://www.roblox.com/asset/?id=233091183"
  5661. p:Play()
  5662. game:GetService("Debris"):AddItem(p, 3)
  5663. local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(1.6, 1.6, 1.6))
  5664. pc.CanCollide = false
  5665. pc.Anchored = true
  5666. pc.Parent = workspace
  5667. game:GetService("Debris"):AddItem(pc, 5)
  5668. coroutine.resume(coroutine.create(function(p)
  5669. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  5670. for i = 1, 15 do
  5671. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 2) / 15
  5672. p.Transparency = i / 15
  5673. p.CFrame = p.CFrame * R
  5674. fwait()
  5675. end
  5676. p:Remove()
  5677. end), pc)
  5678. coroutine.resume(coroutine.create(function(p, dir)
  5679. for i = 1, 10 do
  5680. fwait(0.06)
  5681. p.CFrame = p.CFrame + dir * 3
  5682. local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(p.Position) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(1.5, 1.5, 1.5))
  5683. pc.CanCollide = false
  5684. pc.Anchored = true
  5685. pc.Parent = workspace
  5686. game:GetService("Debris"):AddItem(pc, 5)
  5687. coroutine.resume(coroutine.create(function(p, c)
  5688. for ii = 1, 8 do
  5689. p.Mesh.Scale = p.Mesh.Scale * 1.1 + Vector3.new(c, c, c)
  5690. p.Transparency = ii / 8
  5691. fwait()
  5692. end
  5693. p:Remove()
  5694. end), pc, i / 20)
  5695. if i % 2 == 0 then
  5696. for _,v in pairs(GetNubsInRadius(p.CFrame.p - CPlane * 2.5, 5)) do
  5697. applyDamage(v, 2, dir * 30, false, false, nil, 0.01, 1, "231917784", 0.95, false, false, 1, false, "Normal", false, false)
  5698. applyCameraShake(v, 50, 3)
  5699. DidHit = true
  5700. end
  5701. end
  5702. end
  5703. p:Remove()
  5704. end), pz, CPlane)
  5705. local pz = NewPart(Vector3.new(2, 2, 1), CFrame.new(vPlayer.Character["Left Arm"].Position + CPlane * 1.5, vPlayer.Character["Left Arm"].Position + CPlane * 2), "Really black", "BlockMesh", Vector3.new(1.5, 1.5, 0))
  5706. pz.Transparency = 1
  5707. pz.Anchored = true
  5708. pz.CanCollide = false
  5709. pz.Parent = workspace
  5710. pz.Name = "Rune"
  5711. local d1 = Instance.new("Decal", pz)
  5712. d1.Texture = "http://www.roblox.com/asset/?id=233069844"
  5713. d1.Face = "Front"
  5714. d1.Name = "d1"
  5715. local d1 = Instance.new("Decal", pz)
  5716. d1.Texture = "http://www.roblox.com/asset/?id=233069844"
  5717. d1.Face = "Back"
  5718. d1.Name = "d2"
  5719. coroutine.resume(coroutine.create(function(p, dir)
  5720. for i = 1, 28 do
  5721. fwait()
  5722. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(1 + i * 2))
  5723. p.d1.Transparency = i / 28
  5724. p.d2.Transparency = i / 28
  5725. if i <= 14 then
  5726. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.02, i * 0.02, 0)
  5727. end
  5728. end
  5729. p:Remove()
  5730. end), pz, CPlane)
  5731. game:GetService("Debris"):AddItem(pz, 6)
  5732. end
  5733. do
  5734. if rawframes == 30 then
  5735. CanInterrupt(true)
  5736. setlastnormal("MMMM")
  5737. end
  5738. if rawframes == 41 then
  5739. TrackFunction:disconnect()
  5740. TrackFunction = nil
  5741. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5742. PlayerIsAttacking = false
  5743. CanInterrupt(true)
  5744. setlastnormal("")
  5745. Stand()
  5746. end
  5747. rawframes = rawframes + 1
  5748. end
  5749. end)
  5750. end
  5751. InputNormals.MMMMM = function()
  5752. if TrackFunction ~= nil then
  5753. TrackFunction:disconnect()
  5754. TrackFunction = nil
  5755. end
  5756. CanInterrupt(false)
  5757. PlayerIsAttacking = true
  5758. local rawframes = 0
  5759. Tool.Status.AnimFrame.Value = 0
  5760. local DidHit = false
  5761. local CPlane = MousePlane()
  5762. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5763. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5764. local cpos = nil
  5765. local cl = 0
  5766. local clastframe = lastframe
  5767. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5768. if rawframes < 6 then
  5769. CPlane = MousePlane()
  5770. end
  5771. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5772. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5773. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5774. if rawframes == 0 then
  5775. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5776. end
  5777. if rawframes <= 5 then
  5778. LerpWelds(clastframe, rawframes / 5, Animations.ZZZZZ.Animation(0))
  5779. if rawframes == 1 then
  5780. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5781. p.Volume = 1
  5782. p.Pitch = 0.75
  5783. p.SoundId = "http://www.roblox.com/asset/?id=243711414"
  5784. p:Play()
  5785. game:GetService("Debris"):AddItem(p, 3)
  5786. end
  5787. else
  5788. if rawframes > 5 and rawframes <= 8 then
  5789. LerpWelds({Animations.ZZZZZ.Animation(0)}, (rawframes - 5) / 4, Animations.ZZZZZ.Animation(1))
  5790. else
  5791. if rawframes > 8 and rawframes <= 11 then
  5792. LerpWelds({Animations.ZZZZZ.Animation(1)}, (rawframes - 8) / 3, Animations.ZZZZZ.Animation(2))
  5793. else
  5794. if rawframes > 11 and rawframes <= 14 then
  5795. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1 + (rawframes - 11) * 0.03, Animations.ZZZZZ.Animation(2))
  5796. else
  5797. if rawframes > 14 and rawframes <= 19 then
  5798. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1.08 - (rawframes - 14) * 0.03, Animations.ZZZZZ.Animation(2))
  5799. else
  5800. if rawframes > 19 then
  5801. local cwalk = "Stand"
  5802. if Ragemode == true then
  5803. cwalk = "Stand2"
  5804. end
  5805. LerpWelds({Animations.ZZZZZ.Animation(2)}, (rawframes - 19) / 8, Animations[cwalk].Animation(0))
  5806. end
  5807. end
  5808. end
  5809. end
  5810. end
  5811. end
  5812. do
  5813. if rawframes >= 1 and rawframes <= 5 then
  5814. BodyVel.velocity = CPlane * (rawframes * 4 + 5)
  5815. else
  5816. BodyVel.velocity = BodyVel.velocity / 1.2
  5817. end
  5818. if rawframes >= 6 and rawframes <= 10 then
  5819. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position - CPlane * 0.5 - Vector3.new(0, 0.5, 0), 3.3)) do
  5820. applyDamage(v, 6, CPlane * 20, false, false, nil, 0.1, 1, "201858024", 0.85, true, true, 15, false, "Normal", false, true)
  5821. applyCameraShake(v, 120, 5)
  5822. DidHit = true
  5823. end
  5824. end
  5825. do
  5826. if rawframes == 11 then
  5827. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5828. p.Volume = 1
  5829. p.Pitch = 0.75
  5830. p.SoundId = "http://www.roblox.com/asset/?id=243713366"
  5831. p:Play()
  5832. game:GetService("Debris"):AddItem(p, 3)
  5833. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Weapon.Blade.Position, Vector3.new(0, -3, 0)), vPlayer.Character)
  5834. local pz = NewPart(Vector3.new(2, 2, 1), CFrame.new(loc) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "BlockMesh", Vector3.new(0.5, 0.5, 0))
  5835. pz.Transparency = 1
  5836. pz.Anchored = true
  5837. pz.CanCollide = false
  5838. pz.Parent = workspace
  5839. pz.Name = "Rune"
  5840. local d1 = Instance.new("Decal", pz)
  5841. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5842. d1.Face = "Front"
  5843. d1.Name = "d1"
  5844. local d1 = Instance.new("Decal", pz)
  5845. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5846. d1.Face = "Back"
  5847. d1.Name = "d2"
  5848. coroutine.resume(coroutine.create(function(p, dir)
  5849. for i = 1, 5 do
  5850. fwait()
  5851. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(10 + i * 2))
  5852. p.d1.Transparency = 0.5 + i / 10
  5853. p.d2.Transparency = 0.5 + i / 10
  5854. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0)
  5855. end
  5856. p:Remove()
  5857. end), pz, CPlane)
  5858. game:GetService("Debris"):AddItem(pz, 6)
  5859. end
  5860. do
  5861. if rawframes == 15 then
  5862. CanInterrupt(true)
  5863. setlastnormal("MMMMM")
  5864. end
  5865. if rawframes == 26 then
  5866. TrackFunction:disconnect()
  5867. TrackFunction = nil
  5868. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5869. PlayerIsAttacking = false
  5870. CanInterrupt(true)
  5871. setlastnormal("")
  5872. Stand()
  5873. end
  5874. rawframes = rawframes + 1
  5875. end
  5876. end
  5877. end
  5878. end)
  5879. end
  5880. InputNormals.MMMMMM = function()
  5881. if TrackFunction ~= nil then
  5882. TrackFunction:disconnect()
  5883. TrackFunction = nil
  5884. end
  5885. CanInterrupt(false)
  5886. PlayerIsAttacking = true
  5887. local rawframes = 0
  5888. Tool.Status.AnimFrame.Value = 0
  5889. local DidHit = false
  5890. local CPlane = MousePlane()
  5891. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5892. local cl = 0
  5893. local clastframe = lastframe
  5894. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5895. local cpos = nil
  5896. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5897. if rawframes < 8 then
  5898. CPlane = MousePlane()
  5899. end
  5900. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5901. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5902. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5903. if rawframes == 0 then
  5904. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5905. end
  5906. if rawframes <= 5 then
  5907. LerpWelds(clastframe, rawframes / 5, Animations.ZZZZZZ.Animation(0))
  5908. if rawframes == 1 then
  5909. p = Instance.new("Sound", vPlayer.Character.Torso)
  5910. p.Volume = 1
  5911. p.Pitch = 1
  5912. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  5913. p:Play()
  5914. game:GetService("Debris"):AddItem(p, 3)
  5915. end
  5916. else
  5917. if rawframes > 5 and rawframes <= 9 then
  5918. LerpWelds(clastframe, 1 + (rawframes - 5) * 0.01, Animations.ZZZZZZ.Animation(0))
  5919. else
  5920. if rawframes > 9 and rawframes <= 13 then
  5921. LerpWelds(clastframe, 1.03 - (rawframes - 9) * 0.01, Animations.ZZZZZZ.Animation(0))
  5922. else
  5923. if rawframes > 16 then
  5924. local cwalk = "Stand"
  5925. if Ragemode == true then
  5926. cwalk = "Stand2"
  5927. end
  5928. LerpWelds({Animations.ZZZZZZ.Animation(0)}, (rawframes - 16) / 11, Animations[cwalk].Animation(0))
  5929. end
  5930. end
  5931. end
  5932. end
  5933. do
  5934. if rawframes >= 1 and rawframes <= 5 then
  5935. BodyVel.velocity = CPlane * (rawframes * 6 + 10)
  5936. else
  5937. BodyVel.velocity = BodyVel.velocity / 1.2
  5938. end
  5939. if rawframes >= 4 and rawframes <= 7 and rawframes % 2 == 0 then
  5940. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Torso.Position + CPlane * 2.5, 3.6)) do
  5941. applyDamage(v, 7, CPlane * 25 + Vector3.new(0, 10, 0), false, false, nil, 0.33, 1, "153092238", 0.7, false, true, 8, false, "Normal", false, false)
  5942. applyCameraShake(v, 140, 5)
  5943. DidHit = true
  5944. end
  5945. end
  5946. do
  5947. if rawframes == 11 then
  5948. CanInterrupt(true)
  5949. setlastnormal("MMMMMM")
  5950. end
  5951. if rawframes == 27 then
  5952. TrackFunction:disconnect()
  5953. TrackFunction = nil
  5954. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5955. PlayerIsAttacking = false
  5956. CanInterrupt(true)
  5957. setlastnormal("")
  5958. Stand()
  5959. end
  5960. rawframes = rawframes + 1
  5961. end
  5962. end
  5963. end)
  5964. end
  5965. InputNormals.MMMMMMM = function()
  5966. if TrackFunction ~= nil then
  5967. TrackFunction:disconnect()
  5968. TrackFunction = nil
  5969. end
  5970. CanInterrupt(false)
  5971. PlayerIsAttacking = true
  5972. fffuuuu = true
  5973. print("xd")
  5974. local rawframes = 0
  5975. Tool.Status.AnimFrame.Value = 0
  5976. local DidHit = false
  5977. local CPlane = MousePlane()
  5978. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5979. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5980. local cpos = nil
  5981. local cl = 0
  5982. local clastframe = lastframe
  5983. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5984. if rawframes < 6 then
  5985. CPlane = MousePlane()
  5986. end
  5987. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5988. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5989. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5990. if rawframes == 0 then
  5991. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5992. end
  5993. if rawframes <= 6 then
  5994. LerpWelds(clastframe, rawframes / 6, Animations.ZZZZZZZ.Animation(0))
  5995. if rawframes == 0 then
  5996. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5997. p.Volume = 1
  5998. p.Pitch = 0.6
  5999. p.SoundId = "http://www.roblox.com/asset/?id=243711427"
  6000. p:Play()
  6001. game:GetService("Debris"):AddItem(p, 3)
  6002. end
  6003. if rawframes == 3 then
  6004. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  6005. p.Volume = 1
  6006. p.Pitch = 1
  6007. p.SoundId = "http://www.roblox.com/asset/?id=234365573"
  6008. p:Play()
  6009. game:GetService("Debris"):AddItem(p, 3)
  6010. end
  6011. elseif rawframes > 6 and rawframes <= 10 then
  6012. LerpWelds(clastframe, 0.98 + (rawframes - 6) * 0.005, Animations.ZZZZZZZ.Animation(0))
  6013. if rawframes == 7 then
  6014. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  6015. p.Volume = 1
  6016. p.Pitch = 1.55
  6017. p.SoundId = "http://www.roblox.com/asset/?id=231917806"
  6018. p:Play()
  6019. game:GetService("Debris"):AddItem(p, 3)
  6020. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Weapon.Blade.Position, Vector3.new(0, -1, 0)), vPlayer.Character)
  6021. local pz = NewPart(Vector3.new(2, 2, 1), CFrame.new(loc) * CFrame.Angles(math.pi / 2, 0, 0), "Really black", "BlockMesh", Vector3.new(2.5, 2.5, 0))
  6022. pz.Transparency = 1
  6023. pz.Anchored = true
  6024. pz.CanCollide = false
  6025. pz.Parent = workspace
  6026. pz.Name = "Rune"
  6027. local d1 = Instance.new("Decal", pz)
  6028. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  6029. d1.Face = "Front"
  6030. d1.Name = "d1"
  6031. local d1 = Instance.new("Decal", pz)
  6032. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  6033. d1.Face = "Back"
  6034. d1.Name = "d2"
  6035. coroutine.resume(coroutine.create(function(p, dir)
  6036. for i = 1, 5 do
  6037. fwait()
  6038. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(20 + i * 2))
  6039. p.d1.Transparency = 0.5 + i / 10
  6040. p.d2.Transparency = 0.5 + i / 10
  6041. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.5, 1.5, 0)
  6042. end
  6043. p:Remove()
  6044. end), pz, CPlane)
  6045. game:GetService("Debris"):AddItem(pz, 6)
  6046. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position + CPlane * 1.5 + Vector3.new(0, 2, 0), 15)) do
  6047. applyCameraShake(v, 50, 15)
  6048. end
  6049. applyCameraShake(vPlayer.Character, 100, 15)
  6050. end
  6051. elseif rawframes > 10 and rawframes <= 15 then
  6052. LerpWelds(clastframe, 1.01 - (rawframes - 10) * 0.005, Animations.ZZZZZZZ.Animation(0))
  6053. elseif rawframes > 17 then
  6054. local cwalk = "Stand"
  6055. if Ragemode == true then
  6056. cwalk = "Stand2"
  6057. end
  6058. LerpWelds({Animations.ZZZZZZZ.Animation(0)}, (rawframes - 17) / 10, Animations[cwalk].Animation(0))
  6059. end
  6060. if rawframes >= 3 and rawframes <= 5 then
  6061. BodyVel.velocity = CPlane * (rawframes * 4 + 30)
  6062. else
  6063. BodyVel.velocity = BodyVel.velocity / 1.7
  6064. end
  6065. if rawframes >= 3 and rawframes <= 9 and rawframes % 2 == 0 then
  6066. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position + CPlane * 1.5 + Vector3.new(0, 2, 0), 5)) do
  6067. applyDamage(v, 10, CPlane * 60, false, false, nil, 1, 1, "201858024", 0.5, true, true, 15, false, "Normal", false, true)
  6068. applyCameraShake(v, 250, 10)
  6069. DidHit = true
  6070. end
  6071. end
  6072. if rawframes == 20 then
  6073. CanInterrupt(true)
  6074. setlastnormal("")
  6075. end
  6076. if rawframes == 27 then
  6077. fffuuuu = false
  6078. TrackFunction:disconnect()
  6079. TrackFunction = nil
  6080. DesiredWalkspeed = 16 * playerstats.Movement.Value
  6081. PlayerIsAttacking = false
  6082. CanInterrupt(true)
  6083. setlastnormal("")
  6084. Stand()
  6085. end
  6086. rawframes = rawframes + 1
  6087. end)
  6088. end
  6089. GetNubs = function()
  6090. scrubs = {}
  6091. for _,v in pairs(workspace:children()) do
  6092. if v:FindFirstChild("Humanoid") ~= nil and v:FindFirstChild("Torso") ~= nil and v.Name ~= game.Players.LocalPlayer.Name and (v.Torso.Position - vPlayer.Character.HumanoidRootPart.Position).magnitude <= 100 and v.Humanoid.Health > 0 then
  6093. local vp = game.Players:GetPlayerFromCharacter(v)
  6094. if vp == nil then
  6095. table.insert(scrubs, v)
  6096. else
  6097. if vp.Neutral == true and vPlayer.Neutral == true then
  6098. table.insert(scrubs, v)
  6099. else
  6100. if GetTeamFromColor(vp.TeamColor) ~= GetTeamFromColor(vPlayer.TeamColor) then
  6101. table.insert(scrubs, v)
  6102. end
  6103. end
  6104. end
  6105. end
  6106. end
  6107. Nubs = scrubs
  6108. end
  6109. Nubs = {}
  6110. GetNubsInRadius = function(pos, radius)
  6111. local radius = radius + radiushelp
  6112. local filtered = {}
  6113. for _,v in pairs(Nubs) do
  6114. if v:FindFirstChild("Torso") ~= nil and v:FindFirstChild("Humanoid") ~= nil then
  6115. local cpos = pos
  6116. if v.Humanoid:GetState() == Enum.HumanoidStateType.Jumping or v.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  6117. local ydiff = (v.Torso.Position.y - vPlayer.Character.Torso.Position.y) / 1
  6118. if ydiff > 5 then
  6119. ydiff = 5
  6120. end
  6121. cpos = pos + Vector3.new(0, ydiff, 0)
  6122. end
  6123. if v.Name == "Siegmund" then
  6124. cpos = cpos - Vector3.new(0, 6, 0)
  6125. end
  6126. if (v.Torso.Position - (cpos)).magnitude <= radius then
  6127. table.insert(filtered, v)
  6128. end
  6129. end
  6130. end
  6131. return filtered
  6132. end
  6133. noy = function(pos)
  6134. return Vector3.new(pos.x, 0, pos.z)
  6135. end
  6136. applyCameraShake = function(Noob, Intens, Time)
  6137. Intens = Intens / 10
  6138. if game.Players:GetPlayerFromCharacter(Noob) ~= nil then
  6139. local ss = script.CamShake:clone()
  6140. ss.Disabled = false
  6141. ss.intensity.Value = Intens
  6142. ss.times.Value = Time
  6143. ss.Parent = Noob
  6144. end
  6145. end
  6146. LastHitTime = time()
  6147. LastDamage = 0
  6148. ComboHits = 0
  6149. asset = math.random(1, 100000000)
  6150. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  6151. local gui = it(GuiType)
  6152. gui.Parent = parent
  6153. gui.Text = text
  6154. gui.BackgroundTransparency = backtrans
  6155. gui.BackgroundColor3 = backcol
  6156. gui.SizeConstraint = "RelativeXY"
  6157. gui.TextXAlignment = "Center"
  6158. gui.TextYAlignment = "Center"
  6159. gui.Position = pos
  6160. gui.Size = size
  6161. gui.Font = "SourceSans"
  6162. gui.FontSize = "Size14"
  6163. gui.TextWrapped = false
  6164. gui.TextStrokeTransparency = 0
  6165. gui.TextColor = BrickColor.new("White")
  6166. return gui
  6167. end
  6168. showDamage = function(Char, Dealt, Type, DamageType, HTD)
  6169. m = Instance.new("Model")
  6170. m.Name = "Effect"
  6171. c = Instance.new("Part")
  6172. c.Transparency = 1
  6173. c.Name = "Head"
  6174. c.TopSurface = 0
  6175. c.BottomSurface = 0
  6176. c.formFactor = "Custom"
  6177. c.Size = Vector3.new(0.2, 0.2, 0.2)
  6178. b = Instance.new("BillboardGui", c)
  6179. b.Size = UDim2.new(5, 0, 5, 0)
  6180. b.AlwaysOnTop = true
  6181. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  6182. damgui.ZIndex = 2
  6183. if Type == "Damage" then
  6184. damgui.Font = "SourceSans"
  6185. if Dealt == "Block" then
  6186. damgui.TextColor3 = BrickColor.new("Bright blue").Color
  6187. else
  6188. if Dealt < 3 then
  6189. damgui.TextColor3 = BrickColor.new("White").Color
  6190. else
  6191. if Dealt >= 3 and Dealt < 20 then
  6192. damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  6193. else
  6194. damgui.TextColor3 = BrickColor.new("Really red").Color
  6195. damgui.Font = "SourceSansBold"
  6196. end
  6197. end
  6198. end
  6199. if DamageType == "Pure" then
  6200. damgui.TextColor3 = BrickColor.new("Royal purple").Color
  6201. damgui.Size = UDim2.new(0.5, 0, 0.5, 0)
  6202. damgui.Position = UDim2.new(0.5, 0, 0.5, 0)
  6203. else
  6204. if DamageType == "IgnoreDefense" then
  6205. damgui.TextStrokeColor3 = BrickColor.new("Really red").Color
  6206. else
  6207. if DamageType == "DefenseOne" then
  6208. damgui.TextStrokeColor3 = Color3.new(0.1, 0.1, 0.1)
  6209. end
  6210. end
  6211. end
  6212. else
  6213. if Type == "Debuff" then
  6214. damgui.TextColor3 = BrickColor.new("White").Color
  6215. else
  6216. if Type == "Interrupt" then
  6217. damgui.TextColor3 = BrickColor.new("New Yeller").Color
  6218. end
  6219. end
  6220. end
  6221. if HTD ~= nil and DamageType ~= "Pure" then
  6222. damgui.Font = "SourceSansBold"
  6223. sus = Instance.new("ImageLabel", b)
  6224. sus.Name = "8)"
  6225. sus.Image = "http://www.roblox.com/asset/?id=240213504"
  6226. sus.BackgroundTransparency = 1
  6227. sus.ImageTransparency = 0.25
  6228. sus.Size = UDim2.new(1.5, 0, 1.5, 0)
  6229. sus.ImageColor3 = BrickColor.new("Bright red").Color
  6230. sus.Position = UDim2.new(-0.25, 0, -0.15, 0)
  6231. coroutine.resume(coroutine.create(function(s)
  6232. wait()
  6233. fwait(0.965)
  6234. for i = 1, 15 do
  6235. s.ImageTransparency = 0.25 + i / 22.5
  6236. fwait()
  6237. end
  6238. p:Remove()
  6239. end), sus)
  6240. end
  6241. damgui.TextScaled = true
  6242. c.Reflectance = 0
  6243. Instance.new("BodyGyro").Parent = c
  6244. c.Parent = m
  6245. if Char:findFirstChild("Head") ~= nil then
  6246. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  6247. else
  6248. if Char.Parent:findFirstChild("Head") ~= nil then
  6249. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  6250. end
  6251. end
  6252. f = Instance.new("BodyPosition")
  6253. f.P = 1000
  6254. f.D = 100
  6255. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  6256. if Type == "Damage" then
  6257. f.position = c.Position + Vector3.new(0, 4, 0)
  6258. else
  6259. if Type == "Debuff" or Type == "Interrupt" then
  6260. f.position = c.Position + Vector3.new(0, 6, 0)
  6261. end
  6262. end
  6263. f.Parent = c
  6264. game:GetService("Debris"):AddItem(m, 3.5)
  6265. c.CanCollide = false
  6266. m.Parent = workspace
  6267. c.CanCollide = false
  6268. dir = Vector3.new()
  6269. if DamageType == "Pure" and Dealt <= 1 then
  6270. coroutine.resume(coroutine.create(function(p, s, dir)
  6271. wait()
  6272. for i = 1, 8 do
  6273. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, -i * 0.045, 0) + dir / 15 * 6
  6274. fwait()
  6275. end
  6276. fwait(0.24)
  6277. for i = 1, 12 do
  6278. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, 0.25, 0)
  6279. s.TextTransparency = i / 12
  6280. s.TextStrokeTransparency = i / 12
  6281. fwait()
  6282. end
  6283. p.Parent:Remove()
  6284. end), c, damgui, Vector3.new(math.random(-1, 1), 0, math.random(-1, 1)))
  6285. else
  6286. coroutine.resume(coroutine.create(function(p, s)
  6287. wait()
  6288. for i = 1, 10 do
  6289. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, -i * 0.045, 0)
  6290. fwait()
  6291. end
  6292. fwait(0.5)
  6293. for i = 1, 15 do
  6294. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, 0.2, 0)
  6295. s.TextTransparency = i / 15
  6296. s.TextStrokeTransparency = i / 15
  6297. fwait()
  6298. end
  6299. p.Parent:Remove()
  6300. end), c, damgui)
  6301. end
  6302. end
  6303. GetTeamFromColor = function(color)
  6304. for _,v in pairs(game:GetService("Teams"):children()) do
  6305. if color == v.TeamColor then
  6306. return v.Name
  6307. end
  6308. end
  6309. end
  6310. applyDamage = function(Noob, Damage, KnockDir, Down, ForceDown, addFunc, DebounceTime, aYvel, hitsound, hitpitch, canburn, canproc, Stun, WasSpecial, DamageType, Unblockable, CanBounce)
  6311. if KnockDir == nil then
  6312. KnockDir = Vector3.new(0, 0, 0)
  6313. end
  6314. if Down == nil then
  6315. Down = false
  6316. end
  6317. if addFunc == nil then
  6318. addFunc = function()
  6319. end
  6320. end
  6321. if aYvel == nil then
  6322. aYvel = 0
  6323. end
  6324. if hitsound == nil then
  6325. hitsound = ""
  6326. end
  6327. if hitpitch == nil then
  6328. hitpitch = 1
  6329. end
  6330. local h = Noob:FindFirstChild("Humanoid")
  6331. local t = Noob:FindFirstChild("HumanoidRootPart")
  6332. if t == nil then
  6333. t = Noob:FindFirstChild("Torso")
  6334. end
  6335. if h ~= nil and t ~= nil then
  6336. local vp = game.Players:GetPlayerFromCharacter(h.Parent)
  6337. if vp ~= nil and vp.Neutral ~= true and vPlayer.Neutral ~= true and GetTeamFromColor(vp.TeamColor) == GetTeamFromColor(vPlayer.TeamColor) then
  6338. return
  6339. end
  6340. if DamageType == "Pure" then
  6341. if h:FindFirstChild("SADebounce" .. asset) == nil then
  6342. local b = Instance.new("BoolValue", h)
  6343. b.Name = "SADebounce" .. asset
  6344. game:GetService("Debris"):AddItem(b, DebounceTime)
  6345. end
  6346. end
  6347. if DamageType ~= "Pure" then
  6348. if h:FindFirstChild("SADebounce" .. asset) == nil then
  6349. local b = Instance.new("BoolValue", h)
  6350. b.Name = "SADebounce" .. asset
  6351. game:GetService("Debris"):AddItem(b, DebounceTime)
  6352. else
  6353. return
  6354. end
  6355. end
  6356. --[[if DebounceTime > 0 then
  6357. return
  6358. end--]]
  6359. if GetTeamFromColor(vPlayer.TeamColor) == "Juggernaut" and DamageType == "Pure" then
  6360. Damage = Damage * 2.5
  6361. end
  6362. if addFunc ~= nil then
  6363. addFunc(Noob)
  6364. end
  6365. coroutine.resume(coroutine.create(function(t, KnockDir, aYvel, KnockForce, aHitstop)
  6366. if t:FindFirstChild("AIDS" .. asset) then
  6367. t["AIDS" .. asset]:Remove()
  6368. end
  6369. v = Instance.new("BodyVelocity")
  6370. v.Name = "AIDS" .. asset
  6371. v.P = 120
  6372. if KnockDir.magnitude > 0 then
  6373. v.Parent = t
  6374. end
  6375. aYvel = 0
  6376. if KnockDir.y > 1 then
  6377. aYvel = 1.2
  6378. end
  6379. v.maxForce = Vector3.new(558000, aYvel * 558000, 558000)
  6380. v.velocity = Vector3.new(KnockDir.x, KnockDir.y, KnockDir.z) * 1.1
  6381. if t.Parent.Humanoid:GetState() == Enum.HumanoidStateType.Jumping or t.Parent.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  6382. v.velocity = v.velocity / 1.6
  6383. end
  6384. game:GetService("Debris"):AddItem(v, 0.25)
  6385. end), t, KnockDir, aYvel)
  6386. if Down == true then
  6387. local g = Instance.new("BodyAngularVelocity")
  6388. g.P = 200
  6389. g.maxTorque = Vector3.new(80000, 80000, 80000)
  6390. g.angularvelocity = (KnockDir / 1.5 + Vector3.new(math.random(-20, 20), math.random(-20, 20), math.random(-20, 20))) / 3
  6391. g.Parent = t
  6392. game:GetService("Debris"):AddItem(g, 0.5)
  6393. if game.Players:GetPlayerFromCharacter(t.Parent) then
  6394. local s = script.ForceState:clone()
  6395. s.Value.Value = "FallingDown"
  6396. s.Parent = t.Parent
  6397. end
  6398. h:ChangeState(Enum.HumanoidStateType.FallingDown)
  6399. end
  6400. if ForceDown == true then
  6401. g:Remove()
  6402. t.CFrame = t.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0) + Vector3.new(0, 0.3, 0)
  6403. g = Instance.new("BodyGyro")
  6404. g.P = 400
  6405. g.maxTorque = Vector3.new(80000, 80000, 80000)
  6406. g.D = 20
  6407. g.cframe = CFrame.new(vPlayer.Character.Torso.Position, vPlayer.Character.Torso.Position - Vector3.new(0, 50, 0))
  6408. g.Parent = v.Parent
  6409. game:GetService("Debris"):AddItem(g, 1)
  6410. end
  6411. local vp = game.Players:GetPlayerFromCharacter(h.Parent)
  6412. local Juggernaut = false
  6413. if vp then
  6414. local team = vp.TeamColor
  6415. if GetTeamFromColor(team) == "Juggernaut" then
  6416. Juggernaut = true
  6417. if DamageType == "IgnoreDefense" or DamageType == "Pure" then
  6418. DamageType = "Normal"
  6419. end
  6420. end
  6421. end
  6422. if h.Parent.Name == "Siegmund" or h.Parent.Name == "Juggerkactus" then
  6423. Juggernaut = true
  6424. if DamageType == "IgnoreDefense" or DamageType == "Pure" then
  6425. DamageType = "Normal"
  6426. end
  6427. end
  6428. local stats = (h.Parent:FindFirstChild("Stats"))
  6429. local enemymana = nil
  6430. if stats then
  6431. enemymana = stats:FindFirstChild("Mana")
  6432. end
  6433. if enemymana then
  6434. if t.Parent:FindFirstChild("ManaMark") and canproc == true and Juggernaut == false then
  6435. for i = 1, 3 do
  6436. applyDamage(h.Parent, 3, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false)
  6437. end
  6438. local s = Instance.new("Sound", t)
  6439. s.Volume = 0.8
  6440. s.Pitch = 0.6
  6441. s.SoundId = "http://www.roblox.com/asset/?id=" .. "234365587"
  6442. s:Play()
  6443. game:GetService("Debris"):AddItem(s, 2)
  6444. local eff = NewPart(Vector3.new(1, 1, 1), CFrame.new(t.Position + Vector3.new(math.random(-15, 15) / 10, math.random(-15, 15) / 10, math.random(-15, 15) / 10)) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "SpecialMesh", Vector3.new(1, 1, 1))
  6445. eff.Parent = workspace
  6446. eff.Mesh.MeshType = "Sphere"
  6447. eff.Name = "BloodEffect"
  6448. eff.Anchored = true
  6449. eff.CanCollide = false
  6450. game:GetService("Debris"):AddItem(eff, 5)
  6451. coroutine.resume(coroutine.create(function(p, A, V, diff)
  6452. for i = 1, 10 do
  6453. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
  6454. p.Transparency = 0.25 + i / 13.333333333333
  6455. p.CFrame = t.CFrame * A + diff
  6456. fwait()
  6457. end
  6458. p:Remove()
  6459. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)), KnockDir / 30, t.Position - eff.Position)
  6460. local pla = eff.Position
  6461. local diff = pla - t.Position
  6462. local eb = BillboardGui("http://www.roblox.com/asset/?id=235269395", pla, 0)
  6463. eb.Parent = workspace
  6464. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6465. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  6466. game:GetService("Debris"):AddItem(eb, 3)
  6467. coroutine.resume(coroutine.create(function(p, par, diff)
  6468. local r = math.random(-3, 3) * 9
  6469. if r > -6 and r < 1 then
  6470. r = -6
  6471. else
  6472. if r < 6 and r > -1 then
  6473. r = 6
  6474. end
  6475. end
  6476. for i = 1, 12 do
  6477. p.BillboardGui.ImageLabel.ImageTransparency = i / 12
  6478. p.BillboardGui.Size = UDim2.new(2 + i / 2, 0, 2 + i / 2, 0)
  6479. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  6480. p.CFrame = par.CFrame + diff
  6481. fwait()
  6482. end
  6483. p:Remove()
  6484. end), eb, t, diff)
  6485. local pla = eff.Position
  6486. coroutine.resume(coroutine.create(function(par, diff, h)
  6487. if Corruption <= 99 then
  6488. Corruption = Corruption + 1
  6489. else
  6490. Corruption = 100
  6491. end
  6492. for i = 1, 3 do
  6493. fwait(0.15)
  6494. local eff = NewPart(Vector3.new(1, 1, 1), par.CFrame * CFrame.new(math.random(-15, 15) / 10, math.random(-20, 15) / 10, math.random(-5, 5) / 10) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "SpecialMesh", Vector3.new(0.5, 0.5, 0.5))
  6495. eff.Parent = workspace
  6496. eff.Name = "BloodEffect"
  6497. eff.Mesh.MeshType = "Sphere"
  6498. eff.Anchored = true
  6499. eff.CanCollide = false
  6500. game:GetService("Debris"):AddItem(eff, 5)
  6501. coroutine.resume(coroutine.create(function(p, A, V)
  6502. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  6503. for i = 1, 6 do
  6504. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.85, 0.85, 0.85)
  6505. p.Transparency = 0.25 + i / 8
  6506. p.CFrame = p.CFrame * A
  6507. fwait()
  6508. end
  6509. p:Remove()
  6510. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)), KnockDir / 30)
  6511. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", eff.Position, 0)
  6512. eb.Parent = workspace
  6513. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6514. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  6515. game:GetService("Debris"):AddItem(eb, 3)
  6516. coroutine.resume(coroutine.create(function(p)
  6517. local r = math.random(-3, 3) * 9
  6518. if r > -12 and r < 1 then
  6519. r = -12
  6520. else
  6521. if r < 12 and r > -1 then
  6522. r = 12
  6523. end
  6524. end
  6525. for i = 1, 6 do
  6526. p.BillboardGui.ImageLabel.ImageTransparency = 0.25 + i / 8
  6527. p.BillboardGui.Size = UDim2.new(2 + i / 1.75, 0, 2 + i / 1.75, 0)
  6528. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  6529. fwait()
  6530. end
  6531. p:Remove()
  6532. end), eb)
  6533. end
  6534. end), t, t.Position - pla, h)
  6535. elseif enemymana.Value > -1 and canburn == true and t.Parent:FindFirstChild("ManaMark") == nil then
  6536. local eff = NewPart(Vector3.new(1, 1, 1), CFrame.new(t.Position + Vector3.new(math.random(-15, 15) / 10, math.random(-15, 15) / 10, math.random(-15, 15) / 10)) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Bright blue", "BlockMesh", Vector3.new(0.6, 0.6, 0.6))
  6537. eff.Parent = workspace
  6538. eff.Name = "BloodEffect"
  6539. eff.Anchored = true
  6540. eff.CanCollide = false
  6541. game:GetService("Debris"):AddItem(eff, 5)
  6542. coroutine.resume(coroutine.create(function(p, A, V, diff, par)
  6543. for i = 1, 14 do
  6544. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  6545. p.Transparency = 0.25 + i / 18.666666666667
  6546. p.CFrame = par.CFrame * A + diff
  6547. fwait()
  6548. end
  6549. p:Remove()
  6550. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)), KnockDir / 30, eff.Position - t.Position, t)
  6551. local pla = eff.Position
  6552. local diff = pla - t.Position
  6553. local eb = BillboardGui("http://www.roblox.com/asset/?id=235269378", pla, 0)
  6554. eb.Parent = workspace
  6555. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6556. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  6557. game:GetService("Debris"):AddItem(eb, 3)
  6558. coroutine.resume(coroutine.create(function(p, par, diff)
  6559. local r = math.random(-3, 3) * 9
  6560. if r > -6 and r < 1 then
  6561. r = -6
  6562. else
  6563. if r < 6 and r > -1 then
  6564. r = 6
  6565. end
  6566. end
  6567. for i = 1, 12 do
  6568. p.BillboardGui.ImageLabel.ImageTransparency = i / 12
  6569. p.BillboardGui.Size = UDim2.new(2 + i / 2, 0, 2 + i / 2, 0)
  6570. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  6571. p.CFrame = par.CFrame + diff
  6572. fwait()
  6573. end
  6574. p:Remove()
  6575. end), eb, t, diff)
  6576. coroutine.resume(coroutine.create(function(par, diff, man, manaloss, scrub)
  6577. for i = 1, manaloss + 2 do
  6578. if man.Value > 0 then
  6579. --script.Parent.DMG.RemoteEventM:FireServer(man, 1)
  6580. --man:TakeDamage(1)
  6581. man.Value = man.Value - 1
  6582. if fffuuuu == true then
  6583. if scrub:FindFirstChild("ManaMark") == nil then
  6584. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069736", scrub.Torso.Position, 0)
  6585. eb.Parent = workspace
  6586. eb.Anchored = false
  6587. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6588. eb.BillboardGui.Size = UDim2.new(0, 0, 0, 0)
  6589. eb.BillboardGui.ImageLabel.Transparency = 1
  6590. game:GetService("Debris"):AddItem(eb, 10)
  6591. eb.Name = "ManaMark2"
  6592. local w = Instance.new("Weld", eb)
  6593. w.Part0 = scrub.Torso
  6594. w.Part1 = eb
  6595. local s = Instance.new("Sound", eb)
  6596. s.Volume = 1
  6597. s.Pitch = 0.9
  6598. s.SoundId = "http://www.roblox.com/asset/?id=" .. "235097661"
  6599. s:Play()
  6600. game:GetService("Debris"):AddItem(s, 5)
  6601. local r = 0
  6602. if math.random(0, 1) == 1 then
  6603. r = 1
  6604. else
  6605. r = -1
  6606. end
  6607. coroutine.resume(coroutine.create(function(p, r)
  6608. p.BillboardGui.ImageLabel.Transparency = 1
  6609. local el = 0
  6610. while p.Parent do
  6611. if el <= 20 then
  6612. p.BillboardGui.ImageLabel.ImageTransparency = 1 - el * 0.02
  6613. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(1.5 - el * 0.1, 0, 1.5 - el * 0.1, 0)
  6614. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + (10 - el / 2) * r + r * 4
  6615. end
  6616. el = el + 1
  6617. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r * 4
  6618. fwait()
  6619. end
  6620. end), eb, r)
  6621. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069802", scrub.Torso.Position, 0)
  6622. eb.Parent = scrub
  6623. eb.Anchored = false
  6624. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6625. eb.BillboardGui.Size = UDim2.new(0, 0, 0, 0)
  6626. eb.BillboardGui.ImageLabel.Transparency = 1
  6627. game:GetService("Debris"):AddItem(eb, 10)
  6628. eb.Name = "ManaMark"
  6629. local w = Instance.new("Weld", eb)
  6630. w.Part0 = scrub.Torso
  6631. w.Part1 = eb
  6632. local s = Instance.new("Sound", eb)
  6633. s.Volume = 1
  6634. s.Pitch = 0.9
  6635. s.SoundId = "http://www.roblox.com/asset/?id=" .. "235097661"
  6636. s:Play()
  6637. game:GetService("Debris"):AddItem(s, 5)
  6638. local r = -r
  6639. coroutine.resume(coroutine.create(function(p, r)
  6640. p.BillboardGui.ImageLabel.Transparency = 1
  6641. local el = 0
  6642. while p.Parent do
  6643. if el <= 20 then
  6644. p.BillboardGui.ImageLabel.ImageTransparency = 1 - el * 0.0075
  6645. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(2 - el * 0.1, 0, 2 - el * 0.1, 0)
  6646. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + (10 - el / 2) * r + r * 2
  6647. end
  6648. el = el + 1
  6649. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r * 2
  6650. fwait()
  6651. end
  6652. end), eb, r)
  6653. break
  6654. end
  6655. end
  6656. fwait(0.09)
  6657. -- DECOMPILER ERROR at PC188: LeaveBlock: unexpected jumping out DO_STMT
  6658. end
  6659. end
  6660. end), t, t.Position - pla, enemymana, math.ceil(Damage * 0.4), t.Parent)
  6661. end
  6662. end
  6663. if WasSpecial == false then
  6664. Mana.Value = Mana.Value + math.ceil(Damage * 0.15)
  6665. end
  6666. if Mana.Value > 150 then
  6667. Mana.Value = 150
  6668. end
  6669. if stats == nil then
  6670. if DamageType == nil or DamageType == "Normal" then
  6671. h:TakeDamage(Damage)
  6672. else
  6673. if DamageType == "Pure" then
  6674. h:TakeDamage(Damage)
  6675. else
  6676. if DamageType == "IgnoreDefense" then
  6677. h:TakeDamage(Damage)
  6678. else
  6679. if DamageType == "DefenseOne" then
  6680. h:TakeDamage(Damage)
  6681. end
  6682. end
  6683. end
  6684. end
  6685. elseif stats.Block.Value == true and Unblockable == false then
  6686. showDamage(h.Parent, "Block", "Damage")
  6687. if CanBounce then
  6688. hitsound = "http://www.roblox.com/asset/?id=233856154"
  6689. hitpitch = 0.6
  6690. WeaponBounce()
  6691. end
  6692. else
  6693. local borb = nil
  6694. if stats.Block.Value == true and Unblockable == true then
  6695. borb = "ded"
  6696. end
  6697. if Damage > 1 then
  6698. local joj = math.ceil(Damage * 0.2)
  6699. if Ragemode == true or Ult == true then
  6700. joj = 0
  6701. end
  6702. if Corruption <= 100 - joj then
  6703. Corruption = Corruption + joj
  6704. else
  6705. Corruption = 100
  6706. end
  6707. end
  6708. if DamageType == "Normal" then
  6709. Damage = Damage * playerstats.Damage.Value / stats.Defense.Value
  6710. else
  6711. end
  6712. if DamageType ~= "Pure" or DamageType == "IgnoreDefense" then
  6713. local borb = stats.Defense.Value
  6714. if borb > 1 then
  6715. borb = 1
  6716. end
  6717. Damage = Damage * playerstats.Damage.Value / borb
  6718. end
  6719. h.Parent.Humanoid:TakeDamage(Damage)
  6720. showDamage(h.Parent, math.ceil(Damage), "Damage", DamageType, borb)
  6721. local StunObject = stats:FindFirstChild("Stun")
  6722. if StunObject then
  6723. StunObject.Value = StunObject.Value + Stun
  6724. end
  6725. if hitsound ~= "" then
  6726. local s = Instance.new("Sound", t)
  6727. s.Volume = 1
  6728. s.Pitch = hitpitch
  6729. s.SoundId = "http://www.roblox.com/asset/?id=" .. hitsound
  6730. s:Play()
  6731. game:GetService("Debris"):AddItem(s, 2)
  6732. end
  6733. end
  6734. end
  6735. end
  6736. addonHoldDown = function(Noob)
  6737. local t = Noob:FindFirstChild("HumanoidRootPart")
  6738. if t == nil then
  6739. t = Noob:FindFirstChild("Torso")
  6740. end
  6741. local add = Vector3.new(0, 0, 0)
  6742. if t:FindFirstChild("AIDS") ~= nil then
  6743. add = t.AIDS.velocity
  6744. t.AIDS:Remove()
  6745. end
  6746. v = Instance.new("BodyPosition")
  6747. v.P = 2000
  6748. v.D = v.D / 2
  6749. v.maxForce = Vector3.new(6000000000, 600000, 6000000000)
  6750. v.position = t.Position - Vector3.new(0, 10, 0) + add
  6751. v.Parent = t
  6752. game:GetService("Debris"):AddItem(v, 1.2)
  6753. Noob.Humanoid.PlatformStand = true
  6754. coroutine.resume(coroutine.create(function(noob, t)
  6755. fwait(0.5)
  6756. while t:FindFirstChild("BodyPosition") ~= nil do
  6757. fwait(0.01)
  6758. end
  6759. noob.PlatformStand = false
  6760. end), Noob.Humanoid, t)
  6761. end
  6762. addonCullMovers = function(Noob)
  6763. local t = Noob:FindFirstChild("HumanoidRootPart")
  6764. if t == nil then
  6765. t = Noob:FindFirstChild("Torso")
  6766. else
  6767. for _,v in pairs(t:children()) do
  6768. if v:IsA("BodyMover") then
  6769. v:Remove()
  6770. end
  6771. end
  6772. t = Noob:FindFirstChild("Torso")
  6773. end
  6774. if t then
  6775. for _,v in pairs(t:children()) do
  6776. if v:IsA("BodyMover") then
  6777. v:Remove()
  6778. end
  6779. end
  6780. end
  6781. end
  6782. LerpWelds = function(orig, alpha, RJ0, N0, RS0, LS0, RH0, LH0, GR0, RJ1, N1, RS1, LS1, RH1, LH1)
  6783. local e = tick()
  6784. RootJoint.C0 = clerp(orig[1], RJ0, alpha)
  6785. Neck.C0 = clerp(orig[2], N0, alpha)
  6786. RightShoulder.C0 = clerp(orig[3], RS0, alpha)
  6787. LeftShoulder.C0 = clerp(orig[4], LS0, alpha)
  6788. RightHip.C0 = clerp(orig[5], RH0, alpha)
  6789. LeftHip.C0 = clerp(orig[6], LH0, alpha)
  6790. Grip.C0 = clerp(orig[7], GR0, alpha)
  6791. RootJoint.C1 = clerp(orig[8], RJ1, alpha)
  6792. Neck.C1 = clerp(orig[9], N1, alpha)
  6793. RightShoulder.C1 = clerp(orig[10], RS1, alpha)
  6794. LeftShoulder.C1 = clerp(orig[11], LS1, alpha)
  6795. RightHip.C1 = clerp(orig[12], RH1, alpha)
  6796. LeftHip.C1 = clerp(orig[13], LH1, alpha)
  6797. lastframe = {RootJoint.C0, Neck.C0, RightShoulder.C0, LeftShoulder.C0, RightHip.C0, LeftHip.C0, Grip.C0, RootJoint.C1, Neck.C1, RightShoulder.C1, LeftShoulder.C1, RightHip.C1, LeftHip.C1}
  6798. return tick() - e
  6799. end
  6800. sRootJoint,sNeck,sRightShoulder,sLeftShoulder,sRightHip,sLeftHip,sGrip = Instance.new("Motor6D"),Instance.new("Motor6D"),Instance.new("Motor6D"),Instance.new("Motor6D"),Instance.new("Motor6D"),Instance.new("Motor6D"),Instance.new("Motor6D"),Instance.new("Motor6D")
  6801. sresetWelds=function()
  6802. sRootJoint.C0 = RootJointC0
  6803. sNeck.C0 = NeckC0
  6804. sRightShoulder.C0 = RightShoulderC0
  6805. sLeftShoulder.C0 = LeftShoulderC0
  6806. sRightHip.C0 = RightHipC0
  6807. sLeftHip.C0 = LeftHipC0
  6808. sRootJoint.C1 = RootJointC1
  6809. sNeck.C1 = NeckC1
  6810. sRightShoulder.C1 = RightShoulderC1
  6811. sLeftShoulder.C1 = LeftShoulderC1
  6812. sRightHip.C1 = RightHipC1
  6813. sLeftHip.C1 = LeftHipC1
  6814. sGrip.C0 = GripC0
  6815. end
  6816. --//XLegoX's spherical linear interpolation
  6817.  
  6818. function clerp(a,b,t)
  6819. local qa = {QuaternionFromCFrame(a)}
  6820. local qb = {QuaternionFromCFrame(b)}
  6821. local ax, ay, az = a.x, a.y, a.z
  6822. local bx, by, bz = b.x, b.y, b.z
  6823. local _t = 1-t
  6824. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  6825. end
  6826.  
  6827. function QuaternionFromCFrame(cf)
  6828. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  6829. local trace = m00 + m11 + m22
  6830. if trace > 0 then
  6831. local s = math.sqrt(1 + trace)
  6832. local recip = 0.5/s
  6833. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  6834. else
  6835. local i = 0
  6836. if m11 > m00 then
  6837. i = 1
  6838. end
  6839. if m22 > (i == 0 and m00 or m11) then
  6840. i = 2
  6841. end
  6842. if i == 0 then
  6843. local s = math.sqrt(m00-m11-m22+1)
  6844. local recip = 0.5/s
  6845. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  6846. elseif i == 1 then
  6847. local s = math.sqrt(m11-m22-m00+1)
  6848. local recip = 0.5/s
  6849. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  6850. elseif i == 2 then
  6851. local s = math.sqrt(m22-m00-m11+1)
  6852. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  6853. end
  6854. end
  6855. end
  6856.  
  6857. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  6858. local xs, ys, zs = x + x, y + y, z + z
  6859. local wx, wy, wz = w*xs, w*ys, w*zs
  6860. local xx = x*xs
  6861. local xy = x*ys
  6862. local xz = x*zs
  6863. local yy = y*ys
  6864. local yz = y*zs
  6865. local zz = z*zs
  6866. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  6867. end
  6868.  
  6869. function QuaternionSlerp(a, b, t)
  6870. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  6871. local startInterp, finishInterp;
  6872. if cosTheta >= 0.0001 then
  6873. if (1 - cosTheta) > 0.0001 then
  6874. local theta = math.acos(cosTheta)
  6875. local invSinTheta = 1/math.sin(theta)
  6876. startInterp = math.sin((1-t)*theta)*invSinTheta
  6877. finishInterp = math.sin(t*theta)*invSinTheta
  6878. else
  6879. startInterp = 1-t
  6880. finishInterp = t
  6881. end
  6882. else
  6883. if (1+cosTheta) > 0.0001 then
  6884. local theta = math.acos(-cosTheta)
  6885. local invSinTheta = 1/math.sin(theta)
  6886. startInterp = math.sin((t-1)*theta)*invSinTheta
  6887. finishInterp = math.sin(t*theta)*invSinTheta
  6888. else
  6889. startInterp = t-1
  6890. finishInterp = t
  6891. end
  6892. end
  6893. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  6894. end
  6895. PlayerKeys = {}
  6896. CurrentAnimation = nil
  6897. Hitstop = 0
  6898. DesiredWalkspeed = 16 * playerstats.Movement.Value
  6899. CanInterrupt = function(t)
  6900. Tool.Status.AnimCanBeInterrupted.Value = t
  6901. end
  6902. PlayerCanJump = function()
  6903. if CurrentAnimation ~= nil then
  6904. local doescancel = false
  6905. for _,v in pairs(CurrentAnimation.Cancels) do
  6906. if v == "Jump" or v == "Everything" then
  6907. doescancel = true
  6908. break
  6909. end
  6910. end
  6911. if Tool.Status.AnimCanBeInterrupted.Value == true then
  6912. return doescancel
  6913. else
  6914. return false
  6915. end
  6916. end
  6917. end
  6918. PlaySound = function(SName, Vol, Pitch, Par)
  6919. if Par == nil then
  6920. Par = script
  6921. end
  6922. local s = Instance.new("Sound")
  6923. s.Volume = Vol
  6924. s.Pitch = Pitch
  6925. s.SoundId = "http://www.roblox.com/asset/?id=" .. SName
  6926. s.Parent = Par
  6927. s:Play()
  6928. game:GetService("Debris"):AddItem(s, 10)
  6929. end
  6930. Stand = function()
  6931. local cwalk = "Stand"
  6932. if Ragemode == true then
  6933. cwalk = "Stand2"
  6934. end
  6935. if CurrentAnimation == Animations[cwalk] then
  6936. return
  6937. else
  6938. CurrentAnimation = Animations[cwalk]
  6939. end
  6940. if TrackFunction ~= nil then
  6941. TrackFunction:disconnect()
  6942. end
  6943. local el = 40
  6944. local elv = 1
  6945. local cel = 0
  6946. local clastframe = lastframe
  6947. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  6948. if cel > 7 then
  6949. LerpWelds(clastframe, 1, Animations[cwalk].Animation(0))
  6950. else
  6951. if cel <= 7 then
  6952. LerpWelds(clastframe, cel / 7, Animations[cwalk].Animation(0))
  6953. end
  6954. end
  6955. SetLegs(1)
  6956. cel = cel + 1
  6957. end)
  6958. end
  6959. Walk = function()
  6960. local cwalk = "Walk"
  6961. if Ragemode == true then
  6962. cwalk = "Walk2"
  6963. end
  6964. if CurrentAnimation == Animations[cwalk] then
  6965. return
  6966. else
  6967. CurrentAnimation = Animations[cwalk]
  6968. end
  6969. if TrackFunction ~= nil then
  6970. TrackFunction:disconnect()
  6971. end
  6972. local e = 0
  6973. local clastframe = lastframe
  6974. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  6975. vPlayer.Character.Humanoid.WalkSpeed = DesiredWalkspeed
  6976. if e <= 7 then
  6977. LerpWelds(clastframe, e / 7, Animations[cwalk].Animation(0))
  6978. else
  6979. LerpWelds(clastframe, 1, Animations[cwalk].Animation(0))
  6980. end
  6981. e = e + 1
  6982. end)
  6983. end
  6984. DesiredWalkspeedLast = 18
  6985. PlayerInAir = false
  6986. lastplayervel = 0
  6987. Jump = function()
  6988. if Tool.Status.AnimCanBeInterrupted.Value == false then
  6989. return
  6990. end
  6991. if TrackFunction ~= nil then
  6992. TrackFunction:disconnect()
  6993. end
  6994. Hitstop = 0
  6995. local e = 0
  6996. local clastframe = lastframe
  6997. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  6998. if e <= 3 then
  6999. LerpWelds(clastframe, e / 3, Animations.Jump.Animation(0))
  7000. else
  7001. LerpWelds(clastframe, 1, Animations.Jump.Animation(0))
  7002. end
  7003. SetLegs(0)
  7004. e = e + 1
  7005. end)
  7006. enddir = Vector3.new(0, 0, 0)
  7007. lastplayervel = enddir
  7008. v_h = vPlayer.Character.Torso:FindFirstChild("JUMP_PROP")
  7009. if v_h == nil then
  7010. v_h=Instance.new("BodyVelocity")
  7011. v_h.P=650
  7012. v_h.maxForce=Vector3.new(0,2800000,0)
  7013. v_h.velocity=Vector3.new(lastplayervel.x,55,lastplayervel.z)
  7014. v_h.Parent=vPlayer.Character.Torso
  7015. v_h.Name="JUMP_PROP"
  7016. else
  7017. v_h.P = 650
  7018. v_h.maxForce=Vector3.new(0,2800000,0)
  7019. v_h.velocity=Vector3.new(lastplayervel.x,75,lastplayervel.z)
  7020. end
  7021. local cpos = vPlayer.Character.Torso.CFrame*CFrame.new(0,-1,0)
  7022. local par, loc = game.Workspace:FindPartOnRay(Ray.new(cpos.p,Vector3.new(0,-8,0)),vPlayer.Character)
  7023. --vPlayer.Character.Humanoid.Jump = true
  7024. timejump = time()
  7025. bumped = false
  7026. canland = false
  7027. PlayerState = "Jumping"
  7028. CanInterrupt(true)
  7029. local ttimejump=time()
  7030. local rr = TrackFunction
  7031. DesiredMovespeed=19
  7032. while v_h.Parent~=nil and timejump == ttimejump and Stunned == false do
  7033. PlayerInAir=true
  7034. if time()-timejump>.4 then
  7035. canland=true
  7036. end
  7037. if (loc-cpos.p).magnitude<6 and canland==true or rawequal(rr,TrackFunction) == false then
  7038. break
  7039. end
  7040. local ss = game:GetService("RunService").Heartbeat:wait()
  7041. cpos=vPlayer.Character.Torso.CFrame*CFrame.new(0,.8,0)
  7042. par,loc=game.Workspace:FindPartOnRay(Ray.new(cpos.p,Vector3.new(0,-15,0)),vPlayer.Character)
  7043. if vPlayer.Character.HumanoidRootPart.Anchored==false then
  7044. v_h.velocity=v_h.velocity-Vector3.new(0,186.2*ss,0)
  7045. end
  7046. end
  7047. SetLegs(1)
  7048. if timejump ~= ttimejump or rawequal(rr, TrackFunction) == false then
  7049. return
  7050. end
  7051. if Stunned == false then
  7052. PlayerState = "Standing"
  7053. PlayerInAir = false
  7054.  
  7055. DesiredMovespeed = 19
  7056. vPlayer.Character.Humanoid.WalkSpeed = DesiredMovespeed
  7057. v_h:Remove()
  7058. CanInterrupt(true)
  7059. PlayerIsAttacking = false
  7060. Stand()
  7061. end
  7062. end
  7063. Jump_Cont = function()
  7064. lastplayervel = vPlayer.Character.Torso.Velocity
  7065. cpos = vPlayer.Character.Torso.CFrame * CFrame.new(0, 0.8, 0)
  7066. par, loc = game.Workspace:FindPartOnRay(Ray.new(cpos.p, Vector3.new(0, -15, 0)), vPlayer.Character)
  7067. if (loc - cpos.p).magnitude < 4 then
  7068. PlayerState = "Standing"
  7069. CanInterrupt(true)
  7070. return Stand()
  7071. end
  7072. if TrackFunction ~= nil then
  7073. TrackFunction:disconnect()
  7074. TrackFunction = nil
  7075. end
  7076. Hitstop = 0
  7077. local e = 0
  7078. local clastframe = lastframe
  7079. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  7080. if e <= 4 then
  7081. LerpWelds(clastframe, e / 4, Animations.Jump.Animation(0))
  7082. else
  7083. LerpWelds(clastframe, 1, Animations.Jump.Animation(0))
  7084. end
  7085. e = e + 1
  7086. end)
  7087. timejump = time()
  7088. bumped = false
  7089. canland = false
  7090. PlayerState = "Jumping"
  7091. CanInterrupt(true)
  7092. local ttimejump = time()
  7093. local rr = TrackFunction
  7094. v_h = vPlayer.Character.Torso:FindFirstChild("JUMP_PROP")
  7095. if v_h == nil then
  7096. v_h = Instance.new("BodyVelocity")
  7097. v_h.P = 650
  7098. v_h.maxForce = Vector3.new(0, 2800000, 0)
  7099. v_h.velocity = Vector3.new(lastplayervel.x, lastplayervel.y, lastplayervel.z)
  7100. v_h.Parent = vPlayer.Character.Torso
  7101. v_h.Name = "JUMP_PROP"
  7102. else
  7103. v_h.P = 650
  7104. v_h.maxForce = Vector3.new(0, 2800000, 0)
  7105. v_h.velocity = Vector3.new(lastplayervel.x, lastplayervel.y, lastplayervel.z)
  7106. end
  7107. local cpos = vPlayer.Character.Torso.CFrame * CFrame.new(0, -1, 0)
  7108. local par, loc = game.Workspace:FindPartOnRay(Ray.new(cpos.p, Vector3.new(0, -8, 0)), vPlayer.Character)
  7109. timejump = time()
  7110. bumped = false
  7111. canland = false
  7112. PlayerState = "Jumping"
  7113. CanInterrupt(true)
  7114. local ttimejump = time()
  7115. local rr = TrackFunction
  7116. DesiredMovespeed = 18
  7117. while v_h.Parent ~= nil and timejump == ttimejump do
  7118. PlayerInAir = true
  7119. if time() - timejump > 0.4 then
  7120. canland = true
  7121. end
  7122. if (loc - cpos.p).magnitude >= 6 or canland ~= true then
  7123. if rawequal(rr, TrackFunction) == false then
  7124. break
  7125. end
  7126. do
  7127. local ss = script.Heartbeat.Event:wait()
  7128. cpos = vPlayer.Character.Torso.CFrame * CFrame.new(0, 0.8, 0)
  7129. par = game.Workspace:FindPartOnRay(Ray.new(cpos.p, Vector3.new(0, -15, 0)), vPlayer.Character)
  7130. if vPlayer.Character.HumanoidRootPart.Anchored == false then
  7131. v_h.velocity = v_h.velocity - Vector3.new(0, 6.2066666666667, 0)
  7132. end
  7133. -- DECOMPILER ERROR at PC279: LeaveBlock: unexpected jumping out IF_THEN_STMT
  7134.  
  7135. -- DECOMPILER ERROR at PC279: LeaveBlock: unexpected jumping out IF_STMT
  7136.  
  7137. end
  7138. end
  7139. end
  7140. if timejump ~= ttimejump or rawequal(rr, TrackFunction) == false then
  7141. return
  7142. end
  7143. PlayerState = "Standing"
  7144. PlayerInAir = false
  7145. vPlayer.Character.Humanoid.WalkSpeed = DesiredMovespeed
  7146. v_h:Remove()
  7147. CanInterrupt(true)
  7148. PlayerIsAttacking = false
  7149. CanDoubleJump = true
  7150. TrackFunction:disconnect()
  7151. TrackFunction = nil
  7152. Walk()
  7153. end
  7154. Hitstop = 0
  7155. getWelds = function(c)
  7156. local c = game.Players.LocalPlayer.Character
  7157. repeat
  7158. repeat
  7159. wait()
  7160. until c.HumanoidRootPart:FindFirstChild("RootJoint") ~= nil
  7161. until c.Torso:FindFirstChild("Neck") ~= nil
  7162. local t = c.Torso
  7163. local hrp = c.HumanoidRootPart.RootJoint
  7164. RightShoulder = t:FindFirstChild("Right Shoulder")
  7165. LeftShoulder = t:FindFirstChild("Left Shoulder")
  7166. RightHip = t:FindFirstChild("Right Hip")
  7167. LeftHip = t:FindFirstChild("Left Hip")
  7168. RootJoint = hrp
  7169. Neck = t:FindFirstChild("Neck")
  7170. end
  7171. resetWelds = function(ext, occ)
  7172. local r = {RightShoulder, LeftShoulder, RightHip, LeftHip, RootJoint, Neck}
  7173. for _,v in pairs(r) do
  7174. for i = 1, #occ do
  7175. if occ[i] == v then
  7176. table.remove(r, _)
  7177. end
  7178. end
  7179. end
  7180. for _,v in pairs(r) do
  7181. if v.Name == "Right Shoulder" then
  7182. if ext == 1 then
  7183. v.DesiredAngle = 0
  7184. v.CurrentAngle = 0
  7185. else
  7186. if ext == 2 then
  7187. v.C0 = RightShoulderC0
  7188. v.C1 = RightShoulderC1
  7189. else
  7190. if ext == 3 then
  7191. v.DesiredAngle = 0
  7192. v.CurrentAngle = 0
  7193. v.C0 = RightShoulderC0
  7194. v.C1 = RightShoulderC1
  7195. end
  7196. end
  7197. end
  7198. else
  7199. if v.Name == "Left Shoulder" then
  7200. if ext == 1 then
  7201. v.DesiredAngle = 0
  7202. v.CurrentAngle = 0
  7203. else
  7204. if ext == 2 then
  7205. v.C0 = LeftShoulderC0
  7206. v.C1 = LeftShoulderC1
  7207. else
  7208. if ext == 3 then
  7209. v.DesiredAngle = 0
  7210. v.CurrentAngle = 0
  7211. v.C0 = LeftShoulderC0
  7212. v.C1 = LeftShoulderC1
  7213. end
  7214. end
  7215. end
  7216. else
  7217. if v.Name == "Right Hip" then
  7218. if ext == 1 then
  7219. v.DesiredAngle = 0
  7220. v.CurrentAngle = 0
  7221. else
  7222. if ext == 2 then
  7223. v.C0 = RightHipC0
  7224. v.C1 = RightHipC1
  7225. else
  7226. if ext == 3 then
  7227. v.DesiredAngle = 0
  7228. v.CurrentAngle = 0
  7229. v.C0 = RightHipC0
  7230. v.C1 = RightHipC1
  7231. end
  7232. end
  7233. end
  7234. else
  7235. if v.Name == "Left Hip" then
  7236. if ext == 1 then
  7237. v.DesiredAngle = 0
  7238. v.CurrentAngle = 0
  7239. else
  7240. if ext == 2 then
  7241. v.C0 = LeftHipC0
  7242. v.C1 = LeftHipC1
  7243. else
  7244. if ext == 3 then
  7245. v.DesiredAngle = 0
  7246. v.CurrentAngle = 0
  7247. v.C0 = LeftHipC0
  7248. v.C1 = LeftHipC1
  7249. end
  7250. end
  7251. end
  7252. else
  7253. if v.Name == "Neck" then
  7254. if ext == 1 then
  7255. v.DesiredAngle = 0
  7256. v.CurrentAngle = 0
  7257. else
  7258. if ext == 2 then
  7259. v.C0 = NeckC0
  7260. v.C1 = NeckC1
  7261. else
  7262. if ext == 3 then
  7263. v.DesiredAngle = 0
  7264. v.CurrentAngle = 0
  7265. v.C0 = NeckC0
  7266. v.C1 = NeckC1
  7267. end
  7268. end
  7269. end
  7270. else
  7271. if v.Name == "RootJoint" then
  7272. if ext == 1 then
  7273. v.DesiredAngle = 0
  7274. v.CurrentAngle = 0
  7275. else
  7276. if ext == 2 then
  7277. v.C0 = RootJointC0
  7278. v.C1 = RootJointC1
  7279. else
  7280. if ext == 3 then
  7281. v.DesiredAngle = 0
  7282. v.CurrentAngle = 0
  7283. v.C0 = RootJointC0
  7284. v.C1 = RootJointC1
  7285. end
  7286. end
  7287. end
  7288. else
  7289. end
  7290. end
  7291. end
  7292. end
  7293. end
  7294. end
  7295. if v.Name == "RightGrip" then
  7296. if ext ~= 1 or ext == 2 then
  7297. Grip.C0 = nGrip.C0
  7298. Grip.C1 = nGrip.C1
  7299. else
  7300. if ext == 3 then
  7301. Grip.C0 = nGrip.C0
  7302. Grip.C1 = nGrip.C1
  7303. end
  7304. end
  7305. end
  7306. end
  7307. end
  7308. setMotorParameters = function(Motor, DesiredAngle, CurrentAngle, MaxVelocity, C0, C1)
  7309. if C0 == nil then
  7310. C0 = Motor.C0
  7311. end
  7312. if C1 == nil then
  7313. C1 = Motor.C1
  7314. end
  7315. if DesiredAngle == nil then
  7316. DesiredAngle = Motor.DesiredAngle
  7317. end
  7318. if CurrentAngle == nil then
  7319. CurrentAngle = Motor.CurrentAngle
  7320. end
  7321. if MaxVelocity == nil then
  7322. MaxVelocity = Motor.MaxVelocity
  7323. end
  7324. Motor.C0 = C0
  7325. Motor.C1 = C1
  7326. Motor.DesiredAngle = DesiredAngle
  7327. Motor.CurrentAngle = CurrentAngle
  7328. Motor.MaxVelocity = MaxVelocity
  7329. end
  7330. PlayerIsAttacking = false
  7331. PlayerBeingAttacked = false
  7332. PlayerState = "Standing"
  7333. getCharacterState = function()
  7334. if Tool.Status.AnimCanBeInterrupted.Value == false or PlayerIsAttacking == true then
  7335. return
  7336. end
  7337. local CPlayer = game.Players.LocalPlayer.Character
  7338. local moveVelocity = CPlayer.HumanoidRootPart.Velocity.magnitude
  7339. if PlayerIsAttacking == false and PlayerState ~= "Jumping" then
  7340. if moveVelocity >= 5 then
  7341. PlayerState = "Moving"
  7342. if (StickPos > 3 or CurrentCameraState == "3D") and MovementPreference == "Walk" and CurrentAnimation ~= Animations.Walk and Tool.Status.AnimCanBeInterrupted.Value == true and PlayerState ~= "Jumping" then
  7343. Walk()
  7344. end
  7345. else
  7346. PlayerState = "Standing"
  7347. if (StickPos > 3 or CurrentCameraState == "3D") and CurrentAnimation ~= Animations.Stand and Tool.Status.AnimCanBeInterrupted.Value == true then
  7348. DesiredWalkspeed = 16 * playerstats.Movement.Value
  7349. Stand()
  7350. end
  7351. end
  7352. end
  7353. end
  7354. lastinput = time()
  7355. MovementPreference = "Walk"
  7356. playerDash = function()
  7357. end
  7358. NewInput = function(Key, atTick, Edge)
  7359. local new = {Input = Key, Tick = atTick, Edge = Edge, Age = 0}
  7360. table.insert(PlayerInputs, new)
  7361. end
  7362. FindInputStrings = function()
  7363. local curtime = tick()
  7364. local strunginputs = {}
  7365. for _,v in pairs(PlayerInputs) do
  7366. if curtime - v.Tick <= PlayerInputStringFrame then
  7367. table.insert(strunginputs, v)
  7368. end
  7369. end
  7370. table.sort(strunginputs, function(x, y)
  7371. if x.Tick < y.Tick then
  7372. return true
  7373. end
  7374. return false
  7375. end)
  7376. return strunginputs
  7377. end
  7378. MorphInputs = function(i)
  7379. i = string.upper(i)
  7380. if CurrentCameraState == "3D" then
  7381. i = string.gsub(i, "A", "")
  7382. i = string.gsub(i, "S", "<")
  7383. i = string.gsub(i, "D", "")
  7384. i = string.gsub(i, "W", ">")
  7385. else
  7386. if PlayerFacing == "Left" then
  7387. i = string.gsub(i, "A", "<")
  7388. i = string.gsub(i, "S", "v")
  7389. i = string.gsub(i, "D", ">")
  7390. i = string.gsub(i, "W", "^")
  7391. else
  7392. i = string.gsub(i, "A", ">")
  7393. i = string.gsub(i, "S", "v")
  7394. i = string.gsub(i, "D", "<")
  7395. i = string.gsub(i, "W", "^")
  7396. end
  7397. end
  7398. return i
  7399. end
  7400. CullPlayerInput = function()
  7401. local toremove = {}
  7402. for _,v in pairs(PlayerInputs) do
  7403. v.Age = v.Age + 1
  7404. if PlayerInputStringFrame + 0.05 < tick() - v.Tick or PlayerInputCullThreshold < _ then
  7405. table.remove(PlayerInputs, _)
  7406. end
  7407. end
  7408. table.sort(PlayerInputs, function(x, y)
  7409. if x.Tick < y.Tick then
  7410. return true
  7411. end
  7412. return false
  7413. end)
  7414. end
  7415. IgnoreEdge = function(st)
  7416. local str = string.gsub(st, ".%-", "")
  7417. str = string.gsub(str, "%+", "")
  7418. return str
  7419. end
  7420. LastDashInput = time()
  7421. CheckDeb = true
  7422. LastKeyCheck = ""
  7423. LastCheckTime = time()
  7424. lastnormal = ""
  7425. CheckNormals = function()
  7426. local KeyCheck = ""
  7427. if PlayerKeys.mouse ~= nil then
  7428. if Ragemode == false then
  7429. KeyCheck = "M"
  7430. else
  7431. KeyCheck = "R"
  7432. end
  7433. else
  7434. coroutine.resume(coroutine.create(function(p)
  7435. fwait(1)
  7436. if p == lastnormal then
  7437. lastnormal = ""
  7438. end
  7439. end), lastnormal)
  7440. end
  7441. local ee = ""
  7442. if PlayerKeys.z ~= nil then
  7443. KeyCheck = "Z"
  7444. end
  7445. if PlayerKeys.x ~= nil then
  7446. KeyCheck = "X"
  7447. end
  7448. if PlayerKeys.c ~= nil then
  7449. KeyCheck = "C"
  7450. end
  7451. if PlayerKeys.v ~= nil then
  7452. KeyCheck = "V"
  7453. end
  7454. if PlayerKeys.e ~= nil then
  7455. KeyCheck = "E"
  7456. end
  7457. KeyCheck = string.upper(KeyCheck)
  7458. if (KeyCheck == "M" or KeyCheck == "R") and InputNormals[lastnormal .. KeyCheck] ~= nil and CheckDeb == true and LastKeyCheck ~= lastnormal .. KeyCheck and Tool.Status.AnimCanBeInterrupted.Value == true and PlayerState ~= "Jumping" then
  7459. LastKeyCheck = lastnormal .. KeyCheck
  7460. LastCheckTime = time()
  7461. CurrentAnimation = "ATTACKING"
  7462. GetNubs()
  7463. BodyVel.velocity = Vector3.new()
  7464. InputNormals[lastnormal .. KeyCheck]()
  7465. end
  7466. if InputNormals[KeyCheck] ~= nil and CheckDeb == true and LastKeyCheck ~= KeyCheck and Tool.Status.AnimCanBeInterrupted.Value == true and PlayerState ~= "Jumping" then
  7467. LastKeyCheck = KeyCheck
  7468. LastCheckTime = time()
  7469. CurrentAnimation = "ATTACKING"
  7470. GetNubs()
  7471. BodyVel.velocity = Vector3.new()
  7472. InputNormals[KeyCheck]()
  7473. end
  7474. if time() - LastCheckTime > 0.23 then
  7475. LastKeyCheck = ""
  7476. end
  7477. end
  7478. timejump = time()
  7479. DetectInput = function()
  7480. if vPlayer.Character:FindFirstChild("Humanoid") then
  7481. if PlayerIsAttacking == false then
  7482. BodyGyro:Remove()
  7483. BodyVel:Remove()
  7484. vPlayer.Character.Humanoid.WalkSpeed = DesiredWalkspeed
  7485. else
  7486. vPlayer.Character.Humanoid.WalkSpeed = DesiredWalkspeed
  7487. end
  7488. end
  7489. CheckNormals()
  7490. end
  7491. rawKeyInput = function()
  7492. end
  7493. SetCombatKey = function(k)
  7494. PlayerCombatKeys[k] = true
  7495. coroutine.resume(coroutine.create(function(k)
  7496. for i = 1, 1000 do
  7497. fwait(0.01)
  7498. if PlayerCombatKeys[k] == nil then
  7499. break
  7500. end
  7501. end
  7502. do
  7503. PlayerCombatKeys[k] = nil
  7504. end
  7505. end), k)
  7506. end
  7507. getCharacterState = function()
  7508. if Tool.Status.AnimCanBeInterrupted.Value == false or PlayerIsAttacking == true then
  7509. return
  7510. end
  7511. local CPlayer = game.Players.LocalPlayer.Character
  7512. local moveVelocity = (Vector3.new(0, 0, 0) - CPlayer.HumanoidRootPart.Velocity).magnitude
  7513. if PlayerIsAttacking == false and PlayerState ~= "Jumping" then
  7514. if moveVelocity >= 5 then
  7515. PlayerState = "Moving"
  7516. if MovementPreference == "Walk" and CurrentAnimation ~= Animations.Walk and Tool.Status.AnimCanBeInterrupted.Value == true and PlayerState ~= "Jumping" then
  7517. Walk()
  7518. end
  7519. else
  7520. PlayerState = "Standing"
  7521. if PlayerIsAttacking == false and Tool.Status.AnimCanBeInterrupted.Value == true and CurrentAnimation ~= Animations.Stand and Tool.Status.AnimCanBeInterrupted.Value == true then
  7522. DesiredWalkspeed = 16 * playerstats.Movement.Value
  7523. Stand()
  7524. end
  7525. end
  7526. end
  7527. end
  7528. lastinput = time()
  7529. MovementPreference = "Walk"
  7530. AnimTable = {}
  7531. AnimIDDump = {}
  7532. LastHealth = 0
  7533. AnimOb = nil
  7534. Equipping = false
  7535. Unequipping = false
  7536. Equipped = false
  7537. onEquip = function(mouse)
  7538. if Equipping or Equipped then
  7539. print("NOPE")
  7540. return
  7541. end
  7542. print(Wep)
  7543. repeat
  7544. repeat
  7545. wait()
  7546. until Unequipping == false
  7547. until Wep ~= nil
  7548. PlayerAnimationScript = vPlayer.Character:FindFirstChild("Animate")
  7549. if PlayerAnimationScript ~= nil then
  7550. AnimTable = PlayerAnimationScript:children()
  7551. AnimOb = vPlayer.Character.Humanoid:FindFirstChild("Animator")
  7552. p = Instance.new("Animation")
  7553. p.AnimationId = "http://www.roblox.com/asset/?id=240475704"
  7554. if AnimOb then
  7555. local x = AnimOb:LoadAnimation(p)
  7556. x:Play()
  7557. fwait(0.06)
  7558. AnimOb.Parent = nil
  7559. end
  7560. end
  7561. PlayerAnimationScript.Parent = nil
  7562. do
  7563. getWelds(vPlayer.Character)
  7564. resetWelds(3, {})
  7565. lastframe = {Animations.Stand.Animation(0)}
  7566. Equipping = true
  7567. local cl = 0
  7568. RightHip.Part0 = vPlayer.Character.HumanoidRootPart
  7569. LeftHip.Part0 = vPlayer.Character.HumanoidRootPart
  7570. for i = 1, 7 do
  7571. wait()
  7572. LerpWelds({Animations.Equip.Animation(0)}, i / 7, Animations.Equip.Animation(1))
  7573. end
  7574. local s = Instance.new("Sound", vPlayer.Character.Torso)
  7575. s.Volume = 0.33
  7576. s.Pitch = 1.35
  7577. s.SoundId = "http://www.roblox.com/asset/?id=" .. "240428955"
  7578. s:Play()
  7579. game:GetService("Debris"):AddItem(s, 2)
  7580. vPlayer.Character.Humanoid.WalkSpeed = 0
  7581. for i = 1, 6 do
  7582. wait()
  7583. LerpWelds({Animations.Equip.Animation(1)}, i / 6, Animations.Equip.Animation(2))
  7584. end
  7585. for i = 1, 5 do
  7586. wait()
  7587. LerpWelds({Animations.Equip.Animation(2)}, i / 5, Animations.Equip.Animation(1))
  7588. end
  7589. for i = 1, 5 do
  7590. wait()
  7591. LerpWelds({Animations.Equip.Animation(1)}, i / 5, Animations.Equip.Animation(3))
  7592. end
  7593. for i = 1, 8 do
  7594. wait()
  7595. LerpWelds({Animations.Equip.Animation(3)}, i / 8, Animations.Equip.Animation(4))
  7596. end
  7597. for i = 1, 1 do
  7598. LerpWelds({Animations.Equip.Animation(4)}, i / 10, Animations.Equip.Animation(5))
  7599. Grip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0))
  7600. Grip.Part0 = vPlayer.Character["Right Arm"]
  7601. wait()
  7602. end
  7603. cl = 0
  7604. for i = 1, 10 do
  7605. cl = cl + i * 0.018
  7606. LerpWelds({Animations.Equip.Animation(5)}, cl, Animations.Stand.Animation(0))
  7607. wait()
  7608. end
  7609. Equipping = false
  7610. Equipped = true
  7611. DetectInput()
  7612. if Tool.Active then
  7613. CurrentAnimation = "Sus"
  7614. Stand()
  7615. LastHealth = vPlayer.Character.Humanoid.Health
  7616. chs = script.Heartbeat.Event:connect(function()
  7617. CullPlayerInput()
  7618. rawKeyInput()
  7619. if PlayerKeys[" "] ~= nil and PlayerCanJump() == true and PlayerState ~= "Jumping" then
  7620. Jump()
  7621. end
  7622. end)
  7623. chsCS = script.Heartbeat.Event:connect(function()
  7624. getCharacterState()
  7625. DetectInput()
  7626. end)
  7627. chsj = vPlayer.Character.Humanoid.Changed:connect(function(v)
  7628. if PlayerIsAttacking == true then
  7629. vPlayer.Character.Humanoid.Jump = false
  7630. end
  7631. end)
  7632. mouse.Button1Down:connect(function()
  7633. PlayerKeys.mouse = "8)"
  7634. end)
  7635. mouse.Button1Up:connect(function()
  7636. PlayerKeys.mouse = nil
  7637. end)
  7638. mouse.KeyDown:connect(function(key)
  7639. PlayerKeys[key] = true
  7640. NewInput(key, tick(), "+")
  7641. SetCombatKey(key)
  7642. end)
  7643. mouse.KeyUp:connect(function(key)
  7644. PlayerKeys[key] = nil
  7645. end)
  7646. end
  7647. end
  7648. end
  7649. Down = nil
  7650. onPutaway = function()
  7651. if Unequipping then
  7652. return
  7653. end
  7654. repeat
  7655. repeat
  7656. wait()
  7657. until Equipping == false
  7658. until PlayerIsAttacking == false
  7659. if TrackFunction then
  7660. TrackFunction:disconnect()
  7661. TrackFunction = nil
  7662. end
  7663. PlayerAnimationScript.Parent = vPlayer.Character
  7664. if PlayerAnimationScript ~= nil and AnimOb then
  7665. AnimOb.Parent = vPlayer.Character.Humanoid
  7666. end
  7667. if chs then
  7668. chs:disconnect()
  7669. chs = nil
  7670. chsj:disconnect()
  7671. chsj = nil
  7672. chsCS:disconnect()
  7673. chsCS = nil
  7674. end
  7675. BodyVel.Parent = nil
  7676. BodyGyro.Parent = nil
  7677. Unequipping = true
  7678. local cl = 0
  7679. RightHip.Part0 = vPlayer.Character.HumanoidRootPart
  7680. LeftHip.Part0 = vPlayer.Character.HumanoidRootPart
  7681. vPlayer.Character.Humanoid.WalkSpeed = 0
  7682. for i = 1, 8 do
  7683. cl = cl + i * 0.028
  7684. LerpWelds(lastframe, cl, Animations.Equip.Animation(4))
  7685. Grip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0))
  7686. wait()
  7687. end
  7688. print(cl, "dix")
  7689. for i = 1, 1 do
  7690. LerpWelds({Animations.Equip.Animation(4)}, 0, Animations.Equip.Animation(5))
  7691. Grip.C0 = GripUNC0
  7692. Grip.Part0 = vPlayer.Character.Torso
  7693. end
  7694. cl = 0
  7695. for i = 1, 6 do
  7696. cl = cl + i * 0.05
  7697. LerpWelds({Animations.Equip.Animation(5)}, cl, Animations.Equip.Animation(0))
  7698. Grip.C0 = GripUNC0
  7699. Grip.Part0 = vPlayer.Character.Torso
  7700. wait()
  7701. end
  7702. print(cl)
  7703. RightHip.Part0 = vPlayer.Character.Torso
  7704. LeftHip.Part0 = vPlayer.Character.Torso
  7705. if PlayerAnimationScript ~= nil then
  7706. PlayerAnimationScript.Disabled = false
  7707. end
  7708. resetWelds(3, {})
  7709. if vPlayer.Character:FindFirstChild("Armor") then
  7710. RootJoint.C0 = RootJointC0 * CFrame.new(0, 0, 0.2)
  7711. end
  7712. wait(0.1)
  7713. Unequipping = false
  7714. Equipped = false
  7715. end
  7716. Tool.Selected:connect(onEquip)
  7717. Tool.Deselected:connect(onPutaway)
  7718. Animations = {}
  7719. Animations.Stand = {Animation = function(fr)
  7720. local keyframe = {}
  7721. sresetWelds()
  7722. keyframe[0] = function()
  7723. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(66))
  7724. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.sin(time() * 2.2) / 49 + math.rad(4), 0, 0)
  7725. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(18) + math.sin(time() * 2.2) / 40, math.rad(-6) - math.sin(time() * 2.2) / 63, math.rad(-43))
  7726. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.1, -0.3, -0.1) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 2.2) / 30 - math.rad(30), -math.rad(25) - math.sin(time() * 2.2) / 20, math.rad(-10))
  7727. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.5, 0.1, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0) + math.abs(math.sin(time() * 2.2) / 10), math.rad(0))
  7728. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-40), math.rad(-110), math.rad(-10))
  7729. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.8, 0.2, -0.4) * CFrame.fromEulerAnglesXYZ(math.rad(-5), math.rad(38), -math.sin(time() * 2.2) / 49 / 2)
  7730. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.7, 0.2, -0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-5), math.rad(18), math.rad(2) - math.sin(time() * 2.2) / 49 / 2)
  7731. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-20), 0)
  7732. sGrip.C0 = GripC0 * CFrame.new(0.15, 0, -0.05) * CFrame.fromEulerAnglesXYZ(-math.abs(math.sin(time() * 2.2) / 40) - math.rad(10), math.rad(10), math.rad(-20))
  7733. end
  7734. keyframe[fr]()
  7735. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  7736. end,
  7737. Cancels = {"Everything"}
  7738. , Reference = "Stand"}
  7739. Animations.Walk = {Animation = function(fr)
  7740. local keyframe = {}
  7741. sresetWelds()
  7742. keyframe[0] = function()
  7743. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, math.abs(math.cos(time() * 9) * 0.08) - 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(55) + math.cos(time() * 9) / 80, 0, -math.rad(math.cos(time() * 9)))
  7744. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(25), 0, 0)
  7745. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  7746. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  7747. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.45, -0.3, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(80), math.rad(40) - math.cos(time() * 9) / 12)
  7748. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(5), -math.rad(30), math.rad(0))
  7749. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, -0.4, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(40), math.cos(time() * 9) / 10, math.cos(time() * 9) * 1.2 - math.rad(20))
  7750. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  7751. end
  7752. keyframe[fr]()
  7753. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  7754. end,
  7755. Cancels = {"Everything"}
  7756. , Reference = "Walk"}
  7757. Animations.Jump = {Animation = function(fr)
  7758. local keyframe = {}
  7759. sresetWelds()
  7760. keyframe[0] = function()
  7761. local vely = vPlayer.Character.Torso.Velocity.y * 1.25
  7762. if vely > 60 then
  7763. vely = 60
  7764. else
  7765. if vely < -60 then
  7766. vely = -60
  7767. end
  7768. end
  7769. local velx = Vector3.new(vPlayer.Character.Torso.Velocity.x, 0, vPlayer.Character.Torso.Velocity.z).magnitude
  7770. if velx > 10 then
  7771. velx = 10
  7772. end
  7773. local vely2 = 1
  7774. local vely3 = 0
  7775. if vely < 0 then
  7776. vely2 = 0
  7777. vely3 = 1
  7778. end
  7779. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.fromEulerAnglesXYZ(math.rad((15 + vely * vely3 / 1.1) * (velx / 10)), 0, math.rad((10 + vely * vely3 / 1.3) * (velx / 10)))
  7780. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(12 + vely / 2), -math.rad((4 + vely * vely3 / 2) * (velx / 20)), -math.rad((4 + vely * vely3 / 2) * (velx / 20)))
  7781. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.1, 0)
  7782. CFrame.fromEulerAnglesXYZ(-math.rad(4 - vely * vely3 / 12) - math.rad(vely * vely3 / 12 * (velx / 10)), -math.rad(1 - vely * vely3 / 4) - math.rad(vely * vely3 / 10 * (velx / 10)), math.rad(-vely / 2.6 * vely2) - math.rad(8) + math.rad(vely * vely3 / 3 * (velx / 10)))
  7783. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.1, 0) * CFrame.new(vely * vely3 * 0.005 * (velx / 10), 0, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(4 - vely * vely3 / 12) - math.rad(vely * vely3 / 10 * (velx / 10)), math.rad(1 - vely * vely3 / 4) + math.rad(vely * vely3 / 1.6 * (velx / 10)), math.rad(vely / 2.6 * vely2) + math.rad(12) + math.rad(vely * vely3 / 4.5 * (velx / 10)))
  7784. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + vely * vely3), -math.rad(vely * vely3 * 0.6), -math.rad(25) + math.rad(-vely * vely3))
  7785. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, -vely * 0.0055 * vely3, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-10 + vely * vely3 / 1.9), 0, math.rad(15) - math.rad(-vely * vely3 * 2.55))
  7786. end
  7787. keyframe[fr]()
  7788. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  7789. end,
  7790. Cancels = {"Everything"}
  7791. , Reference = "Jump"}
  7792. Animations.ZZ = {Animation = function(fr)
  7793. local keyframe = {}
  7794. sresetWelds()
  7795. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  7796. if ws > 1 then
  7797. ws = 1
  7798. end
  7799. if ws > 0.1 then
  7800. keyframe[0] = function()
  7801. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.04) * CFrame.Angles(math.rad(23), 0, math.rad(-18))
  7802. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  7803. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  7804. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7805. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  7806. if Ragemode == true then
  7807. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  7808. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  7809. else
  7810. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  7811. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  7812. end
  7813. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  7814. end
  7815. keyframe[1] = function()
  7816. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.08) * CFrame.Angles(math.rad(40), 0, math.rad(5))
  7817. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  7818. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  7819. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7820. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  7821. if Ragemode == true then
  7822. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  7823. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  7824. else
  7825. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  7826. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  7827. end
  7828. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  7829. end
  7830. keyframe[2] = function()
  7831. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.08) * CFrame.Angles(math.rad(47), 0, math.rad(16))
  7832. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(2), math.rad(-7))
  7833. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90))
  7834. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-120), math.rad(0))
  7835. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-50), math.rad(0), -math.rad(25))
  7836. if Ragemode == true then
  7837. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  7838. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  7839. else
  7840. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  7841. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  7842. end
  7843. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(1), math.rad(0))
  7844. end
  7845. keyframe[3] = function()
  7846. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  7847. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  7848. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  7849. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7850. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  7851. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7852. if Ragemode == true then
  7853. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  7854. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  7855. else
  7856. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  7857. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  7858. end
  7859. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  7860. end
  7861. else
  7862. keyframe[0] = function()
  7863. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.04) * CFrame.Angles(math.rad(23), 0, math.rad(-18))
  7864. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  7865. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  7866. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7867. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  7868. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7869. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7870. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  7871. end
  7872. keyframe[1] = function()
  7873. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.08) * CFrame.Angles(math.rad(40), 0, math.rad(5))
  7874. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  7875. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  7876. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7877. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  7878. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7879. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7880. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  7881. end
  7882. keyframe[2] = function()
  7883. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.08) * CFrame.Angles(math.rad(47), 0, math.rad(16))
  7884. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-8), math.rad(2), math.rad(-7))
  7885. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(90))
  7886. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-100), math.rad(0))
  7887. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-47), math.rad(22), math.rad(11.5))
  7888. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7889. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7890. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(1), math.rad(15))
  7891. end
  7892. keyframe[3] = function()
  7893. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  7894. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  7895. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  7896. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7897. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  7898. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7899. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7900. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7901. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  7902. end
  7903. end
  7904. keyframe[fr]()
  7905. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  7906. end,
  7907. Cancels = {"ZZZ", "Stand", "SummonPuddle"}
  7908. , Reference = "ZZ"}
  7909. Animations.ZZZ = {Animation = function(fr)
  7910. local keyframe = {}
  7911. sresetWelds()
  7912. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  7913. if ws > 1 then
  7914. ws = 1
  7915. end
  7916. if ws > 0.1 then
  7917. keyframe[0] = function()
  7918. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(40), 0, math.rad(25))
  7919. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-15))
  7920. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.6, -0.8) * CFrame.Angles(math.rad(-10), math.rad(60), math.rad(150))
  7921. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7922. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.5, -0.1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-180))
  7923. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7924. if Ragemode == true then
  7925. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  7926. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  7927. else
  7928. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  7929. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  7930. end
  7931. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  7932. end
  7933. keyframe[1] = function()
  7934. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.35) * CFrame.Angles(math.rad(50), 0, math.rad(-34))
  7935. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(15))
  7936. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-110), math.rad(90))
  7937. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7938. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.55, 0.4) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-130))
  7939. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7940. if Ragemode == true then
  7941. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  7942. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  7943. else
  7944. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  7945. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  7946. end
  7947. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(180))
  7948. end
  7949. else
  7950. keyframe[0] = function()
  7951. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(40), 0, math.rad(25))
  7952. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-15))
  7953. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.6, -0.8) * CFrame.Angles(math.rad(-10), math.rad(60), math.rad(150))
  7954. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7955. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.5, -0.1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-180))
  7956. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7957. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7958. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7959. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  7960. end
  7961. keyframe[1] = function()
  7962. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.35) * CFrame.Angles(math.rad(50), 0, math.rad(-34))
  7963. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(15))
  7964. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-110), math.rad(90))
  7965. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7966. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.55, 0.4) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-130))
  7967. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7968. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-19), math.rad(-15), math.rad(-50))
  7969. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0))
  7970. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(180))
  7971. end
  7972. end
  7973. keyframe[fr]()
  7974. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  7975. end,
  7976. Cancels = {"ZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  7977. , Reference = "ZZZ"}
  7978. Animations.ZZZZ = {Animation = function(fr)
  7979. local keyframe = {}
  7980. sresetWelds()
  7981. keyframe[0] = function()
  7982. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(50), 0, math.rad(-14))
  7983. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(15))
  7984. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-60), math.rad(80))
  7985. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7986. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.55, 0.4) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(-100))
  7987. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7988. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7989. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  7990. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.6, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7991. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(0))
  7992. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(40), math.rad(0), math.rad(180))
  7993. end
  7994. keyframe[2] = function()
  7995. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.15) * CFrame.Angles(math.rad(8), math.rad(-7), math.rad(-110))
  7996. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(4), math.rad(10), math.rad(70))
  7997. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(-20), math.rad(-20))
  7998. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  7999. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(-95))
  8000. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0))
  8001. sRightHip.C0 = sRightHip.C0 * CFrame.new(-1.2, 0.2, -0.9) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0))
  8002. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(120), 0)
  8003. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.55, 0.25, -0.7) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(0))
  8004. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(10), 0)
  8005. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(25), math.rad(0), math.rad(160))
  8006. end
  8007. keyframe[1] = function()
  8008. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.3) * CFrame.Angles(math.rad(8), math.rad(-7), math.rad(-68))
  8009. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(4), math.rad(10), math.rad(60))
  8010. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(-5))
  8011. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  8012. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.55, 0, 0.3) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(-95))
  8013. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0))
  8014. sRightHip.C0 = sRightHip.C0 * CFrame.new(-1.1, 0.25, -0.6) * CFrame.Angles(math.rad(5), math.rad(-8), math.rad(-15))
  8015. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(50), 0)
  8016. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.4, 0.2, -0.42) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0))
  8017. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), 0)
  8018. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(35), math.rad(0), math.rad(160))
  8019. end
  8020. keyframe[fr]()
  8021. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8022. end,
  8023. Cancels = {"ZZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  8024. , Reference = "ZZZZ"}
  8025. Animations.ZZZZZ = {Animation = function(fr)
  8026. local keyframe = {}
  8027. sresetWelds()
  8028. keyframe[0] = function()
  8029. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.3) * CFrame.Angles(math.rad(-18), math.rad(5), math.rad(-36))
  8030. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(20), math.rad(4), math.rad(12))
  8031. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), math.rad(-20), math.rad(167))
  8032. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-90))
  8033. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0))
  8034. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.22, 0) * CFrame.Angles(math.rad(-10), math.rad(-8), math.rad(-30))
  8035. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.2, 0.22, 0.05) * CFrame.Angles(math.rad(-6), math.rad(30), math.rad(14))
  8036. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8037. end
  8038. keyframe[1] = function()
  8039. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-26), math.rad(5), math.rad(-36))
  8040. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(25), math.rad(4), math.rad(12))
  8041. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), math.rad(-20), math.rad(197))
  8042. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-80))
  8043. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0))
  8044. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.27, 0) * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(-40))
  8045. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.2, 0.25, 0.05) * CFrame.Angles(math.rad(-6), math.rad(30), math.rad(30))
  8046. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(0), math.rad(0))
  8047. end
  8048. keyframe[2] = function()
  8049. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.16) * CFrame.Angles(math.rad(21), 0, math.rad(23))
  8050. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(4), math.rad(-12))
  8051. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, 0, -0.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(119))
  8052. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(40))
  8053. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.4, 0.2, -0.1) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(-12.5))
  8054. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.6, -0.1, -0.1) * CFrame.Angles(math.rad(-2), math.rad(16), math.rad(45))
  8055. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(-8), math.rad(0))
  8056. end
  8057. keyframe[fr]()
  8058. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8059. end,
  8060. Cancels = {"ZZZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  8061. , Reference = "ZZZZZ"}
  8062. Animations.ZZZZZZ = {Animation = function(fr)
  8063. local keyframe = {}
  8064. sresetWelds()
  8065. keyframe[0] = function()
  8066. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-48), 0, math.rad(30))
  8067. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(26), math.rad(6), math.rad(-20))
  8068. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(174))
  8069. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(-50), math.rad(-66))
  8070. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.9, 0.175, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-22))
  8071. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.9, 0.35, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-101))
  8072. sLeftHip.C1 = sLeftHip.C1 * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0))
  8073. sGrip.C0 = GripC0 * CFrame.new(0, -0.1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(-3), math.rad(180))
  8074. end
  8075. keyframe[fr]()
  8076. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8077. end,
  8078. Cancels = {"ZZZZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  8079. , Reference = "ZZZZZZ"}
  8080. Animations.ZZZZZZZ = {Animation = function(fr)
  8081. local keyframe = {}
  8082. sresetWelds()
  8083. keyframe[0] = function()
  8084. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.9) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0))
  8085. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10))
  8086. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, -0.25, -0.2) * CFrame.Angles(math.rad(-15), math.rad(15), math.rad(79))
  8087. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-36), math.rad(0), math.rad(50))
  8088. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.4, 1.475, -0.4) * CFrame.Angles(math.rad(-17), math.rad(17), math.rad(48))
  8089. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(17), math.rad(0))
  8090. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1, -0.35, 0.35) * CFrame.Angles(-math.rad(20), -math.rad(20), -math.rad(180))
  8091. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(32), math.rad(0), math.rad(180))
  8092. end
  8093. keyframe[fr]()
  8094. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8095. end,
  8096. Cancels = {"Everything"}
  8097. , Reference = "ZZZZZZZ"}
  8098. Animations.ZZZZZZZ = {Animation = function(fr)
  8099. local keyframe = {}
  8100. sresetWelds()
  8101. keyframe[0] = function()
  8102. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.9) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0))
  8103. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10))
  8104. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, -0.25, -0.2) * CFrame.Angles(math.rad(-15), math.rad(15), math.rad(79))
  8105. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-36), math.rad(0), math.rad(50))
  8106. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.5, -1.45, -0.2) * CFrame.Angles(math.rad(-7), math.rad(7), math.rad(-89))
  8107. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8108. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.45, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0))
  8109. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(32), math.rad(0), math.rad(180))
  8110. end
  8111. keyframe[fr]()
  8112. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8113. end,
  8114. Cancels = {"Everything"}
  8115. , Reference = "ZZZZZZZ"}
  8116. Animations.PuddleTrigger = {Animation = function(fr)
  8117. local keyframe = {}
  8118. sresetWelds()
  8119. keyframe[0] = function()
  8120. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(31))
  8121. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2), 0, math.rad(-10))
  8122. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(18), math.rad(-6), math.rad(-43))
  8123. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.1, -0.3, -0.1) * CFrame.fromEulerAnglesXYZ(-math.rad(18), -math.rad(20), math.rad(-20))
  8124. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.15, 0.2, 0.05) * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-170))
  8125. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-20), math.rad(-5))
  8126. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-7), -math.rad(18), math.rad(-1))
  8127. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-18), math.rad(0))
  8128. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.15, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(18), math.rad(1))
  8129. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(10), math.rad(0))
  8130. sGrip.C0 = GripC0 * CFrame.new(0.15, 0, -0.05) * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(10), math.rad(-10))
  8131. end
  8132. keyframe[1] = function()
  8133. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(31))
  8134. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2), 0, math.rad(-10))
  8135. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(19), math.rad(-8), math.rad(-40))
  8136. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.1, -0.3, -0.1) * CFrame.fromEulerAnglesXYZ(-math.rad(18), -math.rad(20), math.rad(-18))
  8137. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.55, 0) * CFrame.fromEulerAnglesXYZ(math.rad(46), 0, math.rad(-180))
  8138. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(20), math.rad(0))
  8139. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-7), -math.rad(18), math.rad(-1))
  8140. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-19), math.rad(0))
  8141. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.15, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(18), math.rad(1))
  8142. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(11), math.rad(0))
  8143. sGrip.C0 = GripC0 * CFrame.new(0.15, 0, -0.05) * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(10), math.rad(-10))
  8144. end
  8145. keyframe[fr]()
  8146. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8147. end,
  8148. Cancels = {"Everything"}
  8149. , Reference = "PuddleTrigger"}
  8150. Animations.ShatterCannon = {Animation = function(fr)
  8151. local keyframe = {}
  8152. sresetWelds()
  8153. keyframe[0] = function()
  8154. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  8155. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  8156. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  8157. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8158. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  8159. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8160. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8161. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8162. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(180))
  8163. end
  8164. keyframe[1] = function()
  8165. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(-19), math.rad(0), math.rad(-95))
  8166. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(15), math.rad(90))
  8167. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-46), math.rad(85))
  8168. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8169. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.7, 0.4) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(-70))
  8170. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0))
  8171. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.5, 0.2, -0.8) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8172. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(12), math.rad(7), math.rad(0))
  8173. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.3, 0.2, -1) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8174. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(7), math.rad(0))
  8175. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-43), math.rad(0), math.rad(180))
  8176. end
  8177. keyframe[2] = function()
  8178. resetWelds(3, {})
  8179. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(48), math.rad(16), math.rad(30))
  8180. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(7), math.rad(-10))
  8181. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.15, 0.2, 0.3) * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(125))
  8182. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(-90), math.rad(0))
  8183. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.2, -0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(20), math.rad(40))
  8184. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8185. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8186. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90), math.rad(90))
  8187. end
  8188. keyframe[fr]()
  8189. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8190. end,
  8191. Cancels = {"Everything"}
  8192. , Reference = "ShatterCannon"}
  8193. Animations.BlackSpace = {Animation = function(fr)
  8194. local keyframe = {}
  8195. sresetWelds()
  8196. keyframe[0] = function()
  8197. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.3) * CFrame.Angles(math.rad(20), 0, math.rad(80))
  8198. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-45))
  8199. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.7, -0.8) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(85))
  8200. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8201. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.5, -0.1) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-95))
  8202. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8203. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.8, 0.2, -0.9) * CFrame.Angles(math.rad(0), math.rad(-200), math.rad(-10))
  8204. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  8205. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(1.1, 0.225, -1.2) * CFrame.Angles(math.rad(10), math.rad(140), math.rad(-5))
  8206. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  8207. end
  8208. keyframe[1] = function()
  8209. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0.8, 0.3) * CFrame.Angles(math.rad(-24), 0, math.rad(-60))
  8210. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(15), math.rad(0), math.rad(45))
  8211. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.8, -0.7, -0.1) * CFrame.Angles(math.rad(0), math.rad(72), math.rad(72))
  8212. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-88), math.rad(0))
  8213. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.45, -0.7, 0.2) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(-63))
  8214. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0))
  8215. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.5, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15))
  8216. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(5))
  8217. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  8218. end
  8219. keyframe[fr]()
  8220. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8221. end,
  8222. Cancels = {"Everything"}
  8223. , Reference = "BlackSpace"}
  8224. Animations.Stand2 = {Animation = function(fr)
  8225. local keyframe = {}
  8226. sresetWelds()
  8227. keyframe[0] = function()
  8228. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, math.sin(time() * 2) / 40 - 0.72, -0.3) * CFrame.fromEulerAnglesXYZ(math.rad(52.5), 0, math.rad(-35))
  8229. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.sin(time() * 2) / 24, 0, 0)
  8230. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(-math.rad(10) + math.sin(time() * 2) / 40, -math.rad(4), math.rad(20))
  8231. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.45, -0.4, 0.1) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 2) / 30 - math.rad(40), math.rad(-70) - math.sin(time() * 2) / 20, math.rad(0))
  8232. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.2, -0.2) * CFrame.fromEulerAnglesXYZ(math.rad(-15), math.rad(35), math.rad(-150) + math.sin(time() * 2) / 8)
  8233. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, -0.15, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-80), math.rad(0))
  8234. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.75 + math.sin(time() * 2) / 30, 0.225, -0.1 + math.sin(time() * 2) / 50) * CFrame.fromEulerAnglesXYZ(math.rad(-6), -math.rad(18) + math.sin(time() * 2) / 20, -math.rad(8))
  8235. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.15, -0.3, -0.2 + math.sin(time() * 2) / 30) * CFrame.fromEulerAnglesXYZ(math.rad(-16), math.sin(time() * 2) / 60, math.rad(60) + math.sin(time() * 2) / 60)
  8236. sGrip.C0 = GripC0 * CFrame.new(0.05, 0, -0.05) * CFrame.fromEulerAnglesXYZ(-math.abs(math.sin(time() * 2) / 40) + math.rad(-5), math.rad(0), math.rad(0))
  8237. end
  8238. keyframe[fr]()
  8239. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8240. end,
  8241. Cancels = {"Everything"}
  8242. , Reference = "Stand2"}
  8243. Animations.Walk2 = {Animation = function(fr)
  8244. local keyframe = {}
  8245. sresetWelds()
  8246. keyframe[0] = function()
  8247. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, math.abs(math.cos(time() * 10) * 0.08) - 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(65) + math.cos(time() * 10) / 80, 0, -math.rad(math.cos(time() * 10)) - math.rad(10))
  8248. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(30), math.rad(1), math.rad(9))
  8249. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  8250. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  8251. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.6, -0.3, 0) * CFrame.fromEulerAnglesXYZ(math.cos(time() * 10) / 12, math.rad(-90), math.rad(50))
  8252. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(30), math.rad(0))
  8253. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-1.2 + math.cos(time() * 10) / 60, 0.4, 0.2) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(70), -math.rad(180))
  8254. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(-10) + math.cos(time() * 10) / 30, math.rad(0), math.rad(-20) + math.cos(time() * 10) / 30)
  8255. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  8256. end
  8257. keyframe[fr]()
  8258. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8259. end,
  8260. Cancels = {"Everything"}
  8261. , Reference = "Walk2"}
  8262. Animations.ZZ2 = {Animation = function(fr)
  8263. local keyframe = {}
  8264. sresetWelds()
  8265. keyframe[0] = function()
  8266. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.14) * CFrame.Angles(math.rad(21), 0, math.rad(23))
  8267. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(4), math.rad(-12))
  8268. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, 0, -0.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(119))
  8269. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(40))
  8270. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.15, 0) * CFrame.Angles(math.rad(-10), math.rad(-8), math.rad(-30))
  8271. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(16), math.rad(6))
  8272. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(-8), math.rad(0))
  8273. end
  8274. keyframe[1] = function()
  8275. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-59))
  8276. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(19), math.rad(7), math.rad(28))
  8277. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 1) * CFrame.Angles(math.rad(-40), math.rad(50), math.rad(110))
  8278. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0))
  8279. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.35, -0.1, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-70))
  8280. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.4, 0.2, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-33), math.rad(-22))
  8281. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-4))
  8282. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8283. end
  8284. keyframe[2] = function()
  8285. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(36), math.rad(0), math.rad(50))
  8286. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(7), math.rad(7), math.rad(-20))
  8287. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, 0.1, 0.4) * CFrame.Angles(math.rad(16), math.rad(-25), math.rad(135))
  8288. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-112), math.rad(0))
  8289. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.2, -0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(20), math.rad(40))
  8290. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-10))
  8291. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.5, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(7), math.rad(50))
  8292. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8293. end
  8294. keyframe[fr]()
  8295. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8296. end,
  8297. Cancels = {"Everything"}
  8298. , Reference = "ZZ2"}
  8299. Animations.Z2 = {Animation = function(fr)
  8300. local keyframe = {}
  8301. sresetWelds()
  8302. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  8303. if ws > 1 then
  8304. ws = 1
  8305. end
  8306. if ws > 0.1 then
  8307. keyframe[0] = function()
  8308. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, math.abs(math.cos(time() * 10) * 0.08) - 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(65) + math.cos(time() * 10) / 80, 0, -math.rad(math.cos(time() * 10)) - math.rad(10))
  8309. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(1), math.rad(-4))
  8310. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  8311. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  8312. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.6, -0.3, 0) * CFrame.fromEulerAnglesXYZ(math.cos(time() * 10) / 12, math.rad(-90), math.rad(50))
  8313. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(30), math.rad(0))
  8314. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.6 + math.cos(time() * 10) / 60, 0.5, 0.2) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), -math.rad(180))
  8315. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(-10) + math.cos(time() * 10) / 60, math.rad(90), math.rad(-20) + math.cos(time() * 10) / 60)
  8316. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  8317. end
  8318. else
  8319. keyframe[0] = function()
  8320. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, math.abs(math.cos(time() * 10) * 0.08) - 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(65) + math.cos(time() * 10) / 80, 0, -math.rad(math.cos(time() * 10)) - math.rad(10))
  8321. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(1), math.rad(-4))
  8322. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8323. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8324. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.6, -0.3, 0) * CFrame.fromEulerAnglesXYZ(math.cos(time() * 10) / 12, math.rad(-90), math.rad(50))
  8325. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(30), math.rad(0))
  8326. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.6 + math.cos(time() * 10) / 60, 0.5, 0.2) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), -math.rad(180))
  8327. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(-10) + math.cos(time() * 10) / 60, math.rad(90), math.rad(-20) + math.cos(time() * 10) / 60)
  8328. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  8329. end
  8330. end
  8331. keyframe[fr]()
  8332. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8333. end,
  8334. Cancels = {"Everything"}
  8335. , Reference = "Z2"}
  8336. Animations.SoulExEnd = {Animation = function(fr)
  8337. local keyframe = {}
  8338. sresetWelds()
  8339. keyframe[0] = function()
  8340. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.72, -0.6) * CFrame.fromEulerAnglesXYZ(math.rad(55), 0, math.rad(-5))
  8341. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(4), math.rad(15))
  8342. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.4, -0.2, -0.2) * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(-20), math.rad(40))
  8343. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.15, -0.1, -0.85) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(35), math.rad(-145))
  8344. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, -0.15, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90), math.rad(0))
  8345. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.75, 0.2, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(6), math.rad(1))
  8346. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.35, -0.15, -0.2) * CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, math.rad(50))
  8347. sGrip.C0 = GripC0 * CFrame.new(0.05, 0, -0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-10), math.rad(0), math.rad(0))
  8348. end
  8349. keyframe[fr]()
  8350. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8351. end,
  8352. Cancels = {"Everything"}
  8353. , Reference = "SoulExEnd"}
  8354. Animations.SoulExStart = {Animation = function(fr)
  8355. local keyframe = {}
  8356. sresetWelds()
  8357. keyframe[0] = function()
  8358. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.15) * CFrame.Angles(math.rad(8), math.rad(-7), math.rad(-40))
  8359. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(10), math.rad(40))
  8360. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(20), math.rad(20))
  8361. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  8362. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.5, -0.1, 0.2) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-90))
  8363. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0))
  8364. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.8, 0.2, -0.2) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-5))
  8365. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(60), 0)
  8366. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.4, 0.25, -0.2) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0))
  8367. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(20), 0)
  8368. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(25), math.rad(0), math.rad(0))
  8369. end
  8370. keyframe[1] = function()
  8371. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.72, -0.4) * CFrame.fromEulerAnglesXYZ(math.rad(55), 0, math.rad(-5))
  8372. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(-math.rad(20), -math.rad(4), math.rad(15))
  8373. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.2, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(70), math.rad(10), math.rad(20))
  8374. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.1, -0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  8375. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, -0.15, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-30), math.rad(-40))
  8376. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.75, 0.2, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(6), math.rad(1))
  8377. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.35, -0.15, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, math.rad(50))
  8378. sGrip.C0 = GripC0 * CFrame.new(0.05, 0, -0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-10), math.rad(0), math.rad(0))
  8379. end
  8380. keyframe[fr]()
  8381. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8382. end,
  8383. Cancels = {"Everything"}
  8384. , Reference = "SoulExStart"}
  8385. Animations.ZZ3 = {Animation = function(fr)
  8386. local keyframe = {}
  8387. sresetWelds()
  8388. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  8389. if ws > 1 then
  8390. ws = 1
  8391. end
  8392. if ws > 0.1 then
  8393. keyframe[0] = function()
  8394. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(43), 0, math.rad(-18))
  8395. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  8396. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  8397. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8398. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  8399. if Ragemode == true then
  8400. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  8401. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  8402. else
  8403. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  8404. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  8405. end
  8406. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  8407. end
  8408. keyframe[1] = function()
  8409. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(50), 0, math.rad(5))
  8410. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  8411. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  8412. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8413. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  8414. if Ragemode == true then
  8415. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  8416. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  8417. else
  8418. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  8419. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  8420. end
  8421. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  8422. end
  8423. keyframe[2] = function()
  8424. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.02) * CFrame.Angles(math.rad(57), 0, math.rad(16))
  8425. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(2), math.rad(-7))
  8426. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(30), math.rad(40), math.rad(90))
  8427. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-140), math.rad(0))
  8428. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-50), math.rad(0), -math.rad(25))
  8429. if Ragemode == true then
  8430. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  8431. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  8432. else
  8433. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  8434. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  8435. end
  8436. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-60), math.rad(0), math.rad(0))
  8437. end
  8438. keyframe[3] = function()
  8439. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.04) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  8440. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  8441. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-10), math.rad(70), math.rad(140))
  8442. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8443. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  8444. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8445. if Ragemode == true then
  8446. sRightHip.C0 = RightHipC0 * CFrame.new(-0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 - math.rad(28))
  8447. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.75, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 10) / 50, -math.cos(time() * 10) * 1.1 + math.rad(28))
  8448. else
  8449. sRightHip.C0 = RightHipC0 * CFrame.new(-0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 - math.rad(18))
  8450. sLeftHip.C0 = LeftHipC0 * CFrame.new(0.65, 0, 0) * CFrame.fromEulerAnglesXYZ(0 - math.rad(2), math.cos(time() * 9) / 50, -math.cos(time() * 9) * 1.1 + math.rad(18))
  8451. end
  8452. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  8453. end
  8454. else
  8455. keyframe[0] = function()
  8456. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.04) * CFrame.Angles(math.rad(23), 0, math.rad(-18))
  8457. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  8458. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  8459. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8460. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  8461. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8462. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8463. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  8464. end
  8465. keyframe[1] = function()
  8466. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.08) * CFrame.Angles(math.rad(40), 0, math.rad(5))
  8467. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  8468. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  8469. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8470. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  8471. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8472. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8473. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  8474. end
  8475. keyframe[2] = function()
  8476. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.08) * CFrame.Angles(math.rad(47), 0, math.rad(16))
  8477. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-8), math.rad(2), math.rad(-7))
  8478. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(90))
  8479. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-100), math.rad(0))
  8480. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-47), math.rad(22), math.rad(11.5))
  8481. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8482. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8483. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(1), math.rad(15))
  8484. end
  8485. keyframe[3] = function()
  8486. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  8487. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  8488. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  8489. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8490. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  8491. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8492. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8493. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8494. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  8495. end
  8496. end
  8497. keyframe[fr]()
  8498. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8499. end,
  8500. Cancels = {"ZZZ", "Stand", "SummonPuddle"}
  8501. , Reference = "ZZ3"}
  8502. Animations.WeaponBounce = {Animation = function(fr)
  8503. local keyframe = {}
  8504. sresetWelds()
  8505. keyframe[0] = function()
  8506. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-15), 0, math.rad(20))
  8507. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(14), math.rad(0), math.rad(-10))
  8508. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.2, -0.5, 0.2) * CFrame.Angles(math.rad(0), math.rad(-130), math.rad(90))
  8509. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0))
  8510. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.15, -0.55, 0.1) * CFrame.Angles(math.rad(-70), math.rad(-40), math.rad(-10))
  8511. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8512. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.5, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8513. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.18, 0.25, -0.15) * CFrame.Angles(math.rad(-15), math.rad(5), math.rad(30))
  8514. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(50), math.rad(0), math.rad(180))
  8515. end
  8516. keyframe[fr]()
  8517. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8518. end,
  8519. Cancels = {"WeaponBounce"}
  8520. , Reference = "WeaponBounce"}
  8521. Animations.LHB = {Animation = function(fr)
  8522. local keyframe = {}
  8523. sresetWelds()
  8524. keyframe[0] = function()
  8525. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-59))
  8526. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(19), math.rad(7), math.rad(28))
  8527. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 1) * CFrame.Angles(math.rad(-40), math.rad(50), math.rad(110))
  8528. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0))
  8529. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.35, -0.1, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-70))
  8530. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.4, 0.2, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-33), math.rad(-22))
  8531. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-4))
  8532. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8533. end
  8534. keyframe[1] = function()
  8535. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.6, -0.65) * CFrame.Angles(math.rad(60), 0, math.rad(40))
  8536. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-28))
  8537. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, -0.25, 0.75) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(68))
  8538. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(-0.8, 0.1, 0.3) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8539. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.4, 0, 0.4) * CFrame.Angles(math.rad(-80), math.rad(30), math.rad(20))
  8540. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8541. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.15, -0.3) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(-2))
  8542. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.35, -0.35, 0) * CFrame.Angles(math.rad(-5), math.rad(5), math.rad(54))
  8543. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(80), math.rad(0))
  8544. end
  8545. keyframe[2] = function()
  8546. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-15), 0, math.rad(70))
  8547. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(15), math.rad(-15), math.rad(-45))
  8548. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.3, -0.55, 0.25) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(50))
  8549. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8550. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.25, 0.1) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(-90))
  8551. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8552. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.175, -0.3) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-6))
  8553. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0))
  8554. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.3, 0.1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(34))
  8555. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0))
  8556. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8557. end
  8558. keyframe[3] = function()
  8559. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.4, -0.2) * CFrame.Angles(math.rad(45), 0, math.rad(-20))
  8560. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(15))
  8561. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.1, -0.3, 0.1) * CFrame.Angles(math.rad(-55), math.rad(0), math.rad(-20))
  8562. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8563. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.9, 0.2, 0.15) * CFrame.Angles(math.rad(-4), math.rad(17), math.rad(-135))
  8564. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  8565. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.175, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-12))
  8566. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0))
  8567. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.4, -0.05, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(54))
  8568. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0))
  8569. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8570. end
  8571. keyframe[4] = function()
  8572. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.4, 0.15) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(35))
  8573. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(20), 0, math.rad(-25))
  8574. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, 0, 0.1) * CFrame.Angles(-math.rad(20), 0, math.rad(-41))
  8575. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.Angles(-math.rad(0), math.rad(0), math.rad(0))
  8576. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.05, 0.05, -0.04) * CFrame.Angles(-math.rad(30), math.rad(18), math.rad(-95))
  8577. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.Angles(math.rad(0), math.rad(-10), 0)
  8578. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.3, 0.2, -0.15) * CFrame.Angles(math.rad(-5), math.rad(-10), math.rad(2))
  8579. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0))
  8580. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.4, 0.2, -0.1) * CFrame.Angles(math.rad(-6), math.rad(-8), math.rad(40))
  8581. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(0))
  8582. end
  8583. keyframe[5] = function()
  8584. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0.3, 0, 0.12) * CFrame.Angles(math.rad(-8), math.rad(10.5), math.rad(-97))
  8585. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(0), 0, math.rad(70))
  8586. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.05, -0.2, -0.1) * CFrame.Angles(math.rad(-20), 0, math.rad(-37))
  8587. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.Angles(-math.rad(0), math.rad(60), math.rad(0))
  8588. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.5, 0.26, 0.3) * CFrame.Angles(math.rad(-120), math.rad(0), math.rad(-4))
  8589. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.Angles(math.rad(-4), math.rad(-90), 0)
  8590. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.75, 0.2, -1.4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10))
  8591. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(130), math.rad(0))
  8592. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.7, 0.16, -0.7) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-8))
  8593. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  8594. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0))
  8595. end
  8596. keyframe[6] = function()
  8597. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.25) * CFrame.Angles(math.rad(18), math.rad(-8), math.rad(20))
  8598. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(-3), math.rad(-20))
  8599. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, 0, 0.1) * CFrame.Angles(-math.rad(55), 0, math.rad(30))
  8600. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.Angles(-math.rad(0), math.rad(65), math.rad(0))
  8601. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.3, 0.1, 0.2) * CFrame.Angles(math.rad(-105), math.rad(0), math.rad(-16))
  8602. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.Angles(math.rad(-4), math.rad(-65), 0)
  8603. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.1, 0, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35))
  8604. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8605. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.2, 0.16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15))
  8606. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8607. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0))
  8608. end
  8609. keyframe[fr]()
  8610. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8611. end,
  8612. Cancels = {"Stand"}
  8613. , Reference = "LHB"}
  8614. Animations.Antisleep = {Animation = function(fr)
  8615. local keyframe = {}
  8616. sresetWelds()
  8617. keyframe[0] = function()
  8618. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.25) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(-40))
  8619. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(35), math.rad(7), math.rad(28))
  8620. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0))
  8621. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8622. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.35, -0.15, -0.1) * CFrame.Angles(math.rad(-20), math.rad(30), math.rad(-60))
  8623. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-33), math.rad(-10))
  8624. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.25, 2.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-10))
  8625. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8626. end
  8627. keyframe[1] = function()
  8628. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -1, 0.3) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-70))
  8629. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(25), math.rad(7), math.rad(40))
  8630. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(-10))
  8631. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8632. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.2, -0.35, -0.1) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(20))
  8633. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-50), math.rad(-10))
  8634. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.6, 0.15, -0.5) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-5))
  8635. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(-2), math.rad(0))
  8636. end
  8637. keyframe[2] = function()
  8638. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -0.75, 0.2) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0))
  8639. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0))
  8640. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(80))
  8641. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8642. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.2, -0.35, -0.1) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(30))
  8643. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80))
  8644. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.5, 0.15, -0.3) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-15))
  8645. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8646. end
  8647. keyframe[3] = function()
  8648. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -1.5, 0.3) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20))
  8649. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-8))
  8650. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(-50))
  8651. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8652. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.2, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60))
  8653. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0))
  8654. sRightHip.C0 = sRightHip.C0 * CFrame.new(2.225, 0.25, -0.2) * CFrame.Angles(math.rad(0), math.rad(12), math.rad(95))
  8655. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.75, 0.15, -0.3) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(22))
  8656. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8657. end
  8658. keyframe[5] = function()
  8659. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -1.2, 0.3) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-70))
  8660. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(20), math.rad(7), math.rad(40))
  8661. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(5))
  8662. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8663. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.05, -0.35, -0.1) * CFrame.Angles(math.rad(-40), math.rad(10), math.rad(10))
  8664. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-50), math.rad(-10))
  8665. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.6, 0.15, -0.5) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-5))
  8666. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(-2), math.rad(0))
  8667. end
  8668. keyframe[fr]()
  8669. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8670. end,
  8671. Cancels = {"Stand"}
  8672. , Reference = "Antisleep"}
  8673. Animations.Stunned = {Animation = function(fr)
  8674. local keyframe = {}
  8675. sresetWelds()
  8676. keyframe[0] = function()
  8677. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.5) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  8678. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8679. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0))
  8680. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0.1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  8681. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.45, -0.25, 0.15) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0))
  8682. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0))
  8683. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(7), math.rad(0), math.rad(0))
  8684. sRightHip.C1 = sRightHip.C1 * CFrame.new(-0.4, 1, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(-90))
  8685. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(10))
  8686. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0.75, 0.33, 0.2) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(90))
  8687. sGrip.C0 = GripC0 * CFrame.new(-0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(15), math.rad(0))
  8688. end
  8689. keyframe[fr]()
  8690. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8691. end,
  8692. Cancels = {"Stand"}
  8693. , Reference = "Stunned"}
  8694. Animations.Staggered = {Animation = function(fr)
  8695. local keyframe = {}
  8696. sresetWelds()
  8697. keyframe[0] = function()
  8698. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -1.7) * CFrame.Angles(math.rad(-40), math.rad(10), math.rad(0))
  8699. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8700. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0.05) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0))
  8701. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.25, -0.05, -0.25) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-40))
  8702. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0.1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8703. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.15, -0.325, -0.25) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(35))
  8704. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8705. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.35, -1.5, 0) * CFrame.Angles(math.rad(7), math.rad(0), math.rad(-2))
  8706. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(-90))
  8707. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.9, -0.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-25))
  8708. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0))
  8709. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2.5), math.rad(5), math.rad(0))
  8710. end
  8711. keyframe[fr]()
  8712. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8713. end,
  8714. Cancels = {"Stand"}
  8715. , Reference = "Staggered"}
  8716. Animations.Equip = {Animation = function(fr)
  8717. local keyframe = {}
  8718. sresetWelds()
  8719. keyframe[0] = function()
  8720. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.1, 0.2) * CFrame.Angles(math.rad(6), math.rad(0), math.rad(0))
  8721. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8722. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8723. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0))
  8724. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8725. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0))
  8726. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8727. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(0))
  8728. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8729. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(0))
  8730. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8731. sGrip.C0 = GripUNC0
  8732. end
  8733. keyframe[1] = function()
  8734. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0))
  8735. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8736. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0))
  8737. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.55, -0.6, 0.1) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(87))
  8738. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0))
  8739. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.55, -0.6, 0.1) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(-93))
  8740. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  8741. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-5), math.rad(0))
  8742. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8743. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(6), math.rad(0))
  8744. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8745. sGrip.C0 = GripUNC0
  8746. end
  8747. keyframe[2] = function()
  8748. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0.025, 0.2) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0))
  8749. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8750. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(13), math.rad(0), math.rad(0))
  8751. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.55, -0.65, 0.1) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(85))
  8752. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-105), math.rad(0))
  8753. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.55, -0.65, 0.1) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(-90))
  8754. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(95), math.rad(0))
  8755. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-6), math.rad(0))
  8756. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8757. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(7), math.rad(0))
  8758. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8759. sGrip.C0 = GripUNC0
  8760. end
  8761. keyframe[3] = function()
  8762. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-2))
  8763. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8764. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0))
  8765. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.55, -0.6, 0.1) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(40))
  8766. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-35), math.rad(0))
  8767. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.25, 0.1) * CFrame.Angles(math.rad(-10), math.rad(-30), math.rad(-40))
  8768. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0))
  8769. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-6), math.rad(0))
  8770. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8771. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(7), math.rad(0))
  8772. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8773. sGrip.C0 = GripUNC0
  8774. end
  8775. keyframe[4] = function()
  8776. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-7))
  8777. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8778. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0))
  8779. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10))
  8780. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(85), math.rad(0))
  8781. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10))
  8782. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8783. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-4), math.rad(-16), math.rad(0))
  8784. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8785. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(9), math.rad(0))
  8786. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8787. sGrip.C0 = GripUNC0
  8788. end
  8789. keyframe[5] = function()
  8790. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-7))
  8791. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8792. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0))
  8793. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10))
  8794. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(85), math.rad(0))
  8795. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10))
  8796. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8797. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-4), math.rad(-16), math.rad(0))
  8798. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8799. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(9), math.rad(0))
  8800. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8801. sGrip.C0 = GripC0 * CFrame.new(0.15, 0, -0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-15), math.rad(-5), math.rad(5))
  8802. end
  8803. keyframe[fr]()
  8804. return sRootJoint.C0, sNeck.C0, sRightShoulder.C0, sLeftShoulder.C0, sRightHip.C0, sLeftHip.C0, sGrip.C0, sRootJoint.C1, sNeck.C1, sRightShoulder.C1, sLeftShoulder.C1, sRightHip.C1, sLeftHip.C1
  8805. end,
  8806. Cancels = {"Stand"}
  8807. , Reference = "Equip"}
  8808. coroutine.resume(coroutine.create(function()
  8809. local sus = 0
  8810. while true do
  8811. fwait(0.15)
  8812. if Ragemode --[[~=--]] == true and Corruption > 0 then
  8813. Corruption = Corruption - 1
  8814. sus = sus + 1
  8815. if sus == 5 then
  8816. sus = 0
  8817. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position, 17.5)) do
  8818. applyDamage(v, 2, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false)
  8819. end
  8820. end
  8821. end
  8822. end
  8823. end))
  8824. coroutine.resume(coroutine.create(function()
  8825. while true do
  8826. if script:FindFirstChild("Heartbeat") == nil then
  8827. return
  8828. end
  8829. fwait()
  8830. if Ragemode == false then
  8831. if vPlayer.Character:FindFirstChild("Armor") then
  8832. vGui.MeterFrame.CorruptionBar.Fill.BackgroundColor3 = Color3.fromRGB(0, 0, 127)
  8833. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BrickColor = BrickColor.new("Royal purple")
  8834. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BrickColor = BrickColor.new("Royal purple")
  8835. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 255, 255)
  8836. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 255, 255)
  8837. local abcdd = vPlayer.Character.Head:FindFirstChild("SpotLight")
  8838. if abcdd ~= nil then
  8839. abcdd.Color = Color3.fromRGB(198, 26, 255)
  8840. end
  8841. for _, m in pairs (vPlayer.Character:FindFirstChild("Weapon"):GetChildren()) do
  8842. if m:IsA("Part") and m.BrickColor == BrickColor.new("Really red") then
  8843. m.BrickColor = BrickColor.new("Royal purple")
  8844. end
  8845. end
  8846. for _, v in pairs (vPlayer.Character:FindFirstChild("Armor"):GetChildren()) do
  8847. for _, b in pairs(v:GetChildren()) do
  8848. if b:IsA("Part") and b.BrickColor == BrickColor.new("Really red") then
  8849. b.BrickColor = BrickColor.new("Royal purple")
  8850. end
  8851. end
  8852. end
  8853. end
  8854. elseif Ragemode == true then
  8855. if vPlayer.Character:FindFirstChild("Armor") then
  8856. vGui.MeterFrame.CorruptionBar.Fill.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
  8857. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BrickColor = BrickColor.new("Really red")
  8858. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BrickColor = BrickColor.new("Really red")
  8859. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 0, 0)
  8860. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 0, 0)
  8861. local abcde = vPlayer.Character.Head:FindFirstChild("SpotLight")
  8862. if abcde ~= nil then
  8863. abcde.Color = Color3.fromRGB(255, 0, 0)
  8864. end
  8865. for _, t in pairs (vPlayer.Character:FindFirstChild("Weapon"):GetChildren()) do
  8866. if t:IsA("Part") and t.BrickColor == BrickColor.new("Royal purple") then
  8867. t.BrickColor = BrickColor.new("Really red")
  8868. end
  8869. end
  8870. for _, v in pairs (vPlayer.Character:FindFirstChild("Armor"):GetChildren()) do
  8871. for _, b in pairs(v:GetChildren()) do
  8872. if b:IsA("Part") and b.BrickColor == BrickColor.new("Royal purple") then
  8873. b.BrickColor = BrickColor.new("Really red")
  8874. end
  8875. end
  8876. end
  8877. end
  8878. end
  8879. end
  8880. end))
  8881. coroutine.resume(coroutine.create(function()
  8882. getWelds(vPlayer.Character)
  8883. lastframe = {Animations.Stand.Animation(0)}
  8884. end))
  8885. vGui = nil
  8886. sus = 0
  8887.  
  8888. for _, v in pairs (vPlayer.Character.Armor.Cloak:GetChildren()) do
  8889. for _, b in pairs (v:GetChildren()) do
  8890. if b.ClassName=="Motor6D" then
  8891. b:Destroy()
  8892. end
  8893. end
  8894. end
  8895. -- cape script create\\\\\\\\\\\\\\\\\\\
  8896.  
  8897. --SazErenos
  8898. asdf=vPlayer.Character.Armor.Cloak --Ihaveaproblemsendhelp
  8899. Nub=game.Players.LocalPlayer.Character
  8900. Tier1M=asdf.Tier1
  8901. Tier2M=asdf.Tier2
  8902. --nope
  8903. Tier3M=asdf.Tier4
  8904. Tier4M=asdf.Tier5
  8905. Tier5M=asdf.Tier6
  8906.  
  8907. t1w,t2w,t3w,t4w,t5w,l1w,l2w,r1w,r2w,t4l,t4r,t5r,t5l,t6r,t6l=nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil
  8908. t1w=Instance.new("Motor6D",Tier1M)
  8909. t1w.Name="TierWeld"
  8910. t1w.Part0=Nub.Torso
  8911. t1w.Part1=Tier1M
  8912. t1w.C0=CFrame.new(0,1.15,0.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(0))
  8913. t1w.C1=CFrame.new(0,.28,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  8914. t1w.MaxVelocity=.08
  8915. t1w.DesiredAngle=.4
  8916.  
  8917. w=Instance.new("Motor6D",Tier1M)
  8918. w.Name="TierWeldF"
  8919. w.Part0=Tier1M
  8920. w.Part1=vPlayer.Character.Armor.Cloak.Tier1F
  8921. w.C0 = w.C0 * CFrame.Angles(math.pi/2,0,0)
  8922.  
  8923. wait(.1)
  8924.  
  8925. t2w=Instance.new("Motor6D",Tier3M)
  8926. t2w.Name="TierWeld"
  8927. t2w.Part0=Tier1M
  8928. t2w.Part1=Tier2M
  8929. t2w.C0=CFrame.new(0,-.3,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  8930. t2w.C1=CFrame.new(0,0,.19)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(90))
  8931. t2w.MaxVelocity=.08
  8932. t2w.DesiredAngle=-.05
  8933.  
  8934. t3w=Instance.new("Motor6D",Tier2M)
  8935. t3w.Name="TierWeld"
  8936. t3w.Part0=Tier2M
  8937. t3w.Part1=Tier3M
  8938. t3w.C0=CFrame.new(0,0,-.2)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(90))
  8939. t3w.C1=CFrame.new(0,0,.19)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(-90))
  8940. t3w.MaxVelocity=.08
  8941. t3w.DesiredAngle=-.05
  8942.  
  8943. t4w=Instance.new("Motor6D",Tier3M)
  8944. t4w.Name="TierWeld"
  8945. t4w.Part0=Tier3M
  8946. t4w.Part1=Tier4M
  8947. t4w.C0=CFrame.new(0,0,-.2)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-90),math.rad(0))
  8948. t4w.C1=CFrame.new(0,0,-.29)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0))
  8949. t4w.MaxVelocity=.08
  8950. t4w.DesiredAngle=-.05
  8951.  
  8952. t4l=Instance.new("Motor6D",Tier4M)
  8953. t4l.Name="TierWeldL"
  8954. t4l.Part0=Tier4M
  8955. t4l.Part1=asdf.Tier5L
  8956. t4l.C0=CFrame.new(1.19,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(90))
  8957. t4l.C1=CFrame.new(0,-.1,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  8958. t4l.MaxVelocity=.08
  8959. t4l.DesiredAngle=.8
  8960.  
  8961. t4r=Instance.new("Motor6D",Tier4M)
  8962. t4r.Name="TierWeldR"
  8963. t4r.Part0=Tier4M
  8964. t4r.Part1=asdf.Tier5R
  8965. t4r.C0=CFrame.new(-1.19,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90))
  8966. t4r.C1=CFrame.new(0,-.1,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  8967. t4r.MaxVelocity=.08
  8968. t4r.DesiredAngle=-.8
  8969.  
  8970. t5w=Instance.new("Motor6D",Tier4M)
  8971. t5w.Name="TierWeld"
  8972. t5w.Part0=Tier4M
  8973. t5w.Part1=Tier5M
  8974. t5w.C0=CFrame.new(0,0,.3)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0))
  8975. t5w.C1=CFrame.new(0,.0,-.39)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(90),math.rad(0))
  8976. t5w.MaxVelocity=.08
  8977. t5w.DesiredAngle=-.05
  8978.  
  8979. t5p=Instance.new("Motor6D",Tier5M)
  8980. t5p.Name="AttachWeld"
  8981. t5p.Part0=Tier5M
  8982. t5p.Part1=asdf.Tier6R
  8983. t5p.C0=CFrame.new(-.1,0,.7)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(90))
  8984. t5p.C1=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  8985. t5p.MaxVelocity=0
  8986. t5p.DesiredAngle=0
  8987.  
  8988. t5p=Instance.new("Motor6D",Tier5M)
  8989. t5p.Name="AttachWeld"
  8990. t5p.Part0=Tier5M
  8991. t5p.Part1=asdf.Tier6L
  8992. t5p.C0=CFrame.new(.1,0,.7)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(-90))
  8993. t5p.C1=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0))
  8994. t5p.MaxVelocity=0
  8995. t5p.DesiredAngle=0
  8996.  
  8997. t5l=Instance.new("Motor6D",Tier5M)
  8998. t5l.Name="TierWeldL"
  8999. t5l.Part0=Tier5M
  9000. t5l.Part1=asdf.L1
  9001. t5l.C0=CFrame.new(1.18,0,.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(180))
  9002. t5l.C1=CFrame.new(0,0,0.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90))
  9003. t5l.MaxVelocity=.08
  9004. t5l.DesiredAngle=0
  9005.  
  9006. t5r=Instance.new("Motor6D",Tier5M)
  9007. t5r.Name="TierWeldL"
  9008. t5r.Part0=Tier5M
  9009. t5r.Part1=asdf.R1
  9010. t5r.C0=CFrame.new(-1.18,0,.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(180))
  9011. t5r.C1=CFrame.new(0,0,-.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90))
  9012. t5r.MaxVelocity=.08
  9013. t5r.DesiredAngle=-0
  9014.  
  9015. t6l=Instance.new("Motor6D",asdf.L1)
  9016. t6l.Name="TierWeldL"
  9017. t6l.Part0=asdf.L1
  9018. t6l.Part1=asdf.L2
  9019. t6l.C0=CFrame.new(0,-.56,-.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  9020. t6l.C1=CFrame.new(0,0,0.18)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  9021. t6l.MaxVelocity=.08
  9022. t6l.DesiredAngle=0.8
  9023.  
  9024. t6r=Instance.new("Motor6D",asdf.R1)
  9025. t6r.Name="TierWeldR"
  9026. t6r.Part0=asdf.R1
  9027. t6r.Part1=asdf.R2
  9028. t6r.C0=CFrame.new(0,-.56,.28)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  9029. t6r.C1=CFrame.new(0,0,-.18)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  9030. t6r.MaxVelocity=.08
  9031. t6r.DesiredAngle=0.8
  9032. wait()
  9033. while 1 do
  9034. m.Text = sus
  9035. if vGui == nil then
  9036. vGui = script.WeaponGUI:clone()
  9037. vGui.Parent = vPlayer.PlayerGui
  9038. else
  9039. if vGui.Parent ~= nil then
  9040. vGui = script.WeaponGUI:clone()
  9041. vGui.Parent = vPlayer.PlayerGui
  9042. end
  9043. end
  9044. if vGui and vGui.Parent == vPlayer.PlayerGui then
  9045. break
  9046. end
  9047. sus = sus + 1
  9048. wait()
  9049. end
  9050. m.Text = "6"
  9051. wait(0.25)
  9052. m:Remove()
  9053. local el = 0
  9054. local reqel = 4
  9055. do
  9056. local sors = 0
  9057. while true do
  9058. if script:FindFirstChild("Heartbeat") == nil then
  9059. return
  9060. end
  9061. if vPlayer.Character.Humanoid.Health <= 0 or vPlayer.Character == nil then
  9062. script:Destroy()
  9063. return
  9064. end
  9065. local w_ = fwait(frame * 2)
  9066. if PlayerIsAttacking == false and Equipping == false and Unequipping == false then
  9067. vPlayer.Character.Humanoid.WalkSpeed = 16 * playerstats.Movement.Value
  9068. end
  9069. if Ragemode and MaxStun == 80 then
  9070. RageDefBuff.Parent = playerstats.Decrease
  9071. MaxStun = 125
  9072. end
  9073. if MaxStun == 125 then
  9074. RageDmgBuff.Parent = nil
  9075. RageDefBuff.Parent = nil
  9076. RageMvmtBuff.Parent = nil
  9077. MaxStun = 80
  9078. if 80 <= playerstats.Stun.Value then
  9079. playerstats.Stun.Value = 79
  9080. end
  9081. end
  9082. if MaxStun <= playerstats.Stun.Value and Ult == false then
  9083. GetStunnedIdiot()
  9084. end
  9085. if playerstats.Stagger.Value == true and Ult == false and Stunned == false then
  9086. if Ragemode == false then
  9087. GetStaggeredIdiot()
  9088. else
  9089. playerstats.Stagger.Value = false
  9090. end
  9091. end
  9092. if el % 5 == 0 then
  9093. local pos = vPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 3, 0)
  9094. local foundstun = false
  9095. local targ = false
  9096. for _,v in pairs(GetNubsInRadius(pos, 6)) do
  9097. if v:FindFirstChild("Stats") and v.Stats:FindFirstChild("Stunned") and v:FindFirstChild("Torso") and v.Stats.Stunned.Value == true then
  9098. foundstun = true
  9099. if (v.Torso.Position - (pos + MousePlane() * 3)).magnitude <= 4.5 then
  9100. targ = true
  9101. end
  9102. break
  9103. end
  9104. end
  9105. if foundstun == true then
  9106. if targ == true then
  9107. vGui.MoveFrame.TextButton5.BackgroundColor3 = BrickColor.new("Cyan").Color
  9108. vGui.MoveFrame.TextButton5.TextColor3 = BrickColor.new("Institutional white").Color
  9109. else
  9110. vGui.MoveFrame.TextButton5.BackgroundColor3 = BrickColor.new("Bright red").Color
  9111. vGui.MoveFrame.TextButton5.TextColor3 = BrickColor.new("Institutional white").Color
  9112. end
  9113. else
  9114. vGui.MoveFrame.TextButton5.BackgroundColor3 = BrickColor.new("Dark stone grey").Color
  9115. vGui.MoveFrame.TextButton5.TextColor3 = BrickColor.new("Dark stone grey").Color
  9116. end
  9117. end
  9118. local cng = playerstats.Decrease:children()
  9119. local dmg = playerstats.Damage
  9120. local val = 0
  9121. for _,v in pairs(cng) do
  9122. if v.className == "NumberValue" and v.Name == "DecreaseAtk" then
  9123. if Ragemode == false then
  9124. val = val - v.Value
  9125. else
  9126. if v.Value < 0 then
  9127. val = val - v.Value
  9128. end
  9129. end
  9130. end
  9131. end
  9132. if val < -0.99 then
  9133. val = -0.99
  9134. end
  9135. dmg.Value = 1 + val
  9136. val = 0
  9137. dmg = playerstats.Defense
  9138. for _,v in pairs(cng) do
  9139. if v.className == "NumberValue" and v.Name == "DecreaseDef" then
  9140. if Ragemode == false then
  9141. val = val - v.Value
  9142. else
  9143. if v.Value < 0 then
  9144. val = val - v.Value
  9145. end
  9146. end
  9147. end
  9148. end
  9149. if val < -0.99 then
  9150. val = -0.99
  9151. end
  9152. dmg.Value = 1 + val
  9153. val = 0
  9154. dmg = playerstats.Movement
  9155. for _,v in pairs(cng) do
  9156. if v.className == "NumberValue" and v.Name == "DecreaseMvmt" then
  9157. if Ragemode == false then
  9158. val = val - v.Value
  9159. else
  9160. if v.Value < 0 then
  9161. val = val - v.Value
  9162. end
  9163. end
  9164. end
  9165. end
  9166. if val < -1 then
  9167. val = -1
  9168. end
  9169. dmg.Value = 1 + val
  9170. vGui.MeterFrame.ManaLabel.Text = "Mana (" .. Mana.Value .. ")"
  9171. vGui.MeterFrame.CorruptionLabel.Text = "Corruption (" .. Corruption .. ")"
  9172. vGui.MeterFrame.ManaBar.Fill.Size = UDim2.new(1, 0, Mana.Value / 150, 0)
  9173. vGui.MeterFrame.ManaBar.Fill.Position = UDim2.new(0, 0, 1 - Mana.Value / 150, 0)
  9174. vGui.MeterFrame.CorruptionBar.Fill.Size = UDim2.new(1, 0, Corruption / 100, 0)
  9175. vGui.MeterFrame.CorruptionBar.Fill.Position = UDim2.new(0, 0, 1 - Corruption / 100, 0)
  9176. vGui.StunFrame.Fill.Size = UDim2.new(0.4, 0, -playerstats.Stun.Value / MaxStun * 4, 0)
  9177. vGui.StunFrame.Fill.Position = UDim2.new(0.2, 0, 0, 0)
  9178. vGui.StunFrame.StunLabel.Text = "Stun (" .. math.floor(playerstats.Stun.Value / MaxStun * 100) .. "%)"
  9179. t1w.DesiredAngle=math.rad(script.Initial.Value + script.Progression.Value + script.Hard.Value)
  9180. t2w.DesiredAngle=math.rad(script.Progression.Value/2)
  9181. t3w.DesiredAngle=math.rad(script.Progression.Value/2)
  9182. t4w.DesiredAngle=math.rad(script.Progression.Value/2)
  9183. t5w.DesiredAngle=math.rad(script.Progression.Value/2)
  9184.  
  9185. t4r.DesiredAngle=-math.rad(script.Right1.Value/2)
  9186. t5r.DesiredAngle=-math.rad(script.Right1.Value/2)
  9187. t6r.DesiredAngle=-math.rad(script.Right2.Value/2)
  9188.  
  9189. t4l.DesiredAngle=math.rad(script.Left1.Value/2)
  9190. t5l.DesiredAngle=math.rad(script.Left1.Value/2)
  9191. t6l.DesiredAngle=math.rad(script.Left2.Value/2)
  9192. if playerstats.Stun.Value / MaxStun <= 0.33 then
  9193. vGui.StunFrame.Fill.BackgroundColor3 = BrickColor.new("Bright yellow").Color
  9194. else
  9195. if 0.33 < playerstats.Stun.Value / MaxStun and playerstats.Stun.Value / MaxStun <= 0.66 then
  9196. vGui.StunFrame.Fill.BackgroundColor3 = BrickColor.new("Bright orange").Color
  9197. else
  9198. vGui.StunFrame.Fill.BackgroundColor3 = BrickColor.new("Bright red").Color
  9199. end
  9200. end
  9201. if Ragemode == true and Corruption <= 15 then
  9202. vGui.MeterFrame.CorruptionBar.BackgroundColor3 = Color3.new(0.5 - Corruption / 30, 0.1, 0.1)
  9203. vGui.MeterFrame.CorruptionLabel.TextColor3 = Color3.new(1, Corruption / 15, Corruption / 15)
  9204. vGui.Overlay.BackgroundTransparency = 0.75 + Corruption / 30
  9205. else
  9206. vGui.MeterFrame.CorruptionBar.BackgroundColor3 = Color3.new(0, 0, 0)
  9207. vGui.MeterFrame.CorruptionLabel.TextColor3 = Color3.new(1, 1, 1)
  9208. vGui.Overlay.BackgroundTransparency = 1
  9209. end
  9210. el = el + 1
  9211. if el == reqel then
  9212. el = 0
  9213. GetNubs()
  9214. sors = sors + 1
  9215. if Mana.Value < 150 and Ult == false then
  9216. Mana.Value = Mana.Value + 1
  9217. end
  9218. if sors == 3 then
  9219. sors = 0
  9220. if Corruption <= 99 and Ragemode == false and Ult == false then
  9221. Corruption = Corruption + 1
  9222. end
  9223. if 0 < playerstats.Stun.Value then
  9224. playerstats.Stun.Value = playerstats.Stun.Value - 1
  9225. end
  9226. end
  9227. end
  9228. vGui.StatsFrame.Damage.Text = "Damage\n(" .. tostring(playerstats.Damage.Value * 100) .. "%)"
  9229. vGui.StatsFrame.Defense.Text = "Defence\n(" .. tostring(playerstats.Defense.Value * 100) .. "%)"
  9230. vGui.StatsFrame.Walkspeed.Text = "Movement\n(" .. tostring(playerstats.Movement.Value * 100) .. "%)"
  9231. vGui.StatsFrame.Health.Fill.BackgroundColor3 = Color3.new(vPlayer.Character.Humanoid.Health / vPlayer.Character.Humanoid.MaxHealth, 0, 0)
  9232. vGui.StatsFrame.Health.Fill:TweenSize((UDim2.new(vPlayer.Character.Humanoid.Health / vPlayer.Character.Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  9233. vGui.StatsFrame.Health.TextBox.Text = "(" .. math.floor(vPlayer.Character.Humanoid.Health) .. ")"
  9234. for _,v in pairs(Cooldowns) do
  9235. local sus = vGui.MoveFrame["TextButton" .. _]
  9236. if w_ < v then
  9237. Cooldowns[_] = Cooldowns[_] - w_
  9238. if tonumber(_) < 5 then
  9239. sus.BackgroundColor3 = Color3.new(0.4, 0.4, 0.4)
  9240. end
  9241. else
  9242. if tonumber(_) < 5 then
  9243. if 0 < Cooldowns[_] then
  9244. sus.BackgroundColor3 = Color3.new(0.6, 0.6, 1)
  9245. else
  9246. sus.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
  9247. end
  9248. end
  9249. Cooldowns[_] = 0
  9250. end
  9251. sus.TextLabel.Size = UDim2.new(v / CooldownsB[_], 0, 1, 0)
  9252. end
  9253. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out DO_STMT
  9254.  
  9255. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out DO_STMT
  9256.  
  9257. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out IF_THEN_STMT
  9258.  
  9259. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out IF_STMT
  9260.  
  9261. end
  9262. if vGui.Parent == nil then
  9263. end
  9264. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement