Advertisement
lilbakka78

Untitled

Aug 19th, 2018
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 398.15 KB | None | 0 0
  1.  
  2. System = {}
  3.  
  4. System.Create = function(a, c)
  5. local e = Instance.new(a)
  6. for d, a in pairs(c) do
  7. local b, a = ypcall(function()
  8. return e[d]
  9. end)
  10. if b then
  11. e[d] = c[d]
  12. end
  13. end
  14. return e
  15. end
  16. function b(d, b)
  17. local c = getfenv(d)
  18. local a = setmetatable({}, {
  19. __index = function(a, a)
  20. if a:lower() == 'script' then
  21. return b
  22. else
  23. return c[a]
  24. end
  25. end
  26. })
  27. setfenv(d, a)
  28. ypcall(function()
  29. d()
  30. end)
  31. end
  32. c = {}
  33. mas = Instance.new("Model",game:GetService("Lighting"))
  34. mas.Name = "CompiledModel"
  35. o1 = System.Create("HopperBin",{
  36. ["Name"] = "Sellion",
  37. ["Parent"] = mas,
  38. ["BinType"] = "Script",
  39. ["Parent"] = game:GetService("Players").LocalPlayer.Backpack
  40. })
  41. script.Parent = o1
  42. o2 = System.Create("BoolValue",{
  43. ["Name"] = "Status",
  44. ["Parent"] = o1,
  45. ["Value"] = true,
  46. })
  47. o3 = System.Create("IntValue",{
  48. ["Name"] = "AnimFrame",
  49. ["Parent"] = o2,
  50. })
  51. o4 = System.Create("StringValue",{
  52. ["Name"] = "AnimType",
  53. ["Parent"] = o2,
  54. ["Value"] = "NOTHING AT ALL",
  55. })
  56. o5 = System.Create("IntValue",{
  57. ["Name"] = "AnimWeight",
  58. ["Parent"] = o2,
  59. })
  60. o6 = System.Create("BoolValue",{
  61. ["Name"] = "AnimCanBeInterrupted",
  62. ["Parent"] = o2,
  63. ["Value"] = true,
  64. })
  65. o7 = System.Create("Script",{
  66. ["Name"] = "DMG",
  67. ["Parent"] = o1,
  68. })
  69.  
  70. o8 = System.Create("RemoteEvent",{
  71. ["Parent"] = o7,
  72. })
  73. o9 = System.Create("RemoteEvent",{
  74. ["Name"] = "RemoteEventM",
  75. ["Parent"] = o7,
  76. })
  77. mas.Parent = workspace
  78. mas:MakeJoints()
  79. local b = mas:GetChildren()
  80. for a = 1, #b do
  81. b[a].Parent = workspace
  82. ypcall(function()
  83. b[a]:MakeJoints()
  84. end)
  85. end
  86. mas:Destroy()
  87. for a = 1, #c do
  88. coroutine.resume(c[a])
  89. end
  90.  
  91.  
  92. System = {}
  93.  
  94. System.Create = function(a, c)
  95. local e = Instance.new(a)
  96. for d, a in pairs(c) do
  97. local b, a = ypcall(function()
  98. return e[d]
  99. end)
  100. if b then
  101. e[d] = c[d]
  102. end
  103. end
  104. return e
  105. end
  106. function b(d, b)
  107. local c = getfenv(d)
  108. local a = setmetatable({}, {
  109. __index = function(a, a)
  110. if a:lower() == 'script' then
  111. return b
  112. else
  113. return c[a]
  114. end
  115. end
  116. })
  117. setfenv(d, a)
  118. ypcall(function()
  119. d()
  120. end)
  121. end
  122. c = {}
  123. mas = Instance.new("Model",game:GetService("Lighting"))
  124. mas.Name = "CompiledModel"
  125. o1 = script
  126. o2 = System.Create("LocalScript",{
  127. ["Name"] = "BleedController",
  128. ["Parent"] = o1,
  129. ["Disabled"] = true,
  130. })
  131.  
  132. o3 = System.Create("LocalScript",{
  133. ["Name"] = "CamShake",
  134. ["Parent"] = o1,
  135. ["Disabled"] = true,
  136. })
  137.  
  138. o4 = System.Create("IntValue",{
  139. ["Name"] = "intensity",
  140. ["Parent"] = o3,
  141. ["Value"] = 16,
  142. })
  143. o5 = System.Create("IntValue",{
  144. ["Name"] = "times",
  145. ["Parent"] = o3,
  146. ["Value"] = 5,
  147. })
  148. o6 = System.Create("LocalScript",{
  149. ["Name"] = "ForceState",
  150. ["Parent"] = o1,
  151. ["Disabled"] = true,
  152. })
  153.  
  154. o7 = System.Create("StringValue",{
  155. ["Parent"] = o6,
  156. ["Value"] = "FallingDown",
  157. })
  158. o8 = System.Create("Model",{
  159. ["Name"] = "Armor",
  160. ["Parent"] = o1,
  161. })
  162. o9 = System.Create("Model",{
  163. ["Name"] = "Weapon",
  164. ["Parent"] = o1,
  165. })
  166. o10 = System.Create("Part",{
  167. ["Name"] = "Blade",
  168. ["Parent"] = o9,
  169. ["Material"] = Enum.Material.Wood,
  170. ["BrickColor"] = BrickColor.new("Dark orange"),
  171. ["Transparency"] = 1,
  172. ["Position"] = Vector3.new(-86.024025, 0.230021, -235.544922),
  173. ["Rotation"] = Vector3.new(-0, 0, -90),
  174. ["CFrame"] = CFrame.new(-86.024025, 0.230021, -235.544922, 0, 0.99999994, 0, -0.999999881, 0, 0, 0, 0, 1),
  175. ["CanCollide"] = false,
  176. ["Size"] = Vector3.new(0.460000277, 5.17199993, 1.14999986),
  177. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  178. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  179. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  180. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  181. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  182. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  183. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  184. })
  185. o11 = System.Create("Part",{
  186. ["Parent"] = o9,
  187. ["Material"] = Enum.Material.Wood,
  188. ["BrickColor"] = BrickColor.new("Dark orange"),
  189. ["Position"] = Vector3.new(-87.9040146, 0.230021, -235.659927),
  190. ["Rotation"] = Vector3.new(-0, 0, -90),
  191. ["CFrame"] = CFrame.new(-87.9040146, 0.230021, -235.659927, 0, 0.99999994, 0, -0.999999881, 0, 0, 0, 0, 1),
  192. ["CanCollide"] = false,
  193. ["Size"] = Vector3.new(0.460000277, 4.71200037, 0.539999902),
  194. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  195. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  196. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  197. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  198. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  199. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  200. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  201. })
  202. o12 = System.Create("Part",{
  203. ["Parent"] = o9,
  204. ["Material"] = Enum.Material.Wood,
  205. ["BrickColor"] = BrickColor.new("Dark orange"),
  206. ["Position"] = Vector3.new(-89.8790207, 0.230039001, -235.139938),
  207. ["Rotation"] = Vector3.new(-0, 0, -90),
  208. ["CFrame"] = CFrame.new(-89.8790207, 0.230039001, -235.139938, 0, 0.99999994, 0, -0.999999881, 0, 0, 0, 0, 1),
  209. ["CanCollide"] = false,
  210. ["Size"] = Vector3.new(0.460000277, 0.26200068, 0.639999747),
  211. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  212. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  213. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  214. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  215. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  216. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  217. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  218. })
  219. o13 = System.Create("Part",{
  220. ["Parent"] = o9,
  221. ["Material"] = Enum.Material.Wood,
  222. ["BrickColor"] = BrickColor.new("Dark orange"),
  223. ["Position"] = Vector3.new(-88.7290268, 0.230039001, -235.139908),
  224. ["Rotation"] = Vector3.new(-0, 0, -90),
  225. ["CFrame"] = CFrame.new(-88.7290268, 0.230039001, -235.139908, 0, 0.99999994, 0, -0.999999881, 0, 0, 0, 0, 1),
  226. ["CanCollide"] = false,
  227. ["Size"] = Vector3.new(0.460000277, 0.222000659, 0.639999747),
  228. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  229. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  230. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  231. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  232. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  233. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  234. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  235. })
  236. o14 = System.Create("Part",{
  237. ["Name"] = "Handle",
  238. ["Parent"] = o9,
  239. ["Material"] = Enum.Material.Wood,
  240. ["BrickColor"] = BrickColor.new("Dark orange"),
  241. ["Position"] = Vector3.new(-89.3689957, 0.230021, -234.924881),
  242. ["Rotation"] = Vector3.new(-0, 0, -90),
  243. ["CFrame"] = CFrame.new(-89.3689957, 0.230021, -234.924881, 0, 0.99999994, 0, -0.999999881, 0, 0, 0, 0, 1),
  244. ["CanCollide"] = false,
  245. ["Size"] = Vector3.new(0.460000277, 1.12200069, 0.20999974),
  246. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  247. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  248. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  249. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  250. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  251. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  252. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  253. })
  254. o15 = System.Create("Part",{
  255. ["Parent"] = o9,
  256. ["Material"] = Enum.Material.Wood,
  257. ["BrickColor"] = BrickColor.new("Dark orange"),
  258. ["Position"] = Vector3.new(-85.219017, 0.230021, -235.659927),
  259. ["Rotation"] = Vector3.new(-0, 0, -90),
  260. ["CFrame"] = CFrame.new(-85.219017, 0.230021, -235.659927, 0, 0.99999994, 0, -0.999999881, 0, 0, 0, 0, 1),
  261. ["CanCollide"] = false,
  262. ["Size"] = Vector3.new(0.460000277, 0.682000518, 0.539999902),
  263. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  264. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  265. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  266. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  267. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  268. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  269. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  270. })
  271. o16 = System.Create("SpecialMesh",{
  272. ["Parent"] = o15,
  273. ["MeshType"] = Enum.MeshType.Wedge,
  274. })
  275. o17 = System.Create("Part",{
  276. ["Parent"] = o9,
  277. ["Material"] = Enum.Material.Wood,
  278. ["BrickColor"] = BrickColor.new("Dark orange"),
  279. ["Position"] = Vector3.new(-86.9989929, 0.230021074, -235.279922),
  280. ["Rotation"] = Vector3.new(180, -5.00895612e-006, 90),
  281. ["CFrame"] = CFrame.new(-86.9989929, 0.230021074, -235.279922, -4.37113883e-008, -1, -8.74227766e-008, -1, 4.37113954e-008, -8.74227766e-008, 8.74227837e-008, 8.74227695e-008, -1),
  282. ["CanCollide"] = false,
  283. ["Size"] = Vector3.new(0.460000277, 4.2220006, 0.239999861),
  284. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  285. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  286. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  287. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  288. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  289. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  290. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  291. })
  292. o18 = System.Create("SpecialMesh",{
  293. ["Parent"] = o17,
  294. ["MeshType"] = Enum.MeshType.Wedge,
  295. })
  296. o19 = System.Create("Part",{
  297. ["Parent"] = o9,
  298. ["Material"] = Enum.Material.Wood,
  299. ["BrickColor"] = BrickColor.new("Dark orange"),
  300. ["Position"] = Vector3.new(-84.79599, 0.230021015, -235.293915),
  301. ["Rotation"] = Vector3.new(-0, 0, -90),
  302. ["CFrame"] = CFrame.new(-84.79599, 0.230021015, -235.293915, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1),
  303. ["CanCollide"] = false,
  304. ["Size"] = Vector3.new(0.460000277, 0.26200068, 0.279999882),
  305. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  306. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  307. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  308. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  309. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  310. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  311. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  312. })
  313. o20 = System.Create("SpecialMesh",{
  314. ["Parent"] = o19,
  315. ["MeshType"] = Enum.MeshType.Wedge,
  316. })
  317. o21 = System.Create("Part",{
  318. ["Parent"] = o9,
  319. ["Material"] = Enum.Material.Wood,
  320. ["BrickColor"] = BrickColor.new("Dark orange"),
  321. ["Position"] = Vector3.new(-87.211998, 0.230021223, -235.274918),
  322. ["Rotation"] = Vector3.new(-180, 5.00895658e-006, -90),
  323. ["CFrame"] = CFrame.new(-87.211998, 0.230021223, -235.274918, 7.54979013e-008, 1, 8.74227837e-008, 1, -7.54979155e-008, 1.50995803e-007, 1.50995803e-007, 8.74227695e-008, -1),
  324. ["CanCollide"] = false,
  325. ["Size"] = Vector3.new(0.460000277, 1.11200047, 0.249999866),
  326. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  327. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  328. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  329. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  330. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  331. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  332. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  333. })
  334. o22 = System.Create("SpecialMesh",{
  335. ["Parent"] = o21,
  336. ["MeshType"] = Enum.MeshType.Wedge,
  337. })
  338. o23 = System.Create("Part",{
  339. ["Parent"] = o9,
  340. ["Material"] = Enum.Material.Wood,
  341. ["BrickColor"] = BrickColor.new("Dark orange"),
  342. ["Position"] = Vector3.new(-88.3040237, 0.230039001, -235.304901),
  343. ["Rotation"] = Vector3.new(-0, 0, -90),
  344. ["CFrame"] = CFrame.new(-88.3040237, 0.230039001, -235.304901, 0, 0.99999994, 0, -0.999999881, 0, 0, 0, 0, 1),
  345. ["CanCollide"] = false,
  346. ["Size"] = Vector3.new(0.460000277, 1.07200074, 0.309999675),
  347. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  348. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  349. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  350. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  351. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  352. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  353. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  354. })
  355. o24 = System.Create("Part",{
  356. ["Parent"] = o9,
  357. ["Material"] = Enum.Material.Wood,
  358. ["BrickColor"] = BrickColor.new("Dark orange"),
  359. ["Position"] = Vector3.new(-88.5569992, 0.230021253, -235.016907),
  360. ["Rotation"] = Vector3.new(-180, 5.00895658e-006, -90),
  361. ["CFrame"] = CFrame.new(-88.5569992, 0.230021253, -235.016907, 7.54979013e-008, 1, 8.74227837e-008, 1, -7.54979155e-008, 1.50995803e-007, 1.50995803e-007, 8.74227695e-008, -1),
  362. ["CanCollide"] = false,
  363. ["Size"] = Vector3.new(0.460000277, 0.202000439, 0.319999874),
  364. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  365. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  366. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  367. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  368. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  369. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  370. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  371. })
  372. o25 = System.Create("SpecialMesh",{
  373. ["Parent"] = o24,
  374. ["MeshType"] = Enum.MeshType.Wedge,
  375. })
  376. o26 = System.Create("BoolValue",{
  377. ["Name"] = "Stats",
  378. ["Parent"] = o1,
  379. })
  380. o27 = System.Create("NumberValue",{
  381. ["Name"] = "Mana",
  382. ["Parent"] = o26,
  383. ["Value"] = 35,
  384. })
  385. o28 = System.Create("BoolValue",{
  386. ["Name"] = "Decrease",
  387. ["Parent"] = o26,
  388. })
  389. o29 = System.Create("NumberValue",{
  390. ["Name"] = "DecreaseMvmt",
  391. ["Parent"] = o28,
  392. ["Value"] = 0.1,
  393. })
  394. o30 = System.Create("NumberValue",{
  395. ["Name"] = "DecreaseAtk",
  396. ["Parent"] = o28,
  397. })
  398. o31 = System.Create("ObjectValue",{
  399. ["Name"] = "RecentEnemy",
  400. ["Parent"] = o26,
  401. })
  402. o32 = System.Create("BoolValue",{
  403. ["Name"] = "StaggerHit",
  404. ["Parent"] = o26,
  405. })
  406. o33 = System.Create("BoolValue",{
  407. ["Name"] = "Stagger",
  408. ["Parent"] = o26,
  409. })
  410. o34 = System.Create("BoolValue",{
  411. ["Name"] = "Stunned",
  412. ["Parent"] = o26,
  413. })
  414. o35 = System.Create("BoolValue",{
  415. ["Name"] = "Rooted",
  416. ["Parent"] = o26,
  417. })
  418. o36 = System.Create("NumberValue",{
  419. ["Name"] = "StunThreshold",
  420. ["Parent"] = o26,
  421. ["Value"] = 100,
  422. })
  423. o37 = System.Create("NumberValue",{
  424. ["Name"] = "Stun",
  425. ["Parent"] = o26,
  426. })
  427. o38 = System.Create("BoolValue",{
  428. ["Name"] = "Block",
  429. ["Parent"] = o26,
  430. })
  431. o39 = System.Create("NumberValue",{
  432. ["Name"] = "Movement",
  433. ["Parent"] = o26,
  434. ["Value"] = 0.9,
  435. })
  436. o40 = System.Create("NumberValue",{
  437. ["Name"] = "Defense",
  438. ["Parent"] = o26,
  439. ["Value"] = 1,
  440. })
  441. o41 = System.Create("NumberValue",{
  442. ["Name"] = "Damage",
  443. ["Parent"] = o26,
  444. ["Value"] = 1,
  445. })
  446. mas.Parent = workspace
  447. mas:MakeJoints()
  448. local b = mas:GetChildren()
  449. for a = 1, #b do
  450. b[a].Parent = workspace
  451. ypcall(function()
  452. b[a]:MakeJoints()
  453. end)
  454. end
  455. mas:Destroy()
  456. for a = 1, #c do
  457. coroutine.resume(c[a])
  458. end
  459.  
  460. local WeaponGUI = Instance.new("GuiMain")
  461. local MeterFrame = Instance.new("Frame")
  462. local ManaBar = Instance.new("TextLabel")
  463. local Fill = Instance.new("TextLabel")
  464. local ManaLabel = Instance.new("TextLabel")
  465. local CorruptionBar = Instance.new("TextLabel")
  466. local Fill_2 = Instance.new("TextLabel")
  467. local CorruptionLabel = Instance.new("TextLabel")
  468. local StatsFrame = Instance.new("Frame")
  469. local Damage = Instance.new("TextLabel")
  470. local Defense = Instance.new("TextLabel")
  471. local Walkspeed = Instance.new("TextLabel")
  472. local Health = Instance.new("TextLabel")
  473. local Fill_3 = Instance.new("TextLabel")
  474. local TextBox = Instance.new("TextLabel")
  475. local MoveFrame = Instance.new("Frame")
  476. local TextButton1 = Instance.new("TextButton")
  477. local TextLabel = Instance.new("TextLabel")
  478. local TextButton2 = Instance.new("TextButton")
  479. local TextLabel_2 = Instance.new("TextLabel")
  480. local TextButton3 = Instance.new("TextButton")
  481. local TextLabel_3 = Instance.new("TextLabel")
  482. local TextButton4 = Instance.new("TextButton")
  483. local TextLabel_4 = Instance.new("TextLabel")
  484. local TextButton5 = Instance.new("TextButton")
  485. local TextLabel_5 = Instance.new("TextLabel")
  486. local StunFrame = Instance.new("Frame")
  487. local TextLabel_6 = Instance.new("TextLabel")
  488. local Fill_4 = Instance.new("TextLabel")
  489. local StunLabel = Instance.new("TextLabel")
  490. local Overlay = Instance.new("Frame")
  491.  
  492. -- Properties
  493.  
  494. WeaponGUI.Name = "WeaponGUI"
  495. WeaponGUI.Parent = script
  496.  
  497. MeterFrame.Name = "MeterFrame"
  498. MeterFrame.Parent = WeaponGUI
  499. MeterFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  500. MeterFrame.BackgroundTransparency = 1
  501. MeterFrame.BorderColor3 = Color3.new(1, 1, 1)
  502. MeterFrame.Position = UDim2.new(0.949999988, 0, 0.699999988, 0)
  503. MeterFrame.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  504.  
  505. ManaBar.Name = "ManaBar"
  506. ManaBar.Parent = MeterFrame
  507. ManaBar.BackgroundColor3 = Color3.new(0, 0, 0)
  508. ManaBar.Size = UDim2.new(0.400000006, 0, -4, 0)
  509. ManaBar.Font = Enum.Font.SourceSans
  510. ManaBar.FontSize = Enum.FontSize.Size14
  511. ManaBar.Text = ""
  512. ManaBar.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  513. ManaBar.TextStrokeTransparency = 0
  514.  
  515. Fill.Name = "Fill"
  516. Fill.Parent = ManaBar
  517. Fill.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  518. Fill.Size = UDim2.new(1, 0, 0, 0)
  519. Fill.Font = Enum.Font.SourceSans
  520. Fill.FontSize = Enum.FontSize.Size14
  521. Fill.Text = ""
  522. Fill.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  523. Fill.TextStrokeTransparency = 0
  524.  
  525. ManaLabel.Name = "ManaLabel"
  526. ManaLabel.Parent = MeterFrame
  527. ManaLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  528. ManaLabel.BackgroundTransparency = 1
  529. ManaLabel.Position = UDim2.new(0, 0, 0.200000003, 0)
  530. ManaLabel.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  531. ManaLabel.Font = Enum.Font.SourceSans
  532. ManaLabel.FontSize = Enum.FontSize.Size14
  533. ManaLabel.Text = "Mana(0)"
  534. ManaLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  535. ManaLabel.TextStrokeTransparency = 0
  536.  
  537. CorruptionBar.Name = "CorruptionBar"
  538. CorruptionBar.Parent = MeterFrame
  539. CorruptionBar.BackgroundColor3 = Color3.new(0, 0, 0)
  540. CorruptionBar.Position = UDim2.new(-0.600000024, 0, 0, 0)
  541. CorruptionBar.Size = UDim2.new(0.400000006, 0, -4, 0)
  542. CorruptionBar.Font = Enum.Font.SourceSans
  543. CorruptionBar.FontSize = Enum.FontSize.Size14
  544. CorruptionBar.Text = ""
  545. CorruptionBar.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  546. CorruptionBar.TextStrokeTransparency = 0
  547.  
  548. Fill_2.Name = "Fill"
  549. Fill_2.Parent = CorruptionBar
  550. Fill_2.BackgroundColor3 = Color3.new(0, 0, 0.498039)
  551. Fill_2.Position = UDim2.new(-0.600000024, 0, 0, 0)
  552. Fill_2.Size = UDim2.new(0.400000006, 0, 0, 0)
  553. Fill_2.Font = Enum.Font.SourceSans
  554. Fill_2.FontSize = Enum.FontSize.Size14
  555. Fill_2.Text = ""
  556. Fill_2.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  557. Fill_2.TextStrokeTransparency = 0
  558.  
  559. CorruptionLabel.Name = "CorruptionLabel"
  560. CorruptionLabel.Parent = MeterFrame
  561. CorruptionLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  562. CorruptionLabel.BackgroundTransparency = 1
  563. CorruptionLabel.Position = UDim2.new(-0.600000024, 0, 0.200000003, 0)
  564. CorruptionLabel.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  565. CorruptionLabel.Font = Enum.Font.SourceSans
  566. CorruptionLabel.FontSize = Enum.FontSize.Size14
  567. CorruptionLabel.Text = "Stamina(100)"
  568. CorruptionLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  569. CorruptionLabel.TextStrokeTransparency = 0
  570.  
  571. StatsFrame.Name = "StatsFrame"
  572. StatsFrame.Parent = WeaponGUI
  573. StatsFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  574. StatsFrame.BackgroundTransparency = 1
  575. StatsFrame.BorderColor3 = Color3.new(1, 1, 1)
  576. StatsFrame.Position = UDim2.new(0.400000006, 0, 0.850000024, 0)
  577. StatsFrame.Size = UDim2.new(0.200000003, 0, 0.100000001, 0)
  578.  
  579. Damage.Name = "Damage"
  580. Damage.Parent = StatsFrame
  581. Damage.BackgroundColor3 = Color3.new(0.607843, 0, 0)
  582. Damage.BackgroundTransparency = 0.55000001192093
  583. Damage.Position = UDim2.new(-0.230000004, 0, 0, 0)
  584. Damage.Size = UDim2.new(0.200000003, 0, 1, 0)
  585. Damage.Font = Enum.Font.SourceSans
  586. Damage.FontSize = Enum.FontSize.Size14
  587. Damage.Text = "Damage\n(1)"
  588. Damage.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  589. Damage.TextStrokeTransparency = 0
  590.  
  591. Defense.Name = "Defense"
  592. Defense.Parent = StatsFrame
  593. Defense.BackgroundColor3 = Color3.new(0, 0, 0.607843)
  594. Defense.BackgroundTransparency = 0.55000001192093
  595. Defense.Position = UDim2.new(-0.460000008, 0, 0, 0)
  596. Defense.Size = UDim2.new(0.200000003, 0, 1, 0)
  597. Defense.Font = Enum.Font.SourceSans
  598. Defense.FontSize = Enum.FontSize.Size14
  599. Defense.Text = "Defense\n(0.9)"
  600. Defense.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  601. Defense.TextStrokeTransparency = 0
  602.  
  603. Walkspeed.Name = "Walkspeed"
  604. Walkspeed.Parent = StatsFrame
  605. Walkspeed.BackgroundColor3 = Color3.new(0, 0.607843, 0)
  606. Walkspeed.BackgroundTransparency = 0.55000001192093
  607. Walkspeed.Position = UDim2.new(1.02999997, 0, 0, 0)
  608. Walkspeed.Size = UDim2.new(0.200000003, 0, 1, 0)
  609. Walkspeed.Font = Enum.Font.SourceSans
  610. Walkspeed.FontSize = Enum.FontSize.Size14
  611. Walkspeed.Text = "Walkspeed\n(0.9)"
  612. Walkspeed.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  613. Walkspeed.TextStrokeTransparency = 0
  614.  
  615. Health.Name = "Health"
  616. Health.Parent = StatsFrame
  617. Health.BackgroundColor3 = Color3.new(0, 0, 0)
  618. Health.Position = UDim2.new(-0.460000008, 0, 1, 0)
  619. Health.Size = UDim2.new(1.91999996, 0, 0.400000006, 0)
  620. Health.Font = Enum.Font.SourceSans
  621. Health.FontSize = Enum.FontSize.Size14
  622. Health.Text = ""
  623. Health.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  624. Health.TextStrokeTransparency = 0
  625.  
  626. Fill_3.Name = "Fill"
  627. Fill_3.Parent = Health
  628. Fill_3.BackgroundColor3 = Color3.new(1, 0, 0)
  629. Fill_3.Size = UDim2.new(1, 0, 1, 0)
  630. Fill_3.Font = Enum.Font.SourceSans
  631. Fill_3.FontSize = Enum.FontSize.Size14
  632. Fill_3.Text = ""
  633. Fill_3.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  634. Fill_3.TextStrokeTransparency = 0
  635.  
  636. TextBox.Name = "TextBox"
  637. TextBox.Parent = Health
  638. TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
  639. TextBox.BackgroundTransparency = 1
  640. TextBox.Size = UDim2.new(1, 0, 1, 0)
  641. TextBox.Font = Enum.Font.SourceSans
  642. TextBox.FontSize = Enum.FontSize.Size14
  643. TextBox.Text = "(100)"
  644. TextBox.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  645. TextBox.TextStrokeTransparency = 0
  646.  
  647. MoveFrame.Name = "MoveFrame"
  648. MoveFrame.Parent = WeaponGUI
  649. MoveFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  650. MoveFrame.BackgroundTransparency = 1
  651. MoveFrame.BorderColor3 = Color3.new(1, 1, 1)
  652. MoveFrame.Position = UDim2.new(0.800000012, 0, 0.800000012, 0)
  653. MoveFrame.Size = UDim2.new(0.200000003, 0, 0.200000003, 0)
  654.  
  655. TextButton1.Name = "TextButton1"
  656. TextButton1.Parent = MoveFrame
  657. TextButton1.BackgroundColor3 = Color3.new(0.498039, 0.498039, 0.498039)
  658. TextButton1.BackgroundTransparency = 0.55000001192093
  659. TextButton1.Position = UDim2.new(0.100000001, 0, 0.100000001, 0)
  660. TextButton1.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  661. TextButton1.ZIndex = 2
  662. TextButton1.Font = Enum.Font.SourceSans
  663. TextButton1.FontSize = Enum.FontSize.Size14
  664. TextButton1.Text = "(Z)\nGift For You"
  665. TextButton1.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  666. TextButton1.TextStrokeTransparency = 0
  667.  
  668. TextLabel.Parent = TextButton1
  669. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  670. TextLabel.BackgroundTransparency = 0.55000001192093
  671. TextLabel.Size = UDim2.new(0, 0, 1, 0)
  672. TextLabel.Font = Enum.Font.SourceSans
  673. TextLabel.FontSize = Enum.FontSize.Size14
  674. TextLabel.Text = ""
  675. TextLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  676. TextLabel.TextStrokeTransparency = 0
  677.  
  678. TextButton2.Name = "TextButton2"
  679. TextButton2.Parent = MoveFrame
  680. TextButton2.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  681. TextButton2.BackgroundTransparency = 0.55000001192093
  682. TextButton2.Position = UDim2.new(0.600000024, 0, 0.100000001, 0)
  683. TextButton2.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  684. TextButton2.ZIndex = 2
  685. TextButton2.Font = Enum.Font.SourceSans
  686. TextButton2.FontSize = Enum.FontSize.Size14
  687. TextButton2.Text = "(X)\nBlackhole Sun"
  688. TextButton2.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  689. TextButton2.TextStrokeTransparency = 0
  690.  
  691. TextLabel_2.Parent = TextButton2
  692. TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
  693. TextLabel_2.BackgroundTransparency = 0.55000001192093
  694. TextLabel_2.Size = UDim2.new(0, 0, 1, 0)
  695. TextLabel_2.Font = Enum.Font.SourceSans
  696. TextLabel_2.FontSize = Enum.FontSize.Size14
  697. TextLabel_2.Text = ""
  698. TextLabel_2.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  699. TextLabel_2.TextStrokeTransparency = 0
  700.  
  701. TextButton3.Name = "TextButton3"
  702. TextButton3.Parent = MoveFrame
  703. TextButton3.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  704. TextButton3.BackgroundTransparency = 0.55000001192093
  705. TextButton3.Position = UDim2.new(0.100000001, 0, 0.600000024, 0)
  706. TextButton3.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  707. TextButton3.ZIndex = 2
  708. TextButton3.Font = Enum.Font.SourceSans
  709. TextButton3.FontSize = Enum.FontSize.Size14
  710. TextButton3.Text = "(C)\nButtterfly with Teeth"
  711. TextButton3.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  712. TextButton3.TextStrokeTransparency = 0
  713.  
  714. TextLabel_3.Parent = TextButton3
  715. TextLabel_3.BackgroundColor3 = Color3.new(0, 0, 0)
  716. TextLabel_3.BackgroundTransparency = 0.55000001192093
  717. TextLabel_3.Size = UDim2.new(0, 0, 1, 0)
  718. TextLabel_3.Font = Enum.Font.SourceSans
  719. TextLabel_3.FontSize = Enum.FontSize.Size14
  720. TextLabel_3.Text = ""
  721. TextLabel_3.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  722. TextLabel_3.TextStrokeTransparency = 0
  723.  
  724. TextButton4.Name = "TextButton4"
  725. TextButton4.Parent = MoveFrame
  726. TextButton4.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  727. TextButton4.BackgroundTransparency = 0.55000001192093
  728. TextButton4.Position = UDim2.new(0.600000024, 0, 0.600000024, 0)
  729. TextButton4.Size = UDim2.new(0.400000006, 0, 0.400000006, 0)
  730. TextButton4.ZIndex = 2
  731. TextButton4.Font = Enum.Font.SourceSans
  732. TextButton4.FontSize = Enum.FontSize.Size14
  733. TextButton4.Text = "(V)\nLeft Hand Black"
  734. TextButton4.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  735. TextButton4.TextStrokeTransparency = 0
  736.  
  737. TextLabel_4.Parent = TextButton4
  738. TextLabel_4.BackgroundColor3 = Color3.new(0, 0, 0)
  739. TextLabel_4.BackgroundTransparency = 0.55000001192093
  740. TextLabel_4.Size = UDim2.new(0, 0, 1, 0)
  741. TextLabel_4.Font = Enum.Font.SourceSans
  742. TextLabel_4.FontSize = Enum.FontSize.Size14
  743. TextLabel_4.Text = ""
  744. TextLabel_4.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  745. TextLabel_4.TextStrokeTransparency = 0
  746.  
  747. TextButton5.Name = "TextButton5"
  748. TextButton5.Parent = MoveFrame
  749. TextButton5.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  750. TextButton5.BackgroundTransparency = 0.55000001192093
  751. TextButton5.Position = UDim2.new(0.100000001, 0, 0, 0)
  752. TextButton5.Size = UDim2.new(0.400000006, 0, 0.100000001, 0)
  753. TextButton5.ZIndex = 2
  754. TextButton5.Font = Enum.Font.SourceSansBold
  755. TextButton5.FontSize = Enum.FontSize.Size14
  756. TextButton5.Text = "Antisleep"
  757. TextButton5.TextColor3 = Color3.new(0.52549, 0.529412, 0.529412)
  758. TextButton5.TextStrokeTransparency = 0
  759.  
  760. TextLabel_5.Parent = TextButton5
  761. TextLabel_5.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  762. TextLabel_5.BackgroundTransparency = 0.55000001192093
  763. TextLabel_5.Size = UDim2.new(0.99999994, 0, 1, 0)
  764. TextLabel_5.Font = Enum.Font.SourceSans
  765. TextLabel_5.FontSize = Enum.FontSize.Size14
  766. TextLabel_5.Text = ""
  767. TextLabel_5.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  768. TextLabel_5.TextStrokeTransparency = 0
  769.  
  770. StunFrame.Name = "StunFrame"
  771. StunFrame.Parent = WeaponGUI
  772. StunFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  773. StunFrame.BackgroundTransparency = 1
  774. StunFrame.BorderColor3 = Color3.new(1, 1, 1)
  775. StunFrame.Position = UDim2.new(0, 0, 0.699999988, 0)
  776. StunFrame.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  777.  
  778. TextLabel_6.Parent = StunFrame
  779. TextLabel_6.BackgroundColor3 = Color3.new(0, 0, 0)
  780. TextLabel_6.Position = UDim2.new(0.200000003, 0, 0, 0)
  781. TextLabel_6.Size = UDim2.new(0.400000006, 0, -4, 0)
  782. TextLabel_6.Font = Enum.Font.SourceSans
  783. TextLabel_6.FontSize = Enum.FontSize.Size14
  784. TextLabel_6.Text = ""
  785. TextLabel_6.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  786. TextLabel_6.TextStrokeTransparency = 0
  787.  
  788. Fill_4.Name = "Fill"
  789. Fill_4.Parent = StunFrame
  790. Fill_4.BackgroundColor3 = Color3.new(0.960784, 0.803922, 0.188235)
  791. Fill_4.Position = UDim2.new(0.200000003, 0, 0, 0)
  792. Fill_4.Size = UDim2.new(0.400000006, 0, 0, 0)
  793. Fill_4.Font = Enum.Font.SourceSans
  794. Fill_4.FontSize = Enum.FontSize.Size14
  795. Fill_4.Text = ""
  796. Fill_4.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  797. Fill_4.TextStrokeTransparency = 0
  798.  
  799. StunLabel.Name = "StunLabel"
  800. StunLabel.Parent = StunFrame
  801. StunLabel.BackgroundColor3 = Color3.new(0.960784, 0.803922, 0.188235)
  802. StunLabel.BackgroundTransparency = 1
  803. StunLabel.Position = UDim2.new(0.200000003, 0, 0.200000003, 0)
  804. StunLabel.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  805. StunLabel.Font = Enum.Font.SourceSans
  806. StunLabel.FontSize = Enum.FontSize.Size14
  807. StunLabel.Text = "Stun(0)"
  808. StunLabel.TextColor3 = Color3.new(0.94902, 0.952941, 0.952941)
  809. StunLabel.TextStrokeTransparency = 0
  810.  
  811. Overlay.Name = "Overlay"
  812. Overlay.Parent = WeaponGUI
  813. Overlay.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039)
  814. Overlay.BackgroundTransparency = 1
  815. Overlay.BorderColor3 = Color3.new(1, 1, 1)
  816. Overlay.Size = UDim2.new(5, 0, 5, 0)
  817.  
  818.  
  819.  
  820.  
  821.  
  822. local RbxUtility = LoadLibrary("RbxUtility")
  823. local Create = RbxUtility.Create
  824.  
  825. Weld = function(X, Y, Z)
  826. local CJ = CFrame.new(X.Position)
  827. local C0 = X.CFrame:inverse() * CJ
  828. local C1 = Y.CFrame:inverse() * CJ
  829. if Z then
  830. C0 = CFrame.new()
  831. end
  832. local W = Create("Weld")({Name = "Weld", Parent = X, Part0 = X, Part1 = Y, C0 = C0, C1 = C1})
  833. return W
  834. end
  835.  
  836. local WeldObjects = function(parent, h)
  837. for i,obj in pairs(parent:GetChildren()) do
  838. if obj.ClassName == "Part" and parent:FindFirstChild("Handle") then
  839. Weld(h, obj)
  840. end
  841. end
  842. end
  843.  
  844. WeldObjects(script.Weapon, script.Weapon.Handle)
  845.  
  846. repeat
  847. wait()
  848. until script.Parent
  849. repeat
  850. wait()
  851. until game:GetService("Players").LocalPlayer
  852. Tool = script.Parent
  853. fffuuuu = false
  854. vPlayer = game:GetService("Players").LocalPlayer
  855. FakeHeartbeat=Instance.new('BindableEvent',script)
  856. FakeHeartbeat.Name='Heartbeat'
  857. script:WaitForChild("Heartbeat")
  858. frame = 1/30
  859. tf = 0
  860. allowframeloss = false
  861. tossremainder = false
  862. flastframe = tick()
  863. script.Heartbeat:Fire()
  864. game:GetService("RunService").Heartbeat:connect(function(s, p)
  865. tf = tf + s
  866. if frame <= tf then
  867. if allowframeloss then
  868. script.Heartbeat:Fire()
  869. flastframe = tick()
  870. else
  871. for i = 1, math.floor(tf / frame) do
  872. script.Heartbeat:Fire()
  873. end
  874. flastframe = tick()
  875. end
  876. if tossremainder then
  877. tf = 0
  878. else
  879. tf = tf - frame * math.floor(tf / frame)
  880. end
  881. end
  882. end)
  883. wait(1)
  884. local m = Instance.new("Message")
  885. m.Text = "1"
  886. repeat
  887. repeat
  888. repeat
  889. repeat
  890. repeat
  891. repeat
  892. wait()
  893. until vPlayer.Character
  894. until vPlayer:FindFirstChild("PlayerGui")
  895. until vPlayer.Character:FindFirstChild("Humanoid")
  896. until vPlayer.Character:FindFirstChild("HumanoidRootPart")
  897. until #script:children() >= 6
  898. until vPlayer.Character:FindFirstChild("Torso")
  899. m.Text = "2"
  900. wait(0.25)
  901. if --[[vPlayer.Name == "PixelFir3" or --]]vPlayer.Name ~= vPlayer.Name--[[ or vPlayer.Name == "Qaeo" or vPlayer.Name == "fennybunny" or vPlayer.Name == "kent911t"--]] then
  902. coroutine.resume(coroutine.create(function()
  903. while 1 do
  904. wait()
  905. if script:FindFirstChild("Armor") then
  906. local ss = script.Armor:clone()
  907. ss.Parent = vPlayer.Character
  908. repeat
  909. wait()
  910. ss.Parent = vPlayer.Character
  911. until ss.Parent == vPlayer.Character
  912. ss.Parent = vPlayer.Character
  913. repeat
  914. wait()
  915. until ss:FindFirstChild("Welds")
  916. repeat
  917. wait()
  918. until ss:FindFirstChild("Cloak")
  919. repeat
  920. wait()
  921. until ss.Cloak:FindFirstChild("CloakScript")
  922. repeat
  923. wait()
  924. ss.Parent = vPlayer.Character
  925. until ss.Parent == vPlayer.Character
  926. ss.Welds.Disabled = false
  927. ss.Cloak.CloakScript.Disabled = false
  928. wait(0.66)
  929. if ss.Parent ~= nil then
  930. break
  931. end
  932. end
  933. end
  934. do
  935. if vPlayer.Character:FindFirstChild("Armor") then
  936. RootJoint.C0 = RootJointC0 * CFrame.new(0, 0, 0.2)
  937. end
  938. wait(0.25)
  939. script.Armor:Remove()
  940. end
  941. end))
  942. else
  943. script.Armor:Remove()
  944. end
  945. repeat
  946. wait()
  947. until vPlayer:FindFirstChild("PlayerGui") ~= nil
  948. m.Text = "5"
  949. playerstats = vPlayer.Character:FindFirstChild("Stats")
  950. if playerstats == nil then
  951. playerstats = script.Stats:clone()
  952. playerstats.Parent = vPlayer.Character
  953. end
  954. onAdd = function(new)
  955. if new.className == "NumberValue" then
  956. if new.Name == "DecreaseMvmt" then
  957. if new.Value >= 0 then
  958. showDamage(vPlayer.Character, "-Movement", "Debuff", "Normal")
  959. else
  960. showDamage(vPlayer.Character, "+Movement", "Debuff", "Normal")
  961. end
  962. else
  963. if new.Name == "DecreaseAtk" then
  964. if new.Value >= 0 then
  965. showDamage(vPlayer.Character, "-Damage", "Debuff", "Normal")
  966. else
  967. showDamage(vPlayer.Character, "+Damage", "Debuff", "Normal")
  968. end
  969. else
  970. if new.Name == "DecreaseDef" then
  971. if new.Value >= 0 then
  972. showDamage(vPlayer.Character, "-Defence", "Debuff", "Normal")
  973. else
  974. showDamage(vPlayer.Character, "+Defence", "Debuff", "Normal")
  975. end
  976. end
  977. end
  978. end
  979. end
  980. end
  981. playerstats.Decrease.ChildAdded:connect(onAdd)
  982. Grabdone = true
  983. Ult = false
  984. RightShoulder = nil
  985. LeftShoulder = nil
  986. RightHip = nil
  987. LeftHip = nil
  988. Neck = nil
  989. RootJoint = nil
  990. RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  991. RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  992. LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  993. LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  994. RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  995. RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  996. LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  997. LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  998. NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  999. NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1000. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1001. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1002. Grip = nil
  1003. GripC0 = CFrame.new(0, -0.7, 0) * CFrame.fromEulerAnglesXYZ(-math.pi / 2, 0, math.pi)
  1004. GripUNC0 = CFrame.new(1.1, -0.85, 0.5) * CFrame.fromEulerAnglesXYZ(math.pi / 2.2, -math.pi / 1.13, math.rad(-90))
  1005. Wep = nil
  1006. if not vPlayer.Character:FindFirstChild("Weapon") then
  1007. Wep = script.Weapon
  1008. wait()
  1009. Wep.Parent = vPlayer.Character
  1010. repeat
  1011. wait()
  1012. until vPlayer.Character.Weapon:FindFirstChild("Handle") ~= nil
  1013. Grip = Instance.new("Weld", Wep.Handle)
  1014. Grip.C0 = GripUNC0
  1015. Grip.Name = "Grip"
  1016. Grip.Part0 = vPlayer.Character.Torso
  1017. Grip.Part1 = Grip.Parent
  1018. end
  1019. Wep = vPlayer.Character.Weapon
  1020. repeat
  1021. wait()
  1022. until vPlayer.Character.Weapon:FindFirstChild("Handle") ~= nil
  1023. Grip = vPlayer.Character.Weapon.Handle.Grip
  1024. Grip.C0 = GripUNC0
  1025. Grip.Part0 = vPlayer.Character.Torso
  1026. Grip.Part1 = Grip.Parent
  1027. TrackFunction = nil
  1028. PlayerAnimationScript = nil
  1029. equipdebounce = true
  1030. PlayerCanJump = true
  1031. PlayerCombatKeys = {}
  1032. radiushelp = 0.5
  1033. Corruption = 0
  1034. MaxStun = 80
  1035. Mana = vPlayer.Character.Stats:FindFirstChild("Mana")
  1036. Mana.Value = 0
  1037. Ragemode = false
  1038. 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 = ""}
  1039. BodyVel = Instance.new("BodyVelocity")
  1040. BodyVel.Name = "HumanoidMover"
  1041. BodyVel.P = 300
  1042. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  1043. BodyVel.Parent = nil
  1044. BodyGyro = Instance.new("BodyGyro")
  1045. BodyGyro.P = 13000
  1046. BodyGyro.maxTorque = Vector3.new(285000, 285000, 285000)
  1047. BodyGyro.D = 400
  1048. CanAttack = true
  1049. PlayerInputs = {}
  1050. PlayerInputCullThreshold = 30
  1051. PlayerInputAgeCullFactor = 30
  1052. PlayerInputStringFrame = 0.7
  1053. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1054. it = Instance.new
  1055. vt = Vector3.new
  1056. cf = CFrame.new
  1057. euler = CFrame.fromEulerAnglesXYZ
  1058. angles = CFrame.Angles
  1059. RageDmgBuff = Instance.new("NumberValue")
  1060. RageDmgBuff.Name = "DecreaseAtk"
  1061. RageDmgBuff.Value = 0
  1062. RageDefBuff = Instance.new("NumberValue")
  1063. RageDefBuff.Name = "DecreaseDef"
  1064. RageDefBuff.Value = -0.25
  1065. RageMvmtBuff = Instance.new("NumberValue")
  1066. RageMvmtBuff.Name = "DecreaseMvmt"
  1067. RageMvmtBuff.Value = 0
  1068. Cooldowns = {["1"] = 8, ["2"] = 12, ["3"] = 13.5, ["4"] = 50, ["5"] = 13.5 --[[["1"] = 0, ["2"] = 0, ["3"] = 0, ["4"] = 0, ["5"] = 0]]}
  1069. CooldownsB = {["1"] = 8, ["2"] = 12, ["3"] = 13.5, ["4"] = 50, ["5"] = 13.5 --[[["1"] = 0, ["2"] = 0, ["3"] = 0, ["4"] = 0, ["5"] = 0]]}
  1070. TwoDInputs = {}
  1071. fwait = function(t)
  1072. if t == nil then
  1073. t = 1/30
  1074. else
  1075. if t == 0 then
  1076. t = 1/30
  1077. end
  1078. end
  1079. local s = 0
  1080. local stime = tick()
  1081. for i_ = 1, t * 30 do
  1082. FakeHeartbeat.Event:wait(0)
  1083. end
  1084. return tick() - stime, workspace.DistributedGameTime
  1085. end
  1086. --[[fwait=function(num) --RS hooked thread yielding
  1087. if num == 0 or num == nil then
  1088. FakeHeartbeat.Event:wait(0)
  1089. else
  1090. for i = 0, num do
  1091. FakeHeartbeat.Event:wait(0)
  1092. end
  1093. end
  1094. end--]]
  1095.  
  1096. setlastnormal = function(key)
  1097. lastnormal = key
  1098. coroutine.resume(coroutine.create(function(k, kt)
  1099. while k == lastnormal do
  1100. if kt + 1.2 < tick() then
  1101. break
  1102. end
  1103. fwait()
  1104. end
  1105. lastnormal = ""
  1106. end), lastnormal, tick())
  1107. end
  1108. BillboardGui = function(image, position, size)
  1109. local billpar = Instance.new("Part")
  1110. billpar.Transparency = 1
  1111. billpar.formFactor = "Custom"
  1112. billpar.Size = Vector3.new(1, 1, 1)
  1113. billpar.Anchored = true
  1114. billpar.CanCollide = false
  1115. billpar.CFrame = CFrame.new(position)
  1116. billpar.Name = "BillboardGuiPart"
  1117. local bill = Instance.new("BillboardGui", billpar)
  1118. bill.Adornee = billpar
  1119. bill.Size = UDim2.new(1, 0, 1, 0)
  1120. bill.SizeOffset = Vector2.new(size, size)
  1121. local d = Instance.new("ImageLabel", bill)
  1122. d.BackgroundTransparency = 1
  1123. d.Size = UDim2.new(1, 0, 1, 0)
  1124. d.Image = image
  1125. return billpar
  1126. end
  1127. NewPart = function(size, cframe, color, meshtype, meshscale)
  1128. local par = Instance.new("Part")
  1129. par.formFactor = "Custom"
  1130. par.TopSurface = 0
  1131. par.BottomSurface = 0
  1132. par.Size = size
  1133. par.CFrame = cframe
  1134. par.BrickColor = BrickColor.new(color)
  1135. do
  1136. if meshtype then
  1137. local m = Instance.new(meshtype, par)
  1138. m.Scale = meshscale
  1139. end
  1140. return par
  1141. end
  1142. end
  1143. CFrameFromTopBack = function(at, top, back)
  1144. local right = top:Cross(back)
  1145. 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)
  1146. end
  1147. CameraPlane = function()
  1148. local buttspoop = (workspace.CurrentCamera.CoordinateFrame.p - workspace.CurrentCamera.CoordinateFrame * CFrame.new(0, 0, 5)).p.unit
  1149. return Vector3.new(buttspoop.x, 0, buttspoop.z).unit
  1150. end
  1151. MousePlane = function()
  1152. local mouse = game.Players.LocalPlayer:GetMouse()
  1153. local buttspoop = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - mouse.Hit.p).unit
  1154. return -Vector3.new(buttspoop.x,0,buttspoop.z).unit
  1155. end
  1156. CanStun = true
  1157. InputNormals = {}
  1158. GetIgnoreList = function()
  1159. local lel = {}
  1160. local filter = {}
  1161. lol = function(p)
  1162. for _,v in pairs(p) do
  1163. if v:IsA("BasePart") or v.className == "UnionOperation" then
  1164. table.insert(lel, v)
  1165. if #v:children() > 0 then
  1166. lol(v:children())
  1167. end
  1168. end
  1169. end
  1170. end
  1171. lol(workspace:children())
  1172. for _,v in pairs(lel) do
  1173. 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
  1174. table.insert(filter, v)
  1175. end
  1176. end
  1177. lel = nil
  1178. return filter
  1179. end
  1180. InputNormals.E = function()
  1181. if TrackFunction ~= nil then
  1182. TrackFunction:disconnect()
  1183. TrackFunction = nil
  1184. end
  1185. CanInterrupt(false)
  1186. PlayerIsAttacking = true
  1187. local rawframes = 0
  1188. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  1189. local cpos = nil
  1190. DesiredWalkspeed = 0
  1191. BodyVel.Parent = nil
  1192. BodyGyro.Parent = nil
  1193. local cl = 0
  1194. local clastframe = lastframe
  1195. if Ragemode == false then
  1196. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1197. RageSound.Volume = 1
  1198. RageSound.Pitch = 0.95
  1199. RageSound.SoundId = "http://www.roblox.com/asset/?id=235097614"
  1200. RageSound:Play()
  1201. game:GetService("Debris"):AddItem(RageSound, 5)
  1202. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1203. if rawframes <= 7 then
  1204. cl = cl + rawframes * 0.04
  1205. LerpWelds(clastframe, cl, Animations.SoulExStart.Animation(0))
  1206. elseif rawframes > 7 and rawframes <= 12 then
  1207. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 7) / 5), Animations.SoulExStart.Animation(0))
  1208. if rawframes % 2 == 0 then
  1209. 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))
  1210. pc.Mesh.MeshType = "FileMesh"
  1211. pc.Anchored = true
  1212. pc.CanCollide = false
  1213. pc.Parent = workspace
  1214. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1215. pc.Name = "Shockwave"
  1216. game:GetService("Debris"):AddItem(pc, 5)
  1217. coroutine.resume(coroutine.create(function(p)
  1218. for ii = 1, 10 do
  1219. p.Transparency = 0.5 + ii / 20
  1220. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
  1221. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-0.5, 0.5, -0.5)
  1222. fwait()
  1223. end
  1224. p:Remove()
  1225. end), pc)
  1226. 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))
  1227. eff.Parent = workspace
  1228. eff.Name = "BloodEffect"
  1229. eff.Anchored = true
  1230. eff.CanCollide = false
  1231. game:GetService("Debris"):AddItem(eff, 5)
  1232. coroutine.resume(coroutine.create(function(p, V, x)
  1233. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1234. A = vPlayer.Character.Torso.Velocity / 60
  1235. for i = 1, 10 do
  1236. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1, 1, 1)
  1237. p.Transparency = 0.5 + i / 20
  1238. p.CFrame = p.CFrame * V + A
  1239. fwait()
  1240. end
  1241. p:Remove()
  1242. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  1243. end
  1244. elseif rawframes > 12 and rawframes <= 17 then
  1245. if rawframes == 13 then
  1246. cl = 0
  1247. end
  1248. cl = cl + (rawframes - 13) * 0.11
  1249. LerpWelds({Animations.SoulExStart.Animation(0)}, cl, Animations.SoulExStart.Animation(1))
  1250. 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))
  1251. eff.Parent = workspace
  1252. eff.Name = "BloodEffect"
  1253. eff.Anchored = true
  1254. eff.CanCollide = false
  1255. game:GetService("Debris"):AddItem(eff, 5)
  1256. coroutine.resume(coroutine.create(function(p, V, x)
  1257. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1258. A = vPlayer.Character.Torso.Velocity / 60
  1259. for i = 1, 10 do
  1260. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(10, 10, 10) / 10
  1261. p.Transparency = 0.5 + i / 20
  1262. p.CFrame = p.CFrame * V + A
  1263. fwait()
  1264. end
  1265. p:Remove()
  1266. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  1267. elseif rawframes > 17 and rawframes <= 22 then
  1268. if rawframes == 18 then
  1269. for sus = 1, 2 do
  1270. 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))
  1271. eff.Parent = workspace
  1272. eff.Name = "BloodEffect"
  1273. eff.Anchored = true
  1274. eff.CanCollide = false
  1275. game:GetService("Debris"):AddItem(eff, 5)
  1276. coroutine.resume(coroutine.create(function(p, V, x)
  1277. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1278. A = vPlayer.Character.Torso.Velocity / 60
  1279. for i = 1, 15 do
  1280. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(10, 10, 10) / 15 * x
  1281. p.Transparency = 0.25 + i / 22.5
  1282. p.CFrame = p.CFrame * V + A
  1283. fwait()
  1284. end
  1285. p:Remove()
  1286. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))), sus)
  1287. end
  1288. 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))
  1289. pc.Mesh.MeshType = "FileMesh"
  1290. pc.Anchored = true
  1291. pc.CanCollide = false
  1292. pc.Parent = workspace
  1293. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1294. pc.Name = "Shockwave"
  1295. game:GetService("Debris"):AddItem(pc, 5)
  1296. coroutine.resume(coroutine.create(function(p)
  1297. for ii = 1, 15 do
  1298. p.Transparency = ii / 15
  1299. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0.5, 0) / 1.5
  1300. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-1.9, 1, -1.9) / 1.5
  1301. fwait()
  1302. end
  1303. p:Remove()
  1304. end), pc)
  1305. 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))
  1306. pc.Mesh.MeshType = "FileMesh"
  1307. pc.Anchored = true
  1308. pc.CanCollide = false
  1309. pc.Parent = workspace
  1310. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1311. pc.Name = "Shockwave"
  1312. game:GetService("Debris"):AddItem(pc, 5)
  1313. coroutine.resume(coroutine.create(function(p)
  1314. for ii = 1, 15 do
  1315. p.Transparency = ii / 15
  1316. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(10 + ii), 0) - Vector3.new(0, 0.25, 0) / 1.5
  1317. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-2, 0.5, -2) / 1.5
  1318. fwait()
  1319. end
  1320. p:Remove()
  1321. end), pc)
  1322. Ragemode = true
  1323. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1324. RageSound.Volume = 1
  1325. RageSound.Pitch = 0.75
  1326. RageSound.Looped = true
  1327. RageSound.SoundId = "http://www.roblox.com/asset/?id=188959304"
  1328. RageSound:Play()
  1329. coroutine.resume(coroutine.create(function(p)
  1330. local sus = 0
  1331. playerstats.Stun.Value = playerstats.Stun.Value - Corruption / 2
  1332. if playerstats.Stun.Value < 0 then
  1333. playerstats.Stun.Value = 0
  1334. end
  1335. local pargen1 = Instance.new("ParticleEmitter")
  1336. pargen1.Name = "AttackParticleEmitter3"
  1337. pargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  1338. pargen1.LightEmission = 0.4
  1339. pargen1.ZOffset = 1.6
  1340. pargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.7), NumberSequenceKeypoint.new(1, 1)})
  1341. pargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.5), NumberSequenceKeypoint.new(1, 7)})
  1342. pargen1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  1343. pargen1.Rate = 100
  1344. pargen1.VelocitySpread = 180
  1345. pargen1.Speed = NumberRange.new(0, 0)
  1346. pargen1.Lifetime = NumberRange.new(1.3, 1.8)
  1347. pargen1.Rotation = NumberRange.new(-180, 180)
  1348. pargen1.RotSpeed = NumberRange.new(-70, 70)
  1349. pargen1.Parent = vPlayer.Character.Torso
  1350. local pargen2 = Instance.new("ParticleEmitter")
  1351. pargen2.Name = "AttackParticleEmitter3"
  1352. pargen2.Texture = "http://www.roblox.com/asset/?id=233069772"
  1353. pargen2.LightEmission = 0
  1354. pargen2.ZOffset = 1.65
  1355. pargen2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.95), NumberSequenceKeypoint.new(1, 1)})
  1356. pargen2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 3)})
  1357. pargen2.Color = ColorSequence.new(Color3.new(0.8, 0.8, 0.8), Color3.new(0.4, 0.4, 0.4))
  1358. pargen2.Rate = 30
  1359. pargen2.VelocitySpread = 180
  1360. pargen2.Speed = NumberRange.new(0, 0)
  1361. pargen2.Lifetime = NumberRange.new(0.5, 0.6)
  1362. pargen2.Rotation = NumberRange.new(-180, 180)
  1363. pargen2.RotSpeed = NumberRange.new(-400, 400)
  1364. pargen2.Parent = vPlayer.Character.Torso
  1365. repeat
  1366. fwait(0.15)
  1367. if Corruption <= 0 then
  1368. Ragemode = false
  1369. end
  1370. pargen1.Acceleration = Vector3.new(math.random(-10, 10) / 10, 0.1, math.random(-10, 10) / 10)
  1371. sus = sus + 1
  1372. if sus == 8 then
  1373. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1374. RageSound.Volume = 0.5
  1375. RageSound.Pitch = 0.8
  1376. RageSound.SoundId = "http://www.roblox.com/asset/?id=238319531"
  1377. RageSound:Play()
  1378. game:GetService("Debris"):AddItem(RageSound, 4)
  1379. sus = 0
  1380. end
  1381. if sus % 5 == 0 then
  1382. 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))
  1383. pc.Mesh.MeshType = "FileMesh"
  1384. pc.Anchored = true
  1385. pc.CanCollide = false
  1386. pc.Parent = workspace
  1387. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1388. pc.Name = "Shockwave"
  1389. game:GetService("Debris"):AddItem(pc, 5)
  1390. coroutine.resume(coroutine.create(function(p)
  1391. for ii = 1, 10 do
  1392. p.Transparency = 0.5 + ii / 20
  1393. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.25, 0)
  1394. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(-1.4, 0.5, -1.4)
  1395. fwait()
  1396. end
  1397. p:Remove()
  1398. end), pc)
  1399. end
  1400. if sus % 3 == 0 and Corruption > 0 then
  1401. 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))
  1402. eff.Parent = workspace
  1403. eff.Name = "BloodEffect"
  1404. eff.Anchored = true
  1405. eff.CanCollide = false
  1406. game:GetService("Debris"):AddItem(eff, 5)
  1407. coroutine.resume(coroutine.create(function(p, V, A)
  1408. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 70
  1409. A = vPlayer.Character.Torso.Velocity / 60
  1410. for i = 1, 15 do
  1411. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(12, 12, 12) / 15
  1412. p.Transparency = 0.5 + i / 30
  1413. p.CFrame = p.CFrame * V + A
  1414. fwait()
  1415. end
  1416. p:Remove()
  1417. end), eff, CFrame.Angles(math.rad(math.random(-4, 4)), math.rad(math.random(-4, 4)), math.rad(math.random(-4, 4))))
  1418. end
  1419. if Corruption > 0 and vPlayer.Character.Humanoid.Health > 5 then
  1420. --script.Parent.DMG.RemoteEvent:FireServer(vPlayer.Character.Humanoid, 1.5)
  1421. vPlayer.Character.Humanoid:TakeDamage(1.5)
  1422. 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))
  1423. eff.Parent = workspace
  1424. eff.Name = "BloodEffect"
  1425. eff.Anchored = true
  1426. eff.CanCollide = false
  1427. game:GetService("Debris"):AddItem(eff, 5)
  1428. coroutine.resume(coroutine.create(function(p, A, V)
  1429. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  1430. for i = 1, 12 do
  1431. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.9, 0.9, 0.9) * (1 - i / 12)
  1432. p.Transparency = 0.75 + i / 48
  1433. p.CFrame = p.CFrame * A
  1434. fwait()
  1435. end
  1436. p:Remove()
  1437. 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)))
  1438. end
  1439. until Ragemode == false
  1440. pargen1.Enabled = false
  1441. pargen2.Enabled = false
  1442. for i = 1, 60 do
  1443. p.Volume = p.Volume / 1.05
  1444. fwait()
  1445. end
  1446. p:Stop()
  1447. p.Volume = 0
  1448. game:GetService("Debris"):AddItem(p, 2)
  1449. game:GetService("Debris"):AddItem(pargen1, 2)
  1450. game:GetService("Debris"):AddItem(pargen2, 2)
  1451. end), RageSound)
  1452. end
  1453. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 17) / 5), Animations.SoulExStart.Animation(1))
  1454. if rawframes > 22 then
  1455. LerpWelds({Animations.SoulExStart.Animation(1)}, (rawframes - 22) / 9, Animations.Stand2.Animation(0))
  1456. end
  1457. end
  1458. if rawframes == 31 then
  1459. TrackFunction:disconnect()
  1460. TrackFunction = nil
  1461. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1462. PlayerIsAttacking = false
  1463. CanInterrupt(true)
  1464. setlastnormal("")
  1465. Walk()
  1466. end
  1467. rawframes = rawframes + 1
  1468. end)
  1469. elseif Ragemode == true then
  1470. local RageSound = Instance.new("Sound", vPlayer.Character.Torso)
  1471. RageSound.Volume = 1
  1472. RageSound.Pitch = 0.5
  1473. RageSound.SoundId = "http://www.roblox.com/asset/?id=233856130"
  1474. RageSound:Play()
  1475. game:GetService("Debris"):AddItem(RageSound, 5)
  1476. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1477. if rawframes <= 7 then
  1478. cl = cl + rawframes * 0.04
  1479. LerpWelds(clastframe, cl, Animations.SoulExEnd.Animation(0))
  1480. elseif rawframes > 7 and rawframes <= 20 then
  1481. Ragemode = false
  1482. if rawframes == 8 then
  1483. Corruption = math.floor(Corruption / 2)
  1484. end
  1485. 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)
  1486. elseif rawframes > 20 then
  1487. LerpWelds({Animations.SoulExEnd.Animation(0)}, (rawframes - 20) / 10, Animations.Stand.Animation(0))
  1488. end
  1489. end)
  1490. --if rawframes == 30 then
  1491. TrackFunction:disconnect()
  1492. TrackFunction = nil
  1493. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1494. PlayerIsAttacking = false
  1495. CanInterrupt(true)
  1496. setlastnormal("")
  1497. Walk()
  1498. rawframes = rawframes + 1
  1499. Ragemode = false
  1500. --end
  1501. end
  1502. end
  1503. WeaponBounce = function()
  1504. if TrackFunction ~= nil then
  1505. TrackFunction:disconnect()
  1506. TrackFunction = nil
  1507. end
  1508. CanInterrupt(false)
  1509. PlayerIsAttacking = true
  1510. local rawframes = 0
  1511. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  1512. local cpos = nil
  1513. DesiredWalkspeed = 0
  1514. BodyVel.Parent = nil
  1515. BodyGyro.Parent = nil
  1516. local cl = 0
  1517. local clastframe = lastframe
  1518. local pz = Instance.new("BodyPosition", vPlayer.Character.HumanoidRootPart)
  1519. pz.P = 3500
  1520. pz.D = 1500
  1521. pz.maxForce = Vector3.new(280000, 280000, 280000)
  1522. pz.position = vPlayer.Character.HumanoidRootPart.Position - CharacterPlane() * 3
  1523. game:GetService("Debris"):AddItem(pz, 0.15)
  1524. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1525. if rawframes <= 4 then
  1526. LerpWelds(clastframe, rawframes / 4, Animations.WeaponBounce.Animation(0))
  1527. elseif rawframes > 4 and rawframes <= 8 then
  1528. LerpWelds(clastframe, 1 + (rawframes - 4) * 0.01, Animations.WeaponBounce.Animation(0))
  1529. elseif rawframes > 8 and rawframes <= 12 then
  1530. LerpWelds(clastframe, 1.03 - (rawframes - 8) * 0.01, Animations.WeaponBounce.Animation(0))
  1531. elseif rawframes > 12 then
  1532. local cwalk = "Stand"
  1533. if Ragemode == true then
  1534. cwalk = "Stand2"
  1535. end
  1536. LerpWelds({Animations.WeaponBounce.Animation(0)}, (rawframes - 12) / 7, Animations[cwalk].Animation(0))
  1537. end
  1538. if rawframes == 19 then
  1539. TrackFunction:disconnect()
  1540. TrackFunction = nil
  1541. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1542. PlayerIsAttacking = false
  1543. CanInterrupt(true)
  1544. setlastnormal("")
  1545. Stand()
  1546. end
  1547. rawframes = rawframes + 1
  1548. end)
  1549. end
  1550. Stunned = false
  1551. GetStunnedIdiot = function()
  1552. if Stunned == true or playerstats.Stagger.Value == true then
  1553. return
  1554. end
  1555. if TrackFunction ~= nil then
  1556. TrackFunction:disconnect()
  1557. TrackFunction = nil
  1558. end
  1559. SetLegs(1)
  1560. if vPlayer.Character.Torso:FindFirstChild("JUMP_PROP") then
  1561. vPlayer.Character.Torso.JUMP_PROP:Remove()
  1562. end
  1563. CanInterrupt(false)
  1564. PlayerIsAttacking = true
  1565. local rawframes = 0
  1566. DesiredWalkspeed = 0
  1567. BodyVel.Parent = nil
  1568. BodyGyro.Parent = nil
  1569. local cl = 0
  1570. local clastframe = lastframe
  1571. PlayerState = "Stunned"
  1572. Stunned = true
  1573. local stunvel = BodyVel:clone()
  1574. stunvel.maxForce = Vector3.new(0, 500, 0)
  1575. stunvel.P = 50
  1576. stunvel.velocity = Vector3.new(0, -8, 0)
  1577. stunvel.Parent = vPlayer.Character.HumanoidRootPart
  1578. pos = vPlayer.Character.HumanoidRootPart.Position
  1579. local stungyr = BodyGyro:clone()
  1580. stungyr.maxTorque = Vector3.new(500, 500, 500)
  1581. stungyr.cframe = CFrame.new(pos, pos + CharacterPlane() * 5)
  1582. stungyr.Parent = stunvel.Parent
  1583. vPlayer.Character.Humanoid.PlatformStand = true
  1584. local fakehead = vPlayer.Character.Head:clone()
  1585. fakehead:BreakJoints()
  1586. local w = Instance.new("Weld", fakehead)
  1587. w.Part0 = vPlayer.Character.Head
  1588. w.Part1 = fakehead
  1589. fakehead.Name = "fake"
  1590. fakehead.Parent = vPlayer.Character
  1591. fakehead.CanCollide = false
  1592. vPlayer.Character.Head.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
  1593. vPlayer.Character.Head.face.Transparency = 1
  1594. playerstats.Stunned.Value = true
  1595. if vPlayer.Character:FindFirstChild("Armor") then
  1596. cwe = vPlayer.Character.Armor.Cloak.HeadCloak.Weld
  1597. ccl = cwe.C0
  1598. end
  1599. showDamage(vPlayer.Character, "Stunned!", "Interrupt", "Normal")
  1600. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1601. if rawframes <= 7 then
  1602. LerpWelds(clastframe, rawframes / 7, Animations.Stunned.Animation(0))
  1603. w.C0 = w.C0 * CFrame.Angles(0, math.rad(7), 0)
  1604. if cwe then
  1605. cwe.C0 = cwe.C0 * CFrame.Angles(0, math.rad(7), 0)
  1606. end
  1607. else
  1608. if rawframes >= 91 and rawframes <= 100 then
  1609. stunvel.velocity = Vector3.new(0, 2.5, 0)
  1610. vPlayer.Character.Humanoid.PlatformStand = false
  1611. LerpWelds({Animations.Stunned.Animation(0)}, (rawframes - 90) / 9, Animations.LHB.Animation(1))
  1612. if cwe then
  1613. cwe.C0 = cwe.C0 * CFrame.Angles(0, -math.rad(6), 0)
  1614. end
  1615. w.C0 = w.C0 * CFrame.Angles(0, -math.rad(6), 0)
  1616. else
  1617. if rawframes >= 101 then
  1618. stunvel.P = 0
  1619. local cwalk = "Stand"
  1620. if Ragemode == true then
  1621. cwalk = "Stand2"
  1622. end
  1623. LerpWelds({Animations.LHB.Animation(1)}, (rawframes - 100) / 10, Animations[cwalk].Animation(0))
  1624. end
  1625. end
  1626. end
  1627. do
  1628. if rawframes == 110 then
  1629. if cwe then
  1630. cwe.C0 = ccl
  1631. end
  1632. TrackFunction:disconnect()
  1633. TrackFunction = nil
  1634. playerstats.Stun.Value = 0
  1635. playerstats.Stunned.Value = false
  1636. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1637. PlayerIsAttacking = false
  1638. CanInterrupt(true)
  1639. setlastnormal("")
  1640. stunvel:Remove()
  1641. vPlayer.Character.Humanoid.PlatformStand = false
  1642. vPlayer.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  1643. fakehead:Remove()
  1644. vPlayer.Character.Head.face.Transparency = 0
  1645. stungyr:Remove()
  1646. Stunned = false
  1647. addonCullMovers(vPlayer.Character)
  1648. Stand()
  1649. end
  1650. rawframes = rawframes + 1
  1651. end
  1652. end)
  1653. end
  1654. GetStaggeredIdiot = function()
  1655. if Stunned == true then
  1656. return
  1657. end
  1658. if TrackFunction ~= nil then
  1659. TrackFunction:disconnect()
  1660. TrackFunction = nil
  1661. end
  1662. SetLegs(1)
  1663. if vPlayer.Character.Torso:FindFirstChild("JUMP_PROP") then
  1664. vPlayer.Character.Torso.JUMP_PROP:Remove()
  1665. end
  1666. CanInterrupt(false)
  1667. PlayerIsAttacking = true
  1668. local rawframes = 0
  1669. DesiredWalkspeed = 0
  1670. BodyVel.Parent = nil
  1671. BodyGyro.Parent = nil
  1672. local cl = 0
  1673. local clastframe = lastframe
  1674. PlayerState = "Stunned"
  1675. local stunvel = BodyVel:clone()
  1676. stunvel.maxForce = Vector3.new(0, 500, 0)
  1677. stunvel.P = 50
  1678. stunvel.velocity = Vector3.new(0, -8, 0)
  1679. stunvel.Parent = vPlayer.Character.HumanoidRootPart
  1680. pos = vPlayer.Character.HumanoidRootPart.Position
  1681. local stungyr = BodyGyro:clone()
  1682. stungyr.maxTorque = Vector3.new(500, 500, 500)
  1683. stungyr.cframe = CFrame.new(pos, pos + CharacterPlane() * 7)
  1684. stungyr.Parent = stunvel.Parent
  1685. playerstats.Stagger.Value = false
  1686. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  1687. if rawframes <= 6 then
  1688. LerpWelds(clastframe, rawframes / 6, Animations.Staggered.Animation(0))
  1689. elseif rawframes >= 31 and rawframes <= 38 then
  1690. vPlayer.Character.Humanoid.PlatformStand = false
  1691. LerpWelds({Animations.Staggered.Animation(0)}, (rawframes - 30) / 7, Animations.LHB.Animation(1))
  1692. elseif rawframes >= 39 then
  1693. stunvel.P = 0
  1694. local cwalk = "Stand"
  1695. if Ragemode == true then
  1696. cwalk = "Stand2"
  1697. end
  1698. LerpWelds({Animations.LHB.Animation(1)}, (rawframes - 38) / 8, Animations[cwalk].Animation(0))
  1699. end
  1700. if rawframes == 45 then
  1701. TrackFunction:disconnect()
  1702. TrackFunction = nil
  1703. playerstats.Stagger.Value = false
  1704. DesiredWalkspeed = 16 * playerstats.Movement.Value
  1705. PlayerIsAttacking = false
  1706. CanInterrupt(true)
  1707. setlastnormal("")
  1708. stunvel:Remove()
  1709. stungyr:Remove()
  1710. addonCullMovers(vPlayer.Character)
  1711. Stand()
  1712. end
  1713. rawframes = rawframes + 1
  1714. end)
  1715. end
  1716. InputNormals.V = function()
  1717. local useRageVer = false
  1718. local locor = 0
  1719. if Mana.Value >= 50 and Cooldowns["4"] == 0 and Ult == false then
  1720. Mana.Value = Mana.Value - 40
  1721. if Ragemode == true and Corruption >= 20 then
  1722. locor = Corruption - 20
  1723. coroutine.resume(coroutine.create(function()
  1724. for lel = 1, 20 do
  1725. fwait()
  1726. if Corruption > 0 then
  1727. Corruption = Corruption - 1
  1728. else
  1729. break
  1730. end
  1731. end
  1732. end))
  1733. useRageVer = true
  1734. end
  1735. else
  1736. return
  1737. end
  1738. if TrackFunction ~= nil then
  1739. TrackFunction:disconnect()
  1740. TrackFunction = nil
  1741. end
  1742. Ult = true
  1743. Ragemode = false
  1744. CanInterrupt(false)
  1745. PlayerIsAttacking = true
  1746. local cl = 0
  1747. local clastframe = lastframe
  1748. BodyVel.velocity = Vector3.new()
  1749. local CPlane = MousePlane()
  1750. BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000)
  1751. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  1752. BodyGyro.cframe = CFrame.new(vPlayer.Character.HumanoidRootPart.CFrame.p, vPlayer.Character.HumanoidRootPart.CFrame.p + CPlane * 50)
  1753. local cl = 0
  1754. DesiredWalkspeed = 0
  1755. p = Instance.new("Sound", vPlayer.Character.Torso)
  1756. p.Volume = 0.8
  1757. p.Pitch = 1
  1758. p.SoundId = "http://www.roblox.com/asset/?id=240517975"
  1759. p:Play()
  1760. game:GetService("Debris"):AddItem(p, 3)
  1761. local pb = Instance.new("Sound", vPlayer.Character.Torso)
  1762. pb.Volume = 1
  1763. pb.Pitch = 0.85
  1764. pb.SoundId = "http://www.roblox.com/asset/?id=240517987"
  1765. pb:Play()
  1766. game:GetService("Debris"):AddItem(pb, 10)
  1767. do
  1768. for i = 1, 8 do
  1769. fwait()
  1770. cl = cl + i * 0.02
  1771. LerpWelds(clastframe, cl, Animations.LHB.Animation(0))
  1772. if i == 4 then
  1773. 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))
  1774. pc.Mesh.MeshType = "FileMesh"
  1775. pc.Anchored = true
  1776. pc.CanCollide = false
  1777. pc.Parent = workspace
  1778. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1779. pc.Name = "Shockwave"
  1780. game:GetService("Debris"):AddItem(pc, 5)
  1781. coroutine.resume(coroutine.create(function(p)
  1782. for ii = 1, 10 do
  1783. p.Transparency = ii / 10
  1784. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
  1785. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.5, 0, 0.5)
  1786. fwait()
  1787. end
  1788. p:Remove()
  1789. end), pc)
  1790. end
  1791. end
  1792. end
  1793. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  1794. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  1795. cl = 0
  1796. clastframe = lastframe
  1797. for i = 1, 6 do
  1798. fwait()
  1799. cl = cl + i * 0.05
  1800. LerpWelds(clastframe, cl, Animations.LHB.Animation(1))
  1801. 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))
  1802. eff.Parent = workspace
  1803. eff.Name = "BloodEffect"
  1804. eff.Anchored = true
  1805. eff.CanCollide = false
  1806. game:GetService("Debris"):AddItem(eff, 5)
  1807. coroutine.resume(coroutine.create(function(p, V, x)
  1808. A = vPlayer.Character.Torso.Velocity / 60
  1809. for i = 1, 12 do
  1810. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12
  1811. p.Transparency = 0.75 + i / 48
  1812. p.CFrame = p.CFrame * V + A
  1813. fwait()
  1814. end
  1815. p:Remove()
  1816. 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)))
  1817. if i ~= 1 and (i ~= 4 or i == 6) then
  1818. 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))
  1819. pc.Mesh.MeshType = "FileMesh"
  1820. pc.Anchored = true
  1821. pc.CanCollide = false
  1822. pc.Parent = workspace
  1823. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1824. pc.Name = "Shockwave"
  1825. game:GetService("Debris"):AddItem(pc, 5)
  1826. coroutine.resume(coroutine.create(function(p)
  1827. for ii = 1, 7 do
  1828. p.Transparency = ii / 7
  1829. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3), 0) - Vector3.new(0, 0, 0)
  1830. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.4, 0, 1.4)
  1831. fwait()
  1832. end
  1833. p:Remove()
  1834. end), pc)
  1835. end
  1836. end
  1837. fwait()
  1838. for i = 1, 20 do
  1839. do
  1840. CPlane = MousePlane()
  1841. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  1842. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  1843. if i == 5 or i == 10 then
  1844. 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))
  1845. pc.Mesh.MeshType = "FileMesh"
  1846. pc.Anchored = true
  1847. pc.CanCollide = false
  1848. pc.Parent = workspace
  1849. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1850. pc.Name = "Shockwave"
  1851. game:GetService("Debris"):AddItem(pc, 5)
  1852. coroutine.resume(coroutine.create(function(p)
  1853. for ii = 1, 13 do
  1854. p.Transparency = ii / 13
  1855. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
  1856. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(3, 0, 3)
  1857. fwait()
  1858. end
  1859. p:Remove()
  1860. end), pc)
  1861. else
  1862. do
  1863. do
  1864. if i == 2 or i == 10 then
  1865. 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))
  1866. pc.Mesh.MeshType = "FileMesh"
  1867. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1868. pc.Parent = workspace
  1869. pc.Anchored = true
  1870. pc.CanCollide = false
  1871. pc.Transparency = 0.5
  1872. game:GetService("Debris"):AddItem(pc, 5)
  1873. coroutine.resume(coroutine.create(function(p)
  1874. for ii = 1, 20 do
  1875. p.Transparency = ii / 20
  1876. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  1877. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 1.4, 0) * 2
  1878. fwait()
  1879. end
  1880. p:Remove()
  1881. end), pc)
  1882. end
  1883. if i % 4 == 0 then
  1884. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do
  1885. applyCameraShake(v, 80 + i * 10, 4)
  1886. end
  1887. 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))
  1888. pc.Mesh.MeshType = "FileMesh"
  1889. pc.Anchored = true
  1890. pc.CanCollide = false
  1891. pc.Parent = workspace
  1892. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1893. pc.Name = "Shockwave"
  1894. game:GetService("Debris"):AddItem(pc, 5)
  1895. coroutine.resume(coroutine.create(function(p)
  1896. for ii = 1, 10 do
  1897. p.Transparency = ii / 10
  1898. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0)
  1899. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 0, 1.4)
  1900. fwait()
  1901. end
  1902. p:Remove()
  1903. end), pc)
  1904. else
  1905. do
  1906. do
  1907. if i % 1 == 0 then
  1908. 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))
  1909. eff.Parent = workspace
  1910. eff.Name = "BloodEffect"
  1911. eff.Anchored = true
  1912. eff.CanCollide = false
  1913. game:GetService("Debris"):AddItem(eff, 5)
  1914. coroutine.resume(coroutine.create(function(p, V, x)
  1915. A = vPlayer.Character.Torso.Velocity / 60
  1916. for i = 1, 8 do
  1917. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 6, 6) / 8
  1918. p.Transparency = 0.2
  1919. p.CFrame = p.CFrame * V + A
  1920. fwait()
  1921. end
  1922. p:Remove()
  1923. 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)))
  1924. 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))
  1925. eff.Parent = workspace
  1926. eff.Name = "BloodEffect"
  1927. eff.Anchored = true
  1928. eff.CanCollide = false
  1929. game:GetService("Debris"):AddItem(eff, 5)
  1930. coroutine.resume(coroutine.create(function(p, V, x)
  1931. A = vPlayer.Character.Torso.Velocity / 60
  1932. for i = 1, 12 do
  1933. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12
  1934. p.Transparency = 0.75 + i / 48
  1935. p.CFrame = p.CFrame * V + A
  1936. fwait()
  1937. end
  1938. p:Remove()
  1939. 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)))
  1940. end
  1941. do
  1942. fwait()
  1943. end
  1944. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  1945.  
  1946. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1947.  
  1948. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT
  1949.  
  1950. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  1951.  
  1952. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  1953.  
  1954. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1955.  
  1956. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT
  1957.  
  1958. -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
  1959.  
  1960. end
  1961. end
  1962. end
  1963. end
  1964. end
  1965. end
  1966. end
  1967. end
  1968. cl = 0
  1969. clastframe = lastframe
  1970. for i = 1, 6 do
  1971. fwait()
  1972. cl = cl + i * 0.05
  1973. LerpWelds(clastframe, cl, Animations.LHB.Animation(2))
  1974. 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))
  1975. pc.CanCollide = false
  1976. pc.Anchored = true
  1977. pc.Parent = workspace
  1978. game:GetService("Debris"):AddItem(pc, 5)
  1979. coroutine.resume(coroutine.create(function(p)
  1980. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  1981. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120
  1982. for i = 1, 30 do
  1983. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 30
  1984. p.Transparency = i / 30
  1985. p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C
  1986. fwait()
  1987. end
  1988. p:Remove()
  1989. end), pc)
  1990. end
  1991. cl = 0
  1992. clastframe = lastframe
  1993. local Grabbee = nil
  1994. for i = 1, 15 do
  1995. fwait()
  1996. do
  1997. if i == 3 then
  1998. 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))
  1999. pc.Mesh.MeshType = "FileMesh"
  2000. pc.Anchored = true
  2001. pc.CanCollide = false
  2002. pc.Parent = workspace
  2003. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2004. pc.Name = "Shockwave"
  2005. game:GetService("Debris"):AddItem(pc, 5)
  2006. coroutine.resume(coroutine.create(function(p)
  2007. for ii = 1, 10 do
  2008. p.Transparency = ii / 10
  2009. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0)
  2010. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 0, 1)
  2011. fwait()
  2012. end
  2013. p:Remove()
  2014. end), pc)
  2015. end
  2016. BodyVel.velocity = CPlane * (i * 7.5 + 65)
  2017. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 2, 4.75)) do
  2018. Grabbee = v
  2019. do break end
  2020. end
  2021. do
  2022. 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))
  2023. pc.CanCollide = false
  2024. pc.Anchored = true
  2025. pc.Parent = workspace
  2026. game:GetService("Debris"):AddItem(pc, 5)
  2027. coroutine.resume(coroutine.create(function(p)
  2028. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  2029. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120
  2030. for i = 1, 20 do
  2031. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20
  2032. p.Transparency = i / 20
  2033. p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C
  2034. fwait()
  2035. end
  2036. p:Remove()
  2037. end), pc)
  2038. do
  2039. 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))
  2040. pc.CanCollide = false
  2041. pc.Anchored = true
  2042. pc.Parent = workspace
  2043. game:GetService("Debris"):AddItem(pc, 5)
  2044. coroutine.resume(coroutine.create(function(p)
  2045. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  2046. for i = 1, 20 do
  2047. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(5, 5, 5) / 20
  2048. p.Transparency = 0.5 + i / 40
  2049. p.CFrame = p.CFrame * R
  2050. fwait()
  2051. end
  2052. p:Remove()
  2053. end), pc)
  2054. if i <= 6 then
  2055. cl = cl + i * 0.05
  2056. LerpWelds(clastframe, cl, Animations.LHB.Animation(3))
  2057. end
  2058. -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT
  2059.  
  2060. -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT
  2061.  
  2062. end
  2063. end
  2064. end
  2065. end
  2066. if Grabbee ~= nil then
  2067. if Grabbee:FindFirstChild("Stats") and Grabbee.Stats.Stunned.Value == false then
  2068. Grabbee.Stats.Stun.Value = 999
  2069. end
  2070. cbuff = Instance.new("NumberValue", playerstats.Decrease)
  2071. cbuff.Name = "DecreaseDef"
  2072. cbuff.Value = -2
  2073. Mana.Value = Mana.Value - 10
  2074. if useRageVer == true then
  2075. borb = math.floor(40 + Mana.Value / 3 + (locor) / 3) * 0.4
  2076. else
  2077. borb = math.floor(40 + Mana.Value / 3) * 0.4
  2078. end
  2079. local Grabdone = false
  2080. gpos = Instance.new("BodyPosition")
  2081. gpos.Name = ":<"
  2082. gpos.Parent = vPlayer.Character.HumanoidRootPart
  2083. gpos.P = 5000
  2084. gpos.D = 600
  2085. gpos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2086. gpos.position = vPlayer.Character.HumanoidRootPart.Position
  2087. coroutine.resume(coroutine.create(function(NNoob)
  2088. nubgyro = nil
  2089. while Grabdone == false and vPlayer.Character.Humanoid.Health > 0 do
  2090. if NNoob.Parent == nil then
  2091. break
  2092. else
  2093. if NNoob.Humanoid.Health < 0 then
  2094. break
  2095. end
  2096. end
  2097. NNoob.Humanoid.PlatformStand = true
  2098. if nubgyro == nil or nubpos == nil then
  2099. if NNoob.Torso:FindFirstChild(":>") then
  2100. NNoob.Torso[":>"]:Remove()
  2101. end
  2102. if NNoob.Torso:FindFirstChild(":<") then
  2103. NNoob.Torso[":<"]:Remove()
  2104. end
  2105. nubgyro = Instance.new("BodyGyro")
  2106. nubgyro.Name = ":>"
  2107. nubgyro.Parent = NNoob.Torso
  2108. nubgyro.P = 5000
  2109. nubgyro.D = 200
  2110. nubgyro.maxTorque = Vector3.new(50000, 50000, 50000) * 5000
  2111. nubgyro.cframe = vPlayer.Character["Left Arm"].CFrame
  2112. nubpos = Instance.new("BodyPosition")
  2113. nubpos.Name = ":<"
  2114. nubpos.Parent = NNoob.Torso
  2115. nubpos.P = 8000
  2116. nubpos.D = 200
  2117. nubpos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2118. nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.6, 0).p
  2119. else
  2120. if nubgyro.Parent == nil then
  2121. nubgyro = nil
  2122. nubpos = nil
  2123. else
  2124. nubgyro.cframe = vPlayer.Character.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 18, math.pi, 0)
  2125. nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.4, 0).p - Vector3.new(0, 0.3, 0)
  2126. end
  2127. end
  2128. fwait()
  2129. end
  2130. if nubpos and nubgyro then
  2131. nubpos:Remove()
  2132. nubgyro:Remove()
  2133. if NNoob:FindFirstChild("Humanoid") then
  2134. NNoob.Humanoid.PlatformStand = false
  2135. end
  2136. end
  2137. end), Grabbee)
  2138. p = Instance.new("Sound", vPlayer.Character.Torso)
  2139. p.Volume = 1
  2140. p.Pitch = 0.9
  2141. p.SoundId = "http://www.roblox.com/asset/?id=240429615"
  2142. p:Play()
  2143. game:GetService("Debris"):AddItem(p, 3)
  2144. BodyVel.velocity = Vector3.new()
  2145. cl = 0
  2146. clastframe = lastframe
  2147. for i = 1, 7 do
  2148. fwait()
  2149. cl = cl + i * 0.036
  2150. LerpWelds(clastframe, cl, Animations.LHB.Animation(4))
  2151. end
  2152. cl = 0
  2153. clastframe = lastframe
  2154. for i = 1, 8 do
  2155. fwait()
  2156. cl = cl + i * 0.028
  2157. LerpWelds(clastframe, cl, Animations.LHB.Animation(5))
  2158. end
  2159. p = Instance.new("Sound", vPlayer.Character.Torso)
  2160. p.Volume = 1
  2161. p.Pitch = 0.55
  2162. p.SoundId = "http://www.roblox.com/asset/?id=233856115"
  2163. p:Play()
  2164. game:GetService("Debris"):AddItem(p, 3)
  2165. p = Instance.new("Sound", vPlayer.Character.Torso)
  2166. p.Volume = 1
  2167. p.Pitch = 1
  2168. p.SoundId = "http://www.roblox.com/asset/?id=192410070"
  2169. p:Play()
  2170. game:GetService("Debris"):AddItem(p, 3)
  2171. p = Instance.new("Sound", vPlayer.Character.Torso)
  2172. p.Volume = 1
  2173. p.Pitch = 0.4
  2174. p.SoundId = "http://www.roblox.com/asset/?id=231917822"
  2175. p:Play()
  2176. game:GetService("Debris"):AddItem(p, 3)
  2177. p = Instance.new("Sound", Grabbee.Torso)
  2178. p.Volume = 1
  2179. p.Pitch = 1
  2180. p.SoundId = "http://www.roblox.com/asset/?id=243711335"
  2181. p:Play()
  2182. game:GetService("Debris"):AddItem(p, 3)
  2183. local sees = math.ceil(Mana.Value / borb)
  2184. local sees2 = (math.ceil(Corruption / borb))
  2185. local partic1, partic2 = nil, nil
  2186. partic1 = Instance.new("ParticleEmitter")
  2187. partic1.Name = "AttackParticleEmitter3"
  2188. partic1.Texture = "http://www.roblox.com/asset/?id=233069772"
  2189. partic1.LightEmission = 0
  2190. partic1.ZOffset = 2
  2191. partic1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  2192. partic1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 1)})
  2193. partic1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  2194. partic1.Rate = 80
  2195. partic1.VelocitySpread = 180
  2196. partic1.Speed = NumberRange.new(6, 10)
  2197. partic1.Lifetime = NumberRange.new(1, 1.2)
  2198. partic1.Rotation = NumberRange.new(-180, 180)
  2199. partic1.RotSpeed = NumberRange.new(-100, 100)
  2200. partic1.Parent = Grabbee.Torso
  2201. if useRageVer then
  2202. partic2 = Instance.new("ParticleEmitter", p)
  2203. partic2.Name = "AttackParticleEmitter3"
  2204. partic2.Texture = "http://www.roblox.com/asset/?id=241409051"
  2205. partic2.LightEmission = 0
  2206. partic2.ZOffset = 1
  2207. partic2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 1)})
  2208. partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  2209. partic2.Color = ColorSequence.new(Color3.new(0.3, 0.3, 0.3), Color3.new(0.2, 0.2, 0.2))
  2210. partic2.Rate = 60
  2211. partic2.VelocitySpread = 180
  2212. partic2.Speed = NumberRange.new(1, 2)
  2213. partic2.Lifetime = NumberRange.new(1, 1.2)
  2214. partic2.Rotation = NumberRange.new(-180, 180)
  2215. partic2.RotSpeed = NumberRange.new(-100, 100)
  2216. partic2.Acceleration = Vector3.new(0, 10, 0)
  2217. partic2.Parent = Grabbee.Torso
  2218. end
  2219. for i = 1, borb + borb % 2 do
  2220. fwait()
  2221. if i % 2 == 0 then
  2222. applyDamage(Grabbee, 3, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false)
  2223. local st = Grabbee:FindFirstChild("Stats")
  2224. if st and st:FindFirstChild("Mana") then
  2225. if st.Mana.Value >= 3 then
  2226. --script.Parent.DMG.RemoteEventM:FireServer(st.Mana, 3)
  2227. st.Mana.Value = st.Mana.Value - 3
  2228. else
  2229. st.Mana.Value = 0
  2230. end
  2231. end
  2232. end
  2233. do
  2234. if sees <= Mana.Value then
  2235. Mana.Value = Mana.Value - sees
  2236. else
  2237. Mana.Value = 0
  2238. end
  2239. if useRageVer then
  2240. if sees2 <= Corruption then
  2241. Corruption = Corruption - sees2
  2242. else
  2243. Corruption = 0
  2244. end
  2245. end
  2246. if useRageVer == true and i % 2 == 0 then
  2247. if vPlayer.Character.Humanoid.Health >= 6.5 then
  2248. vPlayer.Character.Humanoid:TakeDamage(1.5)
  2249. end
  2250. 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)
  2251. eb.Parent = workspace
  2252. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  2253. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  2254. game:GetService("Debris"):AddItem(eb, 3)
  2255. coroutine.resume(coroutine.create(function(p)
  2256. local r = math.random(-3, 3) * 9
  2257. if r > -12 and r < 1 then
  2258. r = -12
  2259. else
  2260. if r < 12 and r > -1 then
  2261. r = 12
  2262. end
  2263. end
  2264. for i = 1, 12 do
  2265. p.BillboardGui.ImageLabel.ImageTransparency = 0.5 + i / 24
  2266. p.BillboardGui.Size = UDim2.new(3 + i, 0, 3 + i, 0)
  2267. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  2268. fwait()
  2269. end
  2270. p:Remove()
  2271. end), eb)
  2272. end
  2273. do
  2274. 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))
  2275. eff.Parent = workspace
  2276. eff.Name = "BloodEffect"
  2277. eff.Anchored = true
  2278. eff.CanCollide = false
  2279. game:GetService("Debris"):AddItem(eff, 5)
  2280. coroutine.resume(coroutine.create(function(p, V, x)
  2281. A = vPlayer.Character.Torso.Velocity / 60
  2282. for i = 1, 8 do
  2283. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 8
  2284. p.Transparency = 0.75 + i / 32
  2285. p.CFrame = p.CFrame * V + A
  2286. fwait()
  2287. end
  2288. p:Remove()
  2289. 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)))
  2290. if i % 5 == 0 then
  2291. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do
  2292. applyCameraShake(v, 120, 5)
  2293. end
  2294. applyCameraShake(vPlayer.Character, 120, 5)
  2295. 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))
  2296. pc.Mesh.MeshType = "FileMesh"
  2297. pc.Anchored = true
  2298. pc.CanCollide = false
  2299. pc.Parent = workspace
  2300. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2301. pc.Name = "Shockwave"
  2302. game:GetService("Debris"):AddItem(pc, 5)
  2303. coroutine.resume(coroutine.create(function(p)
  2304. for ii = 1, 13 do
  2305. p.Transparency = ii / 13
  2306. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.38461538461538, 0)
  2307. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, -1, 1)
  2308. fwait()
  2309. end
  2310. p:Remove()
  2311. end), pc)
  2312. end
  2313. do
  2314. if Grabbee.Parent == nil then
  2315. break
  2316. else
  2317. if Grabbee:FindFirstChild("Humanoid") == nil then
  2318. break
  2319. end
  2320. end
  2321. 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))
  2322. eff.Parent = workspace
  2323. eff.Name = "BloodEffect"
  2324. eff.Anchored = true
  2325. eff.CanCollide = false
  2326. game:GetService("Debris"):AddItem(eff, 5)
  2327. coroutine.resume(coroutine.create(function(p, V, x)
  2328. A = vPlayer.Character.Torso.Velocity / 60
  2329. for i = 1, 12 do
  2330. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) / 12
  2331. p.Transparency = 0.25 + i / 48
  2332. p.CFrame = p.CFrame * V + A
  2333. fwait()
  2334. end
  2335. p:Remove()
  2336. 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)))
  2337. do
  2338. if i % 3 == 0 then
  2339. 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))
  2340. pc.CanCollide = false
  2341. pc.Anchored = true
  2342. pc.Parent = workspace
  2343. game:GetService("Debris"):AddItem(pc, 5)
  2344. coroutine.resume(coroutine.create(function(p)
  2345. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  2346. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40)
  2347. for i = 1, 20 do
  2348. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20
  2349. p.Transparency = i / 20
  2350. p.CFrame = p.CFrame * R - Vector3.new(0, 0.029757575757576 * i, 0)
  2351. fwait()
  2352. end
  2353. p:Remove()
  2354. end), pc)
  2355. end
  2356. end
  2357. end
  2358. end
  2359. end
  2360. end
  2361. cl = 0
  2362. clastframe = lastframe
  2363. for i = 1, 5 do
  2364. wait()
  2365. cl = cl + i * 0.07
  2366. if i == 3 then
  2367. Grabdone = true
  2368. partic1.Enabled = false
  2369. game:GetService("Debris"):AddItem(partic1, 5)
  2370. if partic2 then
  2371. partic2.Enabled = false
  2372. game:GetService("Debris"):AddItem(partic2, 5)
  2373. end
  2374. p = Instance.new("Sound", vPlayer.Character.Torso)
  2375. p.Volume = 1
  2376. p.Pitch = 0.95
  2377. p.SoundId = "http://www.roblox.com/asset/?id=241816029"
  2378. p:Play()
  2379. game:GetService("Debris"):AddItem(p, 3)
  2380. if Grabbee:FindFirstChild("Stats") then
  2381. if Grabbee.Stats.Mana.Value >= 10 then
  2382. Grabbee.Stats.Mana.Value = Grabbee.Stats.Mana.Value - 10
  2383. else
  2384. Grabbee.Stats.Mana.Value = 0
  2385. end
  2386. if Grabbee.Stats.Stunned.Value == false then
  2387. Grabbee.Stats.Stun.Value = 999
  2388. end
  2389. end
  2390. applyDamage(Grabbee, 15, Vector3.new(0, 30, 0) + CPlane * 40, true, false, addonCullMovers, 0, 0, "", 0, false, false, 0, true, "IgnoreDefense", true, false)
  2391. 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))
  2392. pc.Mesh.MeshType = "FileMesh"
  2393. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2394. pc.Parent = workspace
  2395. pc.Anchored = true
  2396. pc.CanCollide = false
  2397. pc.Transparency = 0.5
  2398. game:GetService("Debris"):AddItem(pc, 5)
  2399. coroutine.resume(coroutine.create(function(p)
  2400. for ii = 1, 28 do
  2401. p.Transparency = ii / 28
  2402. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.1)
  2403. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.8 - ii * 0.05, 1.8 - ii * 0.05, 0)
  2404. fwait()
  2405. end
  2406. p:Remove()
  2407. end), pc)
  2408. for loel = 1, 8 do
  2409. 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))
  2410. eff.Parent = workspace
  2411. eff.Name = "BloodEffect"
  2412. eff.Anchored = true
  2413. eff.CanCollide = false
  2414. game:GetService("Debris"):AddItem(eff, 5)
  2415. coroutine.resume(coroutine.create(function(p, V, x)
  2416. for i = 1, 25 do
  2417. p.Transparency = 0.5 + i / 50
  2418. p.CFrame = p.CFrame + x / 2
  2419. fwait()
  2420. end
  2421. p:Remove()
  2422. 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))
  2423. end
  2424. for loel = 1, 3 do
  2425. 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))
  2426. eff.Parent = workspace
  2427. eff.Name = "BloodEffect"
  2428. eff.Anchored = true
  2429. eff.CanCollide = false
  2430. game:GetService("Debris"):AddItem(eff, 5)
  2431. coroutine.resume(coroutine.create(function(p, V, x)
  2432. for i = 1, 25 do
  2433. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 25
  2434. p.Transparency = 0.25 + i / 18.75
  2435. p.CFrame = p.CFrame * V
  2436. fwait()
  2437. end
  2438. p:Remove()
  2439. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  2440. end
  2441. end
  2442. do
  2443. do
  2444. LerpWelds(clastframe, cl, Animations.LHB.Animation(6))
  2445. -- DECOMPILER ERROR at PC2735: LeaveBlock: unexpected jumping out DO_STMT
  2446.  
  2447. end
  2448. end
  2449. end
  2450. cbuff:Remove()
  2451. gpos:Remove()
  2452. else
  2453. do
  2454. for i = 1, 4 do
  2455. fwait()
  2456. BodyVel.velocity = BodyVel.velocity / 1.25
  2457. end
  2458. do
  2459. cl = 0
  2460. coroutine.resume(coroutine.create(function(p)
  2461. for i = 1, 30 do
  2462. p.Volume = 1 - i / 30
  2463. fwait()
  2464. end
  2465. p:Stop()
  2466. end), pb)
  2467. clastframe = lastframe
  2468. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  2469. for i = 1, 15 do
  2470. fwait()
  2471. BodyVel.velocity = BodyVel.velocity / 1.2
  2472. LerpWelds(clastframe, i / 15, Animations.Stand.Animation(0))
  2473. end
  2474. if Grabbee == nil then
  2475. Cooldowns["4"] = CooldownsB["4"] / 3
  2476. else
  2477. Cooldowns["4"] = CooldownsB["4"]
  2478. end
  2479. end
  2480. end
  2481. end
  2482. CanInterrupt(true)
  2483. PlayerIsAttacking = false
  2484. BodyVel.Parent = nil
  2485. BodyGyro.Parent = nil
  2486. Ult = false
  2487. end
  2488. InputNormals.C = function()
  2489. local useRageVer = false
  2490. if Mana.Value >= 35 and Cooldowns["3"] == 0 then
  2491. Mana.Value = Mana.Value - 35
  2492. Cooldowns["3"] = CooldownsB["3"]
  2493. if Ragemode == true and Corruption >= 20 then
  2494. coroutine.resume(coroutine.create(function()
  2495. for lel = 1, 20 do
  2496. fwait()
  2497. if Corruption > 0 then
  2498. Corruption = Corruption - 1
  2499. else
  2500. break
  2501. end
  2502. end
  2503. end))
  2504. useRageVer = true
  2505. end
  2506. else
  2507. return
  2508. end
  2509. if TrackFunction ~= nil then
  2510. TrackFunction:disconnect()
  2511. TrackFunction = nil
  2512. end
  2513. CanInterrupt(false)
  2514. PlayerIsAttacking = true
  2515. local rawframes = 0
  2516. Tool.Status.AnimFrame.Value = 0
  2517. local DidHit = false
  2518. ccctime = tick()
  2519. local CPlane = MousePlane()
  2520. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  2521. BodyGyro.cframe = CFrame.new(vPlayer.Character.HumanoidRootPart.CFrame.p, vPlayer.Character.HumanoidRootPart.CFrame.p + CPlane * 50)
  2522. local cl = 0
  2523. local clastframe = lastframe
  2524. local cframes = 0
  2525. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  2526. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  2527. BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000)
  2528. DesiredWalkspeed = 0
  2529. local Grabbed = {}
  2530. TrackFunction = script.Heartbeat.Event:connect(function()
  2531. if rawframes <= 5 then
  2532. CPlane = MousePlane()
  2533. BodyGyro.cframe = clerp(BodyGyro.cframe, CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50), 1)
  2534. end
  2535. if rawframes <= 6 then
  2536. cframes = rawframes
  2537. cl = cl + cframes * 0.05
  2538. LerpWelds(clastframe, cl, Animations.ShatterCannon.Animation(1))
  2539. elseif rawframes > 6 and rawframes <= 10 then
  2540. if rawframes == 7 then
  2541. tpargen1 = Instance.new("ParticleEmitter")
  2542. tpargen1.Name = "AttackParticleEmitter3"
  2543. tpargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  2544. tpargen1.LightEmission = 0.1
  2545. tpargen1.ZOffset = 1.3
  2546. tpargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.65), NumberSequenceKeypoint.new(1, 1)})
  2547. tpargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.6), NumberSequenceKeypoint.new(1, 0)})
  2548. tpargen1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  2549. tpargen1.Rate = 120
  2550. tpargen1.VelocitySpread = 180
  2551. tpargen1.Acceleration = Vector3.new(0, -15, 0)
  2552. tpargen1.Speed = NumberRange.new(3, 6)
  2553. tpargen1.Lifetime = NumberRange.new(0.6, 0.8)
  2554. tpargen1.Rotation = NumberRange.new(-180, 180)
  2555. tpargen1.RotSpeed = NumberRange.new(-70, 70)
  2556. tpargen1.Parent = Wep.Blade
  2557. p = Instance.new("Sound", vPlayer.Character.Torso)
  2558. p.Volume = 1
  2559. p.Pitch = 0.8
  2560. p.SoundId = "http://www.roblox.com/asset/?id=231917856"
  2561. p:Play()
  2562. game:GetService("Debris"):AddItem(p, 3)
  2563. clastframe = lastframe
  2564. cl = 0
  2565. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Torso.Position, Vector3.new(0, -3, 0)), vPlayer.Character)
  2566. 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))
  2567. pz.Transparency = 1
  2568. pz.Anchored = true
  2569. pz.CanCollide = false
  2570. pz.Parent = workspace
  2571. pz.Name = "Rune"
  2572. local d1 = Instance.new("Decal", pz)
  2573. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  2574. d1.Face = "Front"
  2575. d1.Name = "d1"
  2576. local d1 = Instance.new("Decal", pz)
  2577. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  2578. d1.Face = "Back"
  2579. d1.Name = "d2"
  2580. coroutine.resume(coroutine.create(function(p, dir)
  2581. for i = 1, 5 do
  2582. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(10 + i * 2))
  2583. p.d1.Transparency = 0.9 + i / 50
  2584. p.d2.Transparency = 0.9 + i / 50
  2585. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 0)
  2586. fwait()
  2587. end
  2588. p:Remove()
  2589. end), pz, CPlane)
  2590. game:GetService("Debris"):AddItem(pz, 6)
  2591. p = Instance.new("Sound", vPlayer.Character.Torso)
  2592. p.Volume = 0.8
  2593. p.Pitch = 1
  2594. p.SoundId = "http://www.roblox.com/asset/?id=231917934"
  2595. p:Play()
  2596. game:GetService("Debris"):AddItem(p, 3)
  2597. 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))
  2598. pc.Mesh.MeshType = "FileMesh"
  2599. pc.Anchored = true
  2600. pc.CanCollide = false
  2601. pc.Parent = workspace
  2602. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2603. pc.Name = "Shockwave"
  2604. pc.Transparency = 0.5
  2605. game:GetService("Debris"):AddItem(pc, 5)
  2606. coroutine.resume(coroutine.create(function(p)
  2607. for ii = 1, 15 do
  2608. p.Transparency = ii / 15
  2609. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.25, 0)
  2610. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.3, -0.33, 1.3)
  2611. fwait()
  2612. end
  2613. p:Remove()
  2614. end), pc)
  2615. 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))
  2616. pc.Mesh.MeshType = "FileMesh"
  2617. pc.Parent = workspace
  2618. pc.Anchored = true
  2619. pc.CanCollide = false
  2620. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2621. pc.Name = "Shockwave"
  2622. pc.Transparency = 0.5
  2623. game:GetService("Debris"):AddItem(pc, 5)
  2624. coroutine.resume(coroutine.create(function(p)
  2625. for ii = 1, 9 do
  2626. p.Transparency = 0.5 + ii / 18
  2627. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(3 + ii), 0) * CFrame.new(0, 1.5, 0)
  2628. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, -0.3, 1)
  2629. fwait()
  2630. end
  2631. p:Remove()
  2632. end), pc)
  2633. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 25)) do
  2634. applyCameraShake(v, 250, 4)
  2635. end
  2636. applyCameraShake(vPlayer.Character, 250, 4)
  2637. end
  2638. cframes = rawframes - 7
  2639. cl = cframes * 0.2
  2640. LerpWelds(clastframe, cframes / 3, Animations.ShatterCannon.Animation(2))
  2641. print(cl, "D")
  2642. print(cframes / 3, "DI")
  2643. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.4)) do
  2644. applyDamage(v, 10, Vector3.new(), false, false, nil, 0.2, 1, "199149269", 0.5, true, true, 10, false, "Normal", false, false)
  2645. applyCameraShake(v, 50, 5)
  2646. -- DECOMPILER ERROR at PC529: Overwrote pending register: R6 in 'AssignReg'
  2647.  
  2648. local lelpos = Instance.new("BodyPosition", v.Torso)
  2649. lelpos.P = 4000
  2650. lelpos.D = 100
  2651. -- DECOMPILER ERROR at PC534: Overwrote pending register: R6 in 'AssignReg'
  2652.  
  2653. -- DECOMPILER ERROR at PC535: Overwrote pending register: R6 in 'AssignReg'
  2654.  
  2655. lelpos.maxForce = Vector3.new(50000000, 50000000, 50000000)
  2656. lelpos.Parent = v
  2657. lelpos.position = v.HumanoidRootPart.Position + CPlane * 3 + BodyVel.velocity / 5
  2658. game:GetService("Debris"):AddItem(lelpos, 0.5)
  2659. -- DECOMPILER ERROR at PC561: Overwrote pending register: R6 in 'AssignReg'
  2660.  
  2661. -- DECOMPILER ERROR at PC562: Overwrote pending register: R6 in 'AssignReg'
  2662. coroutine.resume(coroutine.create(function(p)
  2663. while p.Parent do
  2664. p.position = Wep.Blade.Position + CPlane * 1
  2665. fwait()
  2666. end
  2667. end), lelpos)
  2668. -- DECOMPILER ERROR at PC570: Overwrote pending register: R6 in 'AssignReg'
  2669.  
  2670. DidHit = true
  2671. -- DECOMPILER ERROR at PC572: Overwrote pending register: R6 in 'AssignReg'
  2672. 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))
  2673. --local eff = nil
  2674. eff.Parent = workspace
  2675. eff.Name = "BloodEffect"
  2676. eff.Anchored = true
  2677. eff.CanCollide = false
  2678. game:GetService("Debris"):AddItem(eff, 5)
  2679. coroutine.resume(coroutine.create(function(p, A, V)
  2680. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  2681. for i = 1, 12 do
  2682. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.2, 1.2, 1.2) * (1 - i / 12)
  2683. p.Transparency = 0.75 + i / 48
  2684. p.CFrame = p.CFrame * A
  2685. fwait()
  2686. end
  2687. p:Remove()
  2688. 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)))
  2689. if v:FindFirstChild("BleedController") == nil then
  2690. s = script.BleedController:clone()
  2691. s.Disabled = false
  2692. s.Parent = v
  2693. showDamage(v, "Bleeding", "Debuff", "IgnoreDefense")
  2694. end
  2695. end
  2696. end
  2697. if rawframes >= 23 then
  2698. local cwalk = "Stand"
  2699. if Ragemode == true then
  2700. cwalk = "Stand2"
  2701. end
  2702. LerpWelds({Animations.ShatterCannon.Animation(2)}, (rawframes - 23) / 10, Animations[cwalk].Animation(0))
  2703. end
  2704. -- DECOMPILER ERROR at PC745: Unhandled construct in 'MakeBoolean' P1
  2705.  
  2706. if useRageVer == false and rawframes >= 9 and rawframes <= 18 then
  2707. if rawframes == 10 then
  2708. for LOUD = 1, 1 do
  2709. p = Instance.new("Sound", vPlayer.Character.Torso)
  2710. p.Volume = 1
  2711. p.Pitch = 0.8
  2712. p.SoundId = "http://www.roblox.com/asset/?id=243711322"
  2713. p:Play()
  2714. game:GetService("Debris"):AddItem(p, 3)
  2715. end
  2716. end
  2717. if rawframes % 2 == 0 then
  2718. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.4)) do
  2719. applyDamage(v, 2, Vector3.new(), false, false, nil, 0, 1, "199149137", math.random(60, 70) / 100, false, true, 3, false, "IgnoreDefense", false, false)
  2720. applyCameraShake(v, 50, 3)
  2721. if v:FindFirstChild("BleedController") == nil then
  2722. s = script.BleedController:clone()
  2723. s.Disabled = false
  2724. s.Parent = v--]]
  2725. -- DECOMPILER ERROR at PC835: Overwrote pending register: R8 in 'AssignReg'
  2726.  
  2727. showDamage(v, "Bleeding", "Debuff", "IgnoreDefense")
  2728. end
  2729. -- DECOMPILER ERROR at PC842: Overwrote pending register: R8 in 'AssignReg'
  2730.  
  2731. -- DECOMPILER ERROR at PC847: Overwrote pending register: R8 in 'AssignReg'
  2732.  
  2733. -- DECOMPILER ERROR at PC848: Overwrote pending register: R8 in 'AssignReg'
  2734.  
  2735. -- DECOMPILER ERROR at PC869: Overwrote pending register: R8 in 'AssignReg'
  2736.  
  2737. -- DECOMPILER ERROR at PC870: Overwrote pending register: R8 in 'AssignReg'
  2738.  
  2739. -- DECOMPILER ERROR at PC888: Overwrote pending register: R8 in 'AssignReg'
  2740. --(size, cframe, color, meshtype, meshscale)
  2741. --[[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))
  2742. eff.Parent = workspace
  2743. eff.Name = "BloodEffect"
  2744. eff.Anchored = true
  2745. eff.CanCollide = false
  2746. -- DECOMPILER ERROR at PC904: Overwrote pending register: R8 in 'AssignReg'
  2747.  
  2748. -- DECOMPILER ERROR at PC907: Overwrote pending register: R8 in 'AssignReg'
  2749.  
  2750. game:GetService("Debris"):AddItem(eff, 5)--]]
  2751. -- DECOMPILER ERROR at PC914: Overwrote pending register: R8 in 'AssignReg'
  2752.  
  2753. -- DECOMPILER ERROR at PC916: Overwrote pending register: R8 in 'AssignReg'
  2754.  
  2755. --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)))
  2756. end
  2757. print("XXX")
  2758. for sus = 1, 2 do
  2759. local px = Instance.new("Part", Wep)
  2760. px.Name = "Spike"
  2761. px.formFactor = "Custom"
  2762. -- DECOMPILER ERROR at PC968: Overwrote pending register: R8 in 'AssignReg'
  2763.  
  2764. px.Size = Vector3.new(0.2, 0.2, 0.2)
  2765. px.Anchored = false
  2766. px.CanCollide = false
  2767. px.CFrame = vPlayer.Character.Torso.CFrame
  2768. px:BreakJoints()
  2769. px.TopSurface = 0
  2770. px.BottomSurface = 0
  2771. px.BrickColor = BrickColor.new("Black")
  2772. px.Material = "Metal"
  2773. local m = Instance.new("SpecialMesh", px)
  2774. m.MeshType = "FileMesh"
  2775. m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2776. -- DECOMPILER ERROR at PC998: Overwrote pending register: R8 in 'AssignReg'
  2777.  
  2778. m.Scale = Vector3.new(0.0375, 0.0375--[[R8_PC701]], math.random(20, 30) / 100)
  2779. local w = Instance.new("Weld", px)
  2780. w.Part0 = Wep.Blade
  2781. w.Part1 = px
  2782. -- DECOMPILER ERROR at PC1017: Overwrote pending register: R8 in 'AssignReg'
  2783.  
  2784. -- DECOMPILER ERROR at PC1026: Overwrote pending register: R8 in 'AssignReg'
  2785.  
  2786. -- DECOMPILER ERROR at PC1027: Overwrote pending register: R8 in 'AssignReg'
  2787.  
  2788. w.C0 = CFrame.new(0, -1.8 + (rawframes - 10) / 3.75 + sus * 0.05, 0)-- * R8_PC701
  2789. -- DECOMPILER ERROR at PC1048: Overwrote pending register: R8 in 'AssignReg'
  2790.  
  2791. local pargen1 = Instance.new("ParticleEmitter", px)
  2792. pargen1.Name = "Emitter"
  2793. pargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  2794. pargen1.LightEmission = 0.15
  2795. pargen1.ZOffset = 1
  2796. -- DECOMPILER ERROR at PC1054: Overwrote pending register: R8 in 'AssignReg'
  2797.  
  2798. -- DECOMPILER ERROR at PC1055: Overwrote pending register: R8 in 'AssignReg'
  2799.  
  2800. --[[R8_PC701 = R8_PC701({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  2801. pargen1.Transparency = R8_PC701
  2802. R8_PC701 = NumberSequence
  2803. R8_PC701 = R8_PC701.new
  2804. R8_PC701 = R8_PC701({NumberSequenceKeypoint.new(0, 1.5), NumberSequenceKeypoint.new(1, 0)})
  2805. pargen1.Size = R8_PC701
  2806. R8_PC701 = ColorSequence
  2807. R8_PC701 = R8_PC701.new
  2808. R8_PC701 = R8_PC701(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
  2809. pargen1.Color = R8_PC701
  2810. pargen1.Rate = 40
  2811. pargen1.VelocitySpread = 5
  2812. R8_PC701 = Vector3
  2813. R8_PC701 = R8_PC701.new
  2814. R8_PC701 = R8_PC701(0, 0, 0)
  2815. pargen1.Acceleration = R8_PC701
  2816. R8_PC701 = NumberRange
  2817. R8_PC701 = R8_PC701.new
  2818. R8_PC701 = R8_PC701(8, 13)
  2819. pargen1.Speed = R8_PC701
  2820. R8_PC701 = NumberRange
  2821. R8_PC701 = R8_PC701.new
  2822. R8_PC701 = R8_PC701(0.5, 0.5)
  2823. pargen1.Lifetime = R8_PC701
  2824. R8_PC701 = NumberRange
  2825. R8_PC701 = R8_PC701.new
  2826. R8_PC701 = R8_PC701(-180, 180)
  2827. pargen1.Rotation = R8_PC701
  2828. R8_PC701 = NumberRange
  2829. R8_PC701 = R8_PC701.new
  2830. R8_PC701 = R8_PC701(-80, 80)
  2831. pargen1.RotSpeed = R8_PC701
  2832. pargen1.Parent = px
  2833. R8_PC701 = w.Part1
  2834. w.Parent = R8_PC701
  2835. R8_PC701 = game
  2836. R8_PC701 = R8_PC701(R8_PC701, "Debris")
  2837. R8_PC701(R8_PC701, px, 7)--]]
  2838. pargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  2839. pargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1.5), NumberSequenceKeypoint.new(1, 0)})
  2840. pargen1.Color = ColorSequence.new(Color3.new(0.15, 0.05, 0.2), Color3.new(0.1, 0.1, 0.1))
  2841. pargen1.Rate = 40
  2842. pargen1.VelocitySpread = 5
  2843. pargen1.Acceleration = Vector3.new(0, 0, 0)
  2844. pargen1.Speed = NumberRange.new(8, 13)
  2845. pargen1.Lifetime = NumberRange.new(0.5, 0.5)
  2846. pargen1.Rotation = NumberRange.new(-180, 180)
  2847. pargen1.RotSpeed = NumberRange.new(-80, 80)
  2848. pargen1.Parent = px
  2849. w.Parent = w.Part1
  2850. game:GetService("Debris"):AddItem(px, 7)
  2851. -- DECOMPILER ERROR at PC1147: Overwrote pending register: R8 in 'AssignReg'
  2852.  
  2853. local s = math.random(35, 85) / 10--R8_PC701
  2854. if sus <= 1 then
  2855. w.C1 = CFrame.new(0, -0.1, 0) * CFrame.Angles(math.pi, 0, 0)
  2856. else
  2857. w.C1 = CFrame.new(0, 0.1, 0) * CFrame.Angles(0, 0, 0)
  2858. -- DECOMPILER ERROR at PC1180: Overwrote pending register: R8 in 'AssignReg'
  2859.  
  2860. end
  2861. coroutine.resume(coroutine.create(function(px, s)
  2862. local sz = math.random(35, 85) / 10
  2863. fwait(0.03 * math.random(0, 8))
  2864. for i = 1, 2 do
  2865. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, -(sz / 2) / 2.5 * s, 0)
  2866. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, sz / 2, 0)
  2867. fwait()
  2868. end
  2869. fwait(0.03 * math.random(1, 2))
  2870. for i = 1, 5 do
  2871. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, sz / 5 / 2.5 * s, 0)
  2872. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, -(sz / 5), 0)
  2873. fwait()
  2874. end
  2875. px.Transparency = 1
  2876. px.Emitter.Enabled = false
  2877. end), px, s)
  2878. end
  2879. end
  2880. end
  2881. if rawframes >= 9 and rawframes <= 21 then
  2882. if rawframes == 10 then
  2883. for LOUD = 1, 1 do
  2884. p = Instance.new("Sound", vPlayer.Character.Torso)
  2885. p.Volume = 1
  2886. p.Pitch = 0.58
  2887. p.SoundId = "http://www.roblox.com/asset/?id=243711322"
  2888. p:Play()
  2889. game:GetService("Debris"):AddItem(p, 3)
  2890. end
  2891. end
  2892. if rawframes % 3 == 0 then
  2893. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.4)) do
  2894. applyDamage(v, 4, Vector3.new(), false, false, nil, 0, 1, "199149137", math.random(60, 70) / 100, true, true, 3, false, "IgnoreDefense", true, false)
  2895. applyCameraShake(v, 50, 3)
  2896. 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))
  2897. eff.Parent = workspace
  2898. eff.Name = "BloodEffect"
  2899. eff.Anchored = true
  2900. eff.CanCollide = false
  2901. game:GetService("Debris"):AddItem(eff, 5)
  2902. coroutine.resume(coroutine.create(function(p, A, V)
  2903. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  2904. for i = 1, 10 do
  2905. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.6, 0.6, 0.6) * (1 - i / 10)
  2906. p.Transparency = 0.75 + i / 40
  2907. p.CFrame = p.CFrame * A
  2908. fwait()
  2909. end
  2910. p:Remove()
  2911. 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)))
  2912. if v:FindFirstChild("BleedController") == nil then
  2913. s = script.BleedController:clone()
  2914. s.Disabled = false
  2915. s.Parent = v
  2916. showDamage(v, "Bleeding", "Debuff", "IgnoreDefense")
  2917. end
  2918. end
  2919. end
  2920. print("XXX")
  2921. for sus = 1, 2 do
  2922. local px = Instance.new("Part", Wep)
  2923. px.Name = "Spike"
  2924. px.formFactor = "Custom"
  2925. px.Size = Vector3.new(0.2, 0.2, 0.2)
  2926. px.Anchored = false
  2927. px.CanCollide = false
  2928. px.CFrame = vPlayer.Character.Torso.CFrame
  2929. px:BreakJoints()
  2930. px.TopSurface = 0
  2931. px.BottomSurface = 0
  2932. px.BrickColor = BrickColor.new("Black")
  2933. px.Material = "Metal"
  2934. local m = Instance.new("SpecialMesh", px)
  2935. m.MeshType = "FileMesh"
  2936. m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2937. m.Scale = Vector3.new(0.0375, 0.2, math.random(15, 25) / 100)
  2938. local w = Instance.new("Weld")
  2939. w.Part0 = Wep.Blade
  2940. w.Part1 = px
  2941. 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)
  2942. local pargen1 = Instance.new("ParticleEmitter")
  2943. pargen1.Name = "Emitter"
  2944. pargen1.Texture = "http://www.roblox.com/asset/?id=243086902"
  2945. pargen1.LightEmission = 0.15
  2946. pargen1.ZOffset = 1
  2947. pargen1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  2948. pargen1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1.5), NumberSequenceKeypoint.new(1, 0)})
  2949. pargen1.Color = ColorSequence.new(Color3.new(0.15, 0.05, 0.2), Color3.new(0.1, 0.1, 0.1))
  2950. pargen1.Rate = 40
  2951. pargen1.VelocitySpread = 5
  2952. pargen1.Acceleration = Vector3.new(0, 0, 0)
  2953. pargen1.Speed = NumberRange.new(8, 13)
  2954. pargen1.Lifetime = NumberRange.new(0.5, 0.5)
  2955. pargen1.Rotation = NumberRange.new(-180, 180)
  2956. pargen1.RotSpeed = NumberRange.new(-80, 80)
  2957. pargen1.Parent = px
  2958. w.Parent = w.Part1
  2959. game:GetService("Debris"):AddItem(px, 7)
  2960. px.Anchored = false
  2961. local s = -1
  2962. if sus <= 1 then
  2963. w.C1 = CFrame.new(0, -0.1, 0) * CFrame.Angles(math.pi, 0, 0)
  2964. else
  2965. w.C1 = CFrame.new(0, 0.1, 0) * CFrame.Angles(0, 0, 0)
  2966. s = 1
  2967. end
  2968. coroutine.resume(coroutine.create(function(px, s)
  2969. local sz = math.random(40, 80) / 10
  2970. fwait(0.03 * math.random(0, 8))
  2971. for i = 1, 2 do
  2972. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, -(sz / 2) / 2.5 * s, 0)
  2973. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, sz / 2, 0)
  2974. fwait()
  2975. end
  2976. for i = 1, 4 do
  2977. px.Weld.C1 = px.Weld.C1 * CFrame.new(0, sz / 4 / 2.5 * s, 0)
  2978. px.Mesh.Scale = px.Mesh.Scale + Vector3.new(0, -(sz / 4), 0)
  2979. fwait()
  2980. end
  2981. px.Transparency = 1
  2982. px.Emitter.Enabled = false
  2983. end), px, s)
  2984. end
  2985. end
  2986. if rawframes == 20 then
  2987. tpargen1.Enabled = false
  2988. game:GetService("Debris"):AddItem(tpargen1, 5)
  2989. end
  2990. if rawframes >= 6 and rawframes <= 9 and DidHit == false then
  2991. BodyVel.velocity = BodyVel.velocity + CPlane * (rawframes * 3.3 + 15)
  2992. else
  2993. BodyVel.velocity = BodyVel.velocity / 1.35
  2994. end
  2995. if rawframes == 33 then
  2996. TrackFunction:disconnect()
  2997. TrackFunction = nil
  2998. DesiredWalkspeed = 16 * playerstats.Movement.Value
  2999. PlayerIsAttacking = false
  3000. CanInterrupt(true)
  3001. setlastnormal("")
  3002. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  3003. Stand()
  3004. end
  3005. rawframes = rawframes + 1
  3006. end)
  3007. end
  3008. InputNormals.Z = function()
  3009. local StunnedPlayer = nil
  3010. local pos = vPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 3, 0)
  3011. for _,v in pairs(GetNubsInRadius(pos, 6)) do
  3012. 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
  3013. StunnedPlayer = v
  3014. break
  3015. end
  3016. end
  3017. if StunnedPlayer == nil then
  3018. local useRageVer = false
  3019. if Mana.Value >= 20 and Cooldowns["1"] == 0 then
  3020. Mana.Value = Mana.Value - 20
  3021. Cooldowns["1"] = CooldownsB["1"]
  3022. if Ragemode == true and Corruption >= 20 then
  3023. coroutine.resume(coroutine.create(function()
  3024. for lel = 1, 20 do
  3025. fwait()
  3026. if Corruption > 0 then
  3027. Corruption = Corruption - 1
  3028. else
  3029. break
  3030. end
  3031. end
  3032. end))
  3033. useRageVer = true
  3034. end
  3035. else
  3036. return
  3037. end
  3038. if TrackFunction ~= nil then
  3039. TrackFunction:disconnect()
  3040. TrackFunction = nil
  3041. end
  3042. CanInterrupt(false)
  3043. PlayerIsAttacking = true
  3044. local rawframes = 0
  3045. Tool.Status.AnimFrame.Value = 0
  3046. local DidHit = false
  3047. local CPlane = MousePlane()
  3048. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  3049. DesiredWalkspeed = 0
  3050. local cl = 0
  3051. local clastframe = lastframe
  3052. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3053. local cwalk = "Stand"
  3054. if Ragemode then
  3055. cwalk = "Stand2"
  3056. end
  3057. local Grabbee = nil
  3058. sos = 0
  3059. BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000)
  3060. p = Instance.new("Sound", vPlayer.Character.Torso)
  3061. p.Volume = 1
  3062. p.Pitch = 0.9
  3063. p.SoundId = "http://www.roblox.com/asset/?id=241816017"
  3064. p:Play()
  3065. game:GetService("Debris"):AddItem(p, 3)
  3066. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  3067. CPlane = CharacterPlane()
  3068. if rawframes <= 4 then
  3069. LerpWelds(clastframe, rawframes / 4, Animations.LHB.Animation(2))
  3070. if rawframes == 3 then
  3071. p = Instance.new("Sound", vPlayer.Character["Left Arm"])
  3072. p.Volume = 1
  3073. p.Pitch = 0.55
  3074. p.SoundId = "http://www.roblox.com/asset/?id=233856146"
  3075. p:Play()
  3076. game:GetService("Debris"):AddItem(p, 3)
  3077. end
  3078. 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))
  3079. pc.CanCollide = false
  3080. pc.Anchored = true
  3081. pc.Parent = workspace
  3082. game:GetService("Debris"):AddItem(pc, 5)
  3083. coroutine.resume(coroutine.create(function(p, x)
  3084. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  3085. for i = 1, 15 do
  3086. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(3, 3, 3) / 15
  3087. p.Transparency = 0.25 + i / 20 + x
  3088. p.CFrame = p.CFrame * R
  3089. fwait()
  3090. end
  3091. p:Remove()
  3092. end), pc, 0.5 - rawframes / 10)
  3093. end
  3094. if rawframes >= 5 and rawframes <= 10 and useRageVer == false then
  3095. cl = cl + (rawframes - 4) * 0.05
  3096. LerpWelds({Animations.LHB.Animation(2)}, cl, Animations.LHB.Animation(3))
  3097. elseif rawframes >= 5 and rawframes <= 17 and useRageVer == true then
  3098. if rawframes <= 10 then
  3099. cl = cl + (rawframes - 4) * 0.05
  3100. LerpWelds({Animations.LHB.Animation(2)}, cl, Animations.LHB.Animation(3))
  3101. end
  3102. if Grabbee and rawframes <= 14 then
  3103. sos = sos + 1
  3104. applyDamage(Grabbee, 1, Vector3.new(), false, false, nil, 0, 1, "231917788", 0.7, false, false, 2, true, "Pure", true, false)
  3105. lelpos.Position = vPlayer.Character.HumanoidRootPart.Position + CPlane * 17
  3106. lelpos.Parent.CFrame = CFrame.new(lelpos.position, vPlayer.Character.HumanoidRootPart.Position)
  3107. end
  3108. end
  3109. --if Grabbee then
  3110. if rawframes >= 18 and rawframes <= 22 then
  3111. LerpWelds({Animations.LHB.Animation(3)}, (rawframes - 17) / 4, Animations.LHB.Animation(2))
  3112. elseif rawframes >= 23 and rawframes <= 29 then
  3113. LerpWelds({Animations.LHB.Animation(2)}, (rawframes - 22) / 6, Animations[cwalk].Animation(0))
  3114. end
  3115. if Grabbee and rawframes == 18 then
  3116. if useRageVer == false then
  3117. applyDamage(Grabbee, 10, Vector3.new(0, 20, 0) + CPlane * 32.5, false, false, nil, 0, 1, "", 1, true, true, 15, true, "IgnoreDefense", true, false)
  3118. if Grabbee:FindFirstChild("Stats") then
  3119. cbuff = Instance.new("NumberValue", Grabbee.Stats.Decrease)
  3120. cbuff.Name = "DecreaseDef"
  3121. cbuff.Value = 0.1
  3122. game:GetService("Debris"):AddItem(cbuff, 3)
  3123. if Grabbee:FindFirstChild("Stats") then
  3124. --[[ s = script.ForceGuardDown:clone()
  3125. s.Disabled = false
  3126. s.Parent = Grabbee.Stats.Block--]]
  3127. end
  3128. end
  3129. else
  3130. applyDamage(Grabbee, 10, Vector3.new(0, 25, 0) + CPlane * 47.5, false, false, nil, 0, 1, "", 1, true, true, 25, true, "IgnoreDefense", true, false)
  3131. if Grabbee:FindFirstChild("Stats") then
  3132. cbuff = Instance.new("NumberValue", Grabbee.Stats.Decrease)
  3133. cbuff.Name = "DecreaseDef"
  3134. cbuff.Value = 0.15
  3135. game:GetService("Debris"):AddItem(cbuff, 3)
  3136. if Grabbee:FindFirstChild("Stats") then
  3137. --[[ s = script.ForceGuardDown:clone()
  3138. s.Disabled = false
  3139. s.Parent = Grabbee.Stats.Block--]]
  3140. end
  3141. end
  3142. end
  3143. lelpos:Remove()
  3144. if Grabbee:FindFirstChild("Stats") then
  3145. local manaobject = Grabbee.Stats:FindFirstChild("Mana")
  3146. if manaobject and manaobject.Value >= 15 then
  3147. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 15)
  3148. manaobject.Value = manaobject.Value - 15
  3149. end
  3150. end
  3151. local p = Instance.new("Sound", Grabbee.Torso)
  3152. p.Volume = 1
  3153. p.Pitch = 0.9
  3154. p.SoundId = "http://www.roblox.com/asset/?id=243711369"
  3155. p:Play()
  3156. game:GetService("Debris"):AddItem(p, 3)
  3157. local p = Instance.new("Sound", Grabbee.Torso)
  3158. p.Volume = 1
  3159. p.Pitch = 0.95
  3160. p.SoundId = "http://www.roblox.com/asset/?id=231917833"
  3161. p:Play()
  3162. game:GetService("Debris"):AddItem(p, 3)
  3163. for LEL = 1, 3 do
  3164. 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))
  3165. pc.Parent = workspace
  3166. pc.Anchored = true
  3167. pc.CanCollide = false
  3168. pc.Transparency = 1
  3169. game:GetService("Debris"):AddItem(pc, 5)
  3170. coroutine.resume(coroutine.create(function(p, V, x)
  3171. for i = 1, 12 do
  3172. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(7 + LEL * 2, 7 + LEL * 2, 7 + LEL * 2) / 12
  3173. p.Transparency = 0.25 + i / 9
  3174. p.CFrame = p.CFrame * V
  3175. fwait()
  3176. end
  3177. p:Remove()
  3178. end), pc, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  3179. end
  3180. coroutine.resume(coroutine.create(function(Grabbee)
  3181. for loel = 1, 6 do
  3182. 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))
  3183. eff.Parent = workspace
  3184. eff.Name = "BloodEffect"
  3185. eff.Anchored = true
  3186. eff.CanCollide = false
  3187. game:GetService("Debris"):AddItem(eff, 5)
  3188. coroutine.resume(coroutine.create(function(p, V, x)
  3189. for i = 1, 15 do
  3190. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) / 15
  3191. p.Transparency = 0.5 + i / 30
  3192. p.CFrame = p.CFrame * V + Vector3.new(0, 0.2, 0)
  3193. fwait()
  3194. end
  3195. p:Remove()
  3196. 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)))
  3197. fwait(0.2)
  3198. end
  3199. end), Grabbee)
  3200. end
  3201. if rawframes == 30 then
  3202. TrackFunction:disconnect()
  3203. TrackFunction = nil
  3204. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3205. PlayerIsAttacking = false
  3206. CanInterrupt(true)
  3207. setlastnormal("")
  3208. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  3209. Stand()
  3210. end
  3211. if rawframes >= 18 then
  3212. LerpWelds({Animations.LHB.Animation(3)}, (rawframes - 17) / 8, Animations[cwalk].Animation(0))
  3213. end
  3214. if rawframes == 25 then
  3215. BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
  3216. TrackFunction:disconnect()
  3217. TrackFunction = nil
  3218. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3219. PlayerIsAttacking = false
  3220. CanInterrupt(true)
  3221. setlastnormal("")
  3222. Stand()
  3223. end
  3224. if rawframes >= 6 and rawframes <= 11 then
  3225. if useRageVer == false then
  3226. BodyVel.velocity = CPlane * (rawframes * 6.5 + 40)
  3227. else
  3228. BodyVel.velocity = CPlane * (rawframes * 9.5 + 55)
  3229. end
  3230. if Grabbee == nil then
  3231. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 2.5, 3.5)) do
  3232. Grabbee = v
  3233. applyDamage(Grabbee, 6, Vector3.new(), false, false, nil, 0, 1, "153092213", 1.2, false, false, 10, true, "Normal", true, false)
  3234. p = Instance.new("Sound", Grabbee.Torso)
  3235. p.Volume = 1
  3236. p.Pitch = 0.9
  3237. p.SoundId = "http://www.roblox.com/asset/?id=240429615"
  3238. p:Play()
  3239. game:GetService("Debris"):AddItem(p, 3)
  3240. local par, loc = workspace:FindPartOnRay(Ray.new(Grabbee.Torso.Position, Vector3.new(0, -10, 0)), Grabbee)
  3241. lelpos = Instance.new("BodyPosition", Grabbee.Torso)
  3242. lelpos.P = 400
  3243. lelpos.D = 100
  3244. lelpos.maxForce = Vector3.new(5000000, 5000000, 5000000)
  3245. lelpos.position = loc + Vector3.new(0, 3, 0) + CPlane * 6.6
  3246. do break end
  3247. end
  3248. end
  3249. else
  3250. BodyVel.velocity = BodyVel.velocity / 1.3
  3251. if Grabbee and useRageVer == false then
  3252. BodyVel.velocity = BodyVel.velocity / 3
  3253. end
  3254. if rawframes >= 5 and rawframes <= 20 then
  3255. 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))
  3256. pc.CanCollide = false
  3257. pc.Anchored = true
  3258. pc.Parent = workspace
  3259. game:GetService("Debris"):AddItem(pc, 5)
  3260. coroutine.resume(coroutine.create(function(p)
  3261. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  3262. for i = 1, 18 do
  3263. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(3, 3, 3) / 18
  3264. p.Transparency = 0.5 + i / 36
  3265. p.CFrame = p.CFrame * R
  3266. fwait()
  3267. end
  3268. p:Remove()
  3269. end), pc)
  3270. end
  3271. end
  3272. --end
  3273. --end
  3274. rawframes = rawframes + 1
  3275. end)
  3276. else
  3277. local useRageVer = false
  3278. if Cooldowns["5"] == 0 then
  3279. Cooldowns["5"] = CooldownsB["5"]
  3280. if Ragemode == true and Corruption >= 20 then
  3281. coroutine.resume(coroutine.create(function()
  3282. for lel = 1, 20 do
  3283. fwait()
  3284. if Corruption > 0 then
  3285. Corruption = Corruption - 1
  3286. else
  3287. break
  3288. end
  3289. end
  3290. end))
  3291. useRageVer = true
  3292. end
  3293. else
  3294. return
  3295. end
  3296. if TrackFunction ~= nil then
  3297. TrackFunction:disconnect()
  3298. TrackFunction = nil
  3299. end
  3300. CanInterrupt(false)
  3301. PlayerIsAttacking = true
  3302. local rawframes = 0
  3303. Tool.Status.AnimFrame.Value = 0
  3304. local DidHit = false
  3305. local dir = (-vPlayer.Character.HumanoidRootPart.Position - StunnedPlayer.Torso.Position).unit
  3306. local CPlane = MousePlane()
  3307. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  3308. DesiredWalkspeed = 0
  3309. local cl = 0
  3310. local clastframe = lastframe
  3311. if useRageVer == false then
  3312. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  3313. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3314. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  3315. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  3316. if rawframes <= 7 then
  3317. cl = cl + rawframes * 0.036
  3318. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(0))
  3319. elseif rawframes >= 8 and rawframes <= 10 then
  3320. cl = 0
  3321. if rawframes == 8 then
  3322. p = Instance.new("Sound", vPlayer.Character.Torso)
  3323. p.Volume = 1
  3324. p.Pitch = 0.9
  3325. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3326. p:Play()
  3327. game:GetService("Debris"):AddItem(p, 3)
  3328. clastframe = lastframe
  3329. end
  3330. if rawframes == 10 then
  3331. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 25)) do
  3332. applyCameraShake(v, 100, 6)
  3333. end
  3334. cbuff = Instance.new("NumberValue", StunnedPlayer.Stats.Decrease)
  3335. cbuff.Name = "DecreaseMvmt"
  3336. cbuff.Value = 0.15
  3337. game:GetService("Debris"):AddItem(cbuff, 5)
  3338. cbuff = Instance.new("NumberValue", StunnedPlayer.Stats.Decrease)
  3339. cbuff.Name = "DecreaseDef"
  3340. cbuff.Value = 0.15
  3341. game:GetService("Debris"):AddItem(cbuff, 5)
  3342. stp = Instance.new("BodyPosition", StunnedPlayer.Torso)
  3343. stp.position = StunnedPlayer.Torso.Position
  3344. p = Instance.new("Sound", vPlayer.Character.Torso)
  3345. p.Volume = 0.5
  3346. p.Pitch = 1.2
  3347. p.SoundId = "http://www.roblox.com/asset/?id=231917806"
  3348. p:Play()
  3349. game:GetService("Debris"):AddItem(p, 3)
  3350. applyCameraShake(vPlayer.Character, 100, 6)
  3351. applyDamage(StunnedPlayer, 3, Vector3.new(0, 17.5, 0), false, false, addonCullMovers, 0.1, 1, "153092227", 1, false, false, 0, true, "Normal", false, false)
  3352. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character["Left Leg"].Position, Vector3.new(0, -1, 0)), vPlayer.Character)
  3353. 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))
  3354. pz.Transparency = 1
  3355. pz.Anchored = true
  3356. pz.CanCollide = false
  3357. pz.Parent = workspace
  3358. pz.Name = "Rune"
  3359. local d1 = Instance.new("Decal", pz)
  3360. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3361. d1.Face = "Front"
  3362. d1.Name = "d1"
  3363. local d1 = Instance.new("Decal", pz)
  3364. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3365. d1.Face = "Back"
  3366. d1.Name = "d2"
  3367. coroutine.resume(coroutine.create(function(p, dir)
  3368. for i = 1, 5 do
  3369. fwait()
  3370. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(20 + i * 2))
  3371. p.d1.Transparency = 0.5 + i / 10
  3372. p.d2.Transparency = 0.5 + i / 10
  3373. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.5, 1.5, 0)
  3374. end
  3375. p:Remove()
  3376. end), pz, CPlane)
  3377. game:GetService("Debris"):AddItem(pz, 6)
  3378. end
  3379. LerpWelds(clastframe, (rawframes - 7) / 3, Animations.Antisleep.Animation(1))
  3380. end
  3381. if rawframes >= 13 and rawframes <= 21 then
  3382. if rawframes == 13 then
  3383. clastframe = lastframe
  3384. end
  3385. cl = cl + (rawframes - 12) * 0.022
  3386. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(2))
  3387. elseif rawframes >= 22 and rawframes <= 27 then
  3388. if rawframes == 22 then
  3389. cl = 0
  3390. clastframe = lastframe
  3391. end
  3392. cl = cl + (rawframes - 21) * 0.054
  3393. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(3))
  3394. if rawframes == 22 then
  3395. p = Instance.new("Sound", vPlayer.Character.Torso)
  3396. p.Volume = 1
  3397. p.Pitch = 1
  3398. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3399. p:Play()
  3400. game:GetService("Debris"):AddItem(p, 3)
  3401. clastframe = lastframe
  3402. end
  3403. if rawframes == 24 then
  3404. stp:Remove()
  3405. applyCameraShake(StunnedPlayer, 150, 4)
  3406. applyCameraShake(vPlayer.Character, 150, 4)
  3407. 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)
  3408. end
  3409. elseif rawframes >= 28 and rawframes <= 32 then
  3410. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 28) / 4), Animations.Antisleep.Animation(3))
  3411. elseif rawframes >= 33 then
  3412. if rawframes == 33 then
  3413. clastframe = lastframe
  3414. end
  3415. local cwalk = "Stand"
  3416. if Ragemode == true then
  3417. cwalk = "Stand2"
  3418. end
  3419. LerpWelds(clastframe, (rawframes - 32) / 5, Animations[cwalk].Animation(0))
  3420. end
  3421. if rawframes == 0 then
  3422. BodyGyro.Parent.CFrame = BodyGyro.cframe
  3423. end
  3424. if rawframes == 37 then
  3425. TrackFunction:disconnect()
  3426. TrackFunction = nil
  3427. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3428. PlayerIsAttacking = false
  3429. CanInterrupt(true)
  3430. setlastnormal("")
  3431. Stand()
  3432. end
  3433. rawframes = rawframes + 1
  3434. end)
  3435. coroutine.resume(coroutine.create(function(stat)
  3436. repeat
  3437. fwait()
  3438. until stat.Value <= 20
  3439. stat.Value = stat.Value + 40
  3440. end), StunnedPlayer.Stats.Stun)
  3441. elseif useRageVer == true then
  3442. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  3443. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3444. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  3445. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  3446. if rawframes <= 7 then
  3447. cl = cl + rawframes * 0.036
  3448. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(0))
  3449. else
  3450. if rawframes >= 8 and rawframes <= 10 then
  3451. cl = 0
  3452. if rawframes == 8 then
  3453. p = Instance.new("Sound", vPlayer.Character.Torso)
  3454. p.Volume = 1
  3455. p.Pitch = 0.9
  3456. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3457. p:Play()
  3458. game:GetService("Debris"):AddItem(p, 3)
  3459. clastframe = lastframe
  3460. end
  3461. if rawframes == 10 then
  3462. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 25)) do
  3463. applyCameraShake(v, 100, 6)
  3464. end
  3465. cbuff = Instance.new("NumberValue", StunnedPlayer.Stats.Decrease)
  3466. cbuff.Name = "DecreaseMvmt"
  3467. cbuff.Value = 0.33
  3468. game:GetService("Debris"):AddItem(cbuff, 4)
  3469. stp = Instance.new("BodyPosition", StunnedPlayer.Torso)
  3470. stp.position = StunnedPlayer.Torso.Position
  3471. p = Instance.new("Sound", vPlayer.Character.Torso)
  3472. p.Volume = 0.5
  3473. p.Pitch = 1.2
  3474. p.SoundId = "http://www.roblox.com/asset/?id=231917806"
  3475. p:Play()
  3476. game:GetService("Debris"):AddItem(p, 3)
  3477. applyCameraShake(vPlayer.Character, 100, 6)
  3478. applyDamage(StunnedPlayer, 3, Vector3.new(0, 10, 0), false, false, addonCullMovers, 0.1, 1, "153092227", 1, false, false, 20, true, "IgnoreDefense", false, false)
  3479. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character["Left Leg"].Position, Vector3.new(0, -1, 0)), vPlayer.Character)
  3480. 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))
  3481. pz.Transparency = 1
  3482. pz.Anchored = true
  3483. pz.CanCollide = false
  3484. pz.Parent = workspace
  3485. pz.Name = "Rune"
  3486. local d1 = Instance.new("Decal", pz)
  3487. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3488. d1.Face = "Front"
  3489. d1.Name = "d1"
  3490. local d1 = Instance.new("Decal", pz)
  3491. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  3492. d1.Face = "Back"
  3493. d1.Name = "d2"
  3494. coroutine.resume(coroutine.create(function(p, dir)
  3495. for i = 1, 5 do
  3496. fwait()
  3497. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(20 + i * 2))
  3498. p.d1.Transparency = 0.5 + i / 10
  3499. p.d2.Transparency = 0.5 + i / 10
  3500. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.5, 1.5, 0)
  3501. end
  3502. p:Remove()
  3503. end), pz, CPlane)
  3504. game:GetService("Debris"):AddItem(pz, 6)
  3505. end
  3506. LerpWelds(clastframe, (rawframes - 7) / 3, Animations.Antisleep.Animation(1))
  3507. end
  3508. end
  3509. if rawframes >= 13 and rawframes <= 24 then
  3510. if rawframes == 13 then
  3511. p = Instance.new("Sound", vPlayer.Character.Torso)
  3512. p.Volume = 1
  3513. p.Pitch = 1
  3514. p.SoundId = "http://www.roblox.com/asset/?id=240428955"
  3515. p:Play()
  3516. game:GetService("Debris"):AddItem(p, 3)
  3517. end
  3518. if rawframes <= 18 then
  3519. LerpWelds({Animations.Antisleep.Animation(1)}, (rawframes - 10) / 4, Animations.Antisleep.Animation(5))
  3520. end
  3521. if rawframes % 4 == 0 then
  3522. applyDamage(StunnedPlayer, 3, Vector3.new(0, -5, 0), false, false, nil, 0, 1, "", 1, false, false, 0, true, "Normal", false, false)
  3523. end
  3524. LeftHip.C0 = sLeftHip.C0 * CFrame.Angles(0, math.cos(math.rad((rawframes - 13) * 360 / 11)) / 7, 0)
  3525. elseif rawframes >= 25 and rawframes <= 33 then
  3526. if rawframes == 25 then
  3527. clastframe = lastframe
  3528. end
  3529. cl = cl + (rawframes - 24) * 0.022
  3530. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(2))
  3531. elseif rawframes >= 34 and rawframes <= 39 then
  3532. if rawframes == 34 then
  3533. cl = 0
  3534. clastframe = lastframe
  3535. end
  3536. cl = cl + (rawframes - 33) * 0.054
  3537. LerpWelds(clastframe, cl, Animations.Antisleep.Animation(3))
  3538. if rawframes == 34 then
  3539. p = Instance.new("Sound", vPlayer.Character.Torso)
  3540. p.Volume = 1
  3541. p.Pitch = 1
  3542. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3543. p:Play()
  3544. game:GetService("Debris"):AddItem(p, 3)
  3545. clastframe = lastframe
  3546. end
  3547. if rawframes == 36 then
  3548. stp:Remove()
  3549. applyCameraShake(StunnedPlayer, 150, 4)
  3550. applyCameraShake(vPlayer.Character, 150, 4)
  3551. 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)
  3552. end
  3553. elseif rawframes >= 40 and rawframes <= 44 then
  3554. LerpWelds(clastframe, 1 + (cl - 1) * (1 - (rawframes - 40) / 4), Animations.Antisleep.Animation(3))
  3555. elseif rawframes >= 45 then
  3556. if rawframes == 45 then
  3557. clastframe = lastframe
  3558. end
  3559. local cwalk = "Stand"
  3560. if Ragemode == true then
  3561. cwalk = "Stand2"
  3562. end
  3563. LerpWelds(clastframe, (rawframes - 44) / 5, Animations[cwalk].Animation(0))
  3564. end
  3565. if rawframes == 0 then
  3566. BodyGyro.Parent.CFrame = BodyGyro.cframe
  3567. end
  3568. if rawframes == 49 then
  3569. TrackFunction:disconnect()
  3570. TrackFunction = nil
  3571. DesiredWalkspeed = 16 * playerstats.Movement.Value
  3572. PlayerIsAttacking = false
  3573. CanInterrupt(true)
  3574. setlastnormal("")
  3575. Stand()
  3576. end
  3577. rawframes = rawframes + 1
  3578. end)
  3579. coroutine.resume(coroutine.create(function(stat)
  3580. repeat
  3581. fwait()
  3582. until stat.Value <= 20
  3583. stat.Value = stat.Value + 40
  3584. end), StunnedPlayer.Stats.Stun)
  3585. end
  3586. end
  3587. end
  3588. InputNormals.X = function()
  3589. local useRageVer = false
  3590. if Mana.Value >= 30 and Cooldowns["2"] == 0 then
  3591. Mana.Value = Mana.Value - 30
  3592. Cooldowns["2"] = CooldownsB["2"]
  3593. if Ragemode == true and Corruption >= 20 then
  3594. coroutine.resume(coroutine.create(function()
  3595. for lel = 1, 20 do
  3596. fwait()
  3597. if Corruption > 0 then
  3598. Corruption = Corruption - 1
  3599. else
  3600. break
  3601. end
  3602. end
  3603. end))
  3604. useRageVer = true
  3605. end
  3606. else
  3607. return
  3608. end
  3609. if TrackFunction ~= nil then
  3610. TrackFunction:disconnect()
  3611. TrackFunction = nil
  3612. end
  3613. local llastnormal = lastnormal
  3614. if llastnormal == "MMMMMM" then
  3615. llastnormal = "MMMMM"
  3616. end
  3617. CanInterrupt(false)
  3618. PlayerIsAttacking = true
  3619. local rawframes = 0
  3620. Tool.Status.AnimFrame.Value = 0
  3621. local DidHit = false
  3622. ccctime = tick()
  3623. local CPlane = MousePlane()
  3624. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  3625. local cl = 0
  3626. local clastframe = lastframe
  3627. local cproj = nil
  3628. local cprojtab = {}
  3629. local cpm = Instance.new("Model")
  3630. game:GetService("Debris"):AddItem(cpm, 10)
  3631. cpm.Name = "BSHolder"
  3632. DesiredWalkspeed = 0
  3633. TrackFunction = FakeHeartbeat.Event:connect(function()
  3634. if rawframes < 4 then
  3635. CPlane = MousePlane()
  3636. end
  3637. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  3638. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  3639. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  3640. if rawframes == 0 then
  3641. BodyGyro.Parent.CFrame = BodyGyro.cframe
  3642. end
  3643. if rawframes < 25 then
  3644. 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))
  3645. pc.CanCollide = false
  3646. pc.Anchored = true
  3647. pc.Parent = workspace
  3648. game:GetService("Debris"):AddItem(pc, 5)
  3649. coroutine.resume(coroutine.create(function(p)
  3650. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  3651. local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40)
  3652. for i = 1, 20 do
  3653. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1, 1, 1) / 30
  3654. p.Transparency = 0.5 + i / 40
  3655. p.CFrame = p.CFrame * R - Vector3.new(0, 0.029757575757576 * i, 0) + C
  3656. fwait()
  3657. end
  3658. p:Remove()
  3659. end), pc)
  3660. end
  3661. if rawframes <= 5 then
  3662. LerpWelds(clastframe, rawframes / 5, Animations.BlackSpace.Animation(0))
  3663. if rawframes == 1 then
  3664. p = Instance.new("Sound", vPlayer.Character.Torso)
  3665. p.Volume = 0.85
  3666. p.Pitch = 0.9
  3667. p.SoundId = "http://www.roblox.com/asset/?id=233091161"
  3668. p:Play()
  3669. game:GetService("Debris"):AddItem(p, 3)
  3670. end
  3671. elseif rawframes > 5 and rawframes <= 8 then
  3672. LerpWelds(clastframe, 1 + (rawframes - 6) * 0.02, Animations.BlackSpace.Animation(0))
  3673. if rawframes == 6 then
  3674. 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))
  3675. pz.Transparency = 1
  3676. pz.Anchored = true
  3677. pz.CanCollide = false
  3678. pz.Parent = workspace
  3679. pz.Name = "Rune"
  3680. local d1 = Instance.new("Decal", pz)
  3681. d1.Texture = "http://www.roblox.com/asset/?id=233083637"
  3682. d1.Face = "Front"
  3683. d1.Name = "d1"
  3684. d1.Transparency = 0.5
  3685. local d1 = Instance.new("Decal", pz)
  3686. d1.Texture = "http://www.roblox.com/asset/?id=233083637"
  3687. d1.Face = "Back"
  3688. d1.Name = "d2"
  3689. d1.Transparency = 0.5
  3690. coroutine.resume(coroutine.create(function(p, dir)
  3691. for i = 1, 28 do
  3692. fwait()
  3693. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(28 - i) / 2)
  3694. if i <= 7 then
  3695. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.3, i * 0.3, 0)
  3696. p.d1.Transparency = 1 - i / 14
  3697. p.d2.Transparency = 1 - i / 14
  3698. end
  3699. if i > 20 then
  3700. p.d1.Transparency = 0.5 + (i - 18) / 16
  3701. p.d2.Transparency = 0.5 + (i - 18) / 16
  3702. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad((i - 20) * 5) / 2)
  3703. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.1, 0.1, 0)
  3704. end
  3705. end
  3706. p:Remove()
  3707. end), pz, CPlane)
  3708. game:GetService("Debris"):AddItem(pz, 6)
  3709. elseif rawframes == 8 then
  3710. 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))
  3711. pz.Transparency = 1
  3712. pz.Anchored = true
  3713. pz.CanCollide = false
  3714. pz.Parent = workspace
  3715. pz.Name = "Rune"
  3716. local d1 = Instance.new("Decal", pz)
  3717. d1.Texture = "http://www.roblox.com/asset/?id=233083618"
  3718. d1.Face = "Front"
  3719. d1.Name = "d1"
  3720. d1.Transparency = 0.5
  3721. local d1 = Instance.new("Decal", pz)
  3722. d1.Texture = "http://www.roblox.com/asset/?id=233083618"
  3723. d1.Face = "Back"
  3724. d1.Name = "d2"
  3725. d1.Transparency = 0.5
  3726. coroutine.resume(coroutine.create(function(p, dir)
  3727. for i = 1, 26 do
  3728. fwait()
  3729. p.CFrame = p.CFrame * CFrame.Angles(0, 0, -math.rad(28 - i))
  3730. if i <= 7 then
  3731. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.078, i * 0.078, 0)
  3732. p.d1.Transparency = 1 - i / 14
  3733. p.d2.Transparency = 1 - i / 14
  3734. end
  3735. if i > 18 then
  3736. p.d1.Transparency = 0.5 + (i - 18) / 16
  3737. p.d2.Transparency = 0.5 + (i - 18) / 16
  3738. p.CFrame = p.CFrame * CFrame.Angles(0, 0, -math.rad((i - 20) * 5))
  3739. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.1, 0.1, 0)
  3740. end
  3741. end
  3742. p:Remove()
  3743. end), pz, CPlane)
  3744. game:GetService("Debris"):AddItem(pz, 6)
  3745. end
  3746. elseif rawframes > 8 and rawframes <= 12 then
  3747. LerpWelds(clastframe, 1.04 - (rawframes - 8) * 0.02, Animations.BlackSpace.Animation(0))
  3748. elseif rawframes > 12 and rawframes <= 17 then
  3749. cl = cl + (rawframes - 12) * 0.066
  3750. if rawframes == 15 then
  3751. p = Instance.new("Sound", vPlayer.Character.Torso)
  3752. p.Volume = 0.4
  3753. p.Pitch = 0.7
  3754. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  3755. p:Play()
  3756. game:GetService("Debris"):AddItem(p, 3)
  3757. end
  3758. LerpWelds({Animations.BlackSpace.Animation(0)}, cl, Animations.BlackSpace.Animation(1))
  3759. elseif rawframes > 17 and rawframes <= 20 then
  3760. LerpWelds({Animations.BlackSpace.Animation(0)}, 1 + (rawframes - 17) * 0.02, Animations.BlackSpace.Animation(1))
  3761. elseif rawframes > 20 and rawframes <= 23 then
  3762. LerpWelds({Animations.BlackSpace.Animation(0)}, 1.04 - (rawframes - 20) * 0.02, Animations.BlackSpace.Animation(1))
  3763. elseif rawframes > 23 and rawframes <= 32 then
  3764. local cwalk = "Stand"
  3765. if Ragemode == true then
  3766. cwalk = "Stand2"
  3767. end
  3768. LerpWelds({Animations.BlackSpace.Animation(1)}, (rawframes - 23) / 12, Animations[cwalk].Animation(0))
  3769. end
  3770. if rawframes == 17 then
  3771. local eb = BillboardGui("http://www.roblox.com/asset/?id=234376736", vPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0.4, -6).p, 0)
  3772. eb.Parent = workspace
  3773. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  3774. eb.BillboardGui.Size = UDim2.new(8, 0, 8, 0)
  3775. eb.BillboardGui.ImageLabel.ImageTransparency = 0.5
  3776. game:GetService("Debris"):AddItem(eb, 10)
  3777. if useRageVer == false then
  3778. p = Instance.new("Sound", eb)
  3779. p.Volume = 1
  3780. p.Pitch = 1.05
  3781. p.SoundId = "http://www.roblox.com/asset/?id=231917975"
  3782. p:Play()
  3783. game:GetService("Debris"):AddItem(p, 3)
  3784. coroutine.resume(coroutine.create(function(p, cdir)
  3785. for i = 1, 55 do
  3786. p.CFrame = p.CFrame + cdir * 0.45
  3787. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  3788. if i % 8 == 0 and i <= 50 then
  3789. 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))
  3790. pc.Mesh.MeshType = "FileMesh"
  3791. pc.Anchored = true
  3792. pc.CanCollide = false
  3793. pc.Parent = workspace
  3794. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3795. pc.Name = "Shockwave"
  3796. game:GetService("Debris"):AddItem(pc, 5)
  3797. coroutine.resume(coroutine.create(function(p)
  3798. for ii = 1, 20 do
  3799. p.Transparency = 0.75 + ii / 80
  3800. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3 + ii), 0) - Vector3.new(0, 0.05, 0)
  3801. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.4, -0.1, 0.4)
  3802. fwait()
  3803. end
  3804. p:Remove()
  3805. end), pc)
  3806. if i <= 50 then
  3807. 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))
  3808. pc.Mesh.MeshType = "FileMesh"
  3809. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3810. pc.Parent = workspace
  3811. pc.Anchored = true
  3812. pc.CanCollide = false
  3813. pc.Transparency = 0.5
  3814. game:GetService("Debris"):AddItem(pc, 5)
  3815. coroutine.resume(coroutine.create(function(p, cdir)
  3816. for ii = 1, 12 do
  3817. p.Transparency = ii / 12
  3818. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) + cdir * 0.225
  3819. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 0)
  3820. fwait()
  3821. end
  3822. p:Remove()
  3823. end), pc, cdir)
  3824. end
  3825. end
  3826. do
  3827. if i % 5 == 0 and i <= 50 then
  3828. 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))
  3829. pc.Mesh.MeshType = "FileMesh"
  3830. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3831. pc.Parent = workspace
  3832. pc.Anchored = true
  3833. pc.CanCollide = false
  3834. pc.Transparency = 0.5
  3835. game:GetService("Debris"):AddItem(pc, 5)
  3836. coroutine.resume(coroutine.create(function(p, cdir)
  3837. for ii = 1, 12 do
  3838. p.Transparency = ii / 12
  3839. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) + cdir * 0.225
  3840. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.6, 0.6, 0)
  3841. fwait()
  3842. end
  3843. p:Remove()
  3844. end), pc, cdir)
  3845. for _,v in pairs(GetNubsInRadius(p.Position, 22.5)) do
  3846. local sitoop = (p.Position - v.Torso.Position) * 8
  3847. if v:FindFirstChild("Stats") then
  3848. local manaobject = v.Stats:FindFirstChild("Mana")
  3849. if manaobject and manaobject.Value > 0 then
  3850. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 1)
  3851. manaobject.Value = manaobject.Value-1
  3852. end
  3853. end
  3854. if (p.Position - v.Torso.Position).magnitude <= 12 then
  3855. applyDamage(v, 1, Vector3.new(), false, false, nil, 0, 1, "233856106", math.random(170, 200) / 100, false, false, 0, true, "Pure", true, false)
  3856. do
  3857. if v:FindFirstChild("Stats") then
  3858. local manaobject = v.Stats:FindFirstChild("Mana")
  3859. if manaobject and manaobject.Value > 0 then
  3860. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 1)
  3861. manaobject.Value = manaobject.Value-1
  3862. end
  3863. end
  3864. local pz = Instance.new("BodyPosition", v.Torso)
  3865. pz.P = 3500
  3866. pz.D = 1100
  3867. pz.maxForce = Vector3.new(3800000, 3800000, 3800000)
  3868. pz.position = p.Position + cdir * 7.5
  3869. game:GetService("Debris"):AddItem(pz, 0.18)
  3870. 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))
  3871. cpro.Anchored = true
  3872. cpro.CanCollide = false
  3873. cpro.Reflectance = 0.1
  3874. cpro.Parent = workspace
  3875. cpro.Transparency = 0.5
  3876. game:GetService("Debris"):AddItem(cpro, 10)
  3877. coroutine.resume(coroutine.create(function(p, cdir, R)
  3878. for ii = 1, 8 do
  3879. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.8, 0.8, 0.8)
  3880. p.Transparency = 0.5 + ii / 16
  3881. p.CFrame = p.CFrame * R
  3882. fwait()
  3883. end
  3884. p:Remove()
  3885. end), cpro, cdir, CFrame.Angles(math.random(-30, 30) / 100, math.random(-30, 30) / 100, math.random(-30, 30) / 100))
  3886. applyCameraShake(v, 50, 5)
  3887. do
  3888. 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))
  3889. cpro.Anchored = true
  3890. cpro.Mesh.MeshType = "Sphere"
  3891. cpro.CanCollide = false
  3892. cpro.Reflectance = 0.1
  3893. cpro.Parent = workspace
  3894. cpro.Transparency = 0.5
  3895. game:GetService("Debris"):AddItem(cpro, 10)
  3896. coroutine.resume(coroutine.create(function(p, cdir)
  3897. for ii = 1, 7 do
  3898. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3899. p.Transparency = 0.5 + ii / 14
  3900. p.CFrame = p.CFrame + cdir * 0.225
  3901. fwait()
  3902. end
  3903. p:Remove()
  3904. end), cpro, cdir)
  3905. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out DO_STMT
  3906.  
  3907. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out DO_STMT
  3908.  
  3909. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out IF_THEN_STMT
  3910.  
  3911. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out IF_STMT
  3912.  
  3913. -- DECOMPILER ERROR at PC491: LeaveBlock: unexpected jumping out DO_STMT
  3914.  
  3915. end
  3916. end
  3917. end
  3918. end
  3919. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(6, 6, 6))
  3920. cpro.Anchored = true
  3921. cpro.Mesh.MeshType = "Sphere"
  3922. cpro.CanCollide = false
  3923. cpro.Reflectance = 0.1
  3924. cpro.Parent = workspace
  3925. cpro.Transparency = 0.5
  3926. game:GetService("Debris"):AddItem(cpro, 10)
  3927. coroutine.resume(coroutine.create(function(p, cdir)
  3928. for ii = 1, 10 do
  3929. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.75, 0.75, 0.75)
  3930. p.Transparency = 0.5 + ii / 20
  3931. p.CFrame = p.CFrame + cdir * 0.225
  3932. fwait()
  3933. end
  3934. p:Remove()
  3935. end), cpro, cdir)
  3936. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(12, 12, 12))
  3937. cpro.Anchored = true
  3938. cpro.Mesh.MeshType = "Sphere"
  3939. cpro.CanCollide = false
  3940. cpro.Reflectance = 0.1
  3941. cpro.Parent = workspace
  3942. cpro.Transparency = 0.5
  3943. game:GetService("Debris"):AddItem(cpro, 10)
  3944. coroutine.resume(coroutine.create(function(p, cdir)
  3945. for ii = 1, 10 do
  3946. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.95, 0.95, 0.95)
  3947. p.Transparency = 0.5 + ii / 20
  3948. p.CFrame = p.CFrame + cdir * 0.225
  3949. fwait()
  3950. end
  3951. p:Remove()
  3952. end), cpro, cdir)
  3953. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(17, 17, 17))
  3954. cpro.Anchored = true
  3955. cpro.Mesh.MeshType = "Sphere"
  3956. cpro.CanCollide = false
  3957. cpro.Reflectance = 0.1
  3958. cpro.Parent = workspace
  3959. cpro.Transparency = 0.5
  3960. game:GetService("Debris"):AddItem(cpro, 10)
  3961. coroutine.resume(coroutine.create(function(p, cdir)
  3962. for ii = 1, 15 do
  3963. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.2, 1.2, 1.2)
  3964. p.Transparency = 0.75 + ii / 60
  3965. p.CFrame = p.CFrame + cdir * 0.225
  3966. fwait()
  3967. end
  3968. p:Remove()
  3969. end), cpro, cdir)
  3970. end
  3971. fwait()
  3972. -- DECOMPILER ERROR at PC621: LeaveBlock: unexpected jumping out DO_STMT
  3973.  
  3974. -- DECOMPILER ERROR at PC621: LeaveBlock: unexpected jumping out DO_STMT
  3975.  
  3976. end
  3977. end
  3978. for i = 55, 65 do
  3979. p.CFrame = p.CFrame + cdir * 0.4
  3980. if i >= 60 then
  3981. p.BillboardGui.ImageLabel.ImageTransparency = p.BillboardGui.ImageLabel.ImageTransparency + 0.1
  3982. if i == 60 then
  3983. for _,v in pairs(GetNubsInRadius(p.Position, 30)) do
  3984. applyCameraShake(v, 130, 10)
  3985. end
  3986. applyCameraShake(vPlayer.Character, 130, 10)
  3987. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  3988. 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)
  3989. end
  3990. 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))
  3991. pc.Mesh.MeshType = "FileMesh"
  3992. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3993. pc.Parent = workspace
  3994. pc.Anchored = true
  3995. pc.CanCollide = false
  3996. pc.Transparency = 0.5
  3997. game:GetService("Debris"):AddItem(pc, 5)
  3998. coroutine.resume(coroutine.create(function(p)
  3999. for ii = 1, 25 do
  4000. p.Transparency = ii / 25
  4001. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5 - ii * 0.2, 5 - ii * 0.2, 0)
  4002. fwait()
  4003. end
  4004. p:Remove()
  4005. end), pc)
  4006. for loel = 1, 3 do
  4007. 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))
  4008. eff.Parent = workspace
  4009. eff.Name = "BloodEffect"
  4010. eff.Anchored = true
  4011. eff.CanCollide = false
  4012. game:GetService("Debris"):AddItem(eff, 5)
  4013. coroutine.resume(coroutine.create(function(p, V, x)
  4014. for i = 1, 23 do
  4015. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 23
  4016. p.Transparency = 0.25 + i / 17.25
  4017. p.CFrame = p.CFrame * V
  4018. fwait()
  4019. end
  4020. p:Remove()
  4021. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  4022. end
  4023. ps = Instance.new("Sound", p)
  4024. ps.Volume = 1
  4025. ps.Pitch = 0.66
  4026. ps.SoundId = "http://www.roblox.com/asset/?id=231917888"
  4027. ps:Play()
  4028. game:GetService("Debris"):AddItem(ps, 3)
  4029. ps = Instance.new("Sound", p)
  4030. ps.Volume = 1
  4031. ps.Pitch = 0.8
  4032. ps.SoundId = "http://www.roblox.com/asset/?id=192410084"
  4033. ps:Play()
  4034. game:GetService("Debris"):AddItem(ps, 3)
  4035. end
  4036. end
  4037. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  4038. fwait()
  4039. -- DECOMPILER ERROR at PC907: LeaveBlock: unexpected jumping out DO_STMT
  4040.  
  4041. end
  4042. p:Remove()
  4043. end), eb, CPlane)
  4044. else
  4045. p = Instance.new("Sound", eb)
  4046. p.Volume = 1
  4047. p.Pitch = 1.2
  4048. p.SoundId = "http://www.roblox.com/asset/?id=188959258"
  4049. p:Play()
  4050. game:GetService("Debris"):AddItem(p, 3)
  4051. local partic1 = Instance.new("ParticleEmitter", eb)
  4052. partic1.Name = "AttackParticleEmitter3"
  4053. partic1.Texture = "http://www.roblox.com/asset/?id=233839085"
  4054. partic1.LightEmission = 0
  4055. partic1.ZOffset = 1.6
  4056. partic1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0.5), NumberSequenceKeypoint.new(1, 1)})
  4057. partic1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 9), NumberSequenceKeypoint.new(1, 0)})
  4058. partic1.Color = ColorSequence.new(Color3.new(0.8, 0.8, 0.8), Color3.new(0.8, 0.8, 0.8))
  4059. partic1.Rate = 20
  4060. partic1.VelocitySpread = 0
  4061. partic1.Speed = NumberRange.new(0, 0)
  4062. partic1.Lifetime = NumberRange.new(1, 1)
  4063. partic1.Rotation = NumberRange.new(-180, 180)
  4064. partic1.RotSpeed = NumberRange.new(800, 800)
  4065. partic1.Enabled = false
  4066. coroutine.resume(coroutine.create(function(p, cdir)
  4067. for i = 1, 65 do
  4068. p.AttackParticleEmitter3.Acceleration = cdir * 0.9
  4069. p.CFrame = p.CFrame + cdir * 0.45
  4070. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  4071. if i % 8 == 0 and i <= 60 then
  4072. 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))
  4073. pc.Mesh.MeshType = "FileMesh"
  4074. pc.Anchored = true
  4075. pc.CanCollide = false
  4076. pc.Parent = workspace
  4077. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4078. pc.Name = "Shockwave"
  4079. game:GetService("Debris"):AddItem(pc, 5)
  4080. coroutine.resume(coroutine.create(function(p)
  4081. for ii = 1, 20 do
  4082. p.Transparency = 0.75 + ii / 80
  4083. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3 + ii), 0) - Vector3.new(0, 0.05, 0)
  4084. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.4, -0.1, 0.4)
  4085. fwait()
  4086. end
  4087. p:Remove()
  4088. end), pc)
  4089. if i <= 60 then
  4090. 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))
  4091. pc.Mesh.MeshType = "FileMesh"
  4092. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4093. pc.Parent = workspace
  4094. pc.Anchored = true
  4095. pc.CanCollide = false
  4096. pc.Transparency = 0.5
  4097. game:GetService("Debris"):AddItem(pc, 5)
  4098. coroutine.resume(coroutine.create(function(p, cdir)
  4099. for ii = 1, 12 do
  4100. p.Transparency = ii / 12
  4101. p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) + cdir * 0.225
  4102. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 0)
  4103. fwait()
  4104. end
  4105. p:Remove()
  4106. end), pc, cdir)
  4107. end
  4108. end
  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. if v:FindFirstChild("Stats") then
  4139. local manaobject = v.Stats:FindFirstChild("Mana")
  4140. if manaobject and manaobject.Value > 0 then
  4141. --script.Parent.DMG.RemoteEventM:FireServer(manaobject, 1)
  4142. manaobject.Value = manaobject.Value-1
  4143. end
  4144. end
  4145. local pz = Instance.new("BodyPosition", v.Torso)
  4146. pz.P = 3500
  4147. pz.D = 1100
  4148. pz.maxForce = Vector3.new(3800000, 3800000, 3800000)
  4149. pz.position = p.Position + cdir * 7.5
  4150. game:GetService("Debris"):AddItem(pz, 0.18)
  4151. 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))
  4152. cpro.Anchored = true
  4153. cpro.CanCollide = false
  4154. cpro.Reflectance = 0.1
  4155. cpro.Parent = workspace
  4156. cpro.Transparency = 0.5
  4157. game:GetService("Debris"):AddItem(cpro, 10)
  4158. coroutine.resume(coroutine.create(function(p, cdir, R)
  4159. for ii = 1, 8 do
  4160. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.8, 0.8, 0.8)
  4161. p.Transparency = 0.5 + ii / 16
  4162. p.CFrame = p.CFrame * R
  4163. fwait()
  4164. end
  4165. p:Remove()
  4166. end), cpro, cdir, CFrame.Angles(math.random(-30, 30) / 100, math.random(-30, 30) / 100, math.random(-30, 30) / 100))
  4167. applyCameraShake(v, 50, 5)
  4168. 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))
  4169. cpro.Anchored = true
  4170. cpro.Mesh.MeshType = "Sphere"
  4171. cpro.CanCollide = false
  4172. cpro.Reflectance = 0.1
  4173. cpro.Parent = workspace
  4174. cpro.Transparency = 0.5
  4175. game:GetService("Debris"):AddItem(cpro, 10)
  4176. coroutine.resume(coroutine.create(function(p, cdir)
  4177. for ii = 1, 7 do
  4178. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4179. p.Transparency = 0.5 + ii / 14
  4180. p.CFrame = p.CFrame + cdir * 0.225
  4181. fwait()
  4182. end
  4183. p:Remove()
  4184. end), cpro, cdir)
  4185. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out DO_STMT
  4186.  
  4187. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out DO_STMT
  4188.  
  4189. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out IF_THEN_STMT
  4190.  
  4191. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out IF_STMT
  4192.  
  4193. -- DECOMPILER ERROR at PC494: LeaveBlock: unexpected jumping out DO_STMT
  4194.  
  4195. end
  4196. end
  4197. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(6, 6, 6))
  4198. cpro.Anchored = true
  4199. cpro.Mesh.MeshType = "Sphere"
  4200. cpro.CanCollide = false
  4201. cpro.Reflectance = 0.1
  4202. cpro.Parent = workspace
  4203. cpro.Transparency = 0.5
  4204. game:GetService("Debris"):AddItem(cpro, 10)
  4205. coroutine.resume(coroutine.create(function(p, cdir)
  4206. for ii = 1, 10 do
  4207. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.75, 0.75, 0.75)
  4208. p.Transparency = 0.5 + ii / 20
  4209. p.CFrame = p.CFrame + cdir * 0.225
  4210. fwait()
  4211. end
  4212. p:Remove()
  4213. end), cpro, cdir)
  4214. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(12, 12, 12))
  4215. cpro.Anchored = true
  4216. cpro.Mesh.MeshType = "Sphere"
  4217. cpro.CanCollide = false
  4218. cpro.Reflectance = 0.1
  4219. cpro.Parent = workspace
  4220. cpro.Transparency = 0.5
  4221. game:GetService("Debris"):AddItem(cpro, 10)
  4222. coroutine.resume(coroutine.create(function(p, cdir)
  4223. for ii = 1, 10 do
  4224. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.95, 0.95, 0.95)
  4225. p.Transparency = 0.5 + ii / 20
  4226. p.CFrame = p.CFrame + cdir * 0.225
  4227. fwait()
  4228. end
  4229. p:Remove()
  4230. end), cpro, cdir)
  4231. local cpro = NewPart(Vector3.new(1, 1, 1), p.CFrame, "Really black", "SpecialMesh", Vector3.new(17, 17, 17))
  4232. cpro.Anchored = true
  4233. cpro.Mesh.MeshType = "Sphere"
  4234. cpro.CanCollide = false
  4235. cpro.Reflectance = 0.1
  4236. cpro.Parent = workspace
  4237. cpro.Transparency = 0.5
  4238. game:GetService("Debris"):AddItem(cpro, 10)
  4239. coroutine.resume(coroutine.create(function(p, cdir)
  4240. for ii = 1, 15 do
  4241. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.2, 1.2, 1.2)
  4242. p.Transparency = 0.75 + ii / 60
  4243. p.CFrame = p.CFrame + cdir * 0.225
  4244. fwait()
  4245. end
  4246. p:Remove()
  4247. end), cpro, cdir)
  4248. end
  4249. if i == 20 or i == 40 or i == 60 then
  4250. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  4251. applyCameraShake(v, 100, 5)
  4252. end
  4253. applyCameraShake(vPlayer.Character, 100, 5)
  4254. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  4255. 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)
  4256. end
  4257. 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))
  4258. pc.Mesh.MeshType = "FileMesh"
  4259. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4260. pc.Parent = workspace
  4261. pc.Anchored = true
  4262. pc.CanCollide = false
  4263. pc.Transparency = 0.5
  4264. game:GetService("Debris"):AddItem(pc, 5)
  4265. coroutine.resume(coroutine.create(function(p)
  4266. for ii = 1, 15 do
  4267. p.Transparency = 0.5 + ii / 30
  4268. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 0)
  4269. p.CFrame = p.CFrame + cdir * 0.225
  4270. fwait()
  4271. end
  4272. p:Remove()
  4273. end), pc)
  4274. 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))
  4275. eff.Parent = workspace
  4276. eff.Mesh.MeshType = "Sphere"
  4277. eff.Name = "BloodEffect"
  4278. eff.Anchored = true
  4279. eff.CanCollide = false
  4280. game:GetService("Debris"):AddItem(eff, 5)
  4281. coroutine.resume(coroutine.create(function(p, V, x)
  4282. for i = 1, 15 do
  4283. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(35, 35, 35) / 15
  4284. p.Transparency = 0.5 + i / 30
  4285. p.CFrame = p.CFrame * V + cdir * 0.225
  4286. fwait()
  4287. end
  4288. p:Remove()
  4289. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  4290. ps = Instance.new("Sound", p)
  4291. ps.Volume = 1
  4292. ps.Pitch = 0.6
  4293. ps.SoundId = "http://www.roblox.com/asset/?id=235097661"
  4294. ps:Play()
  4295. game:GetService("Debris"):AddItem(ps, 3)
  4296. end
  4297. fwait()
  4298. -- DECOMPILER ERROR at PC854: LeaveBlock: unexpected jumping out DO_STMT
  4299.  
  4300. -- DECOMPILER ERROR at PC854: LeaveBlock: unexpected jumping out DO_STMT
  4301.  
  4302. -- DECOMPILER ERROR at PC854: LeaveBlock: unexpected jumping out DO_STMT
  4303.  
  4304. end
  4305. for i = 65, 75 do
  4306. p.CFrame = p.CFrame + cdir * 0.4
  4307. p.Sound.Volume = p.Sound.Volume - 0.1
  4308. if i >= 70 then
  4309. p.BillboardGui.ImageLabel.ImageTransparency = p.BillboardGui.ImageLabel.ImageTransparency + 0.1
  4310. if i == 70 then
  4311. for _,v in pairs(GetNubsInRadius(p.Position, 30)) do
  4312. applyCameraShake(v, 130, 10)
  4313. end
  4314. applyCameraShake(vPlayer.Character, 130, 10)
  4315. for _,v in pairs(GetNubsInRadius(p.Position, 20)) do
  4316. 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)
  4317. end
  4318. 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))
  4319. pc.Mesh.MeshType = "FileMesh"
  4320. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4321. pc.Parent = workspace
  4322. pc.Anchored = true
  4323. pc.CanCollide = false
  4324. pc.Transparency = 0.5
  4325. game:GetService("Debris"):AddItem(pc, 5)
  4326. coroutine.resume(coroutine.create(function(p)
  4327. for ii = 1, 25 do
  4328. p.Transparency = ii / 25
  4329. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5 - ii * 0.2, 5 - ii * 0.2, 0)
  4330. fwait()
  4331. end
  4332. p:Remove()
  4333. end), pc)
  4334. for loel = 1, 3 do
  4335. 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))
  4336. eff.Parent = workspace
  4337. eff.Name = "BloodEffect"
  4338. eff.Anchored = true
  4339. eff.CanCollide = false
  4340. game:GetService("Debris"):AddItem(eff, 5)
  4341. coroutine.resume(coroutine.create(function(p, V, x)
  4342. for i = 1, 23 do
  4343. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 23
  4344. p.Transparency = 0.25 + i / 17.25
  4345. p.CFrame = p.CFrame * V
  4346. fwait()
  4347. end
  4348. p:Remove()
  4349. end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  4350. end
  4351. ps = Instance.new("Sound", p)
  4352. ps.Volume = 1
  4353. ps.Pitch = 0.66
  4354. ps.SoundId = "http://www.roblox.com/asset/?id=231917888"
  4355. ps:Play()
  4356. game:GetService("Debris"):AddItem(ps, 3)
  4357. ps = Instance.new("Sound", p)
  4358. ps.Volume = 1
  4359. ps.Pitch = 0.8
  4360. ps.SoundId = "http://www.roblox.com/asset/?id=192410084"
  4361. ps:Play()
  4362. game:GetService("Debris"):AddItem(ps, 3)
  4363. end
  4364. end
  4365. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation - (i + 5)
  4366. fwait()
  4367. -- DECOMPILER ERROR at PC1145: LeaveBlock: unexpected jumping out DO_STMT
  4368.  
  4369. end
  4370. p:Remove()
  4371. end), eb, CPlane)
  4372. end
  4373. end
  4374. BodyVel.velocity = BodyVel.velocity / 1.1
  4375. if rawframes == 36 then
  4376. TrackFunction:disconnect()
  4377. TrackFunction = nil
  4378. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4379. PlayerIsAttacking = false
  4380. CanInterrupt(true)
  4381. setlastnormal(llastnormal)
  4382. Stand()
  4383. end
  4384. rawframes = rawframes + 1
  4385. end)
  4386. end
  4387. lastcin = tick()
  4388. CharacterPlane = function()
  4389. local cl = vPlayer.Character.HumanoidRootPart.CFrame.lookVector
  4390. return Vector3.new(cl.x, 0, cl.z).unit
  4391. end
  4392. SetLegs = function(v)
  4393. if v == 0 then
  4394. RightHip.Part0 = vPlayer.Character.Torso
  4395. LeftHip.Part0 = vPlayer.Character.Torso
  4396. else
  4397. RightHip.Part0 = vPlayer.Character.HumanoidRootPart
  4398. LeftHip.Part0 = vPlayer.Character.HumanoidRootPart
  4399. end
  4400. end
  4401. InputNormals.R = function()
  4402. if TrackFunction ~= nil then
  4403. TrackFunction:disconnect()
  4404. TrackFunction = nil
  4405. end
  4406. CanInterrupt(false)
  4407. PlayerIsAttacking = true
  4408. local rawframes = 0
  4409. Tool.Status.AnimFrame.Value = 0
  4410. local DidHit = false
  4411. local CPlane = MousePlane()
  4412. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4413. local cpos = nil
  4414. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4415. BodyVel.Parent = nil
  4416. BodyGyro.Parent = nil
  4417. local cl = 0
  4418. local clastframe = lastframe
  4419. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4420. CPlane = CharacterPlane()
  4421. BodyVel.Parent = nil
  4422. BodyGyro.Parent = nil
  4423. if rawframes <= 3 then
  4424. LerpWelds(clastframe, rawframes / 3, Animations.ZZ.Animation(0))
  4425. if rawframes == 1 then
  4426. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4427. p.Volume = 1
  4428. p.Pitch = 0.7
  4429. p.SoundId = "http://www.roblox.com/asset/?id=243711441"
  4430. p:Play()
  4431. game:GetService("Debris"):AddItem(p, 3)
  4432. end
  4433. else
  4434. if rawframes > 3 and rawframes <= 5 then
  4435. LerpWelds({Animations.ZZ.Animation(0)}, (rawframes - 3) / 2, Animations.ZZ.Animation(1))
  4436. else
  4437. if rawframes > 5 and rawframes <= 7 then
  4438. LerpWelds({Animations.ZZ.Animation(1)}, (rawframes - 5) / 2, Animations.ZZ.Animation(2))
  4439. else
  4440. if rawframes > 7 and rawframes <= 10 then
  4441. LerpWelds({Animations.ZZ.Animation(1)}, 1 + (rawframes - 8) * 0.03, Animations.ZZ.Animation(2))
  4442. else
  4443. if rawframes > 10 and rawframes <= 14 then
  4444. LerpWelds({Animations.ZZ.Animation(1)}, 1.08 - (rawframes - 11) * 0.03, Animations.ZZ.Animation(2))
  4445. end
  4446. end
  4447. end
  4448. end
  4449. end
  4450. if rawframes >= 3 and rawframes <= 7 and rawframes % 2 == 0 then
  4451. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  4452. applyDamage(v, 9, CPlane * 35, false, false, nil, 0.2, 1, "201858024", 0.6, true, true, 8, false, "Normal", false, true)
  4453. applyCameraShake(v, 90, 5)
  4454. DidHit = true
  4455. end
  4456. end
  4457. do
  4458. if rawframes == 7 then
  4459. CanInterrupt(true)
  4460. setlastnormal("R")
  4461. end
  4462. if rawframes == 15 then
  4463. TrackFunction:disconnect()
  4464. TrackFunction = nil
  4465. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4466. PlayerIsAttacking = false
  4467. CanInterrupt(true)
  4468. setlastnormal("")
  4469. Walk()
  4470. end
  4471. rawframes = rawframes + 1
  4472. end
  4473. end)
  4474. end
  4475. InputNormals.RR = function()
  4476. if TrackFunction ~= nil then
  4477. TrackFunction:disconnect()
  4478. TrackFunction = nil
  4479. end
  4480. CanInterrupt(false)
  4481. PlayerIsAttacking = true
  4482. local rawframes = 0
  4483. Tool.Status.AnimFrame.Value = 0
  4484. local DidHit = false
  4485. local CPlane = MousePlane()
  4486. local cl = 0
  4487. local clastframe = lastframe
  4488. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4489. local cpos = nil
  4490. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4491. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4492. CPlane = CharacterPlane()
  4493. if rawframes <= 5 then
  4494. LerpWelds(clastframe, rawframes / 5, Animations.ZZZ.Animation(0))
  4495. else
  4496. if rawframes > 5 and rawframes <= 11 then
  4497. cl = cl + (rawframes - 5) * 0.0485
  4498. LerpWelds({Animations.ZZZ.Animation(0)}, cl, Animations.ZZZ.Animation(1))
  4499. if rawframes == 6 then
  4500. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4501. p.Volume = 1
  4502. p.Pitch = 0.7
  4503. p.SoundId = "http://www.roblox.com/asset/?id=243711427"
  4504. p:Play()
  4505. game:GetService("Debris"):AddItem(p, 3)
  4506. end
  4507. else
  4508. if rawframes > 11 and rawframes <= 17 then
  4509. LerpWelds({Animations.ZZZ.Animation(0)}, 1 + (rawframes - 11) * 0.01, Animations.ZZZ.Animation(1))
  4510. else
  4511. if rawframes > 17 and rawframes <= 21 then
  4512. LerpWelds({Animations.ZZZ.Animation(0)}, 1.1 - (rawframes - 17) * 0.04, Animations.ZZZ.Animation(1))
  4513. end
  4514. end
  4515. end
  4516. end
  4517. SetLegs(1)
  4518. if rawframes >= 5 and rawframes <= 10 and rawframes % 2 == 0 then
  4519. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  4520. applyDamage(v, 9, CPlane * 30, false, false, nil, 0.25, 1, "201858024", 0.5, true, true, 10, false, "Normal", false, true)
  4521. applyCameraShake(v, 90, 5)
  4522. DidHit = true
  4523. end
  4524. end
  4525. if rawframes == 13 then
  4526. CanInterrupt(true)
  4527. setlastnormal("RR")
  4528. end
  4529. if rawframes == 21 then
  4530. TrackFunction:disconnect()
  4531. TrackFunction = nil
  4532. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4533. PlayerIsAttacking = false
  4534. CanInterrupt(true)
  4535. setlastnormal("")
  4536. Walk()
  4537. end
  4538. rawframes = rawframes + 1
  4539. end)
  4540. end
  4541. InputNormals.RRR = function()
  4542. if TrackFunction ~= nil then
  4543. TrackFunction:disconnect()
  4544. TrackFunction = nil
  4545. end
  4546. CanInterrupt(false)
  4547. PlayerIsAttacking = true
  4548. local rawframes = 0
  4549. Tool.Status.AnimFrame.Value = 0
  4550. local DidHit = false
  4551. local CPlane = MousePlane()
  4552. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4553. local cpos = nil
  4554. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4555. BodyVel.Parent = nil
  4556. BodyGyro.Parent = nil
  4557. local cl = 0
  4558. local clastframe = lastframe
  4559. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4560. CPlane = CharacterPlane()
  4561. if rawframes <= 3 then
  4562. LerpWelds(clastframe, rawframes / 3, Animations.ZZ3.Animation(0))
  4563. if rawframes == 1 then
  4564. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4565. p.Volume = 1
  4566. p.Pitch = 0.7
  4567. p.SoundId = "http://www.roblox.com/asset/?id=243711414"
  4568. p:Play()
  4569. game:GetService("Debris"):AddItem(p, 3)
  4570. end
  4571. elseif rawframes > 3 and rawframes <= 5 then
  4572. LerpWelds({Animations.ZZ3.Animation(0)}, (rawframes - 3) / 2, Animations.ZZ3.Animation(1))
  4573. elseif rawframes > 5 and rawframes <= 7 then
  4574. LerpWelds({Animations.ZZ3.Animation(1)}, (rawframes - 5) / 2, Animations.ZZ3.Animation(2))
  4575. elseif rawframes > 7 and rawframes <= 10 then
  4576. LerpWelds({Animations.ZZ3.Animation(1)}, 1 + (rawframes - 8) * 0.03, Animations.ZZ3.Animation(2))
  4577. elseif rawframes > 10 and rawframes <= 14 then
  4578. LerpWelds({Animations.ZZ3.Animation(1)}, 1.08 - (rawframes - 11) * 0.03, Animations.ZZ3.Animation(2))
  4579. end
  4580. if rawframes >= 3 and rawframes <= 7 and rawframes % 2 == 0 then
  4581. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  4582. applyDamage(v, 8, CPlane * 50, false, false, nil, 0.2, 1, "201858024", 0.6, true, true, 12, false, "Normal", false, true)
  4583. applyCameraShake(v, 90, 5)
  4584. DidHit = true
  4585. end
  4586. end
  4587. if rawframes == 10 then
  4588. CanInterrupt(true)
  4589. setlastnormal("RRR")
  4590. end
  4591. if rawframes == 15 then
  4592. TrackFunction:disconnect()
  4593. TrackFunction = nil
  4594. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4595. PlayerIsAttacking = false
  4596. CanInterrupt(true)
  4597. setlastnormal("")
  4598. Walk()
  4599. end
  4600. rawframes = rawframes + 1
  4601. end)
  4602. end
  4603. InputNormals.RRRR = function()
  4604. if TrackFunction ~= nil then
  4605. TrackFunction:disconnect()
  4606. TrackFunction = nil
  4607. end
  4608. CanInterrupt(false)
  4609. PlayerIsAttacking = true
  4610. local rawframes = 0
  4611. Tool.Status.AnimFrame.Value = 0
  4612. local DidHit = false
  4613. local CPlane = CharacterPlane()
  4614. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4615. local cpos = nil
  4616. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4617. BodyVel.Parent = nil
  4618. BodyGyro.Parent = nil
  4619. local cl = 0
  4620. local clastframe = lastframe
  4621. local cwalk = "Stand2"
  4622. if (vPlayer.Character.HumanoidRootPart.Velocity).magnitude > 3 then
  4623. cwalk = "Walk2"
  4624. end
  4625. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4626. CPlane = CharacterPlane()
  4627. if rawframes <= 5 then
  4628. LerpWelds(clastframe, rawframes / 5 - 0.1, Animations.Z2.Animation(0))
  4629. if rawframes == 4 then
  4630. p = Instance.new("Sound", vPlayer.Character["Left Arm"])
  4631. p.Volume = 0.4
  4632. p.Pitch = 0.85
  4633. p.SoundId = "http://www.roblox.com/asset/?id=233096543"
  4634. p:Play()
  4635. game:GetService("Debris"):AddItem(p, 3)
  4636. end
  4637. elseif rawframes > 5 and rawframes <= 18 then
  4638. LerpWelds(clastframe, 1, Animations.Z2.Animation(0))
  4639. elseif rawframes > 18 then
  4640. LerpWelds({Animations.Z2.Animation(0)}, (rawframes - 18) / 6, Animations[cwalk].Animation(0))
  4641. end
  4642. if rawframes > 7 and rawframes <= 16 and rawframes % 3 == 0 then
  4643. for _,v in pairs(GetNubsInRadius(clpos, 10)) do
  4644. local pz = Instance.new("BodyPosition", v.Torso)
  4645. pz.P = 6000
  4646. pz.D = 1000
  4647. pz.maxForce = Vector3.new(740000, 0, 740000)
  4648. pz.position = clpos
  4649. game:GetService("Debris"):AddItem(pz, 0.6)
  4650. applyDamage(v, 3, Vector3.new(), false, false, nil, 0.01, 1, "231917784", math.random(140, 160) / 100, false, true, 6, false, "IgnoreDefense", false, false)
  4651. -- DECOMPILER ERROR at PC156: Overwrote pending register: R7 in 'AssignReg'
  4652.  
  4653. if v:FindFirstChild("Stats") then
  4654. local manaobject = v.Stats:FindFirstChild("Mana")
  4655. -- DECOMPILER ERROR at PC161: Overwrote pending register: R7 in 'AssignReg'
  4656.  
  4657. -- DECOMPILER ERROR at PC164: Overwrote pending register: R7 in 'AssignReg'
  4658.  
  4659. -- DECOMPILER ERROR at PC165: Overwrote pending register: R7 in 'AssignReg'
  4660.  
  4661. if manaobject.Value --[[and R7_PC149--]] > 0 then
  4662. manaobject.Value = manaobject.Value - 5--R7_PC149
  4663. end
  4664. end
  4665. end
  4666. end
  4667. if rawframes == 7 then
  4668. local xx = game.Players.LocalPlayer:GetMouse().hit.p
  4669. xx = Vector3.new(xx.x, 0, xx.z)
  4670. local yy = vPlayer.Character.Torso.Position
  4671. yy = Vector3.new(yy.x, 0, yy.z)
  4672. local distout = (xx - yy).magnitude
  4673. if distout > 50 then
  4674. distout = 50
  4675. else
  4676. if distout < 8 then
  4677. distout = 8
  4678. end
  4679. end
  4680. -- DECOMPILER ERROR at PC219: Overwrote pending register: R7 in 'AssignReg'
  4681.  
  4682. 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)
  4683. eb.Parent = workspace
  4684. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  4685. eb.BillboardGui.Size = UDim2.new(0, --[[--]]1, 0, 0)
  4686. eb.BillboardGui.ImageLabel.ImageTransparency = 1
  4687. game:GetService("Debris"):AddItem(eb, 3)
  4688. p = Instance.new("Sound", eb)
  4689. p.Volume = 1
  4690. p.Pitch = 0.85
  4691. p.SoundId = "http://www.roblox.com/asset/?id=233091136"
  4692. p:Play()
  4693. -- DECOMPILER ERROR at PC277: Overwrote pending register: R7 in 'AssignReg'
  4694.  
  4695. game:GetService("Debris"):AddItem(p, --[[]]3)
  4696. p = Instance.new("Sound", eb)
  4697. p.Volume = 1
  4698. p.Pitch = 1.1
  4699. p.SoundId = "http://www.roblox.com/asset/?id=231917833"
  4700. p:Play()
  4701. -- DECOMPILER ERROR at PC300: Overwrote pending register: R7 in 'AssignReg'
  4702.  
  4703. game:GetService("Debris"):AddItem(p, --[[]]3)
  4704. -- DECOMPILER ERROR at PC305: Overwrote pending register: R7 in 'AssignReg'
  4705.  
  4706. -- DECOMPILER ERROR at PC306: Overwrote pending register: R7 in 'AssignReg'
  4707.  
  4708. -- DECOMPILER ERROR at PC312: Overwrote pending register: R7 in 'AssignReg'
  4709.  
  4710. --[[for _,v in pairs(GetNubsInRadius(eb.Position + R7_PC149, R7_PC149)) do
  4711. applyCameraShake(v, 200, 3)
  4712. end--]]
  4713. applyCameraShake(vPlayer.Character, 200, 3)
  4714. coroutine.resume(coroutine.create(function(p, cdir)
  4715. for i = 1, 35 do
  4716. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + (50 - i) / 2
  4717. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(0.15 - i * 0.015, 0, 0.15 - i * 0.015, 0)
  4718. if i <= 8 then
  4719. p.BillboardGui.ImageLabel.ImageTransparency = 1 - i / 16
  4720. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(i * 0.25, 0, i * 0.25, 0)
  4721. else
  4722. if i > 13 then
  4723. p.BillboardGui.ImageLabel.ImageTransparency = 0.5 + (i - 14) / 21
  4724. end
  4725. end
  4726. fwait()
  4727. end
  4728. p:Remove()
  4729. end), eb)
  4730. clpos = eb.Position
  4731. local p = Instance.new("Part", workspace)
  4732. p.formFactor = "Custom"
  4733. p.TopSurface = 0
  4734. p.BottomSurface = 0
  4735. p.BrickColor = BrickColor.new("Really black")
  4736. p.Size = Vector3.new(0.9, 0.9, 0.9)
  4737. local m = Instance.new("SpecialMesh", p)
  4738. m.MeshType = "Sphere"
  4739. p.CFrame = CFrame.new(clpos - CharacterPlane() * 0.25)
  4740. p.Anchored = true
  4741. p.CanCollide = false
  4742. game:GetService("Debris"):AddItem(p, 5)
  4743. coroutine.resume(coroutine.create(function(p)
  4744. for i = 1, 8 do
  4745. p.Transparency = 1 - i / 16
  4746. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.425, i * 0.425, i * 0.425)
  4747. fwait()
  4748. end
  4749. for i = 1, 20 do
  4750. p.Transparency = 0.5 + i / 40
  4751. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.025, 0.025, 0.025) * i
  4752. fwait()
  4753. end
  4754. p:Remove()
  4755. end), p)
  4756. 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))
  4757. pc.Mesh.MeshType = "FileMesh"
  4758. pc.Anchored = true
  4759. pc.CanCollide = false
  4760. pc.Parent = workspace
  4761. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4762. pc.Name = "Shockwave"
  4763. pc.Transparency = 0.5
  4764. game:GetService("Debris"):AddItem(pc, 5)
  4765. coroutine.resume(coroutine.create(function(p)
  4766. for ii = 1, 10 do
  4767. p.Transparency = 0.75 + ii / 40
  4768. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii * 2), 0)
  4769. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2.5, 0, 2.5)
  4770. fwait()
  4771. end
  4772. p:Remove()
  4773. end), pc)
  4774. local p = Instance.new("Part", workspace)
  4775. p.formFactor = "Custom"
  4776. p.TopSurface = 0
  4777. p.BottomSurface = 0
  4778. p.BrickColor = BrickColor.new("Really black")
  4779. p.Size = Vector3.new(1, 1, 1)
  4780. local m = Instance.new("SpecialMesh", p)
  4781. m.Scale = Vector3.new(25, 25, 25)
  4782. m.MeshType = "Sphere"
  4783. p.CFrame = CFrame.new(clpos - MousePlane() * 0.25)
  4784. p.Anchored = true
  4785. p.CanCollide = false
  4786. game:GetService("Debris"):AddItem(p, 5)
  4787. coroutine.resume(coroutine.create(function(p)
  4788. for i = 1, 10 do
  4789. p.Transparency = 0.5 + i / 20
  4790. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2.5, 2.5, 2.5)
  4791. fwait()
  4792. end
  4793. p:Remove()
  4794. end), p)
  4795. for lel = 1, 3 do
  4796. local p = Instance.new("Part", workspace)
  4797. p.formFactor = "Custom"
  4798. p.TopSurface = 0
  4799. p.BottomSurface = 0
  4800. p.BrickColor = BrickColor.new("Black")
  4801. p.Size = Vector3.new(1, 1, 1)
  4802. local m = Instance.new("SpecialMesh", p)
  4803. m.MeshType = "Sphere"
  4804. p.CFrame = CFrame.new(clpos) * CFrame.Angles(0, math.rad(45 * lel), 0)
  4805. p.Anchored = true
  4806. p.CanCollide = false
  4807. game:GetService("Debris"):AddItem(p, 5)
  4808. coroutine.resume(coroutine.create(function(p, d)
  4809. local cpos = p.Position
  4810. for i = 1, 24 do
  4811. if i <= 10 then
  4812. p.Transparency = 1 - i / 20
  4813. else
  4814. if i >= 20 then
  4815. p.Transparency = p.Transparency + 0.1
  4816. end
  4817. end
  4818. p.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5) * (p.Position - cpos).magnitude
  4819. 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))
  4820. fwait()
  4821. end
  4822. p:Remove()
  4823. end), p, lel - 1)
  4824. end
  4825. coroutine.resume(coroutine.create(function(pos)
  4826. for lel = 1, 3 do
  4827. fwait()
  4828. local p = Instance.new("Part", workspace)
  4829. p.formFactor = "Custom"
  4830. p.TopSurface = 0
  4831. p.BottomSurface = 0
  4832. p.BrickColor = BrickColor.new("Royal purple")
  4833. p.Size = Vector3.new(1.7, 1.7, 1.7)
  4834. local m = Instance.new("SpecialMesh", p)
  4835. m.MeshType = "Sphere"
  4836. 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)))
  4837. p.Anchored = true
  4838. p.CanCollide = false
  4839. game:GetService("Debris"):AddItem(p, 5)
  4840. coroutine.resume(coroutine.create(function(p)
  4841. for i = 1, 25 do
  4842. p.Transparency = i / 25
  4843. 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)
  4844. fwait()
  4845. end
  4846. p:Remove()
  4847. end), p)
  4848. end
  4849. end), clpos)
  4850. end
  4851. if rawframes == 18 then
  4852. CanInterrupt(true)
  4853. setlastnormal("RRRR")
  4854. end
  4855. if rawframes == 24 then
  4856. TrackFunction:disconnect()
  4857. TrackFunction = nil
  4858. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4859. PlayerIsAttacking = false
  4860. CanInterrupt(true)
  4861. setlastnormal("")
  4862. Walk()
  4863. end
  4864. rawframes = rawframes + 1
  4865. end)
  4866. end
  4867. InputNormals.RRRRR = function()
  4868. if TrackFunction ~= nil then
  4869. TrackFunction:disconnect()
  4870. TrackFunction = nil
  4871. end
  4872. CanInterrupt(false)
  4873. PlayerIsAttacking = true
  4874. local rawframes = 0
  4875. Tool.Status.AnimFrame.Value = 0
  4876. local DidHit = false
  4877. local CPlane = MousePlane()
  4878. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  4879. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  4880. local cpos = nil
  4881. local cl = 0
  4882. local clastframe = lastframe
  4883. DesiredWalkspeed = 0
  4884. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  4885. if rawframes < 5 then
  4886. CPlane = MousePlane()
  4887. end
  4888. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  4889. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  4890. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  4891. if rawframes == 0 then
  4892. BodyGyro.Parent.CFrame = BodyGyro.cframe
  4893. end
  4894. if rawframes <= 4 then
  4895. LerpWelds(clastframe, rawframes / 4, Animations.ZZZZZ.Animation(0))
  4896. if rawframes == 2 then
  4897. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4898. p.Volume = 1
  4899. p.Pitch = 0.8
  4900. p.SoundId = "http://www.roblox.com/asset/?id=234365549"
  4901. p:Play()
  4902. game:GetService("Debris"):AddItem(p, 3)
  4903. end
  4904. else
  4905. if rawframes > 4 and rawframes <= 7 then
  4906. LerpWelds({Animations.ZZZZZ.Animation(0)}, (rawframes - 4) / 3, Animations.ZZZZZ.Animation(1))
  4907. else
  4908. if rawframes > 7 and rawframes <= 10 then
  4909. LerpWelds({Animations.ZZZZZ.Animation(1)}, (rawframes - 7) / 3, Animations.ZZZZZ.Animation(2))
  4910. else
  4911. if rawframes > 11 and rawframes <= 13 then
  4912. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1 + (rawframes - 11) * 0.03, Animations.ZZZZZ.Animation(2))
  4913. else
  4914. if rawframes > 13 and rawframes <= 18 then
  4915. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1.06 - (rawframes - 13) * 0.03, Animations.ZZZZZ.Animation(2))
  4916. else
  4917. if rawframes > 18 then
  4918. local cwalk = "Stand"
  4919. if Ragemode == true then
  4920. cwalk = "Stand2"
  4921. end
  4922. LerpWelds({Animations.ZZZZZ.Animation(2)}, (rawframes - 18) / 8, Animations[cwalk].Animation(0))
  4923. end
  4924. end
  4925. end
  4926. end
  4927. end
  4928. end
  4929. do
  4930. if rawframes >= 1 and rawframes <= 5 then
  4931. BodyVel.velocity = CPlane * (rawframes * 5 + 5)
  4932. else
  4933. BodyVel.velocity = BodyVel.velocity / 1.2
  4934. end
  4935. if rawframes >= 5 and rawframes <= 10 then
  4936. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position - CPlane * 0.5 - Vector3.new(0, 0.5, 0), 3.3)) do
  4937. applyDamage(v, 8, CPlane * 40, false, false, nil, 0.1, 1, "201858024", 0.85, true, true, 12, false, "Normal", false, true)
  4938. applyCameraShake(v, 120, 5)
  4939. DidHit = true
  4940. end
  4941. end
  4942. do
  4943. if rawframes == 10 then
  4944. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  4945. p.Volume = 1
  4946. p.Pitch = 1.1
  4947. p.SoundId = "http://www.roblox.com/asset/?id=191395766"
  4948. p:Play()
  4949. game:GetService("Debris"):AddItem(p, 3)
  4950. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Weapon.Blade.Position, Vector3.new(0, -3, 0)), vPlayer.Character)
  4951. 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))
  4952. pz.Transparency = 1
  4953. pz.Anchored = true
  4954. pz.CanCollide = false
  4955. pz.Parent = workspace
  4956. pz.Name = "Rune"
  4957. local d1 = Instance.new("Decal", pz)
  4958. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  4959. d1.Face = "Front"
  4960. d1.Name = "d1"
  4961. local d1 = Instance.new("Decal", pz)
  4962. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  4963. d1.Face = "Back"
  4964. d1.Name = "d2"
  4965. coroutine.resume(coroutine.create(function(p, dir)
  4966. for i = 1, 5 do
  4967. fwait()
  4968. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(10 + i * 2))
  4969. p.d1.Transparency = 0.5 + i / 10
  4970. p.d2.Transparency = 0.5 + i / 10
  4971. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0)
  4972. end
  4973. p:Remove()
  4974. end), pz, CPlane)
  4975. game:GetService("Debris"):AddItem(pz, 6)
  4976. end
  4977. do
  4978. if rawframes == 17 then
  4979. CanInterrupt(true)
  4980. setlastnormal("RRRRR")
  4981. end
  4982. if rawframes == 26 then
  4983. TrackFunction:disconnect()
  4984. TrackFunction = nil
  4985. DesiredWalkspeed = 16 * playerstats.Movement.Value
  4986. PlayerIsAttacking = false
  4987. CanInterrupt(true)
  4988. setlastnormal("")
  4989. Stand()
  4990. end
  4991. rawframes = rawframes + 1
  4992. end
  4993. end
  4994. end
  4995. end)
  4996. end
  4997. InputNormals.RRRRRR = function()
  4998. if TrackFunction ~= nil then
  4999. TrackFunction:disconnect()
  5000. TrackFunction = nil
  5001. end
  5002. CanInterrupt(false)
  5003. PlayerIsAttacking = true
  5004. local rawframes = 0
  5005. Tool.Status.AnimFrame.Value = 0
  5006. local DidHit = false
  5007. local CPlane = MousePlane()
  5008. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5009. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5010. local cpos = nil
  5011. local cl = 0
  5012. local clastframe = lastframe
  5013. DesiredWalkspeed = 0
  5014. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5015. if rawframes < 5 then
  5016. CPlane = MousePlane()
  5017. end
  5018. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5019. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5020. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5021. if rawframes == 0 then
  5022. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5023. end
  5024. if rawframes <= 6 then
  5025. LerpWelds(clastframe, rawframes / 5.8, Animations.ZZ2.Animation(1))
  5026. if rawframes == 2 then
  5027. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5028. p.Volume = 1
  5029. p.Pitch = 0.8
  5030. p.SoundId = "http://www.roblox.com/asset/?id=189505665"
  5031. p:Play()
  5032. game:GetService("Debris"):AddItem(p, 3)
  5033. end
  5034. else
  5035. if rawframes > 6 and rawframes <= 10 then
  5036. cl = cl + (rawframes - 6) * 0.11
  5037. LerpWelds({Animations.ZZ2.Animation(1)}, cl, Animations.ZZ2.Animation(2))
  5038. else
  5039. if rawframes > 10 and rawframes <= 17 then
  5040. LerpWelds({Animations.ZZ2.Animation(1)}, 1 + (cl - 1) / (rawframes - 10) / 6, Animations.ZZ2.Animation(2))
  5041. else
  5042. if rawframes > 17 then
  5043. local cwalk = "Stand"
  5044. if Ragemode == true then
  5045. cwalk = "Stand2"
  5046. end
  5047. LerpWelds({Animations.ZZ2.Animation(2)}, (rawframes - 18) / 8, Animations[cwalk].Animation(0))
  5048. end
  5049. end
  5050. end
  5051. end
  5052. do
  5053. if rawframes >= 7 and rawframes <= 10 then
  5054. BodyVel.velocity = CPlane * (rawframes * 7 + 15)
  5055. else
  5056. BodyVel.velocity = BodyVel.velocity / 1.3
  5057. end
  5058. if rawframes >= 7 and rawframes <= 12 then
  5059. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 3, 3.3)) do
  5060. applyDamage(v, 16, CPlane * 80, false, false, nil, 0.4, 1, "", 0.8, true, true, 25, false, "Normal", true, false)
  5061. applyCameraShake(v, 250, 4)
  5062. if DidHit == false then
  5063. p = Instance.new("Sound", vPlayer.Character.Weapon.Handle)
  5064. p.Volume = 1
  5065. p.Pitch = 0.8
  5066. p.SoundId = "http://www.roblox.com/asset/?id=189505617"
  5067. p:Play()
  5068. game:GetService("Debris"):AddItem(p, 3)
  5069. p = Instance.new("Sound", vPlayer.Character.Weapon.Handle)
  5070. p.Volume = 0.3
  5071. p.Pitch = 1
  5072. p.SoundId = "http://www.roblox.com/asset/?id=191395579"
  5073. p:Play()
  5074. game:GetService("Debris"):AddItem(p, 3)
  5075. end
  5076. DidHit = true
  5077. end
  5078. end
  5079. do
  5080. if rawframes == 18 then
  5081. CanInterrupt(true)
  5082. setlastnormal("R")
  5083. end
  5084. if rawframes == 26 then
  5085. TrackFunction:disconnect()
  5086. TrackFunction = nil
  5087. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5088. PlayerIsAttacking = false
  5089. CanInterrupt(true)
  5090. setlastnormal("")
  5091. Stand()
  5092. end
  5093. rawframes = rawframes + 1
  5094. end
  5095. end
  5096. end)
  5097. end
  5098. InputNormals.M = function()
  5099. if TrackFunction ~= nil then
  5100. TrackFunction:disconnect()
  5101. TrackFunction = nil
  5102. end
  5103. fffuuuu = false
  5104. CanInterrupt(false)
  5105. PlayerIsAttacking = true
  5106. local rawframes = 0
  5107. Tool.Status.AnimFrame.Value = 0
  5108. local DidHit = false
  5109. local CPlane = MousePlane()
  5110. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5111. local cpos = nil
  5112. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5113. BodyVel.Parent = nil
  5114. BodyGyro.Parent = nil
  5115. local cl = 0
  5116. local clastframe = lastframe
  5117. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5118. CPlane = CharacterPlane()
  5119. if rawframes <= 4 then
  5120. LerpWelds(clastframe, rawframes / 4, Animations.ZZ.Animation(0))
  5121. if rawframes == 1 then
  5122. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5123. p.Volume = 1
  5124. p.Pitch = 0.5
  5125. p.SoundId = "http://www.roblox.com/asset/?id=243711414"
  5126. p:Play()
  5127. game:GetService("Debris"):AddItem(p, 3)
  5128. end
  5129. else
  5130. if rawframes > 4 and rawframes <= 6 then
  5131. LerpWelds({Animations.ZZ.Animation(0)}, (rawframes - 4) / 2, Animations.ZZ.Animation(1))
  5132. else
  5133. if rawframes > 6 and rawframes <= 8 then
  5134. LerpWelds({Animations.ZZ.Animation(1)}, (rawframes - 6) / 2, Animations.ZZ.Animation(2))
  5135. else
  5136. if rawframes > 8 and rawframes <= 11 then
  5137. LerpWelds({Animations.ZZ.Animation(1)}, 1 + (rawframes - 8) * 0.03, Animations.ZZ.Animation(2))
  5138. else
  5139. if rawframes > 11 and rawframes <= 15 then
  5140. LerpWelds({Animations.ZZ.Animation(1)}, 1.08 - (rawframes - 11) * 0.03, Animations.ZZ.Animation(2))
  5141. end
  5142. end
  5143. end
  5144. end
  5145. end
  5146. if rawframes >= 4 and rawframes <= 8 and rawframes % 2 == 0 then
  5147. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  5148. applyDamage(v, 6, CPlane * 30, false, false, nil, 0.3, 1, "201858024", 0.6, true, true, 6, false, "Normal", false, true)
  5149. applyCameraShake(v, 90, 5)
  5150. DidHit = true
  5151. end
  5152. end
  5153. do
  5154. if rawframes == 8 then
  5155. CanInterrupt(true)
  5156. setlastnormal("MM")
  5157. end
  5158. if rawframes == 16 then
  5159. fffuuuu = false
  5160. TrackFunction:disconnect()
  5161. TrackFunction = nil
  5162. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5163. PlayerIsAttacking = false
  5164. CanInterrupt(true)
  5165. setlastnormal("")
  5166. Walk()
  5167. end
  5168. rawframes = rawframes + 1
  5169. end
  5170. end)
  5171. end
  5172. InputNormals.MMM = function()
  5173. fffuuuu = false
  5174. if TrackFunction ~= nil then
  5175. TrackFunction:disconnect()
  5176. TrackFunction = nil
  5177. end
  5178. CanInterrupt(false)
  5179. PlayerIsAttacking = true
  5180. local rawframes = 0
  5181. Tool.Status.AnimFrame.Value = 0
  5182. local DidHit = false
  5183. local CPlane = MousePlane()
  5184. local cl = 0
  5185. local clastframe = lastframe
  5186. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5187. local cpos = nil
  5188. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5189. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5190. CPlane = CharacterPlane()
  5191. if rawframes <= 8 then
  5192. LerpWelds(clastframe, rawframes / 8, Animations.ZZZ.Animation(0))
  5193. else
  5194. if rawframes > 8 and rawframes <= 15 then
  5195. cl = cl + (rawframes - 8) * 0.036
  5196. LerpWelds({Animations.ZZZ.Animation(0)}, cl, Animations.ZZZ.Animation(1))
  5197. if rawframes == 9 then
  5198. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5199. p.Volume = 1
  5200. p.Pitch = 0.5
  5201. p.SoundId = "http://www.roblox.com/asset/?id=243711427"
  5202. p:Play()
  5203. game:GetService("Debris"):AddItem(p, 3)
  5204. end
  5205. else
  5206. if rawframes > 15 and rawframes <= 21 then
  5207. LerpWelds({Animations.ZZZ.Animation(0)}, 1 + (rawframes - 15) * 0.01, Animations.ZZZ.Animation(1))
  5208. else
  5209. if rawframes > 21 and rawframes <= 25 then
  5210. LerpWelds({Animations.ZZZ.Animation(0)}, 1.1 - (rawframes - 21) * 0.04, Animations.ZZZ.Animation(1))
  5211. end
  5212. end
  5213. end
  5214. end
  5215. SetLegs(1)
  5216. if rawframes >= 8 and rawframes <= 14 and rawframes % 2 == 0 then
  5217. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position, 4.2)) do
  5218. applyDamage(v, 8, CPlane * 40, false, false, nil, 0.3, 1, "201858024", 0.5, true, true, 7, false, "Normal", false, true)
  5219. applyCameraShake(v, 90, 5)
  5220. DidHit = true
  5221. end
  5222. end
  5223. do
  5224. if rawframes == 14 then
  5225. CanInterrupt(true)
  5226. setlastnormal("MMM")
  5227. end
  5228. if rawframes == 24 then
  5229. fffuuuu = false
  5230. TrackFunction:disconnect()
  5231. TrackFunction = nil
  5232. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5233. PlayerIsAttacking = false
  5234. CanInterrupt(true)
  5235. setlastnormal("")
  5236. Walk()
  5237. end
  5238. rawframes = rawframes + 1
  5239. end
  5240. end)
  5241. end
  5242. InputNormals.MMMM = function()
  5243. if TrackFunction ~= nil then
  5244. TrackFunction:disconnect()
  5245. TrackFunction = nil
  5246. end
  5247. fffuuuu = false
  5248. CanInterrupt(false)
  5249. PlayerIsAttacking = true
  5250. DesiredWalkspeed = 0
  5251. local rawframes = 0
  5252. Tool.Status.AnimFrame.Value = 0
  5253. local DidHit = false
  5254. local CPlane = MousePlane()
  5255. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5256. local cl = 0
  5257. local clastframe = lastframe
  5258. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5259. if rawframes < 9 then
  5260. CPlane = MousePlane()
  5261. end
  5262. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5263. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5264. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5265. if rawframes == 0 then
  5266. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5267. end
  5268. BodyVel.velocity = BodyVel.velocity / 1.25
  5269. if rawframes <= 5 then
  5270. LerpWelds(clastframe, rawframes / 5, Animations.ZZZZ.Animation(0))
  5271. elseif rawframes > 5 and rawframes <= 10 then
  5272. LerpWelds({Animations.ZZZZ.Animation(0)}, (rawframes - 5) / 5, Animations.ZZZZ.Animation(1))
  5273. if rawframes == 6 then
  5274. p = Instance.new("Sound", vPlayer.Character.Torso)
  5275. p.Volume = 0.25
  5276. p.Pitch = 0.9
  5277. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  5278. wait()
  5279. p:Play()
  5280. game:GetService("Debris"):AddItem(p, 3)
  5281. end
  5282. 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))
  5283. pc.CanCollide = false
  5284. pc.Anchored = true
  5285. pc.Parent = workspace
  5286. game:GetService("Debris"):AddItem(pc, 5)
  5287. coroutine.resume(coroutine.create(function(p)
  5288. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  5289. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  5290. for i=1, 20 do
  5291. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  5292. p.Transparency = i/20
  5293. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  5294. fwait()
  5295. end
  5296. p:Remove()
  5297. end),pc)
  5298. elseif rawframes > 13 and rawframes <= 19 then
  5299. LerpWelds({Animations.ZZZZ.Animation(0)}, 1 - (rawframes - 13) * 0.02, Animations.ZZZZ.Animation(1))
  5300. elseif rawframes > 19 and rawframes <= 26 then
  5301. LerpWelds({Animations.ZZZZ.Animation(1)}, (rawframes - 19) / 7.05 - 0.1, Animations.ZZZZ.Animation(2))
  5302. elseif rawframes > 33 then
  5303. local cwalk = "Stand"
  5304. if Ragemode == true then
  5305. cwalk = "Stand2"
  5306. end
  5307. LerpWelds({Animations.ZZZZ.Animation(2)}, (rawframes - 33) / 9, Animations[cwalk].Animation(0))
  5308. end
  5309. if rawframes == 23 then
  5310. cpos = vPlayer.Character.Torso.Position + CPlane * 33.5
  5311. coroutine.resume(coroutine.create(function(pos, dir)
  5312. for i = 0, 2 do
  5313. 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))
  5314. pc.Mesh.MeshType = "FileMesh"
  5315. pc.Parent = workspace
  5316. pc.Anchored = true
  5317. pc.CanCollide = false
  5318. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5319. pc.Name = "Shockwave"
  5320. game:GetService("Debris"):AddItem(pc, 5)
  5321. coroutine.resume(coroutine.create(function(p)
  5322. for ii = 1, 15 do
  5323. p.Transparency = ii / 15
  5324. p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(15 + ii), 0) + Vector3.new(0, 0.35, 0)
  5325. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(-0.4, 0.7, -0.4)
  5326. fwait()
  5327. end
  5328. p:Remove()
  5329. end), pc)
  5330. 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))
  5331. pc.Mesh.MeshType = "FileMesh"
  5332. pc.Anchored = true
  5333. pc.CanCollide = false
  5334. pc.Parent = workspace
  5335. pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5336. pc.Name = "Shockwave"
  5337. game:GetService("Debris"):AddItem(pc, 5)
  5338. coroutine.resume(coroutine.create(function(p)
  5339. for ii = 1, 10 do
  5340. p.Transparency = ii / 10
  5341. p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(15 + ii), 0) - Vector3.new(0, 0.25, 0)
  5342. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.3, -0.5, 1.3)
  5343. fwait()
  5344. end
  5345. p:Remove()
  5346. end), pc)
  5347. local p = Instance.new("Sound", pc)
  5348. p.Volume = 1
  5349. p.Pitch = 0.85
  5350. p.SoundId = "http://www.roblox.com/asset/?id=233856106"
  5351. p:Play()
  5352. game:GetService("Debris"):AddItem(p, 3)
  5353. for _,v in pairs(GetNubsInRadius(pc.CFrame.p + Vector3.new(0, 0, 0), 8.8)) do
  5354. applyDamage(v, 2, -dir * (55 - i * 10), false, false, nil, 0.01, 1, "", 1.125, false, true, 5, false, "Normal", false, false)
  5355. applyCameraShake(v, 70, 3)
  5356. DidHit = true
  5357. end
  5358. fwait(0.15)
  5359. end
  5360. end), cpos, CPlane)
  5361. end
  5362. if rawframes == 8 then
  5363. 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))
  5364. pz.Anchored = true
  5365. pz.CanCollide = false
  5366. pz.Parent = workspace
  5367. pz.Mesh.MeshType = "Sphere"
  5368. game:GetService("Debris"):AddItem(pz, 5)
  5369. local p = Instance.new("Sound", pz)
  5370. p.Volume = 1
  5371. p.Pitch = 0.65
  5372. p.SoundId = "http://www.roblox.com/asset/?id=231917788"
  5373. p:Play()
  5374. game:GetService("Debris"):AddItem(p, 3)
  5375. local p = Instance.new("Sound", pz)
  5376. p.Volume = 1
  5377. p.Pitch = 1
  5378. p.SoundId = "http://www.roblox.com/asset/?id=233091183"
  5379. p:Play()
  5380. game:GetService("Debris"):AddItem(p, 3)
  5381. 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))
  5382. pc.CanCollide = false
  5383. pc.Anchored = true
  5384. pc.Parent = workspace
  5385. game:GetService("Debris"):AddItem(pc, 5)
  5386. coroutine.resume(coroutine.create(function(p)
  5387. local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
  5388. for i = 1, 15 do
  5389. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(2, 2, 2) / 15
  5390. p.Transparency = i / 15
  5391. p.CFrame = p.CFrame * R
  5392. fwait()
  5393. end
  5394. p:Remove()
  5395. end), pc)
  5396. coroutine.resume(coroutine.create(function(p, dir)
  5397. for i = 1, 10 do
  5398. fwait(0.06)
  5399. p.CFrame = p.CFrame + dir * 3
  5400. 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))
  5401. pc.CanCollide = false
  5402. pc.Anchored = true
  5403. pc.Parent = workspace
  5404. game:GetService("Debris"):AddItem(pc, 5)
  5405. coroutine.resume(coroutine.create(function(p, c)
  5406. for ii = 1, 8 do
  5407. p.Mesh.Scale = p.Mesh.Scale * 1.1 + Vector3.new(c, c, c)
  5408. p.Transparency = ii / 8
  5409. fwait()
  5410. end
  5411. p:Remove()
  5412. end), pc, i / 20)
  5413. if i % 2 == 0 then
  5414. for _,v in pairs(GetNubsInRadius(p.CFrame.p - CPlane * 2.5, 5)) do
  5415. applyDamage(v, 2, dir * 30, false, false, nil, 0.01, 1, "231917784", 0.95, false, false, 1, false, "Normal", false, false)
  5416. applyCameraShake(v, 50, 3)
  5417. DidHit = true
  5418. end
  5419. end
  5420. end
  5421. p:Remove()
  5422. end), pz, CPlane)
  5423. 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))
  5424. pz.Transparency = 1
  5425. pz.Anchored = true
  5426. pz.CanCollide = false
  5427. pz.Parent = workspace
  5428. pz.Name = "Rune"
  5429. local d1 = Instance.new("Decal", pz)
  5430. d1.Texture = "http://www.roblox.com/asset/?id=233069844"
  5431. d1.Face = "Front"
  5432. d1.Name = "d1"
  5433. local d1 = Instance.new("Decal", pz)
  5434. d1.Texture = "http://www.roblox.com/asset/?id=233069844"
  5435. d1.Face = "Back"
  5436. d1.Name = "d2"
  5437. coroutine.resume(coroutine.create(function(p, dir)
  5438. for i = 1, 28 do
  5439. fwait()
  5440. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(1 + i * 2))
  5441. p.d1.Transparency = i / 28
  5442. p.d2.Transparency = i / 28
  5443. if i <= 14 then
  5444. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(i * 0.02, i * 0.02, 0)
  5445. end
  5446. end
  5447. p:Remove()
  5448. end), pz, CPlane)
  5449. game:GetService("Debris"):AddItem(pz, 6)
  5450. end
  5451. do
  5452. if rawframes == 30 then
  5453. CanInterrupt(true)
  5454. setlastnormal("MMMM")
  5455. end
  5456. if rawframes == 41 then
  5457. TrackFunction:disconnect()
  5458. TrackFunction = nil
  5459. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5460. PlayerIsAttacking = false
  5461. CanInterrupt(true)
  5462. setlastnormal("")
  5463. Stand()
  5464. end
  5465. rawframes = rawframes + 1
  5466. end
  5467. end)
  5468. end
  5469. InputNormals.MMMMM = function()
  5470. if TrackFunction ~= nil then
  5471. TrackFunction:disconnect()
  5472. TrackFunction = nil
  5473. end
  5474. CanInterrupt(false)
  5475. PlayerIsAttacking = true
  5476. local rawframes = 0
  5477. Tool.Status.AnimFrame.Value = 0
  5478. local DidHit = false
  5479. local CPlane = MousePlane()
  5480. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5481. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5482. local cpos = nil
  5483. local cl = 0
  5484. local clastframe = lastframe
  5485. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5486. if rawframes < 6 then
  5487. CPlane = MousePlane()
  5488. end
  5489. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5490. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5491. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5492. if rawframes == 0 then
  5493. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5494. end
  5495. if rawframes <= 5 then
  5496. LerpWelds(clastframe, rawframes / 5, Animations.ZZZZZ.Animation(0))
  5497. if rawframes == 1 then
  5498. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5499. p.Volume = 1
  5500. p.Pitch = 0.75
  5501. p.SoundId = "http://www.roblox.com/asset/?id=243711414"
  5502. p:Play()
  5503. game:GetService("Debris"):AddItem(p, 3)
  5504. end
  5505. else
  5506. if rawframes > 5 and rawframes <= 8 then
  5507. LerpWelds({Animations.ZZZZZ.Animation(0)}, (rawframes - 5) / 4, Animations.ZZZZZ.Animation(1))
  5508. else
  5509. if rawframes > 8 and rawframes <= 11 then
  5510. LerpWelds({Animations.ZZZZZ.Animation(1)}, (rawframes - 8) / 3, Animations.ZZZZZ.Animation(2))
  5511. else
  5512. if rawframes > 11 and rawframes <= 14 then
  5513. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1 + (rawframes - 11) * 0.03, Animations.ZZZZZ.Animation(2))
  5514. else
  5515. if rawframes > 14 and rawframes <= 19 then
  5516. LerpWelds({Animations.ZZZZZ.Animation(1)}, 1.08 - (rawframes - 14) * 0.03, Animations.ZZZZZ.Animation(2))
  5517. else
  5518. if rawframes > 19 then
  5519. local cwalk = "Stand"
  5520. if Ragemode == true then
  5521. cwalk = "Stand2"
  5522. end
  5523. LerpWelds({Animations.ZZZZZ.Animation(2)}, (rawframes - 19) / 8, Animations[cwalk].Animation(0))
  5524. end
  5525. end
  5526. end
  5527. end
  5528. end
  5529. end
  5530. do
  5531. if rawframes >= 1 and rawframes <= 5 then
  5532. BodyVel.velocity = CPlane * (rawframes * 4 + 5)
  5533. else
  5534. BodyVel.velocity = BodyVel.velocity / 1.2
  5535. end
  5536. if rawframes >= 6 and rawframes <= 10 then
  5537. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position - CPlane * 0.5 - Vector3.new(0, 0.5, 0), 3.3)) do
  5538. applyDamage(v, 6, CPlane * 20, false, false, nil, 0.1, 1, "201858024", 0.85, true, true, 15, false, "Normal", false, true)
  5539. applyCameraShake(v, 120, 5)
  5540. DidHit = true
  5541. end
  5542. end
  5543. do
  5544. if rawframes == 11 then
  5545. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5546. p.Volume = 1
  5547. p.Pitch = 0.75
  5548. p.SoundId = "http://www.roblox.com/asset/?id=243713366"
  5549. p:Play()
  5550. game:GetService("Debris"):AddItem(p, 3)
  5551. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Weapon.Blade.Position, Vector3.new(0, -3, 0)), vPlayer.Character)
  5552. 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))
  5553. pz.Transparency = 1
  5554. pz.Anchored = true
  5555. pz.CanCollide = false
  5556. pz.Parent = workspace
  5557. pz.Name = "Rune"
  5558. local d1 = Instance.new("Decal", pz)
  5559. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5560. d1.Face = "Front"
  5561. d1.Name = "d1"
  5562. local d1 = Instance.new("Decal", pz)
  5563. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5564. d1.Face = "Back"
  5565. d1.Name = "d2"
  5566. coroutine.resume(coroutine.create(function(p, dir)
  5567. for i = 1, 5 do
  5568. fwait()
  5569. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(10 + i * 2))
  5570. p.d1.Transparency = 0.5 + i / 10
  5571. p.d2.Transparency = 0.5 + i / 10
  5572. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.5, 0.5, 0)
  5573. end
  5574. p:Remove()
  5575. end), pz, CPlane)
  5576. game:GetService("Debris"):AddItem(pz, 6)
  5577. end
  5578. do
  5579. if rawframes == 15 then
  5580. CanInterrupt(true)
  5581. setlastnormal("MMMMM")
  5582. end
  5583. if rawframes == 26 then
  5584. TrackFunction:disconnect()
  5585. TrackFunction = nil
  5586. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5587. PlayerIsAttacking = false
  5588. CanInterrupt(true)
  5589. setlastnormal("")
  5590. Stand()
  5591. end
  5592. rawframes = rawframes + 1
  5593. end
  5594. end
  5595. end
  5596. end)
  5597. end
  5598. InputNormals.MMMMMM = function()
  5599. if TrackFunction ~= nil then
  5600. TrackFunction:disconnect()
  5601. TrackFunction = nil
  5602. end
  5603. CanInterrupt(false)
  5604. PlayerIsAttacking = true
  5605. local rawframes = 0
  5606. Tool.Status.AnimFrame.Value = 0
  5607. local DidHit = false
  5608. local CPlane = MousePlane()
  5609. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5610. local cl = 0
  5611. local clastframe = lastframe
  5612. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5613. local cpos = nil
  5614. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5615. if rawframes < 8 then
  5616. CPlane = MousePlane()
  5617. end
  5618. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5619. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5620. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5621. if rawframes == 0 then
  5622. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5623. end
  5624. if rawframes <= 5 then
  5625. LerpWelds(clastframe, rawframes / 5, Animations.ZZZZZZ.Animation(0))
  5626. if rawframes == 1 then
  5627. p = Instance.new("Sound", vPlayer.Character.Torso)
  5628. p.Volume = 1
  5629. p.Pitch = 1
  5630. p.SoundId = "http://www.roblox.com/asset/?id=233856140"
  5631. p:Play()
  5632. game:GetService("Debris"):AddItem(p, 3)
  5633. end
  5634. else
  5635. if rawframes > 5 and rawframes <= 9 then
  5636. LerpWelds(clastframe, 1 + (rawframes - 5) * 0.01, Animations.ZZZZZZ.Animation(0))
  5637. else
  5638. if rawframes > 9 and rawframes <= 13 then
  5639. LerpWelds(clastframe, 1.03 - (rawframes - 9) * 0.01, Animations.ZZZZZZ.Animation(0))
  5640. else
  5641. if rawframes > 16 then
  5642. local cwalk = "Stand"
  5643. if Ragemode == true then
  5644. cwalk = "Stand2"
  5645. end
  5646. LerpWelds({Animations.ZZZZZZ.Animation(0)}, (rawframes - 16) / 11, Animations[cwalk].Animation(0))
  5647. end
  5648. end
  5649. end
  5650. end
  5651. do
  5652. if rawframes >= 1 and rawframes <= 5 then
  5653. BodyVel.velocity = CPlane * (rawframes * 6 + 10)
  5654. else
  5655. BodyVel.velocity = BodyVel.velocity / 1.2
  5656. end
  5657. if rawframes >= 4 and rawframes <= 7 and rawframes % 2 == 0 then
  5658. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Torso.Position + CPlane * 2.5, 3.6)) do
  5659. 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)
  5660. applyCameraShake(v, 140, 5)
  5661. DidHit = true
  5662. end
  5663. end
  5664. do
  5665. if rawframes == 11 then
  5666. CanInterrupt(true)
  5667. setlastnormal("MMMMMM")
  5668. end
  5669. if rawframes == 27 then
  5670. TrackFunction:disconnect()
  5671. TrackFunction = nil
  5672. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5673. PlayerIsAttacking = false
  5674. CanInterrupt(true)
  5675. setlastnormal("")
  5676. Stand()
  5677. end
  5678. rawframes = rawframes + 1
  5679. end
  5680. end
  5681. end)
  5682. end
  5683. InputNormals.MMMMMMM = function()
  5684. if TrackFunction ~= nil then
  5685. TrackFunction:disconnect()
  5686. TrackFunction = nil
  5687. end
  5688. CanInterrupt(false)
  5689. PlayerIsAttacking = true
  5690. fffuuuu = true
  5691. print("xd")
  5692. local rawframes = 0
  5693. Tool.Status.AnimFrame.Value = 0
  5694. local DidHit = false
  5695. local CPlane = MousePlane()
  5696. vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
  5697. local lpos = vPlayer.Character.Weapon.Blade.CFrame
  5698. local cpos = nil
  5699. local cl = 0
  5700. local clastframe = lastframe
  5701. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  5702. if rawframes < 6 then
  5703. CPlane = MousePlane()
  5704. end
  5705. BodyVel.Parent = vPlayer.Character.HumanoidRootPart
  5706. BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
  5707. BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
  5708. if rawframes == 0 then
  5709. BodyGyro.Parent.CFrame = BodyGyro.cframe
  5710. end
  5711. if rawframes <= 6 then
  5712. LerpWelds(clastframe, rawframes / 6, Animations.ZZZZZZZ.Animation(0))
  5713. if rawframes == 0 then
  5714. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5715. p.Volume = 1
  5716. p.Pitch = 0.6
  5717. p.SoundId = "http://www.roblox.com/asset/?id=243711427"
  5718. p:Play()
  5719. game:GetService("Debris"):AddItem(p, 3)
  5720. end
  5721. if rawframes == 3 then
  5722. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5723. p.Volume = 1
  5724. p.Pitch = 1
  5725. p.SoundId = "http://www.roblox.com/asset/?id=234365573"
  5726. p:Play()
  5727. game:GetService("Debris"):AddItem(p, 3)
  5728. end
  5729. elseif rawframes > 6 and rawframes <= 10 then
  5730. LerpWelds(clastframe, 0.98 + (rawframes - 6) * 0.005, Animations.ZZZZZZZ.Animation(0))
  5731. if rawframes == 7 then
  5732. p = Instance.new("Sound", vPlayer.Character.Weapon.Blade)
  5733. p.Volume = 1
  5734. p.Pitch = 1.55
  5735. p.SoundId = "http://www.roblox.com/asset/?id=231917806"
  5736. p:Play()
  5737. game:GetService("Debris"):AddItem(p, 3)
  5738. local par, loc = workspace:FindPartOnRay(Ray.new(vPlayer.Character.Weapon.Blade.Position, Vector3.new(0, -1, 0)), vPlayer.Character)
  5739. 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))
  5740. pz.Transparency = 1
  5741. pz.Anchored = true
  5742. pz.CanCollide = false
  5743. pz.Parent = workspace
  5744. pz.Name = "Rune"
  5745. local d1 = Instance.new("Decal", pz)
  5746. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5747. d1.Face = "Front"
  5748. d1.Name = "d1"
  5749. local d1 = Instance.new("Decal", pz)
  5750. d1.Texture = "http://www.roblox.com/asset/?id=234376725"
  5751. d1.Face = "Back"
  5752. d1.Name = "d2"
  5753. coroutine.resume(coroutine.create(function(p, dir)
  5754. for i = 1, 5 do
  5755. fwait()
  5756. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.rad(20 + i * 2))
  5757. p.d1.Transparency = 0.5 + i / 10
  5758. p.d2.Transparency = 0.5 + i / 10
  5759. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.5, 1.5, 0)
  5760. end
  5761. p:Remove()
  5762. end), pz, CPlane)
  5763. game:GetService("Debris"):AddItem(pz, 6)
  5764. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position + CPlane * 1.5 + Vector3.new(0, 2, 0), 15)) do
  5765. applyCameraShake(v, 50, 15)
  5766. end
  5767. applyCameraShake(vPlayer.Character, 100, 15)
  5768. end
  5769. elseif rawframes > 10 and rawframes <= 15 then
  5770. LerpWelds(clastframe, 1.01 - (rawframes - 10) * 0.005, Animations.ZZZZZZZ.Animation(0))
  5771. elseif rawframes > 17 then
  5772. local cwalk = "Stand"
  5773. if Ragemode == true then
  5774. cwalk = "Stand2"
  5775. end
  5776. LerpWelds({Animations.ZZZZZZZ.Animation(0)}, (rawframes - 17) / 10, Animations[cwalk].Animation(0))
  5777. end
  5778. if rawframes >= 3 and rawframes <= 5 then
  5779. BodyVel.velocity = CPlane * (rawframes * 4 + 30)
  5780. else
  5781. BodyVel.velocity = BodyVel.velocity / 1.7
  5782. end
  5783. if rawframes >= 3 and rawframes <= 9 and rawframes % 2 == 0 then
  5784. for _,v in pairs(GetNubsInRadius(vPlayer.Character.Weapon.Blade.Position + CPlane * 1.5 + Vector3.new(0, 2, 0), 5)) do
  5785. applyDamage(v, 10, CPlane * 60, false, false, nil, 1, 1, "201858024", 0.5, true, true, 15, false, "Normal", false, true)
  5786. applyCameraShake(v, 250, 10)
  5787. DidHit = true
  5788. end
  5789. end
  5790. if rawframes == 20 then
  5791. CanInterrupt(true)
  5792. setlastnormal("")
  5793. end
  5794. if rawframes == 27 then
  5795. fffuuuu = false
  5796. TrackFunction:disconnect()
  5797. TrackFunction = nil
  5798. DesiredWalkspeed = 16 * playerstats.Movement.Value
  5799. PlayerIsAttacking = false
  5800. CanInterrupt(true)
  5801. setlastnormal("")
  5802. Stand()
  5803. end
  5804. rawframes = rawframes + 1
  5805. end)
  5806. end
  5807. GetNubs = function()
  5808. scrubs = {}
  5809. for _,v in pairs(workspace:children()) do
  5810. 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
  5811. local vp = game.Players:GetPlayerFromCharacter(v)
  5812. if vp == nil then
  5813. table.insert(scrubs, v)
  5814. else
  5815. if vp.Neutral == true and vPlayer.Neutral == true then
  5816. table.insert(scrubs, v)
  5817. else
  5818. if GetTeamFromColor(vp.TeamColor) ~= GetTeamFromColor(vPlayer.TeamColor) then
  5819. table.insert(scrubs, v)
  5820. end
  5821. end
  5822. end
  5823. end
  5824. end
  5825. Nubs = scrubs
  5826. end
  5827. Nubs = {}
  5828. GetNubsInRadius = function(pos, radius)
  5829. local radius = radius + radiushelp
  5830. local filtered = {}
  5831. for _,v in pairs(Nubs) do
  5832. if v:FindFirstChild("Torso") ~= nil and v:FindFirstChild("Humanoid") ~= nil then
  5833. local cpos = pos
  5834. if v.Humanoid:GetState() == Enum.HumanoidStateType.Jumping or v.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  5835. local ydiff = (v.Torso.Position.y - vPlayer.Character.Torso.Position.y) / 1
  5836. if ydiff > 5 then
  5837. ydiff = 5
  5838. end
  5839. cpos = pos + Vector3.new(0, ydiff, 0)
  5840. end
  5841. if v.Name == "Siegmund" then
  5842. cpos = cpos - Vector3.new(0, 6, 0)
  5843. end
  5844. if (v.Torso.Position - (cpos)).magnitude <= radius then
  5845. table.insert(filtered, v)
  5846. end
  5847. end
  5848. end
  5849. return filtered
  5850. end
  5851. noy = function(pos)
  5852. return Vector3.new(pos.x, 0, pos.z)
  5853. end
  5854. applyCameraShake = function(Noob, Intens, Time)
  5855. Intens = Intens / 10
  5856. if game.Players:GetPlayerFromCharacter(Noob) ~= nil then
  5857. local ss = script.CamShake:clone()
  5858. ss.Disabled = false
  5859. ss.intensity.Value = Intens
  5860. ss.times.Value = Time
  5861. ss.Parent = Noob
  5862. end
  5863. end
  5864. LastHitTime = time()
  5865. LastDamage = 0
  5866. ComboHits = 0
  5867. asset = math.random(1, 100000000)
  5868. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  5869. local gui = it(GuiType)
  5870. gui.Parent = parent
  5871. gui.Text = text
  5872. gui.BackgroundTransparency = backtrans
  5873. gui.BackgroundColor3 = backcol
  5874. gui.SizeConstraint = "RelativeXY"
  5875. gui.TextXAlignment = "Center"
  5876. gui.TextYAlignment = "Center"
  5877. gui.Position = pos
  5878. gui.Size = size
  5879. gui.Font = "SourceSans"
  5880. gui.FontSize = "Size14"
  5881. gui.TextWrapped = false
  5882. gui.TextStrokeTransparency = 0
  5883. gui.TextColor = BrickColor.new("White")
  5884. return gui
  5885. end
  5886. showDamage = function(Char, Dealt, Type, DamageType, HTD)
  5887. m = Instance.new("Model")
  5888. m.Name = "Effect"
  5889. c = Instance.new("Part")
  5890. c.Transparency = 1
  5891. c.Name = "Head"
  5892. c.TopSurface = 0
  5893. c.BottomSurface = 0
  5894. c.formFactor = "Custom"
  5895. c.Size = Vector3.new(0.2, 0.2, 0.2)
  5896. b = Instance.new("BillboardGui", c)
  5897. b.Size = UDim2.new(5, 0, 5, 0)
  5898. b.AlwaysOnTop = true
  5899. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  5900. damgui.ZIndex = 2
  5901. if Type == "Damage" then
  5902. damgui.Font = "SourceSans"
  5903. if Dealt == "Block" then
  5904. damgui.TextColor3 = BrickColor.new("Bright blue").Color
  5905. else
  5906. if Dealt < 3 then
  5907. damgui.TextColor3 = BrickColor.new("White").Color
  5908. else
  5909. if Dealt >= 3 and Dealt < 20 then
  5910. damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  5911. else
  5912. damgui.TextColor3 = BrickColor.new("Really red").Color
  5913. damgui.Font = "SourceSansBold"
  5914. end
  5915. end
  5916. end
  5917. if DamageType == "Pure" then
  5918. damgui.TextColor3 = BrickColor.new("Royal purple").Color
  5919. damgui.Size = UDim2.new(0.5, 0, 0.5, 0)
  5920. damgui.Position = UDim2.new(0.5, 0, 0.5, 0)
  5921. else
  5922. if DamageType == "IgnoreDefense" then
  5923. damgui.TextStrokeColor3 = BrickColor.new("Really red").Color
  5924. else
  5925. if DamageType == "DefenseOne" then
  5926. damgui.TextStrokeColor3 = Color3.new(0.1, 0.1, 0.1)
  5927. end
  5928. end
  5929. end
  5930. else
  5931. if Type == "Debuff" then
  5932. damgui.TextColor3 = BrickColor.new("White").Color
  5933. else
  5934. if Type == "Interrupt" then
  5935. damgui.TextColor3 = BrickColor.new("New Yeller").Color
  5936. end
  5937. end
  5938. end
  5939. if HTD ~= nil and DamageType ~= "Pure" then
  5940. damgui.Font = "SourceSansBold"
  5941. sus = Instance.new("ImageLabel", b)
  5942. sus.Name = "8)"
  5943. sus.Image = "http://www.roblox.com/asset/?id=240213504"
  5944. sus.BackgroundTransparency = 1
  5945. sus.ImageTransparency = 0.25
  5946. sus.Size = UDim2.new(1.5, 0, 1.5, 0)
  5947. sus.ImageColor3 = BrickColor.new("Bright red").Color
  5948. sus.Position = UDim2.new(-0.25, 0, -0.15, 0)
  5949. coroutine.resume(coroutine.create(function(s)
  5950. wait()
  5951. fwait(0.965)
  5952. for i = 1, 15 do
  5953. s.ImageTransparency = 0.25 + i / 22.5
  5954. fwait()
  5955. end
  5956. p:Remove()
  5957. end), sus)
  5958. end
  5959. damgui.TextScaled = true
  5960. c.Reflectance = 0
  5961. Instance.new("BodyGyro").Parent = c
  5962. c.Parent = m
  5963. if Char:findFirstChild("Head") ~= nil then
  5964. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  5965. else
  5966. if Char.Parent:findFirstChild("Head") ~= nil then
  5967. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  5968. end
  5969. end
  5970. f = Instance.new("BodyPosition")
  5971. f.P = 1000
  5972. f.D = 100
  5973. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  5974. if Type == "Damage" then
  5975. f.position = c.Position + Vector3.new(0, 4, 0)
  5976. else
  5977. if Type == "Debuff" or Type == "Interrupt" then
  5978. f.position = c.Position + Vector3.new(0, 6, 0)
  5979. end
  5980. end
  5981. f.Parent = c
  5982. game:GetService("Debris"):AddItem(m, 3.5)
  5983. c.CanCollide = false
  5984. m.Parent = workspace
  5985. c.CanCollide = false
  5986. dir = Vector3.new()
  5987. if DamageType == "Pure" and Dealt <= 1 then
  5988. coroutine.resume(coroutine.create(function(p, s, dir)
  5989. wait()
  5990. for i = 1, 8 do
  5991. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, -i * 0.045, 0) + dir / 15 * 6
  5992. fwait()
  5993. end
  5994. fwait(0.24)
  5995. for i = 1, 12 do
  5996. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, 0.25, 0)
  5997. s.TextTransparency = i / 12
  5998. s.TextStrokeTransparency = i / 12
  5999. fwait()
  6000. end
  6001. p.Parent:Remove()
  6002. end), c, damgui, Vector3.new(math.random(-1, 1), 0, math.random(-1, 1)))
  6003. else
  6004. coroutine.resume(coroutine.create(function(p, s)
  6005. wait()
  6006. for i = 1, 10 do
  6007. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, -i * 0.045, 0)
  6008. fwait()
  6009. end
  6010. fwait(0.5)
  6011. for i = 1, 15 do
  6012. p.BodyPosition.position = p.BodyPosition.position + Vector3.new(0, 0.2, 0)
  6013. s.TextTransparency = i / 15
  6014. s.TextStrokeTransparency = i / 15
  6015. fwait()
  6016. end
  6017. p.Parent:Remove()
  6018. end), c, damgui)
  6019. end
  6020. end
  6021. GetTeamFromColor = function(color)
  6022. for _,v in pairs(game:GetService("Teams"):children()) do
  6023. if color == v.TeamColor then
  6024. return v.Name
  6025. end
  6026. end
  6027. end
  6028. applyDamage = function(Noob, Damage, KnockDir, Down, ForceDown, addFunc, DebounceTime, aYvel, hitsound, hitpitch, canburn, canproc, Stun, WasSpecial, DamageType, Unblockable, CanBounce)
  6029. if KnockDir == nil then
  6030. KnockDir = Vector3.new(0, 0, 0)
  6031. end
  6032. if Down == nil then
  6033. Down = false
  6034. end
  6035. if addFunc == nil then
  6036. addFunc = function()
  6037. end
  6038. end
  6039. if aYvel == nil then
  6040. aYvel = 0
  6041. end
  6042. if hitsound == nil then
  6043. hitsound = ""
  6044. end
  6045. if hitpitch == nil then
  6046. hitpitch = 1
  6047. end
  6048. local h = Noob:FindFirstChild("Humanoid")
  6049. local t = Noob:FindFirstChild("HumanoidRootPart")
  6050. if t == nil then
  6051. t = Noob:FindFirstChild("Torso")
  6052. end
  6053. if h ~= nil and t ~= nil then
  6054. local vp = game.Players:GetPlayerFromCharacter(h.Parent)
  6055. if vp ~= nil and vp.Neutral ~= true and vPlayer.Neutral ~= true and GetTeamFromColor(vp.TeamColor) == GetTeamFromColor(vPlayer.TeamColor) then
  6056. return
  6057. end
  6058. if DamageType == "Pure" then
  6059. if h:FindFirstChild("SADebounce" .. asset) == nil then
  6060. local b = Instance.new("BoolValue", h)
  6061. b.Name = "SADebounce" .. asset
  6062. game:GetService("Debris"):AddItem(b, DebounceTime)
  6063. end
  6064. end
  6065. if DamageType ~= "Pure" then
  6066. if h:FindFirstChild("SADebounce" .. asset) == nil then
  6067. local b = Instance.new("BoolValue", h)
  6068. b.Name = "SADebounce" .. asset
  6069. game:GetService("Debris"):AddItem(b, DebounceTime)
  6070. else
  6071. return
  6072. end
  6073. end
  6074. --[[if DebounceTime > 0 then
  6075. return
  6076. end--]]
  6077. if GetTeamFromColor(vPlayer.TeamColor) == "Juggernaut" and DamageType == "Pure" then
  6078. Damage = Damage * 2.5
  6079. end
  6080. if addFunc ~= nil then
  6081. addFunc(Noob)
  6082. end
  6083. coroutine.resume(coroutine.create(function(t, KnockDir, aYvel, KnockForce, aHitstop)
  6084. if t:FindFirstChild("AIDS" .. asset) then
  6085. t["AIDS" .. asset]:Remove()
  6086. end
  6087. v = Instance.new("BodyVelocity")
  6088. v.Name = "AIDS" .. asset
  6089. v.P = 120
  6090. if KnockDir.magnitude > 0 then
  6091. v.Parent = t
  6092. end
  6093. aYvel = 0
  6094. if KnockDir.y > 1 then
  6095. aYvel = 1.2
  6096. end
  6097. v.maxForce = Vector3.new(558000, aYvel * 558000, 558000)
  6098. v.velocity = Vector3.new(KnockDir.x, KnockDir.y, KnockDir.z) * 1.1
  6099. if t.Parent.Humanoid:GetState() == Enum.HumanoidStateType.Jumping or t.Parent.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  6100. v.velocity = v.velocity / 1.6
  6101. end
  6102. game:GetService("Debris"):AddItem(v, 0.25)
  6103. end), t, KnockDir, aYvel)
  6104. if Down == true then
  6105. local g = Instance.new("BodyAngularVelocity")
  6106. g.P = 200
  6107. g.maxTorque = Vector3.new(80000, 80000, 80000)
  6108. g.angularvelocity = (KnockDir / 1.5 + Vector3.new(math.random(-20, 20), math.random(-20, 20), math.random(-20, 20))) / 3
  6109. g.Parent = t
  6110. game:GetService("Debris"):AddItem(g, 0.5)
  6111. if game.Players:GetPlayerFromCharacter(t.Parent) then
  6112. local s = script.ForceState:clone()
  6113. s.Value.Value = "FallingDown"
  6114. s.Parent = t.Parent
  6115. end
  6116. h:ChangeState(Enum.HumanoidStateType.FallingDown)
  6117. end
  6118. if ForceDown == true then
  6119. g:Remove()
  6120. t.CFrame = t.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0) + Vector3.new(0, 0.3, 0)
  6121. g = Instance.new("BodyGyro")
  6122. g.P = 400
  6123. g.maxTorque = Vector3.new(80000, 80000, 80000)
  6124. g.D = 20
  6125. g.cframe = CFrame.new(vPlayer.Character.Torso.Position, vPlayer.Character.Torso.Position - Vector3.new(0, 50, 0))
  6126. g.Parent = v.Parent
  6127. game:GetService("Debris"):AddItem(g, 1)
  6128. end
  6129. local vp = game.Players:GetPlayerFromCharacter(h.Parent)
  6130. local Juggernaut = false
  6131. if vp then
  6132. local team = vp.TeamColor
  6133. if GetTeamFromColor(team) == "Juggernaut" then
  6134. Juggernaut = true
  6135. if DamageType == "IgnoreDefense" or DamageType == "Pure" then
  6136. DamageType = "Normal"
  6137. end
  6138. end
  6139. end
  6140. if h.Parent.Name == "Siegmund" or h.Parent.Name == "Juggerkactus" then
  6141. Juggernaut = true
  6142. if DamageType == "IgnoreDefense" or DamageType == "Pure" then
  6143. DamageType = "Normal"
  6144. end
  6145. end
  6146. local stats = (h.Parent:FindFirstChild("Stats"))
  6147. local enemymana = nil
  6148. if stats then
  6149. enemymana = stats:FindFirstChild("Mana")
  6150. end
  6151. if enemymana then
  6152. if t.Parent:FindFirstChild("ManaMark") and canproc == true and Juggernaut == false then
  6153. for i = 1, 3 do
  6154. applyDamage(h.Parent, 3, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false)
  6155. end
  6156. local s = Instance.new("Sound", t)
  6157. s.Volume = 0.8
  6158. s.Pitch = 0.6
  6159. s.SoundId = "http://www.roblox.com/asset/?id=" .. "234365587"
  6160. s:Play()
  6161. game:GetService("Debris"):AddItem(s, 2)
  6162. 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))
  6163. eff.Parent = workspace
  6164. eff.Mesh.MeshType = "Sphere"
  6165. eff.Name = "BloodEffect"
  6166. eff.Anchored = true
  6167. eff.CanCollide = false
  6168. game:GetService("Debris"):AddItem(eff, 5)
  6169. coroutine.resume(coroutine.create(function(p, A, V, diff)
  6170. for i = 1, 10 do
  6171. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
  6172. p.Transparency = 0.25 + i / 13.333333333333
  6173. p.CFrame = t.CFrame * A + diff
  6174. fwait()
  6175. end
  6176. p:Remove()
  6177. 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)
  6178. local pla = eff.Position
  6179. local diff = pla - t.Position
  6180. local eb = BillboardGui("http://www.roblox.com/asset/?id=235269395", pla, 0)
  6181. eb.Parent = workspace
  6182. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6183. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  6184. game:GetService("Debris"):AddItem(eb, 3)
  6185. coroutine.resume(coroutine.create(function(p, par, diff)
  6186. local r = math.random(-3, 3) * 9
  6187. if r > -6 and r < 1 then
  6188. r = -6
  6189. else
  6190. if r < 6 and r > -1 then
  6191. r = 6
  6192. end
  6193. end
  6194. for i = 1, 12 do
  6195. p.BillboardGui.ImageLabel.ImageTransparency = i / 12
  6196. p.BillboardGui.Size = UDim2.new(2 + i / 2, 0, 2 + i / 2, 0)
  6197. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  6198. p.CFrame = par.CFrame + diff
  6199. fwait()
  6200. end
  6201. p:Remove()
  6202. end), eb, t, diff)
  6203. local pla = eff.Position
  6204. coroutine.resume(coroutine.create(function(par, diff, h)
  6205. if Corruption <= 99 then
  6206. Corruption = Corruption + 1
  6207. else
  6208. Corruption = 100
  6209. end
  6210. for i = 1, 3 do
  6211. fwait(0.15)
  6212. 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))
  6213. eff.Parent = workspace
  6214. eff.Name = "BloodEffect"
  6215. eff.Mesh.MeshType = "Sphere"
  6216. eff.Anchored = true
  6217. eff.CanCollide = false
  6218. game:GetService("Debris"):AddItem(eff, 5)
  6219. coroutine.resume(coroutine.create(function(p, A, V)
  6220. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  6221. for i = 1, 6 do
  6222. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.85, 0.85, 0.85)
  6223. p.Transparency = 0.25 + i / 8
  6224. p.CFrame = p.CFrame * A
  6225. fwait()
  6226. end
  6227. p:Remove()
  6228. 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)
  6229. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", eff.Position, 0)
  6230. eb.Parent = workspace
  6231. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6232. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  6233. game:GetService("Debris"):AddItem(eb, 3)
  6234. coroutine.resume(coroutine.create(function(p)
  6235. local r = math.random(-3, 3) * 9
  6236. if r > -12 and r < 1 then
  6237. r = -12
  6238. else
  6239. if r < 12 and r > -1 then
  6240. r = 12
  6241. end
  6242. end
  6243. for i = 1, 6 do
  6244. p.BillboardGui.ImageLabel.ImageTransparency = 0.25 + i / 8
  6245. p.BillboardGui.Size = UDim2.new(2 + i / 1.75, 0, 2 + i / 1.75, 0)
  6246. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  6247. fwait()
  6248. end
  6249. p:Remove()
  6250. end), eb)
  6251. end
  6252. end), t, t.Position - pla, h)
  6253. elseif enemymana.Value > -1 and canburn == true and t.Parent:FindFirstChild("ManaMark") == nil then
  6254. 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))
  6255. eff.Parent = workspace
  6256. eff.Name = "BloodEffect"
  6257. eff.Anchored = true
  6258. eff.CanCollide = false
  6259. game:GetService("Debris"):AddItem(eff, 5)
  6260. coroutine.resume(coroutine.create(function(p, A, V, diff, par)
  6261. for i = 1, 14 do
  6262. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  6263. p.Transparency = 0.25 + i / 18.666666666667
  6264. p.CFrame = par.CFrame * A + diff
  6265. fwait()
  6266. end
  6267. p:Remove()
  6268. 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)
  6269. local pla = eff.Position
  6270. local diff = pla - t.Position
  6271. local eb = BillboardGui("http://www.roblox.com/asset/?id=235269378", pla, 0)
  6272. eb.Parent = workspace
  6273. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6274. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  6275. game:GetService("Debris"):AddItem(eb, 3)
  6276. coroutine.resume(coroutine.create(function(p, par, diff)
  6277. local r = math.random(-3, 3) * 9
  6278. if r > -6 and r < 1 then
  6279. r = -6
  6280. else
  6281. if r < 6 and r > -1 then
  6282. r = 6
  6283. end
  6284. end
  6285. for i = 1, 12 do
  6286. p.BillboardGui.ImageLabel.ImageTransparency = i / 12
  6287. p.BillboardGui.Size = UDim2.new(2 + i / 2, 0, 2 + i / 2, 0)
  6288. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  6289. p.CFrame = par.CFrame + diff
  6290. fwait()
  6291. end
  6292. p:Remove()
  6293. end), eb, t, diff)
  6294. coroutine.resume(coroutine.create(function(par, diff, man, manaloss, scrub)
  6295. for i = 1, manaloss + 2 do
  6296. if man.Value > 0 then
  6297. --script.Parent.DMG.RemoteEventM:FireServer(man, 1)
  6298. --man:TakeDamage(1)
  6299. man.Value = man.Value - 1
  6300. if fffuuuu == true then
  6301. if scrub:FindFirstChild("ManaMark") == nil then
  6302. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069736", scrub.Torso.Position, 0)
  6303. eb.Parent = workspace
  6304. eb.Anchored = false
  6305. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6306. eb.BillboardGui.Size = UDim2.new(0, 0, 0, 0)
  6307. eb.BillboardGui.ImageLabel.Transparency = 1
  6308. game:GetService("Debris"):AddItem(eb, 10)
  6309. eb.Name = "ManaMark2"
  6310. local w = Instance.new("Weld", eb)
  6311. w.Part0 = scrub.Torso
  6312. w.Part1 = eb
  6313. local s = Instance.new("Sound", eb)
  6314. s.Volume = 1
  6315. s.Pitch = 0.9
  6316. s.SoundId = "http://www.roblox.com/asset/?id=" .. "235097661"
  6317. s:Play()
  6318. game:GetService("Debris"):AddItem(s, 5)
  6319. local r = 0
  6320. if math.random(0, 1) == 1 then
  6321. r = 1
  6322. else
  6323. r = -1
  6324. end
  6325. coroutine.resume(coroutine.create(function(p, r)
  6326. p.BillboardGui.ImageLabel.Transparency = 1
  6327. local el = 0
  6328. while p.Parent do
  6329. if el <= 20 then
  6330. p.BillboardGui.ImageLabel.ImageTransparency = 1 - el * 0.02
  6331. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(1.5 - el * 0.1, 0, 1.5 - el * 0.1, 0)
  6332. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + (10 - el / 2) * r + r * 4
  6333. end
  6334. el = el + 1
  6335. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r * 4
  6336. fwait()
  6337. end
  6338. end), eb, r)
  6339. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069802", scrub.Torso.Position, 0)
  6340. eb.Parent = scrub
  6341. eb.Anchored = false
  6342. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  6343. eb.BillboardGui.Size = UDim2.new(0, 0, 0, 0)
  6344. eb.BillboardGui.ImageLabel.Transparency = 1
  6345. game:GetService("Debris"):AddItem(eb, 10)
  6346. eb.Name = "ManaMark"
  6347. local w = Instance.new("Weld", eb)
  6348. w.Part0 = scrub.Torso
  6349. w.Part1 = eb
  6350. local s = Instance.new("Sound", eb)
  6351. s.Volume = 1
  6352. s.Pitch = 0.9
  6353. s.SoundId = "http://www.roblox.com/asset/?id=" .. "235097661"
  6354. s:Play()
  6355. game:GetService("Debris"):AddItem(s, 5)
  6356. local r = -r
  6357. coroutine.resume(coroutine.create(function(p, r)
  6358. p.BillboardGui.ImageLabel.Transparency = 1
  6359. local el = 0
  6360. while p.Parent do
  6361. if el <= 20 then
  6362. p.BillboardGui.ImageLabel.ImageTransparency = 1 - el * 0.0075
  6363. p.BillboardGui.Size = p.BillboardGui.Size + UDim2.new(2 - el * 0.1, 0, 2 - el * 0.1, 0)
  6364. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + (10 - el / 2) * r + r * 2
  6365. end
  6366. el = el + 1
  6367. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r * 2
  6368. fwait()
  6369. end
  6370. end), eb, r)
  6371. break
  6372. end
  6373. end
  6374. fwait(0.09)
  6375. -- DECOMPILER ERROR at PC188: LeaveBlock: unexpected jumping out DO_STMT
  6376. end
  6377. end
  6378. end), t, t.Position - pla, enemymana, math.ceil(Damage * 0.4), t.Parent)
  6379. end
  6380. end
  6381. if WasSpecial == false then
  6382. Mana.Value = Mana.Value + math.ceil(Damage * 0.15)
  6383. end
  6384. if Mana.Value > 150 then
  6385. Mana.Value = 150
  6386. end
  6387. if stats == nil then
  6388. if DamageType == nil or DamageType == "Normal" then
  6389. h:TakeDamage(Damage)
  6390. else
  6391. if DamageType == "Pure" then
  6392. h:TakeDamage(Damage)
  6393. else
  6394. if DamageType == "IgnoreDefense" then
  6395. h:TakeDamage(Damage)
  6396. else
  6397. if DamageType == "DefenseOne" then
  6398. h:TakeDamage(Damage)
  6399. end
  6400. end
  6401. end
  6402. end
  6403. elseif stats.Block.Value == true and Unblockable == false then
  6404. showDamage(h.Parent, "Block", "Damage")
  6405. if CanBounce then
  6406. hitsound = "http://www.roblox.com/asset/?id=233856154"
  6407. hitpitch = 0.6
  6408. WeaponBounce()
  6409. end
  6410. else
  6411. local borb = nil
  6412. if stats.Block.Value == true and Unblockable == true then
  6413. borb = "ded"
  6414. end
  6415. if Damage > 1 then
  6416. local joj = math.ceil(Damage * 0.2)
  6417. if Ragemode == true or Ult == true then
  6418. joj = 0
  6419. end
  6420. if Corruption <= 100 - joj then
  6421. Corruption = Corruption + joj
  6422. else
  6423. Corruption = 100
  6424. end
  6425. end
  6426. if DamageType == "Normal" then
  6427. Damage = Damage * playerstats.Damage.Value / stats.Defense.Value
  6428. else
  6429. end
  6430. if DamageType ~= "Pure" or DamageType == "IgnoreDefense" then
  6431. local borb = stats.Defense.Value
  6432. if borb > 1 then
  6433. borb = 1
  6434. end
  6435. Damage = Damage * playerstats.Damage.Value / borb
  6436. end
  6437. h.Parent.Humanoid:TakeDamage(Damage)
  6438. showDamage(h.Parent, math.ceil(Damage), "Damage", DamageType, borb)
  6439. local StunObject = stats:FindFirstChild("Stun")
  6440. if StunObject then
  6441. StunObject.Value = StunObject.Value + Stun
  6442. end
  6443. if hitsound ~= "" then
  6444. local s = Instance.new("Sound", t)
  6445. s.Volume = 1
  6446. s.Pitch = hitpitch
  6447. s.SoundId = "http://www.roblox.com/asset/?id=" .. hitsound
  6448. s:Play()
  6449. game:GetService("Debris"):AddItem(s, 2)
  6450. end
  6451. end
  6452. end
  6453. end
  6454. addonHoldDown = function(Noob)
  6455. local t = Noob:FindFirstChild("HumanoidRootPart")
  6456. if t == nil then
  6457. t = Noob:FindFirstChild("Torso")
  6458. end
  6459. local add = Vector3.new(0, 0, 0)
  6460. if t:FindFirstChild("AIDS") ~= nil then
  6461. add = t.AIDS.velocity
  6462. t.AIDS:Remove()
  6463. end
  6464. v = Instance.new("BodyPosition")
  6465. v.P = 2000
  6466. v.D = v.D / 2
  6467. v.maxForce = Vector3.new(6000000000, 600000, 6000000000)
  6468. v.position = t.Position - Vector3.new(0, 10, 0) + add
  6469. v.Parent = t
  6470. game:GetService("Debris"):AddItem(v, 1.2)
  6471. Noob.Humanoid.PlatformStand = true
  6472. coroutine.resume(coroutine.create(function(noob, t)
  6473. fwait(0.5)
  6474. while t:FindFirstChild("BodyPosition") ~= nil do
  6475. fwait(0.01)
  6476. end
  6477. noob.PlatformStand = false
  6478. end), Noob.Humanoid, t)
  6479. end
  6480. addonCullMovers = function(Noob)
  6481. local t = Noob:FindFirstChild("HumanoidRootPart")
  6482. if t == nil then
  6483. t = Noob:FindFirstChild("Torso")
  6484. else
  6485. for _,v in pairs(t:children()) do
  6486. if v:IsA("BodyMover") then
  6487. v:Remove()
  6488. end
  6489. end
  6490. t = Noob:FindFirstChild("Torso")
  6491. end
  6492. if t then
  6493. for _,v in pairs(t:children()) do
  6494. if v:IsA("BodyMover") then
  6495. v:Remove()
  6496. end
  6497. end
  6498. end
  6499. end
  6500. LerpWelds = function(orig, alpha, RJ0, N0, RS0, LS0, RH0, LH0, GR0, RJ1, N1, RS1, LS1, RH1, LH1)
  6501. local e = tick()
  6502. RootJoint.C0 = clerp(orig[1], RJ0, alpha)
  6503. Neck.C0 = clerp(orig[2], N0, alpha)
  6504. RightShoulder.C0 = clerp(orig[3], RS0, alpha)
  6505. LeftShoulder.C0 = clerp(orig[4], LS0, alpha)
  6506. RightHip.C0 = clerp(orig[5], RH0, alpha)
  6507. LeftHip.C0 = clerp(orig[6], LH0, alpha)
  6508. Grip.C0 = clerp(orig[7], GR0, alpha)
  6509. RootJoint.C1 = clerp(orig[8], RJ1, alpha)
  6510. Neck.C1 = clerp(orig[9], N1, alpha)
  6511. RightShoulder.C1 = clerp(orig[10], RS1, alpha)
  6512. LeftShoulder.C1 = clerp(orig[11], LS1, alpha)
  6513. RightHip.C1 = clerp(orig[12], RH1, alpha)
  6514. LeftHip.C1 = clerp(orig[13], LH1, alpha)
  6515. 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}
  6516. return tick() - e
  6517. end
  6518. 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")
  6519. sresetWelds=function()
  6520. sRootJoint.C0 = RootJointC0
  6521. sNeck.C0 = NeckC0
  6522. sRightShoulder.C0 = RightShoulderC0
  6523. sLeftShoulder.C0 = LeftShoulderC0
  6524. sRightHip.C0 = RightHipC0
  6525. sLeftHip.C0 = LeftHipC0
  6526. sRootJoint.C1 = RootJointC1
  6527. sNeck.C1 = NeckC1
  6528. sRightShoulder.C1 = RightShoulderC1
  6529. sLeftShoulder.C1 = LeftShoulderC1
  6530. sRightHip.C1 = RightHipC1
  6531. sLeftHip.C1 = LeftHipC1
  6532. sGrip.C0 = GripC0
  6533. end
  6534. --//XLegoX's spherical linear interpolation
  6535.  
  6536. function clerp(a,b,t)
  6537. local qa = {QuaternionFromCFrame(a)}
  6538. local qb = {QuaternionFromCFrame(b)}
  6539. local ax, ay, az = a.x, a.y, a.z
  6540. local bx, by, bz = b.x, b.y, b.z
  6541. local _t = 1-t
  6542. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  6543. end
  6544.  
  6545. function QuaternionFromCFrame(cf)
  6546. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  6547. local trace = m00 + m11 + m22
  6548. if trace > 0 then
  6549. local s = math.sqrt(1 + trace)
  6550. local recip = 0.5/s
  6551. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  6552. else
  6553. local i = 0
  6554. if m11 > m00 then
  6555. i = 1
  6556. end
  6557. if m22 > (i == 0 and m00 or m11) then
  6558. i = 2
  6559. end
  6560. if i == 0 then
  6561. local s = math.sqrt(m00-m11-m22+1)
  6562. local recip = 0.5/s
  6563. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  6564. elseif i == 1 then
  6565. local s = math.sqrt(m11-m22-m00+1)
  6566. local recip = 0.5/s
  6567. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  6568. elseif i == 2 then
  6569. local s = math.sqrt(m22-m00-m11+1)
  6570. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  6571. end
  6572. end
  6573. end
  6574.  
  6575. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  6576. local xs, ys, zs = x + x, y + y, z + z
  6577. local wx, wy, wz = w*xs, w*ys, w*zs
  6578. local xx = x*xs
  6579. local xy = x*ys
  6580. local xz = x*zs
  6581. local yy = y*ys
  6582. local yz = y*zs
  6583. local zz = z*zs
  6584. 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))
  6585. end
  6586.  
  6587. function QuaternionSlerp(a, b, t)
  6588. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  6589. local startInterp, finishInterp;
  6590. if cosTheta >= 0.0001 then
  6591. if (1 - cosTheta) > 0.0001 then
  6592. local theta = math.acos(cosTheta)
  6593. local invSinTheta = 1/math.sin(theta)
  6594. startInterp = math.sin((1-t)*theta)*invSinTheta
  6595. finishInterp = math.sin(t*theta)*invSinTheta
  6596. else
  6597. startInterp = 1-t
  6598. finishInterp = t
  6599. end
  6600. else
  6601. if (1+cosTheta) > 0.0001 then
  6602. local theta = math.acos(-cosTheta)
  6603. local invSinTheta = 1/math.sin(theta)
  6604. startInterp = math.sin((t-1)*theta)*invSinTheta
  6605. finishInterp = math.sin(t*theta)*invSinTheta
  6606. else
  6607. startInterp = t-1
  6608. finishInterp = t
  6609. end
  6610. end
  6611. 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
  6612. end
  6613. PlayerKeys = {}
  6614. CurrentAnimation = nil
  6615. Hitstop = 0
  6616. DesiredWalkspeed = 16 * playerstats.Movement.Value
  6617. CanInterrupt = function(t)
  6618. Tool.Status.AnimCanBeInterrupted.Value = t
  6619. end
  6620. PlayerCanJump = function()
  6621. if CurrentAnimation ~= nil then
  6622. local doescancel = false
  6623. for _,v in pairs(CurrentAnimation.Cancels) do
  6624. if v == "Jump" or v == "Everything" then
  6625. doescancel = true
  6626. break
  6627. end
  6628. end
  6629. if Tool.Status.AnimCanBeInterrupted.Value == true then
  6630. return doescancel
  6631. else
  6632. return false
  6633. end
  6634. end
  6635. end
  6636. PlaySound = function(SName, Vol, Pitch, Par)
  6637. if Par == nil then
  6638. Par = script
  6639. end
  6640. local s = Instance.new("Sound")
  6641. s.Volume = Vol
  6642. s.Pitch = Pitch
  6643. s.SoundId = "http://www.roblox.com/asset/?id=" .. SName
  6644. s.Parent = Par
  6645. s:Play()
  6646. game:GetService("Debris"):AddItem(s, 10)
  6647. end
  6648. Stand = function()
  6649. local cwalk = "Stand"
  6650. if Ragemode == true then
  6651. cwalk = "Stand2"
  6652. end
  6653. if CurrentAnimation == Animations[cwalk] then
  6654. return
  6655. else
  6656. CurrentAnimation = Animations[cwalk]
  6657. end
  6658. if TrackFunction ~= nil then
  6659. TrackFunction:disconnect()
  6660. end
  6661. local el = 40
  6662. local elv = 1
  6663. local cel = 0
  6664. local clastframe = lastframe
  6665. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  6666. if cel > 7 then
  6667. LerpWelds(clastframe, 1, Animations[cwalk].Animation(0))
  6668. else
  6669. if cel <= 7 then
  6670. LerpWelds(clastframe, cel / 7, Animations[cwalk].Animation(0))
  6671. end
  6672. end
  6673. SetLegs(1)
  6674. cel = cel + 1
  6675. end)
  6676. end
  6677. Walk = function()
  6678. local cwalk = "Walk"
  6679. if Ragemode == true then
  6680. cwalk = "Walk2"
  6681. end
  6682. if CurrentAnimation == Animations[cwalk] then
  6683. return
  6684. else
  6685. CurrentAnimation = Animations[cwalk]
  6686. end
  6687. if TrackFunction ~= nil then
  6688. TrackFunction:disconnect()
  6689. end
  6690. local e = 0
  6691. local clastframe = lastframe
  6692. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  6693. vPlayer.Character.Humanoid.WalkSpeed = DesiredWalkspeed
  6694. if e <= 7 then
  6695. LerpWelds(clastframe, e / 7, Animations[cwalk].Animation(0))
  6696. else
  6697. LerpWelds(clastframe, 1, Animations[cwalk].Animation(0))
  6698. end
  6699. e = e + 1
  6700. end)
  6701. end
  6702. DesiredWalkspeedLast = 18
  6703. PlayerInAir = false
  6704. lastplayervel = 0
  6705. Jump = function()
  6706. if Tool.Status.AnimCanBeInterrupted.Value == false then
  6707. return
  6708. end
  6709. if TrackFunction ~= nil then
  6710. TrackFunction:disconnect()
  6711. end
  6712. Hitstop = 0
  6713. local e = 0
  6714. local clastframe = lastframe
  6715. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  6716. if e <= 3 then
  6717. LerpWelds(clastframe, e / 3, Animations.Jump.Animation(0))
  6718. else
  6719. LerpWelds(clastframe, 1, Animations.Jump.Animation(0))
  6720. end
  6721. SetLegs(0)
  6722. e = e + 1
  6723. end)
  6724. enddir = Vector3.new(0, 0, 0)
  6725. lastplayervel = enddir
  6726. v_h = vPlayer.Character.Torso:FindFirstChild("JUMP_PROP")
  6727. if v_h == nil then
  6728. v_h=Instance.new("BodyVelocity")
  6729. v_h.P=650
  6730. v_h.maxForce=Vector3.new(0,2800000,0)
  6731. v_h.velocity=Vector3.new(lastplayervel.x,55,lastplayervel.z)
  6732. v_h.Parent=vPlayer.Character.Torso
  6733. v_h.Name="JUMP_PROP"
  6734. else
  6735. v_h.P = 650
  6736. v_h.maxForce=Vector3.new(0,2800000,0)
  6737. v_h.velocity=Vector3.new(lastplayervel.x,75,lastplayervel.z)
  6738. end
  6739. local cpos = vPlayer.Character.Torso.CFrame*CFrame.new(0,-1,0)
  6740. local par, loc = game.Workspace:FindPartOnRay(Ray.new(cpos.p,Vector3.new(0,-8,0)),vPlayer.Character)
  6741. --vPlayer.Character.Humanoid.Jump = true
  6742. timejump = time()
  6743. bumped = false
  6744. canland = false
  6745. PlayerState = "Jumping"
  6746. CanInterrupt(true)
  6747. local ttimejump=time()
  6748. local rr = TrackFunction
  6749. DesiredMovespeed=19
  6750. while v_h.Parent~=nil and timejump == ttimejump and Stunned == false do
  6751. PlayerInAir=true
  6752. if time()-timejump>.4 then
  6753. canland=true
  6754. end
  6755. if (loc-cpos.p).magnitude<6 and canland==true or rawequal(rr,TrackFunction) == false then
  6756. break
  6757. end
  6758. local ss = game:GetService("RunService").Heartbeat:wait()
  6759. cpos=vPlayer.Character.Torso.CFrame*CFrame.new(0,.8,0)
  6760. par,loc=game.Workspace:FindPartOnRay(Ray.new(cpos.p,Vector3.new(0,-15,0)),vPlayer.Character)
  6761. if vPlayer.Character.HumanoidRootPart.Anchored==false then
  6762. v_h.velocity=v_h.velocity-Vector3.new(0,186.2*ss,0)
  6763. end
  6764. end
  6765. SetLegs(1)
  6766. if timejump ~= ttimejump or rawequal(rr, TrackFunction) == false then
  6767. return
  6768. end
  6769. if Stunned == false then
  6770. PlayerState = "Standing"
  6771. PlayerInAir = false
  6772.  
  6773. DesiredMovespeed = 19
  6774. vPlayer.Character.Humanoid.WalkSpeed = DesiredMovespeed
  6775. v_h:Remove()
  6776. CanInterrupt(true)
  6777. PlayerIsAttacking = false
  6778. Stand()
  6779. end
  6780. end
  6781. Jump_Cont = function()
  6782. lastplayervel = vPlayer.Character.Torso.Velocity
  6783. cpos = vPlayer.Character.Torso.CFrame * CFrame.new(0, 0.8, 0)
  6784. par, loc = game.Workspace:FindPartOnRay(Ray.new(cpos.p, Vector3.new(0, -15, 0)), vPlayer.Character)
  6785. if (loc - cpos.p).magnitude < 4 then
  6786. PlayerState = "Standing"
  6787. CanInterrupt(true)
  6788. return Stand()
  6789. end
  6790. if TrackFunction ~= nil then
  6791. TrackFunction:disconnect()
  6792. TrackFunction = nil
  6793. end
  6794. Hitstop = 0
  6795. local e = 0
  6796. local clastframe = lastframe
  6797. TrackFunction=FakeHeartbeat.Event:connect(function(Step)
  6798. if e <= 4 then
  6799. LerpWelds(clastframe, e / 4, Animations.Jump.Animation(0))
  6800. else
  6801. LerpWelds(clastframe, 1, Animations.Jump.Animation(0))
  6802. end
  6803. e = e + 1
  6804. end)
  6805. timejump = time()
  6806. bumped = false
  6807. canland = false
  6808. PlayerState = "Jumping"
  6809. CanInterrupt(true)
  6810. local ttimejump = time()
  6811. local rr = TrackFunction
  6812. v_h = vPlayer.Character.Torso:FindFirstChild("JUMP_PROP")
  6813. if v_h == nil then
  6814. v_h = Instance.new("BodyVelocity")
  6815. v_h.P = 650
  6816. v_h.maxForce = Vector3.new(0, 2800000, 0)
  6817. v_h.velocity = Vector3.new(lastplayervel.x, lastplayervel.y, lastplayervel.z)
  6818. v_h.Parent = vPlayer.Character.Torso
  6819. v_h.Name = "JUMP_PROP"
  6820. else
  6821. v_h.P = 650
  6822. v_h.maxForce = Vector3.new(0, 2800000, 0)
  6823. v_h.velocity = Vector3.new(lastplayervel.x, lastplayervel.y, lastplayervel.z)
  6824. end
  6825. local cpos = vPlayer.Character.Torso.CFrame * CFrame.new(0, -1, 0)
  6826. local par, loc = game.Workspace:FindPartOnRay(Ray.new(cpos.p, Vector3.new(0, -8, 0)), vPlayer.Character)
  6827. timejump = time()
  6828. bumped = false
  6829. canland = false
  6830. PlayerState = "Jumping"
  6831. CanInterrupt(true)
  6832. local ttimejump = time()
  6833. local rr = TrackFunction
  6834. DesiredMovespeed = 18
  6835. while v_h.Parent ~= nil and timejump == ttimejump do
  6836. PlayerInAir = true
  6837. if time() - timejump > 0.4 then
  6838. canland = true
  6839. end
  6840. if (loc - cpos.p).magnitude >= 6 or canland ~= true then
  6841. if rawequal(rr, TrackFunction) == false then
  6842. break
  6843. end
  6844. do
  6845. local ss = script.Heartbeat.Event:wait()
  6846. cpos = vPlayer.Character.Torso.CFrame * CFrame.new(0, 0.8, 0)
  6847. par = game.Workspace:FindPartOnRay(Ray.new(cpos.p, Vector3.new(0, -15, 0)), vPlayer.Character)
  6848. if vPlayer.Character.HumanoidRootPart.Anchored == false then
  6849. v_h.velocity = v_h.velocity - Vector3.new(0, 6.2066666666667, 0)
  6850. end
  6851. -- DECOMPILER ERROR at PC279: LeaveBlock: unexpected jumping out IF_THEN_STMT
  6852.  
  6853. -- DECOMPILER ERROR at PC279: LeaveBlock: unexpected jumping out IF_STMT
  6854.  
  6855. end
  6856. end
  6857. end
  6858. if timejump ~= ttimejump or rawequal(rr, TrackFunction) == false then
  6859. return
  6860. end
  6861. PlayerState = "Standing"
  6862. PlayerInAir = false
  6863. vPlayer.Character.Humanoid.WalkSpeed = DesiredMovespeed
  6864. v_h:Remove()
  6865. CanInterrupt(true)
  6866. PlayerIsAttacking = false
  6867. CanDoubleJump = true
  6868. TrackFunction:disconnect()
  6869. TrackFunction = nil
  6870. Walk()
  6871. end
  6872. Hitstop = 0
  6873. getWelds = function(c)
  6874. local c = game.Players.LocalPlayer.Character
  6875. repeat
  6876. repeat
  6877. wait()
  6878. until c.HumanoidRootPart:FindFirstChild("RootJoint") ~= nil
  6879. until c.Torso:FindFirstChild("Neck") ~= nil
  6880. local t = c.Torso
  6881. local hrp = c.HumanoidRootPart.RootJoint
  6882. RightShoulder = t:FindFirstChild("Right Shoulder")
  6883. LeftShoulder = t:FindFirstChild("Left Shoulder")
  6884. RightHip = t:FindFirstChild("Right Hip")
  6885. LeftHip = t:FindFirstChild("Left Hip")
  6886. RootJoint = hrp
  6887. Neck = t:FindFirstChild("Neck")
  6888. end
  6889. resetWelds = function(ext, occ)
  6890. local r = {RightShoulder, LeftShoulder, RightHip, LeftHip, RootJoint, Neck}
  6891. for _,v in pairs(r) do
  6892. for i = 1, #occ do
  6893. if occ[i] == v then
  6894. table.remove(r, _)
  6895. end
  6896. end
  6897. end
  6898. for _,v in pairs(r) do
  6899. if v.Name == "Right Shoulder" then
  6900. if ext == 1 then
  6901. v.DesiredAngle = 0
  6902. v.CurrentAngle = 0
  6903. else
  6904. if ext == 2 then
  6905. v.C0 = RightShoulderC0
  6906. v.C1 = RightShoulderC1
  6907. else
  6908. if ext == 3 then
  6909. v.DesiredAngle = 0
  6910. v.CurrentAngle = 0
  6911. v.C0 = RightShoulderC0
  6912. v.C1 = RightShoulderC1
  6913. end
  6914. end
  6915. end
  6916. else
  6917. if v.Name == "Left Shoulder" then
  6918. if ext == 1 then
  6919. v.DesiredAngle = 0
  6920. v.CurrentAngle = 0
  6921. else
  6922. if ext == 2 then
  6923. v.C0 = LeftShoulderC0
  6924. v.C1 = LeftShoulderC1
  6925. else
  6926. if ext == 3 then
  6927. v.DesiredAngle = 0
  6928. v.CurrentAngle = 0
  6929. v.C0 = LeftShoulderC0
  6930. v.C1 = LeftShoulderC1
  6931. end
  6932. end
  6933. end
  6934. else
  6935. if v.Name == "Right Hip" then
  6936. if ext == 1 then
  6937. v.DesiredAngle = 0
  6938. v.CurrentAngle = 0
  6939. else
  6940. if ext == 2 then
  6941. v.C0 = RightHipC0
  6942. v.C1 = RightHipC1
  6943. else
  6944. if ext == 3 then
  6945. v.DesiredAngle = 0
  6946. v.CurrentAngle = 0
  6947. v.C0 = RightHipC0
  6948. v.C1 = RightHipC1
  6949. end
  6950. end
  6951. end
  6952. else
  6953. if v.Name == "Left Hip" then
  6954. if ext == 1 then
  6955. v.DesiredAngle = 0
  6956. v.CurrentAngle = 0
  6957. else
  6958. if ext == 2 then
  6959. v.C0 = LeftHipC0
  6960. v.C1 = LeftHipC1
  6961. else
  6962. if ext == 3 then
  6963. v.DesiredAngle = 0
  6964. v.CurrentAngle = 0
  6965. v.C0 = LeftHipC0
  6966. v.C1 = LeftHipC1
  6967. end
  6968. end
  6969. end
  6970. else
  6971. if v.Name == "Neck" then
  6972. if ext == 1 then
  6973. v.DesiredAngle = 0
  6974. v.CurrentAngle = 0
  6975. else
  6976. if ext == 2 then
  6977. v.C0 = NeckC0
  6978. v.C1 = NeckC1
  6979. else
  6980. if ext == 3 then
  6981. v.DesiredAngle = 0
  6982. v.CurrentAngle = 0
  6983. v.C0 = NeckC0
  6984. v.C1 = NeckC1
  6985. end
  6986. end
  6987. end
  6988. else
  6989. if v.Name == "RootJoint" then
  6990. if ext == 1 then
  6991. v.DesiredAngle = 0
  6992. v.CurrentAngle = 0
  6993. else
  6994. if ext == 2 then
  6995. v.C0 = RootJointC0
  6996. v.C1 = RootJointC1
  6997. else
  6998. if ext == 3 then
  6999. v.DesiredAngle = 0
  7000. v.CurrentAngle = 0
  7001. v.C0 = RootJointC0
  7002. v.C1 = RootJointC1
  7003. end
  7004. end
  7005. end
  7006. else
  7007. end
  7008. end
  7009. end
  7010. end
  7011. end
  7012. end
  7013. if v.Name == "RightGrip" then
  7014. if ext ~= 1 or ext == 2 then
  7015. Grip.C0 = nGrip.C0
  7016. Grip.C1 = nGrip.C1
  7017. else
  7018. if ext == 3 then
  7019. Grip.C0 = nGrip.C0
  7020. Grip.C1 = nGrip.C1
  7021. end
  7022. end
  7023. end
  7024. end
  7025. end
  7026. setMotorParameters = function(Motor, DesiredAngle, CurrentAngle, MaxVelocity, C0, C1)
  7027. if C0 == nil then
  7028. C0 = Motor.C0
  7029. end
  7030. if C1 == nil then
  7031. C1 = Motor.C1
  7032. end
  7033. if DesiredAngle == nil then
  7034. DesiredAngle = Motor.DesiredAngle
  7035. end
  7036. if CurrentAngle == nil then
  7037. CurrentAngle = Motor.CurrentAngle
  7038. end
  7039. if MaxVelocity == nil then
  7040. MaxVelocity = Motor.MaxVelocity
  7041. end
  7042. Motor.C0 = C0
  7043. Motor.C1 = C1
  7044. Motor.DesiredAngle = DesiredAngle
  7045. Motor.CurrentAngle = CurrentAngle
  7046. Motor.MaxVelocity = MaxVelocity
  7047. end
  7048. PlayerIsAttacking = false
  7049. PlayerBeingAttacked = false
  7050. PlayerState = "Standing"
  7051. getCharacterState = function()
  7052. if Tool.Status.AnimCanBeInterrupted.Value == false or PlayerIsAttacking == true then
  7053. return
  7054. end
  7055. local CPlayer = game.Players.LocalPlayer.Character
  7056. local moveVelocity = CPlayer.HumanoidRootPart.Velocity.magnitude
  7057. if PlayerIsAttacking == false and PlayerState ~= "Jumping" then
  7058. if moveVelocity >= 5 then
  7059. PlayerState = "Moving"
  7060. if (StickPos > 3 or CurrentCameraState == "3D") and MovementPreference == "Walk" and CurrentAnimation ~= Animations.Walk and Tool.Status.AnimCanBeInterrupted.Value == true and PlayerState ~= "Jumping" then
  7061. Walk()
  7062. end
  7063. else
  7064. PlayerState = "Standing"
  7065. if (StickPos > 3 or CurrentCameraState == "3D") and CurrentAnimation ~= Animations.Stand and Tool.Status.AnimCanBeInterrupted.Value == true then
  7066. DesiredWalkspeed = 16 * playerstats.Movement.Value
  7067. Stand()
  7068. end
  7069. end
  7070. end
  7071. end
  7072. lastinput = time()
  7073. MovementPreference = "Walk"
  7074. playerDash = function()
  7075. end
  7076. NewInput = function(Key, atTick, Edge)
  7077. local new = {Input = Key, Tick = atTick, Edge = Edge, Age = 0}
  7078. table.insert(PlayerInputs, new)
  7079. end
  7080. FindInputStrings = function()
  7081. local curtime = tick()
  7082. local strunginputs = {}
  7083. for _,v in pairs(PlayerInputs) do
  7084. if curtime - v.Tick <= PlayerInputStringFrame then
  7085. table.insert(strunginputs, v)
  7086. end
  7087. end
  7088. table.sort(strunginputs, function(x, y)
  7089. if x.Tick < y.Tick then
  7090. return true
  7091. end
  7092. return false
  7093. end)
  7094. return strunginputs
  7095. end
  7096. MorphInputs = function(i)
  7097. i = string.upper(i)
  7098. if CurrentCameraState == "3D" then
  7099. i = string.gsub(i, "A", "")
  7100. i = string.gsub(i, "S", "<")
  7101. i = string.gsub(i, "D", "")
  7102. i = string.gsub(i, "W", ">")
  7103. else
  7104. if PlayerFacing == "Left" then
  7105. i = string.gsub(i, "A", "<")
  7106. i = string.gsub(i, "S", "v")
  7107. i = string.gsub(i, "D", ">")
  7108. i = string.gsub(i, "W", "^")
  7109. else
  7110. i = string.gsub(i, "A", ">")
  7111. i = string.gsub(i, "S", "v")
  7112. i = string.gsub(i, "D", "<")
  7113. i = string.gsub(i, "W", "^")
  7114. end
  7115. end
  7116. return i
  7117. end
  7118. CullPlayerInput = function()
  7119. local toremove = {}
  7120. for _,v in pairs(PlayerInputs) do
  7121. v.Age = v.Age + 1
  7122. if PlayerInputStringFrame + 0.05 < tick() - v.Tick or PlayerInputCullThreshold < _ then
  7123. table.remove(PlayerInputs, _)
  7124. end
  7125. end
  7126. table.sort(PlayerInputs, function(x, y)
  7127. if x.Tick < y.Tick then
  7128. return true
  7129. end
  7130. return false
  7131. end)
  7132. end
  7133. IgnoreEdge = function(st)
  7134. local str = string.gsub(st, ".%-", "")
  7135. str = string.gsub(str, "%+", "")
  7136. return str
  7137. end
  7138. LastDashInput = time()
  7139. CheckDeb = true
  7140. LastKeyCheck = ""
  7141. LastCheckTime = time()
  7142. lastnormal = ""
  7143. CheckNormals = function()
  7144. local KeyCheck = ""
  7145. if PlayerKeys.mouse ~= nil then
  7146. if Ragemode == false then
  7147. KeyCheck = "M"
  7148. else
  7149. KeyCheck = "R"
  7150. end
  7151. else
  7152. coroutine.resume(coroutine.create(function(p)
  7153. fwait(1)
  7154. if p == lastnormal then
  7155. lastnormal = ""
  7156. end
  7157. end), lastnormal)
  7158. end
  7159. local ee = ""
  7160. if PlayerKeys.z ~= nil then
  7161. KeyCheck = "Z"
  7162. end
  7163. if PlayerKeys.x ~= nil then
  7164. KeyCheck = "X"
  7165. end
  7166. if PlayerKeys.c ~= nil then
  7167. KeyCheck = "C"
  7168. end
  7169. if PlayerKeys.v ~= nil then
  7170. KeyCheck = "V"
  7171. end
  7172. if PlayerKeys.e ~= nil then
  7173. KeyCheck = "E"
  7174. end
  7175. KeyCheck = string.upper(KeyCheck)
  7176. 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
  7177. LastKeyCheck = lastnormal .. KeyCheck
  7178. LastCheckTime = time()
  7179. CurrentAnimation = "ATTACKING"
  7180. GetNubs()
  7181. BodyVel.velocity = Vector3.new()
  7182. InputNormals[lastnormal .. KeyCheck]()
  7183. end
  7184. if InputNormals[KeyCheck] ~= nil and CheckDeb == true and LastKeyCheck ~= KeyCheck and Tool.Status.AnimCanBeInterrupted.Value == true and PlayerState ~= "Jumping" then
  7185. LastKeyCheck = KeyCheck
  7186. LastCheckTime = time()
  7187. CurrentAnimation = "ATTACKING"
  7188. GetNubs()
  7189. BodyVel.velocity = Vector3.new()
  7190. InputNormals[KeyCheck]()
  7191. end
  7192. if time() - LastCheckTime > 0.23 then
  7193. LastKeyCheck = ""
  7194. end
  7195. end
  7196. timejump = time()
  7197. DetectInput = function()
  7198. if vPlayer.Character:FindFirstChild("Humanoid") then
  7199. if PlayerIsAttacking == false then
  7200. BodyGyro:Remove()
  7201. BodyVel:Remove()
  7202. vPlayer.Character.Humanoid.WalkSpeed = DesiredWalkspeed
  7203. else
  7204. vPlayer.Character.Humanoid.WalkSpeed = DesiredWalkspeed
  7205. end
  7206. end
  7207. CheckNormals()
  7208. end
  7209. rawKeyInput = function()
  7210. end
  7211. SetCombatKey = function(k)
  7212. PlayerCombatKeys[k] = true
  7213. coroutine.resume(coroutine.create(function(k)
  7214. for i = 1, 1000 do
  7215. fwait(0.01)
  7216. if PlayerCombatKeys[k] == nil then
  7217. break
  7218. end
  7219. end
  7220. do
  7221. PlayerCombatKeys[k] = nil
  7222. end
  7223. end), k)
  7224. end
  7225. getCharacterState = function()
  7226. if Tool.Status.AnimCanBeInterrupted.Value == false or PlayerIsAttacking == true then
  7227. return
  7228. end
  7229. local CPlayer = game.Players.LocalPlayer.Character
  7230. local moveVelocity = (Vector3.new(0, 0, 0) - CPlayer.HumanoidRootPart.Velocity).magnitude
  7231. if PlayerIsAttacking == false and PlayerState ~= "Jumping" then
  7232. if moveVelocity >= 5 then
  7233. PlayerState = "Moving"
  7234. if MovementPreference == "Walk" and CurrentAnimation ~= Animations.Walk and Tool.Status.AnimCanBeInterrupted.Value == true and PlayerState ~= "Jumping" then
  7235. Walk()
  7236. end
  7237. else
  7238. PlayerState = "Standing"
  7239. if PlayerIsAttacking == false and Tool.Status.AnimCanBeInterrupted.Value == true and CurrentAnimation ~= Animations.Stand and Tool.Status.AnimCanBeInterrupted.Value == true then
  7240. DesiredWalkspeed = 16 * playerstats.Movement.Value
  7241. Stand()
  7242. end
  7243. end
  7244. end
  7245. end
  7246. lastinput = time()
  7247. MovementPreference = "Walk"
  7248. AnimTable = {}
  7249. AnimIDDump = {}
  7250. LastHealth = 0
  7251. AnimOb = nil
  7252. Equipping = false
  7253. Unequipping = false
  7254. Equipped = false
  7255. onEquip = function(mouse)
  7256. if Equipping or Equipped then
  7257. print("NOPE")
  7258. return
  7259. end
  7260. print(Wep)
  7261. repeat
  7262. repeat
  7263. wait()
  7264. until Unequipping == false
  7265. until Wep ~= nil
  7266. PlayerAnimationScript = vPlayer.Character:FindFirstChild("Animate")
  7267. if PlayerAnimationScript ~= nil then
  7268. AnimTable = PlayerAnimationScript:children()
  7269. AnimOb = vPlayer.Character.Humanoid:FindFirstChild("Animator")
  7270. p = Instance.new("Animation")
  7271. p.AnimationId = "http://www.roblox.com/asset/?id=240475704"
  7272. if AnimOb then
  7273. local x = AnimOb:LoadAnimation(p)
  7274. x:Play()
  7275. fwait(0.06)
  7276. AnimOb.Parent = nil
  7277. end
  7278. end
  7279. PlayerAnimationScript.Parent = nil
  7280. do
  7281. getWelds(vPlayer.Character)
  7282. resetWelds(3, {})
  7283. lastframe = {Animations.Stand.Animation(0)}
  7284. Equipping = true
  7285. local cl = 0
  7286. RightHip.Part0 = vPlayer.Character.HumanoidRootPart
  7287. LeftHip.Part0 = vPlayer.Character.HumanoidRootPart
  7288. for i = 1, 7 do
  7289. wait()
  7290. LerpWelds({Animations.Equip.Animation(0)}, i / 7, Animations.Equip.Animation(1))
  7291. end
  7292. local s = Instance.new("Sound", vPlayer.Character.Torso)
  7293. s.Volume = 0.33
  7294. s.Pitch = 1.35
  7295. s.SoundId = "http://www.roblox.com/asset/?id=" .. "240428955"
  7296. s:Play()
  7297. game:GetService("Debris"):AddItem(s, 2)
  7298. vPlayer.Character.Humanoid.WalkSpeed = 0
  7299. for i = 1, 6 do
  7300. wait()
  7301. LerpWelds({Animations.Equip.Animation(1)}, i / 6, Animations.Equip.Animation(2))
  7302. end
  7303. for i = 1, 5 do
  7304. wait()
  7305. LerpWelds({Animations.Equip.Animation(2)}, i / 5, Animations.Equip.Animation(1))
  7306. end
  7307. for i = 1, 5 do
  7308. wait()
  7309. LerpWelds({Animations.Equip.Animation(1)}, i / 5, Animations.Equip.Animation(3))
  7310. end
  7311. for i = 1, 8 do
  7312. wait()
  7313. LerpWelds({Animations.Equip.Animation(3)}, i / 8, Animations.Equip.Animation(4))
  7314. end
  7315. for i = 1, 1 do
  7316. LerpWelds({Animations.Equip.Animation(4)}, i / 10, Animations.Equip.Animation(5))
  7317. Grip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0))
  7318. Grip.Part0 = vPlayer.Character["Right Arm"]
  7319. wait()
  7320. end
  7321. cl = 0
  7322. for i = 1, 10 do
  7323. cl = cl + i * 0.018
  7324. LerpWelds({Animations.Equip.Animation(5)}, cl, Animations.Stand.Animation(0))
  7325. wait()
  7326. end
  7327. Equipping = false
  7328. Equipped = true
  7329. DetectInput()
  7330. if Tool.Active then
  7331. CurrentAnimation = "Sus"
  7332. Stand()
  7333. LastHealth = vPlayer.Character.Humanoid.Health
  7334. chs = script.Heartbeat.Event:connect(function()
  7335. CullPlayerInput()
  7336. rawKeyInput()
  7337. if PlayerKeys[" "] ~= nil and PlayerCanJump() == true and PlayerState ~= "Jumping" then
  7338. Jump()
  7339. end
  7340. end)
  7341. chsCS = script.Heartbeat.Event:connect(function()
  7342. getCharacterState()
  7343. DetectInput()
  7344. end)
  7345. chsj = vPlayer.Character.Humanoid.Changed:connect(function(v)
  7346. if PlayerIsAttacking == true then
  7347. vPlayer.Character.Humanoid.Jump = false
  7348. end
  7349. end)
  7350. mouse.Button1Down:connect(function()
  7351. PlayerKeys.mouse = "8)"
  7352. end)
  7353. mouse.Button1Up:connect(function()
  7354. PlayerKeys.mouse = nil
  7355. end)
  7356. mouse.KeyDown:connect(function(key)
  7357. PlayerKeys[key] = true
  7358. NewInput(key, tick(), "+")
  7359. SetCombatKey(key)
  7360. end)
  7361. mouse.KeyUp:connect(function(key)
  7362. PlayerKeys[key] = nil
  7363. end)
  7364. end
  7365. end
  7366. end
  7367. Down = nil
  7368. onPutaway = function()
  7369. if Unequipping then
  7370. return
  7371. end
  7372. repeat
  7373. repeat
  7374. wait()
  7375. until Equipping == false
  7376. until PlayerIsAttacking == false
  7377. if TrackFunction then
  7378. TrackFunction:disconnect()
  7379. TrackFunction = nil
  7380. end
  7381. PlayerAnimationScript.Parent = vPlayer.Character
  7382. if PlayerAnimationScript ~= nil and AnimOb then
  7383. AnimOb.Parent = vPlayer.Character.Humanoid
  7384. end
  7385. if chs then
  7386. chs:disconnect()
  7387. chs = nil
  7388. chsj:disconnect()
  7389. chsj = nil
  7390. chsCS:disconnect()
  7391. chsCS = nil
  7392. end
  7393. BodyVel.Parent = nil
  7394. BodyGyro.Parent = nil
  7395. Unequipping = true
  7396. local cl = 0
  7397. RightHip.Part0 = vPlayer.Character.HumanoidRootPart
  7398. LeftHip.Part0 = vPlayer.Character.HumanoidRootPart
  7399. vPlayer.Character.Humanoid.WalkSpeed = 0
  7400. for i = 1, 8 do
  7401. cl = cl + i * 0.028
  7402. LerpWelds(lastframe, cl, Animations.Equip.Animation(4))
  7403. Grip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0))
  7404. wait()
  7405. end
  7406. print(cl, "dix")
  7407. for i = 1, 1 do
  7408. LerpWelds({Animations.Equip.Animation(4)}, 0, Animations.Equip.Animation(5))
  7409. Grip.C0 = GripUNC0
  7410. Grip.Part0 = vPlayer.Character.Torso
  7411. end
  7412. cl = 0
  7413. for i = 1, 6 do
  7414. cl = cl + i * 0.05
  7415. LerpWelds({Animations.Equip.Animation(5)}, cl, Animations.Equip.Animation(0))
  7416. Grip.C0 = GripUNC0
  7417. Grip.Part0 = vPlayer.Character.Torso
  7418. wait()
  7419. end
  7420. print(cl)
  7421. RightHip.Part0 = vPlayer.Character.Torso
  7422. LeftHip.Part0 = vPlayer.Character.Torso
  7423. if PlayerAnimationScript ~= nil then
  7424. PlayerAnimationScript.Disabled = false
  7425. end
  7426. resetWelds(3, {})
  7427. if vPlayer.Character:FindFirstChild("Armor") then
  7428. RootJoint.C0 = RootJointC0 * CFrame.new(0, 0, 0.2)
  7429. end
  7430. wait(0.1)
  7431. Unequipping = false
  7432. Equipped = false
  7433. end
  7434. Tool.Selected:connect(onEquip)
  7435. Tool.Deselected:connect(onPutaway)
  7436. Animations = {}
  7437. Animations.Stand = {Animation = function(fr)
  7438. local keyframe = {}
  7439. sresetWelds()
  7440. keyframe[0] = function()
  7441. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(66))
  7442. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.sin(time() * 2.2) / 49 + math.rad(4), 0, 0)
  7443. 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))
  7444. 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))
  7445. 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))
  7446. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-40), math.rad(-110), math.rad(-10))
  7447. 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)
  7448. 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)
  7449. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-20), 0)
  7450. 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))
  7451. end
  7452. keyframe[fr]()
  7453. 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
  7454. end,
  7455. Cancels = {"Everything"}
  7456. , Reference = "Stand"}
  7457. Animations.Walk = {Animation = function(fr)
  7458. local keyframe = {}
  7459. sresetWelds()
  7460. keyframe[0] = function()
  7461. 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)))
  7462. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(25), 0, 0)
  7463. 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))
  7464. 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))
  7465. 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)
  7466. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(5), -math.rad(30), math.rad(0))
  7467. 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))
  7468. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  7469. end
  7470. keyframe[fr]()
  7471. 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
  7472. end,
  7473. Cancels = {"Everything"}
  7474. , Reference = "Walk"}
  7475. Animations.Jump = {Animation = function(fr)
  7476. local keyframe = {}
  7477. sresetWelds()
  7478. keyframe[0] = function()
  7479. local vely = vPlayer.Character.Torso.Velocity.y * 1.25
  7480. if vely > 60 then
  7481. vely = 60
  7482. else
  7483. if vely < -60 then
  7484. vely = -60
  7485. end
  7486. end
  7487. local velx = Vector3.new(vPlayer.Character.Torso.Velocity.x, 0, vPlayer.Character.Torso.Velocity.z).magnitude
  7488. if velx > 10 then
  7489. velx = 10
  7490. end
  7491. local vely2 = 1
  7492. local vely3 = 0
  7493. if vely < 0 then
  7494. vely2 = 0
  7495. vely3 = 1
  7496. end
  7497. 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)))
  7498. 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)))
  7499. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.1, 0)
  7500. 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)))
  7501. 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)))
  7502. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + vely * vely3), -math.rad(vely * vely3 * 0.6), -math.rad(25) + math.rad(-vely * vely3))
  7503. 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))
  7504. end
  7505. keyframe[fr]()
  7506. 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
  7507. end,
  7508. Cancels = {"Everything"}
  7509. , Reference = "Jump"}
  7510. Animations.ZZ = {Animation = function(fr)
  7511. local keyframe = {}
  7512. sresetWelds()
  7513. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  7514. if ws > 1 then
  7515. ws = 1
  7516. end
  7517. if ws > 0.1 then
  7518. keyframe[0] = function()
  7519. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.04) * CFrame.Angles(math.rad(23), 0, math.rad(-18))
  7520. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  7521. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  7522. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7523. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  7524. if Ragemode == true then
  7525. 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))
  7526. 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))
  7527. else
  7528. 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))
  7529. 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))
  7530. end
  7531. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  7532. end
  7533. keyframe[1] = function()
  7534. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.08) * CFrame.Angles(math.rad(40), 0, math.rad(5))
  7535. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  7536. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  7537. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7538. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  7539. if Ragemode == true then
  7540. 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))
  7541. 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))
  7542. else
  7543. 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))
  7544. 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))
  7545. end
  7546. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  7547. end
  7548. keyframe[2] = function()
  7549. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.08) * CFrame.Angles(math.rad(47), 0, math.rad(16))
  7550. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(2), math.rad(-7))
  7551. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90))
  7552. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-120), math.rad(0))
  7553. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-50), math.rad(0), -math.rad(25))
  7554. if Ragemode == true then
  7555. 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))
  7556. 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))
  7557. else
  7558. 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))
  7559. 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))
  7560. end
  7561. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(1), math.rad(0))
  7562. end
  7563. keyframe[3] = function()
  7564. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  7565. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  7566. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  7567. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7568. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  7569. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7570. if Ragemode == true then
  7571. 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))
  7572. 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))
  7573. else
  7574. 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))
  7575. 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))
  7576. end
  7577. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  7578. end
  7579. else
  7580. keyframe[0] = function()
  7581. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.04) * CFrame.Angles(math.rad(23), 0, math.rad(-18))
  7582. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  7583. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  7584. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7585. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  7586. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7587. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7588. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  7589. end
  7590. keyframe[1] = function()
  7591. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.08) * CFrame.Angles(math.rad(40), 0, math.rad(5))
  7592. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  7593. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  7594. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7595. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  7596. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7597. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7598. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  7599. end
  7600. keyframe[2] = function()
  7601. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.08) * CFrame.Angles(math.rad(47), 0, math.rad(16))
  7602. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-8), math.rad(2), math.rad(-7))
  7603. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(90))
  7604. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-100), math.rad(0))
  7605. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-47), math.rad(22), math.rad(11.5))
  7606. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7607. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7608. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(1), math.rad(15))
  7609. end
  7610. keyframe[3] = function()
  7611. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  7612. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  7613. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  7614. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7615. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  7616. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7617. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7618. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7619. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  7620. end
  7621. end
  7622. keyframe[fr]()
  7623. 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
  7624. end,
  7625. Cancels = {"ZZZ", "Stand", "SummonPuddle"}
  7626. , Reference = "ZZ"}
  7627. Animations.ZZZ = {Animation = function(fr)
  7628. local keyframe = {}
  7629. sresetWelds()
  7630. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  7631. if ws > 1 then
  7632. ws = 1
  7633. end
  7634. if ws > 0.1 then
  7635. keyframe[0] = function()
  7636. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(40), 0, math.rad(25))
  7637. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-15))
  7638. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.6, -0.8) * CFrame.Angles(math.rad(-10), math.rad(60), math.rad(150))
  7639. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7640. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.5, -0.1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-180))
  7641. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7642. if Ragemode == true then
  7643. 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))
  7644. 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))
  7645. else
  7646. 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))
  7647. 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))
  7648. end
  7649. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  7650. end
  7651. keyframe[1] = function()
  7652. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.35) * CFrame.Angles(math.rad(50), 0, math.rad(-34))
  7653. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(15))
  7654. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-110), math.rad(90))
  7655. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7656. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.55, 0.4) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-130))
  7657. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7658. if Ragemode == true then
  7659. 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))
  7660. 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))
  7661. else
  7662. 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))
  7663. 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))
  7664. end
  7665. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(180))
  7666. end
  7667. else
  7668. keyframe[0] = function()
  7669. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(40), 0, math.rad(25))
  7670. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-15))
  7671. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.6, -0.8) * CFrame.Angles(math.rad(-10), math.rad(60), math.rad(150))
  7672. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7673. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.5, -0.1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-180))
  7674. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7675. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7676. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7677. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  7678. end
  7679. keyframe[1] = function()
  7680. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.35) * CFrame.Angles(math.rad(50), 0, math.rad(-34))
  7681. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(15))
  7682. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-110), math.rad(90))
  7683. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7684. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.55, 0.4) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-130))
  7685. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7686. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-19), math.rad(-15), math.rad(-50))
  7687. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0))
  7688. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(180))
  7689. end
  7690. end
  7691. keyframe[fr]()
  7692. 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
  7693. end,
  7694. Cancels = {"ZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  7695. , Reference = "ZZZ"}
  7696. Animations.ZZZZ = {Animation = function(fr)
  7697. local keyframe = {}
  7698. sresetWelds()
  7699. keyframe[0] = function()
  7700. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(50), 0, math.rad(-14))
  7701. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(15))
  7702. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-60), math.rad(80))
  7703. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7704. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.55, 0.4) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(-100))
  7705. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7706. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7707. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  7708. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.6, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7709. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(0))
  7710. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(40), math.rad(0), math.rad(180))
  7711. end
  7712. keyframe[2] = function()
  7713. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.15) * CFrame.Angles(math.rad(8), math.rad(-7), math.rad(-110))
  7714. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(4), math.rad(10), math.rad(70))
  7715. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(-20), math.rad(-20))
  7716. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  7717. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(-95))
  7718. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0))
  7719. sRightHip.C0 = sRightHip.C0 * CFrame.new(-1.2, 0.2, -0.9) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0))
  7720. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(120), 0)
  7721. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.55, 0.25, -0.7) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(0))
  7722. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(10), 0)
  7723. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(25), math.rad(0), math.rad(160))
  7724. end
  7725. keyframe[1] = function()
  7726. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.3) * CFrame.Angles(math.rad(8), math.rad(-7), math.rad(-68))
  7727. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(4), math.rad(10), math.rad(60))
  7728. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(-5))
  7729. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  7730. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.55, 0, 0.3) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(-95))
  7731. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0))
  7732. sRightHip.C0 = sRightHip.C0 * CFrame.new(-1.1, 0.25, -0.6) * CFrame.Angles(math.rad(5), math.rad(-8), math.rad(-15))
  7733. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(50), 0)
  7734. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.4, 0.2, -0.42) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0))
  7735. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), 0)
  7736. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(35), math.rad(0), math.rad(160))
  7737. end
  7738. keyframe[fr]()
  7739. 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
  7740. end,
  7741. Cancels = {"ZZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  7742. , Reference = "ZZZZ"}
  7743. Animations.ZZZZZ = {Animation = function(fr)
  7744. local keyframe = {}
  7745. sresetWelds()
  7746. keyframe[0] = function()
  7747. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.3) * CFrame.Angles(math.rad(-18), math.rad(5), math.rad(-36))
  7748. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(20), math.rad(4), math.rad(12))
  7749. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), math.rad(-20), math.rad(167))
  7750. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-90))
  7751. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0))
  7752. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.22, 0) * CFrame.Angles(math.rad(-10), math.rad(-8), math.rad(-30))
  7753. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.2, 0.22, 0.05) * CFrame.Angles(math.rad(-6), math.rad(30), math.rad(14))
  7754. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  7755. end
  7756. keyframe[1] = function()
  7757. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-26), math.rad(5), math.rad(-36))
  7758. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(25), math.rad(4), math.rad(12))
  7759. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), math.rad(-20), math.rad(197))
  7760. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-80))
  7761. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0))
  7762. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.27, 0) * CFrame.Angles(math.rad(-18), math.rad(-8), math.rad(-40))
  7763. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.2, 0.25, 0.05) * CFrame.Angles(math.rad(-6), math.rad(30), math.rad(30))
  7764. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(0), math.rad(0))
  7765. end
  7766. keyframe[2] = function()
  7767. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.16) * CFrame.Angles(math.rad(21), 0, math.rad(23))
  7768. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(4), math.rad(-12))
  7769. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, 0, -0.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(119))
  7770. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(40))
  7771. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.4, 0.2, -0.1) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(-12.5))
  7772. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.6, -0.1, -0.1) * CFrame.Angles(math.rad(-2), math.rad(16), math.rad(45))
  7773. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(-8), math.rad(0))
  7774. end
  7775. keyframe[fr]()
  7776. 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
  7777. end,
  7778. Cancels = {"ZZZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  7779. , Reference = "ZZZZZ"}
  7780. Animations.ZZZZZZ = {Animation = function(fr)
  7781. local keyframe = {}
  7782. sresetWelds()
  7783. keyframe[0] = function()
  7784. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-48), 0, math.rad(30))
  7785. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(26), math.rad(6), math.rad(-20))
  7786. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(174))
  7787. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(-50), math.rad(-66))
  7788. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.9, 0.175, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-22))
  7789. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.9, 0.35, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-101))
  7790. sLeftHip.C1 = sLeftHip.C1 * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0))
  7791. sGrip.C0 = GripC0 * CFrame.new(0, -0.1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(-3), math.rad(180))
  7792. end
  7793. keyframe[fr]()
  7794. 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
  7795. end,
  7796. Cancels = {"ZZZZZZZ", "Stand", "SummonPuddle", "Extinction1"}
  7797. , Reference = "ZZZZZZ"}
  7798. Animations.ZZZZZZZ = {Animation = function(fr)
  7799. local keyframe = {}
  7800. sresetWelds()
  7801. keyframe[0] = function()
  7802. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.9) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0))
  7803. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10))
  7804. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, -0.25, -0.2) * CFrame.Angles(math.rad(-15), math.rad(15), math.rad(79))
  7805. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-36), math.rad(0), math.rad(50))
  7806. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.4, 1.475, -0.4) * CFrame.Angles(math.rad(-17), math.rad(17), math.rad(48))
  7807. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(17), math.rad(0))
  7808. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1, -0.35, 0.35) * CFrame.Angles(-math.rad(20), -math.rad(20), -math.rad(180))
  7809. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(32), math.rad(0), math.rad(180))
  7810. end
  7811. keyframe[fr]()
  7812. 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
  7813. end,
  7814. Cancels = {"Everything"}
  7815. , Reference = "ZZZZZZZ"}
  7816. Animations.ZZZZZZZ = {Animation = function(fr)
  7817. local keyframe = {}
  7818. sresetWelds()
  7819. keyframe[0] = function()
  7820. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.9) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0))
  7821. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10))
  7822. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, -0.25, -0.2) * CFrame.Angles(math.rad(-15), math.rad(15), math.rad(79))
  7823. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-36), math.rad(0), math.rad(50))
  7824. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.5, -1.45, -0.2) * CFrame.Angles(math.rad(-7), math.rad(7), math.rad(-89))
  7825. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7826. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.45, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0))
  7827. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(32), math.rad(0), math.rad(180))
  7828. end
  7829. keyframe[fr]()
  7830. 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
  7831. end,
  7832. Cancels = {"Everything"}
  7833. , Reference = "ZZZZZZZ"}
  7834. Animations.PuddleTrigger = {Animation = function(fr)
  7835. local keyframe = {}
  7836. sresetWelds()
  7837. keyframe[0] = function()
  7838. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(31))
  7839. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2), 0, math.rad(-10))
  7840. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(18), math.rad(-6), math.rad(-43))
  7841. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.1, -0.3, -0.1) * CFrame.fromEulerAnglesXYZ(-math.rad(18), -math.rad(20), math.rad(-20))
  7842. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.15, 0.2, 0.05) * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-170))
  7843. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-20), math.rad(-5))
  7844. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-7), -math.rad(18), math.rad(-1))
  7845. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-18), math.rad(0))
  7846. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.15, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(18), math.rad(1))
  7847. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(10), math.rad(0))
  7848. sGrip.C0 = GripC0 * CFrame.new(0.15, 0, -0.05) * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(10), math.rad(-10))
  7849. end
  7850. keyframe[1] = function()
  7851. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(31))
  7852. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.rad(2), 0, math.rad(-10))
  7853. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(19), math.rad(-8), math.rad(-40))
  7854. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.1, -0.3, -0.1) * CFrame.fromEulerAnglesXYZ(-math.rad(18), -math.rad(20), math.rad(-18))
  7855. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.55, 0) * CFrame.fromEulerAnglesXYZ(math.rad(46), 0, math.rad(-180))
  7856. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(20), math.rad(0))
  7857. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-7), -math.rad(18), math.rad(-1))
  7858. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-19), math.rad(0))
  7859. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.15, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(18), math.rad(1))
  7860. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(11), math.rad(0))
  7861. sGrip.C0 = GripC0 * CFrame.new(0.15, 0, -0.05) * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(10), math.rad(-10))
  7862. end
  7863. keyframe[fr]()
  7864. 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
  7865. end,
  7866. Cancels = {"Everything"}
  7867. , Reference = "PuddleTrigger"}
  7868. Animations.ShatterCannon = {Animation = function(fr)
  7869. local keyframe = {}
  7870. sresetWelds()
  7871. keyframe[0] = function()
  7872. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  7873. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  7874. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  7875. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7876. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  7877. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  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.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(180))
  7881. end
  7882. keyframe[1] = function()
  7883. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(-19), math.rad(0), math.rad(-95))
  7884. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(15), math.rad(90))
  7885. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.3, -0.4, 0.4) * CFrame.Angles(math.rad(-10), math.rad(-46), math.rad(85))
  7886. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7887. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.7, 0.4) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(-70))
  7888. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0))
  7889. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.5, 0.2, -0.8) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7890. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(12), math.rad(7), math.rad(0))
  7891. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.3, 0.2, -1) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7892. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(7), math.rad(0))
  7893. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-43), math.rad(0), math.rad(180))
  7894. end
  7895. keyframe[2] = function()
  7896. resetWelds(3, {})
  7897. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(48), math.rad(16), math.rad(30))
  7898. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(7), math.rad(-10))
  7899. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.15, 0.2, 0.3) * CFrame.Angles(math.rad(-5), math.rad(-50), math.rad(125))
  7900. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(-90), math.rad(0))
  7901. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.2, -0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(20), math.rad(40))
  7902. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  7903. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  7904. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90), math.rad(90))
  7905. end
  7906. keyframe[fr]()
  7907. 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
  7908. end,
  7909. Cancels = {"Everything"}
  7910. , Reference = "ShatterCannon"}
  7911. Animations.BlackSpace = {Animation = function(fr)
  7912. local keyframe = {}
  7913. sresetWelds()
  7914. keyframe[0] = function()
  7915. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.3) * CFrame.Angles(math.rad(20), 0, math.rad(80))
  7916. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(-45))
  7917. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.7, -0.8) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(85))
  7918. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  7919. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, 0.5, -0.1) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-95))
  7920. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7921. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.8, 0.2, -0.9) * CFrame.Angles(math.rad(0), math.rad(-200), math.rad(-10))
  7922. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7923. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(1.1, 0.225, -1.2) * CFrame.Angles(math.rad(10), math.rad(140), math.rad(-5))
  7924. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  7925. end
  7926. keyframe[1] = function()
  7927. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0.8, 0.3) * CFrame.Angles(math.rad(-24), 0, math.rad(-60))
  7928. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(15), math.rad(0), math.rad(45))
  7929. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.8, -0.7, -0.1) * CFrame.Angles(math.rad(0), math.rad(72), math.rad(72))
  7930. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-88), math.rad(0))
  7931. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.45, -0.7, 0.2) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(-63))
  7932. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0))
  7933. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.5, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15))
  7934. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(5))
  7935. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(33), math.rad(0), math.rad(180))
  7936. end
  7937. keyframe[fr]()
  7938. 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
  7939. end,
  7940. Cancels = {"Everything"}
  7941. , Reference = "BlackSpace"}
  7942. Animations.Stand2 = {Animation = function(fr)
  7943. local keyframe = {}
  7944. sresetWelds()
  7945. keyframe[0] = function()
  7946. 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))
  7947. sRootJoint.C1 = sRootJoint.C1 * CFrame.fromEulerAnglesXYZ(math.sin(time() * 2) / 24, 0, 0)
  7948. 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))
  7949. 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))
  7950. 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)
  7951. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, -0.15, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-80), math.rad(0))
  7952. 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))
  7953. 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)
  7954. 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))
  7955. end
  7956. keyframe[fr]()
  7957. 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
  7958. end,
  7959. Cancels = {"Everything"}
  7960. , Reference = "Stand2"}
  7961. Animations.Walk2 = {Animation = function(fr)
  7962. local keyframe = {}
  7963. sresetWelds()
  7964. keyframe[0] = function()
  7965. 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))
  7966. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(30), math.rad(1), math.rad(9))
  7967. 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))
  7968. 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))
  7969. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.6, -0.3, 0) * CFrame.fromEulerAnglesXYZ(math.cos(time() * 10) / 12, math.rad(-90), math.rad(50))
  7970. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(30), math.rad(0))
  7971. 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))
  7972. 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)
  7973. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  7974. end
  7975. keyframe[fr]()
  7976. 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
  7977. end,
  7978. Cancels = {"Everything"}
  7979. , Reference = "Walk2"}
  7980. Animations.ZZ2 = {Animation = function(fr)
  7981. local keyframe = {}
  7982. sresetWelds()
  7983. keyframe[0] = function()
  7984. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.14) * CFrame.Angles(math.rad(21), 0, math.rad(23))
  7985. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(4), math.rad(-12))
  7986. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, 0, -0.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(119))
  7987. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(40))
  7988. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.15, 0) * CFrame.Angles(math.rad(-10), math.rad(-8), math.rad(-30))
  7989. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.1, 0) * CFrame.Angles(math.rad(-2), math.rad(16), math.rad(6))
  7990. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(-8), math.rad(0))
  7991. end
  7992. keyframe[1] = function()
  7993. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-59))
  7994. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(19), math.rad(7), math.rad(28))
  7995. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 1) * CFrame.Angles(math.rad(-40), math.rad(50), math.rad(110))
  7996. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0))
  7997. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.35, -0.1, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-70))
  7998. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.4, 0.2, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-33), math.rad(-22))
  7999. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-4))
  8000. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8001. end
  8002. keyframe[2] = function()
  8003. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(36), math.rad(0), math.rad(50))
  8004. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(7), math.rad(7), math.rad(-20))
  8005. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, 0.1, 0.4) * CFrame.Angles(math.rad(16), math.rad(-25), math.rad(135))
  8006. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-112), math.rad(0))
  8007. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.2, -0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(20), math.rad(40))
  8008. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-10))
  8009. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.5, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(7), math.rad(50))
  8010. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8011. end
  8012. keyframe[fr]()
  8013. 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
  8014. end,
  8015. Cancels = {"Everything"}
  8016. , Reference = "ZZ2"}
  8017. Animations.Z2 = {Animation = function(fr)
  8018. local keyframe = {}
  8019. sresetWelds()
  8020. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  8021. if ws > 1 then
  8022. ws = 1
  8023. end
  8024. if ws > 0.1 then
  8025. keyframe[0] = function()
  8026. 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))
  8027. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(1), math.rad(-4))
  8028. 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))
  8029. 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))
  8030. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.6, -0.3, 0) * CFrame.fromEulerAnglesXYZ(math.cos(time() * 10) / 12, math.rad(-90), math.rad(50))
  8031. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(30), math.rad(0))
  8032. 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))
  8033. 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)
  8034. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  8035. end
  8036. else
  8037. keyframe[0] = function()
  8038. 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))
  8039. sNeck.C0 = sNeck.C0 * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(1), math.rad(-4))
  8040. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8041. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8042. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.6, -0.3, 0) * CFrame.fromEulerAnglesXYZ(math.cos(time() * 10) / 12, math.rad(-90), math.rad(50))
  8043. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(30), math.rad(0))
  8044. 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))
  8045. 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)
  8046. sGrip.C0 = GripC0 * CFrame.fromEulerAnglesXYZ(-math.rad(10), 0, 0)
  8047. end
  8048. end
  8049. keyframe[fr]()
  8050. 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
  8051. end,
  8052. Cancels = {"Everything"}
  8053. , Reference = "Z2"}
  8054. Animations.SoulExEnd = {Animation = function(fr)
  8055. local keyframe = {}
  8056. sresetWelds()
  8057. keyframe[0] = function()
  8058. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.72, -0.6) * CFrame.fromEulerAnglesXYZ(math.rad(55), 0, math.rad(-5))
  8059. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(4), math.rad(15))
  8060. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.4, -0.2, -0.2) * CFrame.fromEulerAnglesXYZ(-math.rad(20), math.rad(-20), math.rad(40))
  8061. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.15, -0.1, -0.85) * CFrame.fromEulerAnglesXYZ(math.rad(-20), math.rad(35), math.rad(-145))
  8062. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, -0.15, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90), math.rad(0))
  8063. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.75, 0.2, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(6), math.rad(1))
  8064. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.35, -0.15, -0.2) * CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, math.rad(50))
  8065. sGrip.C0 = GripC0 * CFrame.new(0.05, 0, -0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-10), math.rad(0), math.rad(0))
  8066. end
  8067. keyframe[fr]()
  8068. 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
  8069. end,
  8070. Cancels = {"Everything"}
  8071. , Reference = "SoulExEnd"}
  8072. Animations.SoulExStart = {Animation = function(fr)
  8073. local keyframe = {}
  8074. sresetWelds()
  8075. keyframe[0] = function()
  8076. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.15) * CFrame.Angles(math.rad(8), math.rad(-7), math.rad(-40))
  8077. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(10), math.rad(40))
  8078. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(20), math.rad(20))
  8079. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  8080. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.5, -0.1, 0.2) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-90))
  8081. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0))
  8082. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.8, 0.2, -0.2) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(-5))
  8083. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(60), 0)
  8084. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.4, 0.25, -0.2) * CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0))
  8085. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(20), 0)
  8086. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(25), math.rad(0), math.rad(0))
  8087. end
  8088. keyframe[1] = function()
  8089. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.72, -0.4) * CFrame.fromEulerAnglesXYZ(math.rad(55), 0, math.rad(-5))
  8090. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, -0.02) * CFrame.fromEulerAnglesXYZ(-math.rad(20), -math.rad(4), math.rad(15))
  8091. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.2, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(70), math.rad(10), math.rad(20))
  8092. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.1, -0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  8093. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, -0.15, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-30), math.rad(-40))
  8094. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.75, 0.2, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(0), -math.rad(6), math.rad(1))
  8095. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.35, -0.15, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, math.rad(50))
  8096. sGrip.C0 = GripC0 * CFrame.new(0.05, 0, -0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-10), math.rad(0), math.rad(0))
  8097. end
  8098. keyframe[fr]()
  8099. 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
  8100. end,
  8101. Cancels = {"Everything"}
  8102. , Reference = "SoulExStart"}
  8103. Animations.ZZ3 = {Animation = function(fr)
  8104. local keyframe = {}
  8105. sresetWelds()
  8106. local ws = vPlayer.Character.Torso.Velocity.magnitude / DesiredWalkspeed
  8107. if ws > 1 then
  8108. ws = 1
  8109. end
  8110. if ws > 0.1 then
  8111. keyframe[0] = function()
  8112. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(43), 0, math.rad(-18))
  8113. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  8114. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  8115. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8116. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  8117. if Ragemode == true then
  8118. 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))
  8119. 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))
  8120. else
  8121. 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))
  8122. 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))
  8123. end
  8124. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  8125. end
  8126. keyframe[1] = function()
  8127. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(50), 0, math.rad(5))
  8128. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  8129. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  8130. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8131. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  8132. if Ragemode == true then
  8133. 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))
  8134. 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))
  8135. else
  8136. 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))
  8137. 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))
  8138. end
  8139. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  8140. end
  8141. keyframe[2] = function()
  8142. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.02) * CFrame.Angles(math.rad(57), 0, math.rad(16))
  8143. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(2), math.rad(-7))
  8144. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(30), math.rad(40), math.rad(90))
  8145. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-140), math.rad(0))
  8146. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-50), math.rad(0), -math.rad(25))
  8147. if Ragemode == true then
  8148. 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))
  8149. 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))
  8150. else
  8151. 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))
  8152. 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))
  8153. end
  8154. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-60), math.rad(0), math.rad(0))
  8155. end
  8156. keyframe[3] = function()
  8157. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.04) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  8158. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  8159. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-10), math.rad(70), math.rad(140))
  8160. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8161. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  8162. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8163. if Ragemode == true then
  8164. 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))
  8165. 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))
  8166. else
  8167. 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))
  8168. 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))
  8169. end
  8170. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  8171. end
  8172. else
  8173. keyframe[0] = function()
  8174. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.04) * CFrame.Angles(math.rad(23), 0, math.rad(-18))
  8175. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(2), math.rad(9), math.rad(15))
  8176. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.4, 0.7) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(90))
  8177. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8178. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.035, -0.18, -0.04) * CFrame.Angles(math.rad(-30), math.rad(25), math.rad(18))
  8179. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8180. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8181. sGrip.C0 = GripC0 * CFrame.new(0.17, 0, -0.04) * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(12), math.rad(-21))
  8182. end
  8183. keyframe[1] = function()
  8184. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.08) * CFrame.Angles(math.rad(40), 0, math.rad(5))
  8185. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-4), math.rad(4), math.rad(0))
  8186. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1, -0.3, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(110))
  8187. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8188. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.08, -0.4, -0.08) * CFrame.Angles(math.rad(-38), math.rad(27), math.rad(15))
  8189. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8190. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8191. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(2), math.rad(0))
  8192. end
  8193. keyframe[2] = function()
  8194. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.08) * CFrame.Angles(math.rad(47), 0, math.rad(16))
  8195. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-8), math.rad(2), math.rad(-7))
  8196. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.25, -0.35, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(90))
  8197. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-100), math.rad(0))
  8198. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.09, -0.5, -0.09) * CFrame.Angles(math.rad(-47), math.rad(22), math.rad(11.5))
  8199. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8200. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8201. sGrip.C0 = GripC0 * CFrame.new(0.19, 0, -0.01) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(1), math.rad(15))
  8202. end
  8203. keyframe[3] = function()
  8204. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(50), 0, math.rad(20))
  8205. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10))
  8206. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(1.2, -0.4, -0.8) * CFrame.Angles(math.rad(-30), math.rad(70), math.rad(90))
  8207. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8208. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.55, -0.1) * CFrame.Angles(math.rad(-50), math.rad(20), math.rad(10))
  8209. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8210. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.6, 0, 0) * CFrame.Angles(math.rad(-15), math.rad(-5), math.rad(-50))
  8211. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.25, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8212. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-50), math.rad(0), math.rad(20))
  8213. end
  8214. end
  8215. keyframe[fr]()
  8216. 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
  8217. end,
  8218. Cancels = {"ZZZ", "Stand", "SummonPuddle"}
  8219. , Reference = "ZZ3"}
  8220. Animations.WeaponBounce = {Animation = function(fr)
  8221. local keyframe = {}
  8222. sresetWelds()
  8223. keyframe[0] = function()
  8224. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-15), 0, math.rad(20))
  8225. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(14), math.rad(0), math.rad(-10))
  8226. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(-0.2, -0.5, 0.2) * CFrame.Angles(math.rad(0), math.rad(-130), math.rad(90))
  8227. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0))
  8228. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.15, -0.55, 0.1) * CFrame.Angles(math.rad(-70), math.rad(-40), math.rad(-10))
  8229. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8230. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.5, 0.15, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0))
  8231. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.18, 0.25, -0.15) * CFrame.Angles(math.rad(-15), math.rad(5), math.rad(30))
  8232. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(50), math.rad(0), math.rad(180))
  8233. end
  8234. keyframe[fr]()
  8235. 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
  8236. end,
  8237. Cancels = {"WeaponBounce"}
  8238. , Reference = "WeaponBounce"}
  8239. Animations.LHB = {Animation = function(fr)
  8240. local keyframe = {}
  8241. sresetWelds()
  8242. keyframe[0] = function()
  8243. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-59))
  8244. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(19), math.rad(7), math.rad(28))
  8245. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 1) * CFrame.Angles(math.rad(-40), math.rad(50), math.rad(110))
  8246. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0))
  8247. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.35, -0.1, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-70))
  8248. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.4, 0.2, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-33), math.rad(-22))
  8249. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1, 0.2, -0.2) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-4))
  8250. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8251. end
  8252. keyframe[1] = function()
  8253. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.6, -0.65) * CFrame.Angles(math.rad(60), 0, math.rad(40))
  8254. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-28))
  8255. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, -0.25, 0.75) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(68))
  8256. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(-0.8, 0.1, 0.3) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8257. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.4, 0, 0.4) * CFrame.Angles(math.rad(-80), math.rad(30), math.rad(20))
  8258. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
  8259. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.15, -0.3) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(-2))
  8260. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.35, -0.35, 0) * CFrame.Angles(math.rad(-5), math.rad(5), math.rad(54))
  8261. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(80), math.rad(0))
  8262. end
  8263. keyframe[2] = function()
  8264. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-15), 0, math.rad(70))
  8265. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(15), math.rad(-15), math.rad(-45))
  8266. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.3, -0.55, 0.25) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(50))
  8267. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8268. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.1, -0.25, 0.1) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(-90))
  8269. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8270. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.175, -0.3) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-6))
  8271. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0))
  8272. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.3, 0.1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(34))
  8273. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0))
  8274. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8275. end
  8276. keyframe[3] = function()
  8277. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.4, -0.2) * CFrame.Angles(math.rad(45), 0, math.rad(-20))
  8278. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(15))
  8279. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.1, -0.3, 0.1) * CFrame.Angles(math.rad(-55), math.rad(0), math.rad(-20))
  8280. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8281. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.9, 0.2, 0.15) * CFrame.Angles(math.rad(-4), math.rad(17), math.rad(-135))
  8282. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  8283. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.45, 0.175, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-12))
  8284. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0))
  8285. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.4, -0.05, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(54))
  8286. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0))
  8287. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8288. end
  8289. keyframe[4] = function()
  8290. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.4, 0.15) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(35))
  8291. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(20), 0, math.rad(-25))
  8292. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, 0, 0.1) * CFrame.Angles(-math.rad(20), 0, math.rad(-41))
  8293. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.Angles(-math.rad(0), math.rad(0), math.rad(0))
  8294. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.05, 0.05, -0.04) * CFrame.Angles(-math.rad(30), math.rad(18), math.rad(-95))
  8295. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.Angles(math.rad(0), math.rad(-10), 0)
  8296. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.3, 0.2, -0.15) * CFrame.Angles(math.rad(-5), math.rad(-10), math.rad(2))
  8297. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0))
  8298. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.4, 0.2, -0.1) * CFrame.Angles(math.rad(-6), math.rad(-8), math.rad(40))
  8299. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(0))
  8300. end
  8301. keyframe[5] = function()
  8302. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0.3, 0, 0.12) * CFrame.Angles(math.rad(-8), math.rad(10.5), math.rad(-97))
  8303. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(0), 0, math.rad(70))
  8304. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.05, -0.2, -0.1) * CFrame.Angles(math.rad(-20), 0, math.rad(-37))
  8305. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.Angles(-math.rad(0), math.rad(60), math.rad(0))
  8306. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.5, 0.26, 0.3) * CFrame.Angles(math.rad(-120), math.rad(0), math.rad(-4))
  8307. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.Angles(math.rad(-4), math.rad(-90), 0)
  8308. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.75, 0.2, -1.4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10))
  8309. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(130), math.rad(0))
  8310. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.7, 0.16, -0.7) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-8))
  8311. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0))
  8312. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0))
  8313. end
  8314. keyframe[6] = function()
  8315. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.25) * CFrame.Angles(math.rad(18), math.rad(-8), math.rad(20))
  8316. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(10), math.rad(-3), math.rad(-20))
  8317. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, 0, 0.1) * CFrame.Angles(-math.rad(55), 0, math.rad(30))
  8318. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.Angles(-math.rad(0), math.rad(65), math.rad(0))
  8319. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.3, 0.1, 0.2) * CFrame.Angles(math.rad(-105), math.rad(0), math.rad(-16))
  8320. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.Angles(math.rad(-4), math.rad(-65), 0)
  8321. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.1, 0, -0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35))
  8322. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8323. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0.2, 0.16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15))
  8324. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8325. sGrip.C0 = GripC0 * CFrame.new(0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0))
  8326. end
  8327. keyframe[fr]()
  8328. 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
  8329. end,
  8330. Cancels = {"Stand"}
  8331. , Reference = "LHB"}
  8332. Animations.Antisleep = {Animation = function(fr)
  8333. local keyframe = {}
  8334. sresetWelds()
  8335. keyframe[0] = function()
  8336. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.25) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(-40))
  8337. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(35), math.rad(7), math.rad(28))
  8338. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0))
  8339. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8340. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.35, -0.15, -0.1) * CFrame.Angles(math.rad(-20), math.rad(30), math.rad(-60))
  8341. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-33), math.rad(-10))
  8342. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.25, 2.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-10))
  8343. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8344. end
  8345. keyframe[1] = function()
  8346. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -1, 0.3) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-70))
  8347. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(25), math.rad(7), math.rad(40))
  8348. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(-10))
  8349. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8350. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.2, -0.35, -0.1) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(20))
  8351. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-50), math.rad(-10))
  8352. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.6, 0.15, -0.5) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-5))
  8353. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(-2), math.rad(0))
  8354. end
  8355. keyframe[2] = function()
  8356. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -0.75, 0.2) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0))
  8357. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0))
  8358. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(80))
  8359. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8360. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.2, -0.35, -0.1) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(30))
  8361. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80))
  8362. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.5, 0.15, -0.3) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-15))
  8363. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8364. end
  8365. keyframe[3] = function()
  8366. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -1.5, 0.3) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20))
  8367. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-8))
  8368. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(-50))
  8369. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8370. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.2, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60))
  8371. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0))
  8372. sRightHip.C0 = sRightHip.C0 * CFrame.new(2.225, 0.25, -0.2) * CFrame.Angles(math.rad(0), math.rad(12), math.rad(95))
  8373. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.75, 0.15, -0.3) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(22))
  8374. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-6), math.rad(-2), math.rad(0))
  8375. end
  8376. keyframe[5] = function()
  8377. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(-0.1, -1.2, 0.3) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-70))
  8378. sNeck.C0 = sNeck.C0 * CFrame.Angles(math.rad(20), math.rad(7), math.rad(40))
  8379. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.2, -0.22, 0.1) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(5))
  8380. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8381. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.05, -0.35, -0.1) * CFrame.Angles(math.rad(-40), math.rad(10), math.rad(10))
  8382. sRightHip.C0 = sRightHip.C0 * CFrame.new(-0.1, 0.25, -0.2) * CFrame.Angles(math.rad(-7), math.rad(-50), math.rad(-10))
  8383. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-1.6, 0.15, -0.5) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(-5))
  8384. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(-2), math.rad(0))
  8385. end
  8386. keyframe[fr]()
  8387. 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
  8388. end,
  8389. Cancels = {"Stand"}
  8390. , Reference = "Antisleep"}
  8391. Animations.Stunned = {Animation = function(fr)
  8392. local keyframe = {}
  8393. sresetWelds()
  8394. keyframe[0] = function()
  8395. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -0.5) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  8396. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8397. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.5, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0))
  8398. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0.1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  8399. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.45, -0.25, 0.15) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0))
  8400. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0))
  8401. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(7), math.rad(0), math.rad(0))
  8402. sRightHip.C1 = sRightHip.C1 * CFrame.new(-0.4, 1, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(-90))
  8403. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(10))
  8404. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0.75, 0.33, 0.2) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(90))
  8405. sGrip.C0 = GripC0 * CFrame.new(-0.2, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(15), math.rad(0))
  8406. end
  8407. keyframe[fr]()
  8408. 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
  8409. end,
  8410. Cancels = {"Stand"}
  8411. , Reference = "Stunned"}
  8412. Animations.Staggered = {Animation = function(fr)
  8413. local keyframe = {}
  8414. sresetWelds()
  8415. keyframe[0] = function()
  8416. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, -1.7) * CFrame.Angles(math.rad(-40), math.rad(10), math.rad(0))
  8417. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8418. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0.05) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0))
  8419. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.25, -0.05, -0.25) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-40))
  8420. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0.1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8421. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0.15, -0.325, -0.25) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(35))
  8422. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8423. sRightHip.C0 = sRightHip.C0 * CFrame.new(0.35, -1.5, 0) * CFrame.Angles(math.rad(7), math.rad(0), math.rad(-2))
  8424. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(-90))
  8425. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(-0.9, -0.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-25))
  8426. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0))
  8427. sGrip.C0 = GripC0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2.5), math.rad(5), math.rad(0))
  8428. end
  8429. keyframe[fr]()
  8430. 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
  8431. end,
  8432. Cancels = {"Stand"}
  8433. , Reference = "Staggered"}
  8434. Animations.Equip = {Animation = function(fr)
  8435. local keyframe = {}
  8436. sresetWelds()
  8437. keyframe[0] = function()
  8438. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, -0.1, 0.2) * CFrame.Angles(math.rad(6), math.rad(0), math.rad(0))
  8439. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8440. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8441. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0))
  8442. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8443. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0))
  8444. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8445. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(0))
  8446. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8447. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(0))
  8448. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8449. sGrip.C0 = GripUNC0
  8450. end
  8451. keyframe[1] = function()
  8452. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0))
  8453. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8454. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0))
  8455. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.55, -0.6, 0.1) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(87))
  8456. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0))
  8457. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.55, -0.6, 0.1) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(-93))
  8458. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  8459. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-5), math.rad(0))
  8460. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8461. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(6), math.rad(0))
  8462. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8463. sGrip.C0 = GripUNC0
  8464. end
  8465. keyframe[2] = function()
  8466. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0.025, 0.2) * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0))
  8467. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8468. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(13), math.rad(0), math.rad(0))
  8469. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.55, -0.65, 0.1) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(85))
  8470. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-105), math.rad(0))
  8471. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.55, -0.65, 0.1) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(-90))
  8472. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(95), math.rad(0))
  8473. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-6), math.rad(0))
  8474. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8475. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(7), math.rad(0))
  8476. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8477. sGrip.C0 = GripUNC0
  8478. end
  8479. keyframe[3] = function()
  8480. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-2))
  8481. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8482. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0))
  8483. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0.55, -0.6, 0.1) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(40))
  8484. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-35), math.rad(0))
  8485. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(-0.25, -0.25, 0.1) * CFrame.Angles(math.rad(-10), math.rad(-30), math.rad(-40))
  8486. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0))
  8487. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(-6), math.rad(0))
  8488. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8489. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(7), math.rad(0))
  8490. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8491. sGrip.C0 = GripUNC0
  8492. end
  8493. keyframe[4] = function()
  8494. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-7))
  8495. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8496. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0))
  8497. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10))
  8498. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(85), math.rad(0))
  8499. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10))
  8500. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8501. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-4), math.rad(-16), math.rad(0))
  8502. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8503. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(9), math.rad(0))
  8504. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8505. sGrip.C0 = GripUNC0
  8506. end
  8507. keyframe[5] = function()
  8508. sRootJoint.C0 = sRootJoint.C0 * CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-7))
  8509. sRootJoint.C1 = sRootJoint.C1 * CFrame.new(0, 0, 0)
  8510. sNeck.C0 = sNeck.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0))
  8511. sRightShoulder.C0 = sRightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10))
  8512. sRightShoulder.C1 = sRightShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(85), math.rad(0))
  8513. sLeftShoulder.C0 = sLeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10))
  8514. sLeftShoulder.C1 = sLeftShoulder.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8515. sRightHip.C0 = sRightHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-4), math.rad(-16), math.rad(0))
  8516. sRightHip.C1 = sRightHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8517. sLeftHip.C0 = sLeftHip.C0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(-2), math.rad(9), math.rad(0))
  8518. sLeftHip.C1 = sLeftHip.C1 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  8519. sGrip.C0 = GripC0 * CFrame.new(0.15, 0, -0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-15), math.rad(-5), math.rad(5))
  8520. end
  8521. keyframe[fr]()
  8522. 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
  8523. end,
  8524. Cancels = {"Stand"}
  8525. , Reference = "Equip"}
  8526. coroutine.resume(coroutine.create(function()
  8527. local sus = 0
  8528. while true do
  8529. fwait(0.15)
  8530. if Ragemode --[[~=--]] == true and Corruption > 0 then
  8531. Corruption = Corruption - 1
  8532. sus = sus + 1
  8533. if sus == 5 then
  8534. sus = 0
  8535. for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position, 17.5)) do
  8536. applyDamage(v, 2, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false)
  8537. end
  8538. end
  8539. end
  8540. end
  8541. end))
  8542. coroutine.resume(coroutine.create(function()
  8543. while true do
  8544. fwait()
  8545. if Ragemode == false then
  8546. if vPlayer.Character:FindFirstChild("Armor") then
  8547. vGui.MeterFrame.CorruptionBar.Fill.BackgroundColor3 = Color3.fromRGB(0, 0, 127)
  8548. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BrickColor = BrickColor.new("Royal purple")
  8549. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BrickColor = BrickColor.new("Royal purple")
  8550. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 255, 255)
  8551. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 255, 255)
  8552. local abcdd = vPlayer.Character.Head:FindFirstChild("SpotLight")
  8553. if abcdd ~= nil then
  8554. abcdd.Color = Color3.fromRGB(198, 26, 255)
  8555. end
  8556. for _, m in pairs (vPlayer.Character:FindFirstChild("Weapon"):GetChildren()) do
  8557. if m:IsA("Part") and m.BrickColor == BrickColor.new("Really red") then
  8558. m.BrickColor = BrickColor.new("Royal purple")
  8559. end
  8560. end
  8561. for _, v in pairs (vPlayer.Character:FindFirstChild("Armor"):GetChildren()) do
  8562. for _, b in pairs(v:GetChildren()) do
  8563. if b:IsA("Part") and b.BrickColor == BrickColor.new("Really red") then
  8564. b.BrickColor = BrickColor.new("Royal purple")
  8565. end
  8566. end
  8567. end
  8568. end
  8569. elseif Ragemode == true then
  8570. if vPlayer.Character:FindFirstChild("Armor") then
  8571. vGui.MeterFrame.CorruptionBar.Fill.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
  8572. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BrickColor = BrickColor.new("Really red")
  8573. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BrickColor = BrickColor.new("Really red")
  8574. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeL.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 0, 0)
  8575. vPlayer.Character:FindFirstChild("Armor").Cloak.EyeR.BillboardGui.ImageLabel.ImageColor3 = Color3.fromRGB(255, 0, 0)
  8576. local abcde = vPlayer.Character.Head:FindFirstChild("SpotLight")
  8577. if abcde ~= nil then
  8578. abcde.Color = Color3.fromRGB(255, 0, 0)
  8579. end
  8580. for _, t in pairs (vPlayer.Character:FindFirstChild("Weapon"):GetChildren()) do
  8581. if t:IsA("Part") and t.BrickColor == BrickColor.new("Royal purple") then
  8582. t.BrickColor = BrickColor.new("Really red")
  8583. end
  8584. end
  8585. for _, v in pairs (vPlayer.Character:FindFirstChild("Armor"):GetChildren()) do
  8586. for _, b in pairs(v:GetChildren()) do
  8587. if b:IsA("Part") and b.BrickColor == BrickColor.new("Royal purple") then
  8588. b.BrickColor = BrickColor.new("Really red")
  8589. end
  8590. end
  8591. end
  8592. end
  8593. end
  8594. end
  8595. end))
  8596. coroutine.resume(coroutine.create(function()
  8597. getWelds(vPlayer.Character)
  8598. lastframe = {Animations.Stand.Animation(0)}
  8599. end))
  8600. vGui = nil
  8601. sus = 0
  8602. while 1 do
  8603. m.Text = sus
  8604. if vGui == nil then
  8605. vGui = script.WeaponGUI:clone()
  8606. vGui.Parent = vPlayer.PlayerGui
  8607. else
  8608. if vGui.Parent ~= nil then
  8609. vGui = script.WeaponGUI:clone()
  8610. vGui.Parent = vPlayer.PlayerGui
  8611. end
  8612. end
  8613. if vGui and vGui.Parent == vPlayer.PlayerGui then
  8614. break
  8615. end
  8616. sus = sus + 1
  8617. wait()
  8618. end
  8619. m.Text = "6"
  8620. wait(0.25)
  8621. m:Remove()
  8622. local el = 0
  8623. local reqel = 4
  8624. do
  8625. local sors = 0
  8626. while true do
  8627. if vPlayer.Character.Humanoid.Health <= 0 or vPlayer.Character == nil then
  8628. script:Destroy()
  8629. return
  8630. end
  8631. local w_ = fwait(frame * 2)
  8632. if PlayerIsAttacking == false and Equipping == false and Unequipping == false then
  8633. vPlayer.Character.Humanoid.WalkSpeed = 16 * playerstats.Movement.Value
  8634. end
  8635. if Ragemode and MaxStun == 80 then
  8636. RageDefBuff.Parent = playerstats.Decrease
  8637. MaxStun = 125
  8638. end
  8639. if MaxStun == 125 then
  8640. RageDmgBuff.Parent = nil
  8641. RageDefBuff.Parent = nil
  8642. RageMvmtBuff.Parent = nil
  8643. MaxStun = 80
  8644. if 80 <= playerstats.Stun.Value then
  8645. playerstats.Stun.Value = 79
  8646. end
  8647. end
  8648. if MaxStun <= playerstats.Stun.Value and Ult == false then
  8649. GetStunnedIdiot()
  8650. end
  8651. if playerstats.Stagger.Value == true and Ult == false and Stunned == false then
  8652. if Ragemode == false then
  8653. GetStaggeredIdiot()
  8654. else
  8655. playerstats.Stagger.Value = false
  8656. end
  8657. end
  8658. if el % 5 == 0 then
  8659. local pos = vPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 3, 0)
  8660. local foundstun = false
  8661. local targ = false
  8662. for _,v in pairs(GetNubsInRadius(pos, 6)) do
  8663. if v:FindFirstChild("Stats") and v.Stats:FindFirstChild("Stunned") and v:FindFirstChild("Torso") and v.Stats.Stunned.Value == true then
  8664. foundstun = true
  8665. if (v.Torso.Position - (pos + MousePlane() * 3)).magnitude <= 4.5 then
  8666. targ = true
  8667. end
  8668. break
  8669. end
  8670. end
  8671. if foundstun == true then
  8672. if targ == true then
  8673. vGui.MoveFrame.TextButton5.BackgroundColor3 = BrickColor.new("Cyan").Color
  8674. vGui.MoveFrame.TextButton5.TextColor3 = BrickColor.new("Institutional white").Color
  8675. else
  8676. vGui.MoveFrame.TextButton5.BackgroundColor3 = BrickColor.new("Bright red").Color
  8677. vGui.MoveFrame.TextButton5.TextColor3 = BrickColor.new("Institutional white").Color
  8678. end
  8679. else
  8680. vGui.MoveFrame.TextButton5.BackgroundColor3 = BrickColor.new("Dark stone grey").Color
  8681. vGui.MoveFrame.TextButton5.TextColor3 = BrickColor.new("Dark stone grey").Color
  8682. end
  8683. end
  8684. local cng = playerstats.Decrease:children()
  8685. local dmg = playerstats.Damage
  8686. local val = 0
  8687. for _,v in pairs(cng) do
  8688. if v.className == "NumberValue" and v.Name == "DecreaseAtk" then
  8689. if Ragemode == false then
  8690. val = val - v.Value
  8691. else
  8692. if v.Value < 0 then
  8693. val = val - v.Value
  8694. end
  8695. end
  8696. end
  8697. end
  8698. if val < -0.99 then
  8699. val = -0.99
  8700. end
  8701. dmg.Value = 1 + val
  8702. val = 0
  8703. dmg = playerstats.Defense
  8704. for _,v in pairs(cng) do
  8705. if v.className == "NumberValue" and v.Name == "DecreaseDef" then
  8706. if Ragemode == false then
  8707. val = val - v.Value
  8708. else
  8709. if v.Value < 0 then
  8710. val = val - v.Value
  8711. end
  8712. end
  8713. end
  8714. end
  8715. if val < -0.99 then
  8716. val = -0.99
  8717. end
  8718. dmg.Value = 1 + val
  8719. val = 0
  8720. dmg = playerstats.Movement
  8721. for _,v in pairs(cng) do
  8722. if v.className == "NumberValue" and v.Name == "DecreaseMvmt" then
  8723. if Ragemode == false then
  8724. val = val - v.Value
  8725. else
  8726. if v.Value < 0 then
  8727. val = val - v.Value
  8728. end
  8729. end
  8730. end
  8731. end
  8732. if val < -1 then
  8733. val = -1
  8734. end
  8735. dmg.Value = 1 + val
  8736. vGui.MeterFrame.ManaLabel.Text = "Mana (" .. Mana.Value .. ")"
  8737. vGui.MeterFrame.CorruptionLabel.Text = "Corruption (" .. Corruption .. ")"
  8738. vGui.MeterFrame.ManaBar.Fill.Size = UDim2.new(1, 0, Mana.Value / 150, 0)
  8739. vGui.MeterFrame.ManaBar.Fill.Position = UDim2.new(0, 0, 1 - Mana.Value / 150, 0)
  8740. vGui.MeterFrame.CorruptionBar.Fill.Size = UDim2.new(1, 0, Corruption / 100, 0)
  8741. vGui.MeterFrame.CorruptionBar.Fill.Position = UDim2.new(0, 0, 1 - Corruption / 100, 0)
  8742. vGui.StunFrame.Fill.Size = UDim2.new(0.4, 0, -playerstats.Stun.Value / MaxStun * 4, 0)
  8743. vGui.StunFrame.Fill.Position = UDim2.new(0.2, 0, 0, 0)
  8744. vGui.StunFrame.StunLabel.Text = "Stun (" .. math.floor(playerstats.Stun.Value / MaxStun * 100) .. "%)"
  8745. if playerstats.Stun.Value / MaxStun <= 0.33 then
  8746. vGui.StunFrame.Fill.BackgroundColor3 = BrickColor.new("Bright yellow").Color
  8747. else
  8748. if 0.33 < playerstats.Stun.Value / MaxStun and playerstats.Stun.Value / MaxStun <= 0.66 then
  8749. vGui.StunFrame.Fill.BackgroundColor3 = BrickColor.new("Bright orange").Color
  8750. else
  8751. vGui.StunFrame.Fill.BackgroundColor3 = BrickColor.new("Bright red").Color
  8752. end
  8753. end
  8754. if Ragemode == true and Corruption <= 15 then
  8755. vGui.MeterFrame.CorruptionBar.BackgroundColor3 = Color3.new(0.5 - Corruption / 30, 0.1, 0.1)
  8756. vGui.MeterFrame.CorruptionLabel.TextColor3 = Color3.new(1, Corruption / 15, Corruption / 15)
  8757. vGui.Overlay.BackgroundTransparency = 0.75 + Corruption / 30
  8758. else
  8759. vGui.MeterFrame.CorruptionBar.BackgroundColor3 = Color3.new(0, 0, 0)
  8760. vGui.MeterFrame.CorruptionLabel.TextColor3 = Color3.new(1, 1, 1)
  8761. vGui.Overlay.BackgroundTransparency = 1
  8762. end
  8763. el = el + 1
  8764. if el == reqel then
  8765. el = 0
  8766. GetNubs()
  8767. sors = sors + 1
  8768. if Mana.Value < 150 and Ult == false then
  8769. Mana.Value = Mana.Value + 1
  8770. end
  8771. if sors == 3 then
  8772. sors = 0
  8773. if Corruption <= 99 and Ragemode == false and Ult == false then
  8774. Corruption = Corruption + 1
  8775. end
  8776. if 0 < playerstats.Stun.Value then
  8777. playerstats.Stun.Value = playerstats.Stun.Value - 1
  8778. end
  8779. end
  8780. end
  8781. vGui.StatsFrame.Damage.Text = "Damage\n(" .. tostring(playerstats.Damage.Value * 100) .. "%)"
  8782. vGui.StatsFrame.Defense.Text = "Defence\n(" .. tostring(playerstats.Defense.Value * 100) .. "%)"
  8783. vGui.StatsFrame.Walkspeed.Text = "Movement\n(" .. tostring(playerstats.Movement.Value * 100) .. "%)"
  8784. vGui.StatsFrame.Health.Fill.BackgroundColor3 = Color3.new(vPlayer.Character.Humanoid.Health / vPlayer.Character.Humanoid.MaxHealth, 0, 0)
  8785. vGui.StatsFrame.Health.Fill:TweenSize((UDim2.new(vPlayer.Character.Humanoid.Health / vPlayer.Character.Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  8786. vGui.StatsFrame.Health.TextBox.Text = "(" .. math.floor(vPlayer.Character.Humanoid.Health) .. ")"
  8787. for _,v in pairs(Cooldowns) do
  8788. local sus = vGui.MoveFrame["TextButton" .. _]
  8789. if w_ < v then
  8790. Cooldowns[_] = Cooldowns[_] - w_
  8791. if tonumber(_) < 5 then
  8792. sus.BackgroundColor3 = Color3.new(0.4, 0.4, 0.4)
  8793. end
  8794. else
  8795. if tonumber(_) < 5 then
  8796. if 0 < Cooldowns[_] then
  8797. sus.BackgroundColor3 = Color3.new(0.6, 0.6, 1)
  8798. else
  8799. sus.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
  8800. end
  8801. end
  8802. Cooldowns[_] = 0
  8803. end
  8804. sus.TextLabel.Size = UDim2.new(v / CooldownsB[_], 0, 1, 0)
  8805. end
  8806. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out DO_STMT
  8807.  
  8808. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out DO_STMT
  8809.  
  8810. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out IF_THEN_STMT
  8811.  
  8812. -- DECOMPILER ERROR at PC2309: LeaveBlock: unexpected jumping out IF_STMT
  8813.  
  8814. end
  8815. if vGui.Parent == nil then
  8816. end
  8817. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement