AgentVK

KUNOMAI

Dec 14th, 2017
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 166.26 KB | None | 0 0
  1. --[[Script by shadowbudderpony.
  2. You've already taken Chaos away from me, making me want to remake it under a new name.
  3. Are you really going to take this too? If so, Jump off a building into a helicopters propellers rotating at a very high speed.
  4. ]]
  5. local ArtificialHB = Instance.new("BindableEvent", script)
  6. ArtificialHB.Name = "Heartbeat"
  7. script:WaitForChild("Heartbeat")
  8.  
  9. script.Name = "Kunomai" -- Yes, I am indeed calling it Kunomai now. Screw you for trying to say otherwise!1!!!1
  10. --Kunomai, the combination of the Japanese words "Kuno" and "Unmei". Kuno meaning "Anguish" and Unmei meaning "Fate".
  11. local Player = game:GetService("Players").LocalPlayer
  12. repeat wait() until Player
  13. local Character = Player.Character
  14. repeat wait() until Character
  15.  
  16. local Mouse = Player:GetMouse()
  17. local LeftArm = Character:WaitForChild("Left Arm")
  18. local RightArm = Character:WaitForChild("Right Arm")
  19. local LeftLeg = Character:WaitForChild("Left Leg")
  20. local RightLeg = Character:WaitForChild("Right Leg")
  21. local Head = Character:WaitForChild("Head")
  22. local Torso = Character:WaitForChild("Torso")
  23. local RootPart = Character:WaitForChild("HumanoidRootPart")
  24. local Humanoid = Character:WaitForChild("Humanoid")
  25. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  26. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  27. local LeftHip = Torso:WaitForChild("Left Hip")
  28. local RightHip = Torso:WaitForChild("Right Hip")
  29. local Neck = Torso:WaitForChild("Neck")
  30. local RootJoint = RootPart:WaitForChild("RootJoint")
  31. local Camera = workspace.CurrentCamera
  32. local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript")
  33. local Animate = Character:WaitForChild("Animate")
  34.  
  35. local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
  36. FLeftShoulder.Name = "LS" FRightShoulder.Name = "RS"
  37. local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
  38. FLeftHip.Name = "LH" FRightHip.Name = "RH"
  39. local FRootJoint = Instance.new("Weld", RootPart)
  40. FRootJoint.Name = "RJ"
  41.  
  42. local F1, F2, F3 = Instance.new("Folder", Character), Instance.new("Folder"), Instance.new("Folder")
  43. F1.Name = "Parts Folder" F2.Parent = F1 F2.Name = "Effects" F3.Parent = F1 F3.Name = "Extra Parts"
  44.  
  45. local Drag_To_Part = Instance.new("Part", F3)
  46. Drag_To_Part.Transparency = 1
  47. Drag_To_Part.Name = "Drag-to-part"
  48. Drag_To_Part.Size = Vector3.new(.2,.2,.2)
  49. Drag_To_Part.Anchored = false
  50. Drag_To_Part.CanCollide = false
  51. Drag_To_Part.Locked = true
  52. local DTPWeld = Instance.new("Weld", Drag_To_Part)
  53. DTPWeld.Part0 = RootPart
  54. DTPWeld.Part1 = Drag_To_Part
  55.  
  56. local retr = Instance.new("DoubleConstrainedValue")
  57. retr.MaxValue = 100
  58. retr.MinValue = 0
  59. retr.Value = 0
  60.  
  61. local WepWeld = nil
  62. local WepWeld2 = nil
  63.  
  64. local WepWeld3 = nil
  65. local SheWeld = nil
  66.  
  67. local NLSC0 = LeftShoulder.C0
  68. local NLSC1 = LeftShoulder.C1
  69. local NRSC0 = RightShoulder.C0
  70. local NRSC1 = RightShoulder.C1
  71. local NLHC0 = LeftHip.C0
  72. local NLHC1 = LeftHip.C1
  73. local NRHC0 = RightHip.C0
  74. local NRHC1 = RightHip.C1
  75. local NNC0 = Neck.C0
  76. local NNC1 = Neck.C1
  77. local NRJC0 = RootJoint.C0
  78. local NRJC1 = RootJoint.C1
  79.  
  80. local Handle, Hit_Box, Hit_Box2 = nil, nil, nil
  81. --local TEHandle, TESHandle, TEHit_Box, CEP = nil, nil, nil, nil
  82.  
  83. local chatServ = game:GetService("Chat")
  84. local runServ = game:GetService("RunService")
  85. local debServ = game:GetService("Debris")
  86.  
  87. local CurrentSpeed = {16, 0}
  88. local Current_Anim = "Idle"
  89. local Attack_Num = 1
  90. local Damage_Buff = 0
  91. local Max_Health = 150
  92. local Last_Health = Max_Health
  93. local DragTable = {}
  94. local InputCommand = ""
  95. local InputFrameTable = {}
  96. local EnemiesHit = {}
  97. local MCD = {Retrive = {16, 16},
  98. CondemningFlames = {13, 13}
  99. }
  100. local HitCount = {false, 0, 0, {5, 5}}
  101. local c1 = nil
  102. local c2 = nil
  103. local Target = nil
  104. local ViewDirection = 0
  105. local Mode = 1
  106. local Form = 0
  107. local viewMode = 0
  108. local sine = 0
  109. local change = 1
  110. local Debounces = {Equipped = false,
  111. Equipping = false,
  112. Attacking = false,
  113. Locked_On = false,
  114. Can_Double_Jump = false,
  115. AnimOverride = false,
  116. Guarding = false,
  117. Crouching = false,
  118. JumpAnim = false,
  119. DoubleJumpAnim = false,
  120. KeyStrokeEnabled = false,
  121. Successful_KeyStroke = false,
  122. KeyStroke_CoolDown = false,
  123. UIAction = false,
  124. ZeroGravity = false,
  125. DoubleJumping = false,
  126. Guarding = false,
  127. DisableJump = false,
  128. CanGuard = true,
  129. ProtectionEnabled = false
  130. }
  131. local MorphInfo = {false, true}
  132. local HitSounds = {
  133. Sharp = {
  134. Small = 153092296,
  135. MedL = 153092292,
  136. MedH = 153092285,
  137. Large = 153092274
  138. },
  139. Blunt = {
  140. Small = 153092249,
  141. Med = 153092238,
  142. LargeF = 153092227,
  143. LargeA = 153092217,
  144. Large = 153092213
  145. },
  146. Body = {
  147. Blood = 206082273
  148. }
  149. }
  150. local Overpower = 1
  151.  
  152. if game.CreatorId ~= 194173551 then
  153. Overpower = 100
  154. Debounces.ProtectionEnabled = true
  155. end
  156.  
  157. local GH = 100
  158. local GuardH = Instance.new("DoubleConstrainedValue")
  159. GuardH.MaxValue = GH*10
  160. GuardH.MinValue = 0
  161. GuardH.Value = GH*10
  162.  
  163. local rad = math.rad
  164. local huge = math.huge
  165. local rand = math.random
  166. local cos = math.cos
  167. local Vec = Vector3.new
  168. local Cf = CFrame.new
  169. local Euler = CFrame.fromEulerAnglesXYZ
  170. local BC = BrickColor.new
  171. local Col3 = Color3.new
  172. local Inst = Instance.new
  173. local Ud2 = UDim2.new
  174. local FONT = "SourceSansLight"
  175. local DecName = "BMMB"..Player.Name.."|"..rand(1, 10000)..""
  176.  
  177. local GodMode = true
  178. function godopthing()
  179. while true do
  180. swait()
  181. if GodMode and RootJoint.Parent ~= nil then
  182. Humanoid.MaxHealth = huge
  183. Humanoid.Health = huge
  184. Humanoid.MaxHealth = huge
  185. Humanoid.Health = huge
  186. end
  187. end
  188. end
  189. Humanoid.WalkSpeed = 100
  190. Humanoid.JumpPower = 80
  191.  
  192. local Colour1, Colour2, Colour3, Colour4, HColour = BC("Really red"), BC("Really black"), BC("Fawn brown"), BC("Smoky grey"), BC("Fossil")
  193.  
  194. local KU = script:WaitForChild("KunomaiUI")
  195. local Kunomai_UI = KU:Clone()
  196. debServ:AddItem(KU, 0)
  197. Kunomai_UI.Parent = Player.PlayerGui
  198.  
  199. local ColMain = Kunomai_UI:WaitForChild("MenuUI")
  200. local col1, col2, col3, col4, hCol = ColMain:WaitForChild("Col1"), ColMain:WaitForChild("Col2"), ColMain:WaitForChild("Col3"), ColMain:WaitForChild("Col4"), ColMain:WaitForChild("HCol")
  201. local Done = ColMain:WaitForChild("Done")
  202. local Clo = ColMain:WaitForChild("C")
  203. local Fem = ColMain:WaitForChild("F")
  204. local Mal = ColMain:WaitForChild("M")
  205. local StopPlz = ColMain:WaitForChild("NoManNo")
  206. local goob = Kunomai_UI:WaitForChild("goober")
  207. local db = Kunomai_UI:WaitForChild("DB")
  208. local HC = Kunomai_UI:WaitForChild("HC")
  209.  
  210. local KP = Kunomai_UI:WaitForChild("KeysPressed")
  211. local KPTemplate = KP:WaitForChild("Template")
  212.  
  213. local Moves = Kunomai_UI:WaitForChild("Moves")
  214. local Title = Moves:WaitForChild("Title")
  215. local OM = Kunomai_UI:WaitForChild("OpenM")
  216.  
  217. local hpbb = Kunomai_UI:WaitForChild("HPBB")
  218. local hpb = hpbb:WaitForChild("Bar")
  219. local hpdb = hpbb:WaitForChild("DBar")
  220.  
  221. local bbb = Kunomai_UI:WaitForChild("BBB")
  222. local bba = bbb:WaitForChild("Bar")
  223.  
  224. local RM = Kunomai_UI:WaitForChild("RM")
  225. local RMB = RM:WaitForChild("Bar")
  226. local RML = RM:WaitForChild("Label")
  227. local RMT = RM:WaitForChild("Tag")
  228.  
  229. local HCB = HC:WaitForChild("B")
  230. local HCBB = HCB:WaitForChild("Bar")
  231. local HCH = HC:WaitForChild("Hits")
  232. local HCTD = HC:WaitForChild("TDmg")
  233.  
  234. -------------------------------------------------------------------------------------------------------------------------------------------------------
  235. local Twep = script:WaitForChild("Tekitodos")
  236. --Tekitodos, a combination of the two words "Teki" and "Todos". Teki being japanese for "Adversary" and Todos being portuguese for "All". Naming meaning "Adversary of all."
  237. local Tekitodos = Twep:Clone()
  238. debServ:AddItem(Twep, 0)
  239.  
  240. local mMor, fMor = script:WaitForChild("Male"), script:WaitForChild("Female")
  241. local Morphs = {Male = mMor:Clone(), Female = fMor:Clone(), nil, nil}
  242. debServ:AddItem(mMor, 0)
  243. debServ:AddItem(fMor, 0)
  244.  
  245. local ObjVals
  246.  
  247. function CreateWeapon()
  248. Tekitodos.Parent = F2
  249. local welder = Tekitodos:WaitForChild("Welder")
  250. welder.Disabled = false
  251. repeat wait() until welder.Parent == nil
  252. for _, p in pairs(Tekitodos:GetChildren()) do
  253. if p:IsA("BasePart") then
  254. if p.Name == "C1" then
  255. p.BrickColor = BC(Colour1)
  256. elseif p.Name == "C2" then
  257. p.BrickColor = BC(Colour2)
  258. elseif p.Name == "C3" then
  259. p.BrickColor = BC(Colour3)
  260. elseif p.Name == "C4" then
  261. p.BrickColor = BC(Colour4)
  262. end
  263. end
  264. end
  265. if MorphInfo[1] then
  266. if MorphInfo[2] then
  267. local weldr = Morphs.Male:WaitForChild("Welder")
  268. weldr.Disabled = false
  269. Morphs.Male.Parent = F2
  270. repeat wait() until weldr.Parent == nil
  271. for _, p in pairs(Morphs.Male:GetChildren()) do
  272. if p:IsA("BasePart") then
  273. if p.Name == "C1" then
  274. p.BrickColor = BC(Colour1)
  275. elseif p.Name == "C2" then
  276. p.BrickColor = BC(Colour2)
  277. elseif p.Name == "C3" then
  278. p.BrickColor = BC(Colour3)
  279. elseif p.Name == "C4" then
  280. p.BrickColor = BC(Colour4)
  281. elseif p.Name == "Skin" then
  282. p.BrickColor = Head.BrickColor
  283. elseif p.Name == "Hair" then
  284. p.BrickColor = BC(HColour)
  285. end
  286. end
  287. end
  288. Morphs[3] = Morphs.Male
  289. local ov = Morphs[3]:WaitForChild("ObjectValues")
  290. local function weldK(p, p2)
  291. local newWeld = Inst("Weld", p)
  292. newWeld.Part0 = p
  293. newWeld.Part1 = p2
  294. return newWeld
  295. end
  296. local wel = weldK(Head, ov:WaitForChild("Hed").Value)
  297. local wel2 = weldK(RightArm, ov:WaitForChild("Rarm").Value)
  298. local wel3 = weldK(RightLeg, ov:WaitForChild("Rleg").Value)
  299. local wel4 = weldK(LeftArm, ov:WaitForChild("Larm").Value)
  300. local wel5 = weldK(LeftLeg, ov:WaitForChild("Lleg").Value)
  301. local wel6 = weldK(Torso, ov:WaitForChild("Tor").Value)
  302. table.insert(Morphs, {{wel, wel.Part0, wel.Part1}, {wel2, wel2.Part0, wel2.Part1}, {wel3, wel3.Part0, wel3.Part1}, {wel4, wel4.Part0, wel4.Part1}, {wel5, wel5.Part0, wel5.Part1}, {wel6, wel6.Part0, wel6.Part1}})
  303. Morphs[4] = ov:WaitForChild("M").Value
  304. for _, i in pairs(Character:GetChildren()) do
  305. if i:IsA("BasePart") then
  306. if i ~= Head then
  307. i.Transparency = 1
  308. end
  309. end
  310. if i:IsA("Accessory") then
  311. debServ:AddItem(i, 0)
  312. end
  313. end
  314. debServ:AddItem(ov, 0)
  315. else
  316. local weldr = Morphs.Female:WaitForChild("Welder")
  317. weldr.Disabled = false
  318. Morphs.Female.Parent = F2
  319. repeat wait() until weldr.Parent == nil
  320. for _, p in pairs(Morphs.Female:GetChildren()) do
  321. if p:IsA("BasePart") then
  322. if p.Name == "C1" then
  323. p.BrickColor = BC(Colour1)
  324. elseif p.Name == "C2" then
  325. p.BrickColor = BC(Colour2)
  326. elseif p.Name == "C3" then
  327. p.BrickColor = BC(Colour3)
  328. elseif p.Name == "C4" then
  329. p.BrickColor = BC(Colour4)
  330. elseif p.Name == "Skin" then
  331. p.BrickColor = Head.BrickColor
  332. elseif p.Name == "Hair" then
  333. p.BrickColor = BC(HColour)
  334. end
  335. end
  336. end
  337. Morphs[3] = Morphs.Female
  338. local ov = Morphs[3]:WaitForChild("ObjectValues")
  339. local function weldK(p, p2)
  340. local newWeld = Inst("Weld", p)
  341. newWeld.Part0 = p
  342. newWeld.Part1 = p2
  343. return newWeld
  344. end
  345. local wel = weldK(Head, ov:WaitForChild("Hed").Value)
  346. local wel2 = weldK(RightArm, ov:WaitForChild("Rarm").Value)
  347. local wel3 = weldK(RightLeg, ov:WaitForChild("Rleg").Value)
  348. local wel4 = weldK(LeftArm, ov:WaitForChild("Larm").Value)
  349. local wel5 = weldK(LeftLeg, ov:WaitForChild("Lleg").Value)
  350. local wel6 = weldK(Torso, ov:WaitForChild("Tor").Value)
  351. table.insert(Morphs, {{wel, wel.Part0, wel.Part1}, {wel2, wel2.Part0, wel2.Part1}, {wel3, wel3.Part0, wel3.Part1}, {wel4, wel4.Part0, wel4.Part1}, {wel5, wel5.Part0, wel5.Part1}, {wel6, wel6.Part0, wel6.Part1}})
  352. Morphs[4] = ov:WaitForChild("M").Value
  353. for _, i in pairs(Character:GetChildren()) do
  354. if i:IsA("BasePart") then
  355. if i ~= Head then
  356. i.Transparency = 1
  357. end
  358. end
  359. if i:IsA("Accessory") then
  360. debServ:AddItem(i, 0)
  361. end
  362. end
  363. debServ:AddItem(ov, 0)
  364. end
  365. end
  366. local OV = Tekitodos:WaitForChild("ObjectValues")
  367. Handle = OV:WaitForChild("Handle").Value
  368. Hit_Box = OV:WaitForChild("Hitbox1").Value
  369. Hit_Box2 = OV:WaitForChild("Hitbox2").Value
  370. ObjVals = {
  371. Awakened = false,
  372. M1 = OV:WaitForChild("M1").Value,
  373. M2 = OV:WaitForChild("M2").Value,
  374. Eye1 = {
  375. Eye = OV:WaitForChild("EY1").Value,
  376. Mesh = OV:WaitForChild("EY1"):WaitForChild("Mesh").Value,
  377. Weld = OV:WaitForChild("EY1"):WaitForChild("Weld").Value,
  378. EyeBall = OV:WaitForChild("EB1").Value,
  379. EBMesh = OV:WaitForChild("EB1"):WaitForChild("Mesh").Value,
  380. },
  381. Eye2 = {
  382. Eye = OV:WaitForChild("EY2").Value,
  383. Mesh = OV:WaitForChild("EY2"):WaitForChild("Mesh").Value,
  384. Weld = OV:WaitForChild("EY2"):WaitForChild("Weld").Value,
  385. EyeBall = OV:WaitForChild("EB2").Value,
  386. EBMesh = OV:WaitForChild("EB2"):WaitForChild("Mesh").Value
  387. }
  388. }
  389. debServ:AddItem(OV, 0)
  390. Handle.Anchored = true
  391. end
  392.  
  393. Clo.MouseButton1Click:connect(function()
  394. if not Debounces.UIAction then
  395. Debounces.UIAction = true
  396. MorphInfo[1] = not MorphInfo[1]
  397. if MorphInfo[1] then
  398. Clo.BackgroundColor3 = Col3(0, 170/255, 0)
  399. else
  400. Clo.BackgroundColor3 = Col3(40/255, 40/255, 40/255)
  401. end
  402. wait(.3)
  403. Debounces.UIAction = false
  404. end
  405. end)
  406.  
  407. Fem.MouseButton1Click:connect(function()
  408. if not Debounces.UIAction then
  409. Debounces.UIAction = true
  410. MorphInfo[2] = false
  411. Clo.TextColor3 = Col3(1, 0, 1)
  412. MorphInfo[1] = true
  413. Clo.BackgroundColor3 = Col3(0, 170/255, 0)
  414. wait(.3)
  415. Debounces.UIAction = false
  416. end
  417. end)
  418.  
  419. Mal.MouseButton1Click:connect(function()
  420. if not Debounces.UIAction then
  421. Debounces.UIAction = true
  422. MorphInfo[2] = true
  423. Clo.TextColor3 = Col3(0, 0, 1)
  424. MorphInfo[1] = true
  425. Clo.BackgroundColor3 = Col3(0, 170/255, 0)
  426. wait(.3)
  427. Debounces.UIAction = false
  428. end
  429. end)
  430.  
  431. StopPlz.MouseButton1Click:connect(function()
  432. if not Debounces.UIAction then
  433. Debounces.UIAction = true
  434. goob.Text = "STOP!"
  435. wait(.1)
  436. goob.Text = "plz move ur mouse away from dat u g00br"
  437. Debounces.UIAction = false
  438. end
  439. end)
  440.  
  441. StopPlz.MouseEnter:connect(function()
  442. goob.Visible = true
  443. end)
  444. StopPlz.MouseLeave:connect(function()
  445. goob.Visible = false
  446. end)
  447.  
  448. local d = false
  449. Done.MouseButton1Click:connect(function()
  450. if not d then
  451. d = true
  452. Colour1 = col1:WaitForChild("Colour").Text
  453. Colour2 = col2:WaitForChild("Colour").Text
  454. Colour3 = col3:WaitForChild("Colour").Text
  455. Colour4 = col4:WaitForChild("Colour").Text
  456. HColour = hCol:WaitForChild("Colour").Text
  457. RMB.BackgroundColor3 = BC(Colour1).Color
  458. RMT.TextColor3 = BC(Colour1).Color
  459. debServ:AddItem(ColMain, 0)
  460. OM.Visible = true
  461. goob.Visible = false
  462. CreateWeapon()
  463. GodMode = false
  464. Handle.Anchored = false
  465. WepWeld = Inst("Motor", Handle)
  466. WepWeld.Name = "Handle Joint"
  467. WepWeld.Part0 = Torso
  468. WepWeld.Part1 = Handle
  469. WepWeld.C0 = Cf(1.5,-1,.6) * Euler(rad(-90),rad(0),rad(90))
  470. Humanoid.MaxHealth = Max_Health
  471. wait(.1)
  472. Humanoid.Health = Max_Health
  473. end
  474. end)
  475.  
  476. --Remember, keystrokes are keypad notations. (3D: x is weak, e is medium, c is strong, and q is drive.)
  477. function Create_Moves_In_List()
  478. local ah = .014
  479. local am = .014
  480. local move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "[ - Enable/Disable Protection" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  481. move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "] - Enable/Disable Overpowered Moves (In Forms)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  482. move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "P - Enable/Disable Keystrokes" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  483. move = Title:Clone() move.Parent = Moves move.Name = "Title" move.Text = "-Tekitodos Equipped-" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  484. move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "Z - Blossoming Doom (Costs 15 Retribution | Delayable)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  485. move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "X - Retrive (Costs 10 Retribution)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  486. move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "|> ASDASDSDQ - Tare (During Retrive | Costs 55 Retribution)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  487. move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "V - Devour (Costs 60 Retribution | Delayable)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  488. move = Title:Clone() move.Parent = Moves move.Name = "Title" move.Text = "-Tekitodos Unequipped-" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  489.  
  490. move = Title:Clone() move.Parent = Moves move.Name = "Spacer" move.Text = "----------------------------------------------------------" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  491. move = Title:Clone() move.Parent = Moves move.Name = "Title" move.Text = "3D KeyStrokes" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  492. move = Title:Clone() move.Parent = Moves move.Name = "Title" move.Text = "-Tekitodos Equipped-" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  493. move = Title:Clone() move.Parent = Moves move.Name = "Move" move.Text = "SDASDQ - Condemning Flames (Costs 35 Retribution)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
  494. move = Title:Clone() move.Parent = Moves move.Name = "Title" move.Text = "-Tekitodos Unequipped-" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  495.  
  496. move = Title:Clone() move.Parent = Moves move.Name = "Spacer" move.Text = "----------------------------------------------------------" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  497. move = Title:Clone() move.Parent = Moves move.Name = "Title" move.Text = "2D KeyStrokes" move.Position = Ud2(0, 0, ah, 0) ah = ah+am
  498. end
  499. Create_Moves_In_List()
  500.  
  501. local mopen = false
  502. OM.MouseButton1Click:connect(function()
  503. if not Debounces.UIAction and not mopen then
  504. Debounces.UIAction = true
  505. OM.Text = "Hide Move List"
  506. mopen = true
  507. Moves:TweenPosition(Ud2(.75, 0, .49, 0),_, "Bounce", .6, true)
  508. OM:TweenPosition(Ud2(.6, 0, .92, 0),_, "Bounce", .6, true)
  509. wait(.3)
  510. Debounces.UIAction = false
  511. elseif not Debounces.UIAction and mopen then
  512. Debounces.UIAction = true
  513. OM.Text = "View Move List"
  514. mopen = false
  515. Moves:TweenPosition(Ud2(1, 0, .49, 0),_, "Bounce", .6, true)
  516. OM:TweenPosition(Ud2(.85, 0, .92, 0),_, "Bounce", .6, true)
  517. wait(.3)
  518. Debounces.UIAction = false
  519. end
  520. end)
  521.  
  522. function CreatePart(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Size, Position, Rotation, MeshClass, MeshScale, MeshId, MeshType)
  523. local Part = Instance.new(className, parent)
  524. Part.BrickColor = BrickColor.new(Brickcolor)
  525. Part.Transparency = Transparency
  526. Part.Reflectance = Reflectance
  527. Part.Material = Material
  528. Part.Name = Name
  529. Part.Anchored = true
  530. Part.CanCollide = false
  531. Part.Locked = true
  532. Part.Size = Size
  533. Part.Position = Position
  534. Part.Rotation = Rotation
  535. Part.TopSurface = "SmoothNoOutlines"
  536. Part.BottomSurface = "SmoothNoOutlines"
  537. Part.FrontSurface = "SmoothNoOutlines"
  538. Part.BackSurface = "SmoothNoOutlines"
  539. Part.RightSurface = "SmoothNoOutlines"
  540. Part.LeftSurface = "SmoothNoOutlines"
  541. local Mesh = Instance.new(MeshClass, Part)
  542. Mesh.Scale = MeshScale
  543. if MeshClass == "SpecialMesh" then
  544. Mesh.MeshId = MeshId
  545. Mesh.MeshType = MeshType
  546. end
  547. return Part, Mesh
  548. end
  549.  
  550. local Holder = CreatePart("Part", F3, "Bright blue", "SmoothPlastic", 1, 0, "GripPart", Vec(0.6, .2, 0.6), Vec(.7, 1, -272.2), Vec(0, 90, 0), "BlockMesh", Vec(1, 1, 1), _, _)
  551. Holder.Anchored = false
  552. local HWeld = Inst("Motor6D", RightArm)
  553. HWeld.Name = "Grip Joint"
  554. HWeld.Part0 = RightArm
  555. HWeld.Part1 = Holder
  556. HWeld.C0 = Cf(0, -1, 0)
  557.  
  558. local Holder2 = CreatePart("Part", F3, "Bright red", "SmoothPlastic", 1, 0, "GripPart", Vec(0.6, .2, 0.6), Vec(.7, 1, -272.2), Vec(0, 90, 0), "BlockMesh", Vec(1, 1, 1), _, _)
  559. Holder2.Anchored = false
  560. local HWeld2 = Inst("Motor6D", LeftArm)
  561. HWeld2.Name = "Grip Joint"
  562. HWeld2.Part0 = LeftArm
  563. HWeld2.Part1 = Holder2
  564. HWeld2.C0 = Cf(0, -1, 0)
  565.  
  566. local FrameRate = 1 / 30
  567. local TimeFrame = 0
  568. local allowframeloss = false
  569. local tossremainder = false
  570. local lastframe = tick()
  571. ArtificialHB:Fire()
  572.  
  573. runServ.Heartbeat:connect(function(s, p)
  574. TimeFrame = TimeFrame + s
  575. if TimeFrame >= FrameRate then
  576. if allowframeloss then
  577. ArtificialHB:Fire()
  578. lastframe = tick()
  579. else
  580. for i = 1, math.floor(TimeFrame / FrameRate) do
  581. ArtificialHB:Fire()
  582. end
  583. lastframe = tick()
  584. end
  585. if tossremainder then
  586. TimeFrame = 0
  587. else
  588. TimeFrame = TimeFrame - FrameRate * math.floor(TimeFrame / FrameRate)
  589. end
  590. end
  591. end)
  592.  
  593. function swait(num)
  594. if num == 0 or num == nil then
  595. ArtificialHB.Event:wait()
  596. else
  597. for i = 0, num do
  598. ArtificialHB.Event:wait()
  599. end
  600. end
  601. end
  602.  
  603. coroutine.resume(coroutine.create(function()
  604. godopthing()
  605. end))
  606.  
  607. local DED = false
  608. Humanoid.Changed:connect(function()
  609. if Humanoid.Health < .01 or Humanoid.Parent == nil then
  610. wait()
  611. if (Humanoid.Health == 0 and not DED) or (Humanoid.Parent == nil and not DED) then
  612. print("ded")
  613. DED = true
  614. Tekitodos.Parent = workspace
  615. if Hit_Box and Hit_Box2 then
  616. Hit_Box.CanCollide = true
  617. Hit_Box2.CanCollide = true
  618. end
  619. debServ:AddItem(Tekitodos, 36)
  620. end
  621. end
  622. if Humanoid.Jump then
  623. if Debounces.DisableJump then
  624. Humanoid.Jump = false
  625. end
  626. end
  627. end)
  628.  
  629. Player.CharacterRemoving:connect(function()
  630. if not DED then
  631. print("ur just gone fam")
  632. DED = true
  633. Tekitodos.Parent = workspace
  634. if Hit_Box and Hit_Box2 then
  635. Hit_Box.CanCollide = true
  636. Hit_Box2.CanCollide = true
  637. end
  638. debServ:AddItem(Tekitodos, 36)
  639. end
  640. end)
  641. Character.Changed:connect(function()
  642. if Character.Parent == nil then
  643. if not DED then
  644. print("ur just gone fam")
  645. DED = true
  646. Tekitodos.Parent = workspace
  647. if Hit_Box and Hit_Box2 then
  648. Hit_Box.CanCollide = true
  649. Hit_Box2.CanCollide = true
  650. end
  651. debServ:AddItem(Tekitodos, 36)
  652. end
  653. end
  654. end)
  655. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  656. LeftLeg.CustomPhysicalProperties = PhysicalProperties.new(.7, .1, .5, 1.25, 1)
  657. RightLeg.CustomPhysicalProperties = PhysicalProperties.new(.7, .1, .5, 1.25, 1)
  658.  
  659. repeat
  660. runServ.Stepped:wait()
  661. until Handle and Hit_Box and Hit_Box2
  662. print("Handle and Hitbox created")
  663.  
  664.  
  665. local maxAng = Instance.new("DoubleConstrainedValue")
  666. maxAng.MaxValue = 300
  667. maxAng.MinValue = 10
  668. maxAng.Value = 10
  669. if MorphInfo[1] then
  670. coroutine.resume(coroutine.create(function()
  671. while true do
  672. swait()
  673. maxAng.Value = RootPart.Velocity.Magnitude
  674. Morphs[4].DesiredAngle = -rad(maxAng.Value)
  675. Morphs[4].MaxVelocity = rad(5)
  676. end
  677. end))
  678. end
  679. -------------------------------------------------------------------------------------------------------------------------------------------------------
  680.  
  681. function Protector(object)
  682. if object:IsA("BasePart") or object:IsA("BodyMover") or object:IsA("JointInstance") or object:IsA("Light") then
  683. game:GetService("RunService").Stepped:wait()
  684. if object.Name ~= DecName and Debounces.ProtectionEnabled then
  685. debServ:AddItem(object, 0)
  686. if object:IsA("BodyMover") then
  687. RootPart.Velocity = Vec(0,0,0)
  688. --just in case m8
  689. coroutine.resume(coroutine.create(function()
  690. game:GetService("RunService").Stepped:wait()
  691. RootPart.Velocity = Vec(0,0,0)
  692. end))
  693. --extra protection fam
  694. end
  695. end
  696. end
  697. end
  698.  
  699. function Momentum_Cancel(partfam)
  700. if partfam ~= nil and Debounces.ProtectionEnabled then
  701. local function MC()
  702. if partfam.Velocity.Magnitude > (Humanoid.WalkSpeed+50) and not Debounces.Attacking and not Debounces.DoubleJumping then
  703. local stopper = Inst("BodyVelocity", partfam)
  704. stopper.Name = DecName
  705. stopper.MaxForce = Vec(huge, huge, huge)
  706. stopper.Velocity = Vec(1, 1, 1)
  707. debServ:AddItem(stopper, .05)
  708. end
  709. if partfam.Anchored then
  710. partfam.Anchored = false
  711. end
  712. end
  713. partfam.Changed:connect(MC)
  714. end
  715. end
  716.  
  717. for _, child in pairs(Character:GetChildren()) do
  718. if child:IsA("BasePart") then
  719. child.ChildAdded:connect(Protector)
  720. child.DescendantAdded:connect(Protector)
  721. Momentum_Cancel(child)
  722. end
  723. end
  724. for _, child in pairs(Tekitodos:GetChildren()) do
  725. if child:IsA("BasePart") then
  726. child.ChildAdded:connect(Protector)
  727. child.DescendantAdded:connect(Protector)
  728. end
  729. end
  730.  
  731. function MakeText(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame)
  732. local tpart = Instance.new("Part")
  733. tpart.Parent = F2
  734. tpart.Transparency = 1
  735. tpart.Name = "hoi hoi"
  736. tpart.Anchored = true
  737. tpart.CanCollide = false
  738. tpart.Locked = true
  739. tpart.Size = Vector3.new(.2,.2,.2)
  740. tpart.CFrame = cFrame*CFrame.new(math.random(-2,2),0,math.random(-2,2))
  741. local bill = Instance.new("BillboardGui")
  742. bill.Parent = tpart
  743. bill.AlwaysOnTop = true
  744. bill.Name = "HUHHHHHNAAAA"
  745. bill.Size = UDim2.new(6, 0, 3, 0)
  746. bill.StudsOffset = Vector3.new(0, 1, 0)
  747. local counter = 0
  748. local textl = Instance.new("TextLabel")
  749. textl.Parent = bill
  750. textl.Name = "WHYYYYYYYY"
  751. textl.BackgroundTransparency = 1
  752. textl.Size = UDim2.new(1, 0, 1, 0)
  753. textl.Font = font
  754. textl.Text = text
  755. textl.TextColor3 = Color3.new(tcr/255, tcg/255, tcb/255)
  756. textl.TextScaled = true
  757. textl.TextStrokeColor3 = Color3.new(scr/255, scg/255, scb/255)
  758. textl.TextStrokeTransparency = 0
  759. coroutine.resume(coroutine.create(function()
  760. while textl.TextTransparency < 1 do
  761. swait()
  762. if bill.StudsOffset.Y >= 5 then
  763. if counter >= duration then
  764. textl.TextTransparency = textl.TextTransparency+.15
  765. textl.TextStrokeTransparency = textl.TextStrokeTransparency+.15
  766. else
  767. counter = counter+.1
  768. end
  769. else
  770. bill.StudsOffset = Vec(0, bill.StudsOffset.Y+.15, 0)
  771. end
  772. end
  773. debServ:AddItem(bill, 0)
  774. debServ:AddItem(textl, 0)
  775. debServ:AddItem(tpart, 0)
  776. end))
  777. end
  778.  
  779. function Apply_Buff(amount, duration)
  780. coroutine.resume(coroutine.create(function()
  781. if amount > 0 and duration > 0 then
  782. Damage_Buff = Damage_Buff+amount
  783. MakeText("+"..amount.." Damage", FONT, .3, 170, 170, 170, 0, 0, 0, RootPart.CFrame)
  784. swait(duration/FrameRate)
  785. Damage_Buff = Damage_Buff-amount
  786. MakeText("-"..amount.." Damage", FONT, .3, 170, 170, 170, 0, 0, 0, RootPart.CFrame)
  787. elseif duration == 0 then
  788. Damage_Buff = Damage_Buff+amount
  789. MakeText("+"..amount.." Damage", FONT, .3, 170, 170, 170, 0, 0, 0, RootPart.CFrame)
  790. end
  791. end))
  792. end
  793.  
  794. coroutine.resume(coroutine.create(function()
  795. while true do
  796. wait(2)
  797. if Damage_Buff < 1 then
  798. Damage_Buff = 1
  799. end
  800. end
  801. end))
  802.  
  803. function clerp(a,b,t)
  804. local qa = {QuaternionFromCFrame(a)}
  805. local qb = {QuaternionFromCFrame(b)}
  806. local ax, ay, az = a.x, a.y, a.z
  807. local bx, by, bz = b.x, b.y, b.z
  808. local _t = 1-t
  809. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  810. end
  811.  
  812. function QuaternionFromCFrame(cf)
  813. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  814. local trace = m00 + m11 + m22
  815. if trace > 0 then
  816. local s = math.sqrt(1 + trace)
  817. local recip = 0.5/s
  818. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  819. else
  820. local i = 0
  821. if m11 > m00 then
  822. i = 1
  823. end
  824. if m22 > (i == 0 and m00 or m11) then
  825. i = 2
  826. end
  827. if i == 0 then
  828. local s = math.sqrt(m00-m11-m22+1)
  829. local recip = 0.5/s
  830. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  831. elseif i == 1 then
  832. local s = math.sqrt(m11-m22-m00+1)
  833. local recip = 0.5/s
  834. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  835. elseif i == 2 then
  836. local s = math.sqrt(m22-m00-m11+1)
  837. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  838. end
  839. end
  840. end
  841.  
  842. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  843. local xs, ys, zs = x + x, y + y, z + z
  844. local wx, wy, wz = w*xs, w*ys, w*zs
  845. local xx = x*xs
  846. local xy = x*ys
  847. local xz = x*zs
  848. local yy = y*ys
  849. local yz = y*zs
  850. local zz = z*zs
  851. 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))
  852. end
  853.  
  854. function QuaternionSlerp(a, b, t)
  855. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  856. local startInterp, finishInterp;
  857. if cosTheta >= 0.0001 then
  858. if (1 - cosTheta) > 0.0001 then
  859. local theta = math.acos(cosTheta)
  860. local invSinTheta = 1/math.sin(theta)
  861. startInterp = math.sin((1-t)*theta)*invSinTheta
  862. finishInterp = math.sin(t*theta)*invSinTheta
  863. else
  864. startInterp = 1-t
  865. finishInterp = t
  866. end
  867. else
  868. if (1+cosTheta) > 0.0001 then
  869. local theta = math.acos(-cosTheta)
  870. local invSinTheta = 1/math.sin(theta)
  871. startInterp = math.sin((t-1)*theta)*invSinTheta
  872. finishInterp = math.sin(t*theta)*invSinTheta
  873. else
  874. startInterp = t-1
  875. finishInterp = t
  876. end
  877. end
  878. 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
  879. end
  880.  
  881. function FindHum(parent)
  882. local hm = nil
  883. for _, HM in pairs(parent:GetChildren()) do
  884. if HM:IsA("Humanoid") then
  885. hm = HM
  886. end
  887. end
  888. return hm
  889. end
  890.  
  891. function Sound(parent, ID, Volume, Pitch, Looped)
  892. local sound = Inst("Sound", parent)
  893. sound.SoundId = "http://roblox.com/asset/?id="..ID
  894. sound.Volume = Volume
  895. sound.Pitch = Pitch
  896. sound.Looped = Looped
  897. sound:Play()
  898. return sound
  899. end
  900.  
  901. local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, LF, LFD, Comp, DamType, HitEffect, Property, Duration, HDrag, DragDuration, SoEff, SoID, SoPit, SoVol)
  902. local humanoid = FindHum(Hit.Parent)
  903. if humanoid and humanoid ~= Humanoid then
  904. local IsSafe = true
  905. for _, p in pairs(EnemiesHit) do
  906. if p[1] == humanoid then
  907. if p[2] then
  908. IsSafe = false
  909. end
  910. end
  911. end
  912. if IsSafe then
  913. if HitEffect == "None" then
  914. elseif HitEffect == "Sphere" then
  915. MagicSphere(Colour1, "Neon", Hit.CFrame, Hit.Size.Magnitude, Hit.Size.Magnitude, Hit.Size.Magnitude, Hit.Size.Magnitude*1.1, Hit.Size.Magnitude*1.1, Hit.Size.Magnitude*1.1, .1)
  916. elseif HitEffect == "Blood" then
  917. for i = 0, rand(6,10), 1 do
  918. MagicSphere4(Colour1, "Neon", Hit.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 1, 20, 1, .1, 0, .4, 0)
  919. end
  920. elseif HitEffect == "L-Blood" then
  921. for i = 0, rand(6,10), 1 do
  922. MagicSphere4(Colour1, "Neon", Hit.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 1, 40, 1, .1, 0, .4, 0)
  923. end
  924. elseif HitEffect == "B-Blood" then
  925. MagicSphere(Colour1, "Neon", Hit.CFrame, 2, 2, 2, 4, 4, 4, .1)
  926. for i = 0, rand(6,10), 1 do
  927. MagicSphere4(Colour1, "Neon", Hit.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 1, 20, 1, .1, 0, .4, 0)
  928. end
  929. elseif HitEffect == "Slashed" then
  930. local r = {rand(-120, 120), rand(-120, 120), rand(-120, 120)}
  931. MagicSphere(Colour1, "Neon", Hit.CFrame * Euler(rad(r[1]), rad(r[2]), rad(r[3])) , 1, 1, 20, -.05, -.05, 10, .03)
  932. MagicSphere(Colour2, "SmoothPlastic", Hit.CFrame * Euler(rad(r[1]), rad(r[2]), rad(r[3])) , 1.4, 1.4, 25, -.05, -.05, 10, .03)
  933. elseif HitEffect == "M-Slashed" then
  934. for i = 0, rand(6,12) do
  935. local r = {rand(-120, 120), rand(-120, 120), rand(-120, 120)}
  936. MagicSphere(Colour1, "Neon", Hit.CFrame * Euler(rad(r[1]), rad(r[2]), rad(r[3])) , 1, 1, 20, -.05, -.05, 10, .03)
  937. MagicSphere(Colour2, "SmoothPlastic", Hit.CFrame * Euler(rad(r[1]), rad(r[2]), rad(r[3])) , 1.4, 1.4, 25, -.05, -.05, 10, .03)
  938. end
  939. end
  940. local enemy = nil
  941. for i, p in pairs(EnemiesHit) do
  942. if p[1] == humanoid then
  943. enemy = p
  944. enemy[2] = true
  945. table.insert(enemy, i)
  946. end
  947. end
  948. if enemy == nil then
  949. table.insert(EnemiesHit, {humanoid, true, DamType, #EnemiesHit+1})
  950. enemy = EnemiesHit[#EnemiesHit]
  951. end
  952. if humanoid.Parent.Parent ~= workspace then
  953. humanoid.Parent.Parent = workspace
  954. end
  955. local lastState = enemy[3]
  956. coroutine.resume(coroutine.create(function()
  957. swait(Duration/FrameRate)
  958. enemy[2] = false
  959. end))
  960. local Damage = 1
  961. if IsRan then
  962. Damage = rand(MinDam, MaxDam)
  963. else
  964. Damage = MaxDam
  965. end
  966. if Debounces.KeyStrokeEnabled then
  967. retr.Value = retr.Value+.5
  968. end
  969. local HadOpHP = false
  970. if SoEff then
  971. local HitSound = Sound(Hit, SoID, SoVol, SoPit, false)
  972. debServ:AddItem(HitSound, 6)
  973. end
  974. if Comp then
  975. if humanoid.MaxHealth >= 50000 or humanoid.MaxHealth == 0 then
  976. if humanoid.MaxHealth >= 50000 and humanoid.MaxHealth <= 80000 then
  977. local regen = humanoid.Parent:FindFirstChild("Health")
  978. if regen then
  979. debServ:AddItem(regen, 0)
  980. end
  981. elseif humanoid.MaxHealth > 50000000 or humanoid.MaxHealth == 0 then
  982. humanoid.MaxHealth = 100
  983. HadOpHP = true
  984. else
  985. Damage = Damage*(humanoid.MaxHealth/100)
  986. end
  987. end
  988. else
  989. if humanoid.MaxHealth >= 50000 and humanoid.MaxHealth <= 80000 then
  990. local regen = humanoid.Parent:FindFirstChild("Health")
  991. if regen then
  992. debServ:AddItem(regen, 0)
  993. end
  994. elseif humanoid.MaxHealth > 50000000 or humanoid.MaxHealth == 0 then
  995. humanoid.MaxHealth = 100
  996. HadOpHP = true
  997. end
  998. end
  999. if Damage_Buff > 0 then
  1000. Damage = Damage*Damage_Buff
  1001. end
  1002. if ObjVals.Awakened and humanoid.Health > 0 then
  1003. if humanoid.Health - Damage <= 0 then
  1004. Apply_Buff(.05, 60*2)
  1005. end
  1006. end
  1007. humanoid.Health = humanoid.Health-Damage
  1008. coroutine.resume(coroutine.create(function()
  1009. if not HitCount[1] then
  1010. HitCount[2] = HitCount[2]+1
  1011. HitCount[3] = HitCount[3]+Damage
  1012. if HitCount[2] >= 2 then
  1013. HitCount[1] = true
  1014. HC:TweenPosition(Ud2(.91, 0, .35, 0), _, "Linear", .01, true)
  1015. local timer = HitCount[4]
  1016. while timer[1] > 0 do
  1017. swait(.01/FrameRate)
  1018. timer[1] = timer[1]-.1
  1019. HCBB.Size = Ud2(timer[1]/timer[2], 0, 1, 0)
  1020. HCBB.Position = Ud2((((-timer[2]+timer[1])*-1)/timer[2])/2, 0, 0, 0)
  1021. HCH.Text = HitCount[2].." Hits"
  1022. HCTD.Text = HitCount[3]
  1023. end
  1024. HC:TweenPosition(Ud2(1, 0, .35, 0), _, "Linear", .3, true)
  1025. HitCount[1] = false
  1026. timer[1] = timer[2]
  1027. HitCount[2] = 0
  1028. HitCount[3] = 0
  1029. end
  1030. else
  1031. HitCount[2] = HitCount[2]+1
  1032. HitCount[3] = HitCount[3]+Damage
  1033. local timer = HitCount[4]
  1034. timer[1] = timer[2]
  1035. end
  1036. end))
  1037. if Damage ~= 0 then
  1038. if Damage >= (humanoid.MaxHealth/5) then
  1039. --Crit hit boi
  1040. MakeText("-"..Damage.."", "SciFi", .3, 170, 0, 0, 255, 85, 0, Hit.CFrame)
  1041. else
  1042. local mtc = BC(Colour1).Color
  1043. MakeText("-"..Damage.."", FONT, .3, mtc.r*255, mtc.g*255, mtc.b*255, 0, 0, 0, Hit.CFrame)
  1044. end
  1045. end
  1046. if LF == true then
  1047. if LFD < 1 then
  1048. LFD = 2
  1049. end
  1050. Humanoid.Health = Humanoid.Health+(Damage/LFD)
  1051. MakeText("+"..(Damage/LFD), FONT, .2, 0, 0, 0, 0, 255, 0, RootPart.CFrame)
  1052. end
  1053. if HKB and DamType ~= "SkyRocket" and DamType ~= "Knockdown2" then
  1054. if Property.Name ~= "Point" then
  1055. local KBCF = Cf(Hit.Position, Property.Position)
  1056. Hit.Velocity = KBCF.lookVector*-Knockback
  1057. else
  1058. Hit.Velocity = Property.CFrame.lookVector*Knockback
  1059. end
  1060. end
  1061. if DamType == "Normal" then
  1062. coroutine.resume(coroutine.create(function()
  1063. repeat swait() until not enemy[2]
  1064. if enemy[3] == lastState or enemy[3] == "Cancel" then
  1065. table.remove(EnemiesHit, enemy[4])
  1066. end
  1067. end))
  1068. elseif DamType == "Stun" then
  1069. MakeText("Stunned", FONT, .3, 255, 255, 0, 0, 0, 0, Hit.CFrame)
  1070. local pos = Inst("BodyPosition", Hit)
  1071. pos.MaxForce = Vec(huge,huge,huge)
  1072. pos.Position = Hit.Position
  1073. local gy = Inst("BodyGyro", Hit)
  1074. gy.MaxTorque = Vec(100, 100, 100)
  1075. gy.CFrame = Hit.CFrame
  1076. debServ:AddItem(pos, (Duration*10))
  1077. debServ:AddItem(gy, (Duration*10))
  1078. coroutine.resume(coroutine.create(function()
  1079. local pro = {Property.Name, Property.CFrame, Property.Position}
  1080. repeat swait() until pos.Parent == nil or enemy[3] == "Cancel"
  1081. if HKB then
  1082. if pro[1] ~= "Point" then
  1083. local KBCF = Cf(Hit.Position, pro[3])
  1084. Hit.Velocity = KBCF.lookVector*-Knockback
  1085. else
  1086. Hit.Velocity = pro[2].lookVector*Knockback
  1087. end
  1088. end
  1089. if enemy[3] == "Cancel" or enemy[3] == lastState then
  1090. debServ:AddItem(pos, 0)
  1091. debServ:AddItem(gy, 0)
  1092. table.remove(EnemiesHit, enemy[4])
  1093. end
  1094. end))
  1095. elseif DamType == "Knockdown" then
  1096. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  1097. coroutine.resume(coroutine.create(function()
  1098. repeat swait() until not enemy[2]
  1099. if enemy[3] == lastState or enemy[3] == "Cancel" then
  1100. table.remove(EnemiesHit, enemy[4])
  1101. end
  1102. end))
  1103. elseif DamType == "Knockdown2" then
  1104. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  1105. local fall = Inst("BodyGyro", Hit)
  1106. fall.Name = "MadeFor"..Hit.Parent.Name
  1107. fall.MaxTorque = Vec(huge, 0, huge)
  1108. fall.CFrame = Cf() * Euler(rad(90), 0, 0)
  1109. fall.P = 30000
  1110. if Property.Name ~= "Point" then
  1111. local KBCF = Cf(Hit.Position, Property.Position)
  1112. Hit.Velocity = (KBCF.lookVector*-Knockback[1])+Vec(0, -Knockback[2], 0)
  1113. else
  1114. Hit.Velocity = (Property.CFrame.lookVector*Knockback[1])+Vec(0, -Knockback[2], 0)
  1115. end
  1116. coroutine.resume(coroutine.create(function()
  1117. local ti = 0
  1118. repeat
  1119. ti = ti+.1
  1120. wait(.3)
  1121. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  1122. until ti >= (Duration*3) or enemy[3] == "Cancel"
  1123. debServ:AddItem(fall, 0)
  1124. if enemy[3] == lastState or enemy[3] == "Cancel" then
  1125. table.remove(EnemiesHit, enemy[4])
  1126. end
  1127. humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  1128. end))
  1129. elseif DamType == "SkyRocket" then
  1130. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  1131. if Property.Name ~= "Point" then
  1132. local KBCF = Cf(Hit.Position, Property.Position)
  1133. Hit.Velocity = (KBCF.lookVector*-Knockback[1])+Vec(0, Knockback[2], 0)
  1134. else
  1135. Hit.Velocity = (Property.CFrame.lookVector*Knockback[1])+Vec(0, Knockback[2], 0)
  1136. end
  1137. coroutine.resume(coroutine.create(function()
  1138. repeat swait() until not enemy[2]
  1139. if enemy[3] == lastState or enemy[3] == "Cancel" then
  1140. table.remove(EnemiesHit, enemy[4])
  1141. end
  1142. end))
  1143. elseif DamType == "FreezeStun" then
  1144. MakeText("Stunned", FONT, .3, 0, 0, 0, 255, 170, 0, Hit.CFrame)
  1145. coroutine.resume(coroutine.create(function()
  1146. local ti = 0
  1147. local h = Hit.Parent:FindFirstChild("HumanoidRootPart")
  1148. if not h then
  1149. h = Hit
  1150. end
  1151. local p = h.Position
  1152. local pos = Inst("BodyPosition", h)
  1153. pos.MaxForce = Vec(huge,huge,huge)
  1154. pos.Position = p
  1155. local r = {0, 1}
  1156. repeat
  1157. if r[1] >= r[2] then
  1158. MagicRing2("Bright yellow", "Neon", h.CFrame * Euler(rad(90), 0, 0) , h.Size.Magnitude/3, h.Size.Magnitude/3, .1, .5, .5, .1, .07)
  1159. r[1] = 0
  1160. else
  1161. r[1] = r[1]+.1
  1162. end
  1163. ti = ti+.1
  1164. for _, p in pairs(humanoid.Parent:GetChildren()) do
  1165. if p:IsA("BasePart") then
  1166. p.Anchored = true
  1167. end
  1168. end
  1169. if not pos.Parent then
  1170. pos = Inst("BodyPosition", h)
  1171. pos.MaxForce = Vec(huge,huge,huge)
  1172. pos.Position = p
  1173. end
  1174. wait(.3)
  1175. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  1176. until ti >= (Duration*5) or enemy[3] == "Cancel"
  1177. for _, p in pairs(humanoid.Parent:GetChildren()) do
  1178. if p:IsA("BasePart") then
  1179. p.Anchored = false
  1180. end
  1181. end
  1182. debServ:AddItem(pos, 0)
  1183. if enemy[3] == lastState or enemy[3] == "Cancel" then
  1184. table.remove(EnemiesHit, enemy[4])
  1185. end
  1186. end))
  1187. elseif DamType == "KnockDownFreezeStun" then
  1188. --local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Hur.Position, (Hur.CFrame * Euler(rad(-90), 0, rad(10))).lookVector.Unit * 40), IL, true, true)
  1189. MakeText("Stunned", FONT, .3, 0, 0, 0, 255, 64, 0, Hit.CFrame)
  1190. coroutine.resume(coroutine.create(function()
  1191. local ti = 0
  1192. local scf = nil
  1193. local IL = {Character, Hit.Parent}
  1194. local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(h.Position, (h.CFrame.lookVector.Unit * 999)), IL, true, true)
  1195. if Ground then
  1196. Hit.CFrame = Cf(Pos) * Euler(rad(-90), 0, 0)
  1197. scf = Cf(Pos) * Euler(rad(-90), 0, 0)
  1198. end
  1199. local h = Hit.Parent:FindFirstChild("HumanoidRootPart")
  1200. if not h then
  1201. h = Hit
  1202. end
  1203. local p = h.Position
  1204. local pos = Inst("BodyPosition", h)
  1205. pos.MaxForce = Vec(huge,huge,huge)
  1206. pos.Position = p
  1207. local r = {0, 1}
  1208. repeat
  1209. if r[1] >= r[2] then
  1210. MagicRing2("New Yeller", "Neon", h.CFrame * Euler(rad(90), 0, 0) , h.Size.Magnitude/3, h.Size.Magnitude/3, .1, .5, .5, .1, .07)
  1211. r[1] = 0
  1212. else
  1213. r[1] = r[1]+.1
  1214. end
  1215. ti = ti+.1
  1216. for _, p in pairs(humanoid.Parent:GetChildren()) do
  1217. if p:IsA("BasePart") then
  1218. p.Anchored = true
  1219. end
  1220. end
  1221. if not pos.Parent then
  1222. pos = Inst("BodyPosition", h)
  1223. pos.MaxForce = Vec(huge,huge,huge)
  1224. pos.Position = p
  1225. end
  1226. Hit.CFrame = scf
  1227. wait(.3)
  1228. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  1229. until ti >= (Duration*4) or enemy[3] == "Cancel"
  1230. for _, p in pairs(humanoid.Parent:GetChildren()) do
  1231. if p:IsA("BasePart") then
  1232. p.Anchored = false
  1233. end
  1234. end
  1235. debServ:AddItem(pos, 0)
  1236. if enemy[3] == lastState or enemy[3] == "Cancel" then
  1237. table.remove(EnemiesHit, enemy[4])
  1238. end
  1239. end))
  1240. end
  1241. if HDrag then
  1242. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  1243. local pos = Inst("BodyPosition", Hit)
  1244. pos.MaxForce = Vec(huge, huge, huge)
  1245. pos.Position = Drag_To_Part.Position
  1246. local d = Inst("NumberValue", pos)
  1247. d.Name = "Duration"
  1248. d.Value = DragDuration
  1249. table.insert(DragTable, pos)
  1250. end
  1251. if HadOpHP then
  1252. coroutine.resume(coroutine.create(function()
  1253. wait()
  1254. Damage = Damage*2
  1255. humanoid.Health = humanoid.Health-Damage
  1256. print("rekted boi")
  1257. MakeText("-"..Damage.."", "Bodoni", .4, 0, 0, 0, 0, 0, 91, Hit.CFrame)
  1258. end))
  1259. end
  1260. end
  1261. end
  1262. end
  1263.  
  1264. function FindNearestHumanoidPart(Position, range)
  1265. local Dis = range
  1266. local Par = nil
  1267. local Noid = nil
  1268. for _, c in pairs(workspace:GetChildren()) do
  1269. local hum = FindHum(c)
  1270. if hum and hum ~= Humanoid then
  1271. for _, p in pairs(hum.Parent:GetChildren()) do
  1272. if p:IsA("BasePart") then
  1273. local mag = (p.Position - Position).magnitude
  1274. if mag <= Dis then
  1275. Par = p
  1276. Dis = mag
  1277. Noid = hum
  1278. end
  1279. end
  1280. end
  1281. end
  1282. end
  1283. return Par, Noid
  1284. end
  1285.  
  1286. function FindNearestHumanoidPartWithIgnoreList(Position, range, IgnoreList)
  1287. local Dis = range
  1288. local Par = nil
  1289. local Noid = nil
  1290. local function CheckIfListed(h)
  1291. local safe = true
  1292. for _, p in pairs(IgnoreList) do
  1293. if p == h then
  1294. safe = false
  1295. end
  1296. end
  1297. return safe
  1298. end
  1299. for _, c in pairs(workspace:GetChildren()) do
  1300. local hum = FindHum(c)
  1301. if hum and hum ~= Humanoid then
  1302. local safe = CheckIfListed(hum)
  1303. if safe then
  1304. for _, p in pairs(hum.Parent:GetChildren()) do
  1305. if p:IsA("BasePart") then
  1306. local mag = ((p.Position - Position).magnitude)-(p.Size.Magnitude/2)
  1307. if mag <= Dis then
  1308. Par = p
  1309. Dis = mag
  1310. Noid = hum
  1311. end
  1312. end
  1313. end
  1314. end
  1315. end
  1316. end
  1317. return Par, Noid
  1318. end
  1319.  
  1320. function FindAllNearestHumanoids(Position, Range)
  1321. local NearestHumanoids = {}
  1322. local function CheckIfListed(h)
  1323. local listed = false
  1324. for i,hu in pairs(NearestHumanoids) do
  1325. if hu[1] == h then
  1326. listed = true
  1327. end
  1328. end
  1329. return listed
  1330. end
  1331. for _, c in pairs(workspace:GetChildren()) do
  1332. local hum = FindHum(c)
  1333. local listed = CheckIfListed(hum)
  1334. if hum and hum ~= Humanoid and not listed then
  1335. local Dis = Range
  1336. local Par = nil
  1337. for _, p in pairs(hum.Parent:GetChildren()) do
  1338. if p:IsA("BasePart") then
  1339. local mag = ((p.Position - Position).magnitude)-(p.Size.Magnitude/2)
  1340. if mag <= Dis then
  1341. Par = p
  1342. Dis = mag
  1343. end
  1344. end
  1345. end
  1346. if Par then
  1347. table.insert(NearestHumanoids, {hum, Par})
  1348. end
  1349. end
  1350. end
  1351. return NearestHumanoids
  1352. end
  1353.  
  1354. function FindAllNearestHumanoidsWithIgnoreList(Position, Range, IgnoreList)
  1355. local NearestHumanoids = {}
  1356. local function CheckIfListedInNH(h)
  1357. local listed = false
  1358. for i,hu in pairs(NearestHumanoids) do
  1359. if hu[1] == h then
  1360. listed = true
  1361. end
  1362. end
  1363. return listed
  1364. end
  1365. for _, c in pairs(workspace:GetChildren()) do
  1366. local hum = FindHum(c)
  1367. local function CheckIfListed(h)
  1368. local safe = true
  1369. for _, p in pairs(IgnoreList) do
  1370. if p == h then
  1371. safe = false
  1372. end
  1373. end
  1374. return safe
  1375. end
  1376. local safe = CheckIfListed(hum)
  1377. local listed = CheckIfListedInNH(hum)
  1378. if hum and hum ~= Humanoid and safe and not listed then
  1379. local Dis = Range
  1380. local Par = nil
  1381. for _, p in pairs(hum.Parent:GetChildren()) do
  1382. if p:IsA("BasePart") then
  1383. local mag = ((p.Position - Position).magnitude)-(p.Size.Magnitude/2)
  1384. if mag <= Dis then
  1385. Par = p
  1386. Dis = mag
  1387. end
  1388. end
  1389. end
  1390. if Par then
  1391. table.insert(NearestHumanoids, {hum, Par})
  1392. end
  1393. end
  1394. end
  1395. return NearestHumanoids
  1396. end
  1397.  
  1398. function MagniDamage(Part, range, isRan, mindam, maxdam, hkb, knock, lf, lfd, comp, DType, hEffect, dur, hd, dd, soe, soid, sopit, sovol)
  1399. for _, c in pairs(workspace:GetChildren()) do
  1400. local hum = FindHum(c)
  1401. if hum and hum ~= Humanoid then
  1402. local Dis = range
  1403. local Par = nil
  1404. for _, p in pairs(hum.Parent:GetChildren()) do
  1405. if p:IsA("BasePart") then
  1406. local mag = ((p.Position - Part.Position).magnitude)-(p.Size.Magnitude/2)
  1407. if mag <= Dis then
  1408. Par = p
  1409. Dis = mag
  1410. end
  1411. end
  1412. end
  1413. if Par then
  1414. DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, lf, lfd, comp, DType, hEffect, Part, dur, hd, dd, soe, soid, sopit, sovol)
  1415. end
  1416. end
  1417. end
  1418. end
  1419.  
  1420. local function CFrameFromTopBack(at, top, back)
  1421. local right = top:Cross(back)
  1422. 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)
  1423. end
  1424.  
  1425. function NoOutline(Part)
  1426. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1427. end
  1428.  
  1429. function Triangle(a, b, c, tcol, tmat)
  1430. local edg1 = (c-a):Dot((b-a).unit)
  1431. local edg2 = (a-b):Dot((c-b).unit)
  1432. local edg3 = (b-c):Dot((a-c).unit)
  1433. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1434. a, b, c = a, b, c
  1435. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1436. a, b, c = b, c, a
  1437. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1438. a, b, c = c, a, b
  1439. else
  1440. return
  1441. end
  1442.  
  1443. local len1 = (c-a):Dot((b-a).unit)
  1444. local len2 = (b-a).magnitude - len1
  1445. local width = (a + (b-a).unit*len1 - c).magnitude
  1446.  
  1447. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1448.  
  1449. local list = {}
  1450.  
  1451. if len1 > 0.01 then
  1452. local w1 = Inst('WedgePart', F3)
  1453. w1.Material = tmat
  1454. w1.BrickColor = BC(tcol)
  1455. w1.Transparency = 0
  1456. w1.Reflectance = 0
  1457. w1.CanCollide = false
  1458. NoOutline(w1)
  1459. local sz = Vec(0.2, width, len1)
  1460. w1.Size = sz
  1461. local sp = Inst("SpecialMesh",w1)
  1462. sp.MeshType = "Wedge"
  1463. sp.Scale = Vec(0,1,1) * sz/w1.Size
  1464. w1:BreakJoints()
  1465. w1.Anchored = true
  1466. w1.Transparency = 0.7
  1467. debServ:AddItem(w1,25)
  1468. coroutine.resume(coroutine.create(function()
  1469. for t = .7, 1.045, .045 do
  1470. runServ.Stepped:wait()
  1471. w1.Transparency = t
  1472. end
  1473. debServ:AddItem(w1, 0)
  1474. end))
  1475. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1476. table.insert(list,w1)
  1477. end
  1478.  
  1479. if len2 > 0.01 then
  1480. local w2 = Inst('WedgePart', F3)
  1481. w2.Material = tmat
  1482. w2.BrickColor = BC(tcol)
  1483. w2.Transparency = 0
  1484. w2.Reflectance = 0
  1485. w2.CanCollide = false
  1486. NoOutline(w2)
  1487. local sz = Vec(0.2, width, len2)
  1488. w2.Size = sz
  1489. local sp = Inst("SpecialMesh",w2)
  1490. sp.MeshType = "Wedge"
  1491. sp.Scale = Vec(0,1,1) * sz/w2.Size
  1492. w2:BreakJoints()
  1493. w2.Anchored = true
  1494. w2.Transparency = 0.7
  1495. debServ:AddItem(w2,25)
  1496. coroutine.resume(coroutine.create(function()
  1497. for t = .7, 1.045, .045 do
  1498. runServ.Stepped:wait()
  1499. w2.Transparency = t
  1500. end
  1501. debServ:AddItem(w2, 0)
  1502. end))
  1503. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1504. table.insert(list,w2)
  1505. end
  1506. return unpack(list)
  1507. end
  1508.  
  1509. function Bringer()
  1510. for i, d in pairs(DragTable) do
  1511. if d then
  1512. if d:IsA("BodyPosition") then
  1513. local tem = d:FindFirstChild("Time")
  1514. if not tem then
  1515. tem = Inst("NumberValue", d)
  1516. tem.Name = "Time"
  1517. tem.Value = 0
  1518. end
  1519. local Dur = d:FindFirstChild("Duration")
  1520. if not Dur then
  1521. Dur = Inst("NumberValue", d)
  1522. Dur.Name = "Duration"
  1523. Dur.Value = 1.5
  1524. end
  1525. if tem.Value < Dur.Value then
  1526. tem.Value = tem.Value+.1
  1527. d.P = 20000
  1528. d.Position = Drag_To_Part.Position
  1529. else
  1530. debServ:AddItem(tem, 0)
  1531. debServ:AddItem(Dur, 0)
  1532. debServ:AddItem(d, 0)
  1533. table.remove(DragTable, i)
  1534. end
  1535. end
  1536. end
  1537. end
  1538. end
  1539. ------------------------------------------------------------------------------------------------------------------------------------------------------
  1540. function MagicBlock(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1541. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicB", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(sx, sy, sz), _, _)
  1542. part.CFrame = cframe
  1543. coroutine.resume(coroutine.create(function()
  1544. debServ:AddItem(part, 30)
  1545. debServ:AddItem(mesh, 30)
  1546. while part.Transparency < 1 do
  1547. runServ.Stepped:wait()
  1548. part.CFrame = cframe*Euler(rand(-50, 50), rand(-50, 50), rand(-50, 50))
  1549. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1550. part.Transparency = part.Transparency+Delay
  1551. end
  1552. debServ:AddItem(part, 0)
  1553. debServ:AddItem(mesh, 0)
  1554. end))
  1555. end
  1556.  
  1557. function MagicBlock2(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1558. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicB", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(sx, sy, sz), _, _)
  1559. part.CFrame = cframe
  1560. coroutine.resume(coroutine.create(function()
  1561. debServ:AddItem(part, 30)
  1562. debServ:AddItem(mesh, 30)
  1563. while part.Transparency < 1 do
  1564. runServ.Stepped:wait()
  1565. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1566. part.Transparency = part.Transparency+Delay
  1567. end
  1568. debServ:AddItem(part, 0)
  1569. debServ:AddItem(mesh, 0)
  1570. end))
  1571. end
  1572.  
  1573. function MagicBlock3(brickCol, material, cframe, sx, sy, sz, Delay)
  1574. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicB", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(sx, sy, sz), _, _)
  1575. part.CFrame = cframe
  1576. coroutine.resume(coroutine.create(function()
  1577. debServ:AddItem(part, 30)
  1578. debServ:AddItem(mesh, 30)
  1579. while part.Transparency < 1 do
  1580. runServ.Stepped:wait()
  1581. part.Transparency = part.Transparency+Delay
  1582. end
  1583. debServ:AddItem(part, 0)
  1584. debServ:AddItem(mesh, 0)
  1585. end))
  1586. end
  1587.  
  1588. function MagicBlock4(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay, xInc, yInc, zInc)
  1589. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicB", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(sx, sy, sz), _, _)
  1590. part.CFrame = cframe
  1591. coroutine.resume(coroutine.create(function()
  1592. debServ:AddItem(part, 30)
  1593. debServ:AddItem(mesh, 30)
  1594. local cf = cframe
  1595. while part.Transparency < 1 do
  1596. runServ.Stepped:wait()
  1597. cf = cf * Cf(xInc, yInc, zInc)
  1598. part.CFrame = cf * Euler(rand(-50, 50), rand(-50, 50), rand(-50, 50))
  1599. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1600. part.Transparency = part.Transparency+Delay
  1601. end
  1602. debServ:AddItem(part, 0)
  1603. debServ:AddItem(mesh, 0)
  1604. end))
  1605. end
  1606.  
  1607. function MagicBlock5(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay, xInc, yInc, zInc)
  1608. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicB", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(sx, sy, sz), _, _)
  1609. part.CFrame = cframe
  1610. coroutine.resume(coroutine.create(function()
  1611. debServ:AddItem(part, 30)
  1612. debServ:AddItem(mesh, 30)
  1613. while part.Transparency < 1 do
  1614. runServ.Stepped:wait()
  1615. part.CFrame = part.CFrame * Cf(xInc, yInc, zInc)
  1616. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1617. part.Transparency = part.Transparency+Delay
  1618. end
  1619. debServ:AddItem(part, 0)
  1620. debServ:AddItem(mesh, 0)
  1621. end))
  1622. end
  1623.  
  1624. function MagicBlock6(brickCol, material, cframe, sx, sy, sz, Delay, xInc, yInc, zInc)
  1625. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicB", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(sx, sy, sz), _, _)
  1626. part.CFrame = cframe
  1627. coroutine.resume(coroutine.create(function()
  1628. debServ:AddItem(part, 30)
  1629. debServ:AddItem(mesh, 30)
  1630. while part.Transparency < 1 do
  1631. runServ.Stepped:wait()
  1632. part.CFrame = part.CFrame * Cf(xInc, yInc, zInc)
  1633. part.Transparency = part.Transparency+Delay
  1634. end
  1635. debServ:AddItem(part, 0)
  1636. debServ:AddItem(mesh, 0)
  1637. end))
  1638. end
  1639.  
  1640. function MagicCylinder(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1641. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicC", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "CylinderMesh", Vec(sx, sy, sz), _, _)
  1642. part.CFrame = cframe
  1643. coroutine.resume(coroutine.create(function()
  1644. debServ:AddItem(part, 30)
  1645. debServ:AddItem(mesh, 30)
  1646. while part.Transparency < 1 do
  1647. runServ.Stepped:wait()
  1648. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1649. part.Transparency = part.Transparency+Delay
  1650. end
  1651. debServ:AddItem(part, 0)
  1652. debServ:AddItem(mesh, 0)
  1653. end))
  1654. end
  1655.  
  1656. function MagicCylinder2(brickCol, material, cframe, sx, sy, sz, Delay)
  1657. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicC", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "CylinderMesh", Vec(sx, sy, sz), _, _)
  1658. part.CFrame = cframe
  1659. coroutine.resume(coroutine.create(function()
  1660. debServ:AddItem(part, 30)
  1661. debServ:AddItem(mesh, 30)
  1662. while part.Transparency < 1 do
  1663. runServ.Stepped:wait()
  1664. part.Transparency = part.Transparency+Delay
  1665. end
  1666. debServ:AddItem(part, 0)
  1667. debServ:AddItem(mesh, 0)
  1668. end))
  1669. end
  1670.  
  1671. function MagicWave(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1672. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicW", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=20329976", "FileMesh")
  1673. part.CFrame = cframe
  1674. coroutine.resume(coroutine.create(function()
  1675. debServ:AddItem(part, 30)
  1676. debServ:AddItem(mesh, 30)
  1677. while part.Transparency < 1 do
  1678. runServ.Stepped:wait()
  1679. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1680. part.Transparency = part.Transparency+Delay
  1681. end
  1682. debServ:AddItem(part, 0)
  1683. debServ:AddItem(mesh, 0)
  1684. end))
  1685. end
  1686.  
  1687. function MagicWave2(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1688. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicW", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=20329976", "FileMesh")
  1689. part.CFrame = cframe
  1690. coroutine.resume(coroutine.create(function()
  1691. debServ:AddItem(part, 30)
  1692. debServ:AddItem(mesh, 30)
  1693. while part.Transparency < 1 do
  1694. runServ.Stepped:wait()
  1695. part.CFrame = part.CFrame*CFrame.Angles(0, rad(10), 0)
  1696. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1697. part.Transparency = part.Transparency+Delay
  1698. end
  1699. debServ:AddItem(part, 0)
  1700. debServ:AddItem(mesh, 0)
  1701. end))
  1702. end
  1703.  
  1704. function MagicBlast(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1705. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicBL", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=1323306", "FileMesh")
  1706. part.CFrame = cframe
  1707. coroutine.resume(coroutine.create(function()
  1708. debServ:AddItem(part, 30)
  1709. debServ:AddItem(mesh, 30)
  1710. while part.Transparency < 1 do
  1711. runServ.Stepped:wait()
  1712. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1713. part.Transparency = part.Transparency+Delay
  1714. end
  1715. debServ:AddItem(part, 0)
  1716. debServ:AddItem(mesh, 0)
  1717. end))
  1718. end
  1719.  
  1720. function MagicBlast2(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1721. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagiBL", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=1323306", "FileMesh")
  1722. part.CFrame = cframe
  1723. coroutine.resume(coroutine.create(function()
  1724. debServ:AddItem(part, 30)
  1725. debServ:AddItem(mesh, 30)
  1726. while part.Transparency < 1 do
  1727. runServ.Stepped:wait()
  1728. part.CFrame = part.CFrame*CFrame.Angles(0, rad(10), 0)
  1729. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1730. part.Transparency = part.Transparency+Delay
  1731. end
  1732. debServ:AddItem(part, 0)
  1733. debServ:AddItem(mesh, 0)
  1734. end))
  1735. end
  1736.  
  1737. function MagicSphere(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1738. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicS", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "", "Sphere")
  1739. part.CFrame = cframe
  1740. coroutine.resume(coroutine.create(function()
  1741. debServ:AddItem(part, 30)
  1742. debServ:AddItem(mesh, 30)
  1743. while part.Transparency < 1 do
  1744. runServ.Stepped:wait()
  1745. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1746. part.Transparency = part.Transparency+Delay
  1747. end
  1748. debServ:AddItem(part, 0)
  1749. debServ:AddItem(mesh, 0)
  1750. end))
  1751. end
  1752.  
  1753. function MagicSphere2(brickCol, material, cframe, sx, sy, sz, Delay)
  1754. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicS", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "", "Sphere")
  1755. part.CFrame = cframe
  1756. coroutine.resume(coroutine.create(function()
  1757. debServ:AddItem(part, 30)
  1758. debServ:AddItem(mesh, 30)
  1759. while part.Transparency < 1 do
  1760. runServ.Stepped:wait()
  1761. part.Transparency = part.Transparency+Delay
  1762. end
  1763. debServ:AddItem(part, 0)
  1764. debServ:AddItem(mesh, 0)
  1765. end))
  1766. end
  1767.  
  1768. function MagicSphere3(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay, xInc, yInc, zInc)
  1769. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicS", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "", "Sphere")
  1770. part.CFrame = cframe
  1771. coroutine.resume(coroutine.create(function()
  1772. debServ:AddItem(part, 30)
  1773. debServ:AddItem(mesh, 30)
  1774. while part.Transparency < 1 do
  1775. runServ.Stepped:wait()
  1776. part.CFrame = part.CFrame * Cf(xInc, yInc, zInc)
  1777. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1778. part.Transparency = part.Transparency+Delay
  1779. end
  1780. debServ:AddItem(part, 0)
  1781. debServ:AddItem(mesh, 0)
  1782. end))
  1783. end
  1784.  
  1785. function MagicSphere4(brickCol, material, cframe, sx, sy, sz, Delay, xInc, yInc, zInc)
  1786. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicS", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "", "Sphere")
  1787. part.CFrame = cframe
  1788. coroutine.resume(coroutine.create(function()
  1789. debServ:AddItem(part, 30)
  1790. debServ:AddItem(mesh, 30)
  1791. while part.Transparency < 1 do
  1792. runServ.Stepped:wait()
  1793. part.CFrame = part.CFrame * Cf(xInc, yInc, zInc)
  1794. part.Transparency = part.Transparency+Delay
  1795. end
  1796. debServ:AddItem(part, 0)
  1797. debServ:AddItem(mesh, 0)
  1798. end))
  1799. end
  1800.  
  1801. function MagicPettles(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay, xInc, yInc, zInc)
  1802. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicP", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "", "Sphere")
  1803. part.CFrame = cframe
  1804. coroutine.resume(coroutine.create(function()
  1805. debServ:AddItem(part, 30)
  1806. debServ:AddItem(mesh, 30)
  1807. local cf = cframe
  1808. while part.Transparency < 1 do
  1809. runServ.Stepped:wait()
  1810. cf = cf * Cf(xInc, yInc, zInc)
  1811. part.CFrame = cf * Euler(rand(-50, 50), rand(-50, 50), rand(-50, 50))
  1812. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1813. part.Transparency = part.Transparency+Delay
  1814. end
  1815. debServ:AddItem(part, 0)
  1816. debServ:AddItem(mesh, 0)
  1817. end))
  1818. end
  1819.  
  1820. function MagicPettles2(brickCol, material, cframe, sx, sy, sz, Delay, xInc, yInc, zInc)
  1821. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicP", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "", "Sphere")
  1822. part.CFrame = cframe
  1823. coroutine.resume(coroutine.create(function()
  1824. debServ:AddItem(part, 30)
  1825. debServ:AddItem(mesh, 30)
  1826. local cf = cframe
  1827. while part.Transparency < 1 do
  1828. runServ.Stepped:wait()
  1829. cf = cf * Cf(xInc, yInc, zInc)
  1830. part.CFrame = cf * Euler(rand(-50, 50), rand(-50, 50), rand(-50, 50))
  1831. part.Transparency = part.Transparency+Delay
  1832. end
  1833. debServ:AddItem(part, 0)
  1834. debServ:AddItem(mesh, 0)
  1835. end))
  1836. end
  1837.  
  1838. function MagicRing(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1839. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicR", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
  1840. part.CFrame = cframe
  1841. coroutine.resume(coroutine.create(function()
  1842. debServ:AddItem(part, 30)
  1843. debServ:AddItem(mesh, 30)
  1844. while part.Transparency < 1 do
  1845. runServ.Stepped:wait()
  1846. part.CFrame = cframe*Euler(rand(-50, 50), rand(-50, 50), rand(-50, 50))
  1847. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1848. part.Transparency = part.Transparency+Delay
  1849. end
  1850. debServ:AddItem(part, 0)
  1851. debServ:AddItem(mesh, 0)
  1852. end))
  1853. end
  1854.  
  1855. function MagicRing2(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay)
  1856. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicR", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
  1857. part.CFrame = cframe
  1858. coroutine.resume(coroutine.create(function()
  1859. debServ:AddItem(part, 30)
  1860. debServ:AddItem(mesh, 30)
  1861. while part.Transparency < 1 do
  1862. runServ.Stepped:wait()
  1863. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1864. part.Transparency = part.Transparency+Delay
  1865. end
  1866. debServ:AddItem(part, 0)
  1867. debServ:AddItem(mesh, 0)
  1868. end))
  1869. end
  1870.  
  1871. function MagicRing3(brickCol, material, cframe, sx, sy, sz, Delay)
  1872. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicR", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
  1873. part.CFrame = cframe
  1874. coroutine.resume(coroutine.create(function()
  1875. debServ:AddItem(part, 30)
  1876. debServ:AddItem(mesh, 30)
  1877. while part.Transparency < 1 do
  1878. runServ.Stepped:wait()
  1879. part.Transparency = part.Transparency+Delay
  1880. end
  1881. debServ:AddItem(part, 0)
  1882. debServ:AddItem(mesh, 0)
  1883. end))
  1884. end
  1885.  
  1886. function MagicRing4(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay, xInc, yInc, zInc)
  1887. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicR", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
  1888. part.CFrame = cframe
  1889. coroutine.resume(coroutine.create(function()
  1890. debServ:AddItem(part, 30)
  1891. debServ:AddItem(mesh, 30)
  1892. local cf = cframe
  1893. while part.Transparency < 1 do
  1894. runServ.Stepped:wait()
  1895. cf = cf * Cf(xInc, yInc, zInc)
  1896. part.CFrame = cf * Euler(rand(-50, 50), rand(-50, 50), rand(-50, 50))
  1897. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1898. part.Transparency = part.Transparency+Delay
  1899. end
  1900. debServ:AddItem(part, 0)
  1901. debServ:AddItem(mesh, 0)
  1902. end))
  1903. end
  1904.  
  1905. function MagicRing5(brickCol, material, cframe, sx, sy, sz, a1, a2, a3, Delay, xInc, yInc, zInc)
  1906. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicR", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
  1907. part.CFrame = cframe
  1908. coroutine.resume(coroutine.create(function()
  1909. debServ:AddItem(part, 30)
  1910. debServ:AddItem(mesh, 30)
  1911. while part.Transparency < 1 do
  1912. runServ.Stepped:wait()
  1913. part.CFrame = part.CFrame * Cf(xInc, yInc, zInc)
  1914. mesh.Scale = mesh.Scale + Vec(a1, a2, a3)
  1915. part.Transparency = part.Transparency+Delay
  1916. end
  1917. debServ:AddItem(part, 0)
  1918. debServ:AddItem(mesh, 0)
  1919. end))
  1920. end
  1921.  
  1922. function MagicRing6(brickCol, material, cframe, sx, sy, sz, Delay, xInc, yInc, zInc)
  1923. local part, mesh = CreatePart("Part", F3, brickCol, material, 0, 0, "MagicR", Vec(.2, .2, .2), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(sx, sy, sz), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
  1924. part.CFrame = cframe
  1925. coroutine.resume(coroutine.create(function()
  1926. debServ:AddItem(part, 30)
  1927. debServ:AddItem(mesh, 30)
  1928. while part.Transparency < 1 do
  1929. runServ.Stepped:wait()
  1930. part.CFrame = part.CFrame * Cf(xInc, yInc, zInc)
  1931. part.Transparency = part.Transparency+Delay
  1932. end
  1933. debServ:AddItem(part, 0)
  1934. debServ:AddItem(mesh, 0)
  1935. end))
  1936. end
  1937. ------------------------------------------------------------------------------------------------------------------------------------------------------
  1938. function StopRBLXAnims()
  1939. for _, anim in pairs(Humanoid:GetPlayingAnimationTracks()) do
  1940. anim:Stop()
  1941. anim:Destroy()
  1942. end
  1943. end
  1944.  
  1945. function EquipAnim()
  1946. Humanoid.WalkSpeed = 0
  1947. Animate.Disabled = true
  1948. Debounces.Equipping = true
  1949. StopRBLXAnims()
  1950. RightShoulder.MaxVelocity = 5
  1951. LeftShoulder.MaxVelocity = 5
  1952. RightHip.MaxVelocity = 5
  1953. LeftHip.MaxVelocity = 5
  1954. RightShoulder.DesiredAngle = 0
  1955. LeftShoulder.DesiredAngle = 0
  1956. RightHip.DesiredAngle = 0
  1957. LeftHip.DesiredAngle = 0
  1958. Debounces.DisableJump = true
  1959. WepWeld.Part0 = Holder
  1960. WepWeld.Part1 = Handle
  1961. WepWeld.C0 = Cf() * Euler(rad(90), 0, 0)
  1962. WepWeld.C1 = Cf() * Euler(0, rad(180), 0)
  1963. LeftShoulder.Part0 = nil
  1964. LeftShoulder.Part1 = nil
  1965. RightShoulder.Part0 = nil
  1966. RightShoulder.Part1 = nil
  1967. FLeftShoulder.Part0 = Torso
  1968. FLeftShoulder.Part1 = LeftArm
  1969. FLeftShoulder.C0 = NLSC0
  1970. FLeftShoulder.C1 = NLSC1
  1971. FRightShoulder.Part0 = Torso
  1972. FRightShoulder.Part1 = RightArm
  1973. FRightShoulder.C0 = NRSC0
  1974. FRightShoulder.C1 = NRSC1
  1975. RootJoint.Part0 = nil
  1976. RootJoint.Part1 = nil
  1977. FRootJoint.Part0 = RootPart
  1978. FRootJoint.Part1 = Torso
  1979. FRootJoint.C0 = NRJC0
  1980. FRootJoint.C1 = NRJC1
  1981. LeftHip.Part0 = nil
  1982. LeftHip.Part1 = nil
  1983. RightHip.Part0 = nil
  1984. RightHip.Part1 = nil
  1985. FLeftHip.Part0 = Torso
  1986. FLeftHip.Part1 = LeftLeg
  1987. FLeftHip.C0 = NLHC0
  1988. FLeftHip.C1 = NLHC1
  1989. FRightHip.Part0 = Torso
  1990. FRightHip.Part1 = RightLeg
  1991. FRightHip.C0 = NRHC0
  1992. FRightHip.C1 = NRHC1
  1993. FRootJoint.C0= Cf(0, 50, 0)
  1994. FRootJoint.C1= Cf(0, 0, 0)
  1995. wait(.2)
  1996. for i = 0, .5, .1 do
  1997. swait()
  1998. local AnimSpeed = .6
  1999. --HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2000. --HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2001. --WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2002. --WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  2003. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-30),0,rad(30)), AnimSpeed)
  2004. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), AnimSpeed)
  2005. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.4)*Euler(rad(50),0,rad(-6)), AnimSpeed)
  2006. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2007. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(30),0,0), AnimSpeed)
  2008. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2009. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.8,0)*Euler(rad(-50),0,0), AnimSpeed)
  2010. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2011. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1.2,-.3)*Euler(rad(-40),0,0), AnimSpeed)
  2012. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2013. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.3,-.8)*Euler(rad(20),0,0), AnimSpeed)
  2014. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,0,0)*Euler(0,0,0), AnimSpeed)
  2015. end
  2016. local groundC = "White"
  2017. local groundM = "SmoothPlastic"
  2018. local ground, _, _, material = workspace:FindPartOnRay(Ray.new(RootPart.Position, (RootPart.CFrame * Euler(rad(-90), 0, 0)).lookVector.Unit * 999),Character, true, true)
  2019. if ground then
  2020. groundC = ground.BrickColor.Name
  2021. groundM = material
  2022. end
  2023. MagicWave(groundC, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0), .4, .2, .4, 2.2, .6, 2.2, .08)
  2024. MagicRing2(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0) * Euler(rad(90), 0, 0), .6, .6, .1, 4.2, 4.2, .2, .08)
  2025. MagicSphere(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0), 6, 6, 6, 20.2, 20.2, 20.2, .04)
  2026. MagicRing(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0), 1, 1, .1, 4, 4, .2, .04)
  2027. MagicRing(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0), .8, .8, .1, 4, 4, .2, .04)
  2028. MagicRing(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0), .6, .6, .1, 4, 4, .2, .04)
  2029. MagicRing(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0), .4, .4, .1, 4, 4, .2, .04)
  2030. MagicRing(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0), .2, .2, .1, 4, 4, .2, .04)
  2031. MagniDamage(RootPart, 25, true, 21, 22, true, 80, false, 0, true, "Knockdown", "Blood", .1, false, 0, true, HitSounds.Blunt.Med, 1, .5)
  2032. local SlamS = Sound(RootPart, "142070127", 1, 1, false)
  2033. debServ:AddItem(SlamS, 3)
  2034. for i = 0, rand(10, 15), 1 do
  2035. local size = rand(1, 5)
  2036. local part = CreatePart("Part", F3, groundC, groundM, 0, 0, "Block", Vec(size, size, size), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(1, 1, 1), _, _)
  2037. part.CFrame = RootPart.CFrame * Cf(rand(-15, 15), -3, rand(-15, 15)) * Euler(rad(rand(-180, 180)), rad(rand(-180, 180)),rad(rand(-180, 180)))
  2038. coroutine.resume(coroutine.create(function()
  2039. wait(2)
  2040. for t = 0, 1, .1 do
  2041. runServ.Stepped:wait()
  2042. part.Transparency = t
  2043. end
  2044. debServ:AddItem(part, 0)
  2045. end))
  2046. end
  2047. wait(2)
  2048. for i = 0, 3, .1 do
  2049. swait()
  2050. local AnimSpeed = .1
  2051. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-30),0,0), AnimSpeed)
  2052. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2053. end
  2054. chatServ:Chat(Head, "Let's get started.", 2)
  2055. wait(.5)
  2056. CurrentSpeed[1] = 8
  2057. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  2058. Humanoid.JumpPower = 90
  2059. Debounces.Equipped = true
  2060. Debounces.Equipping = false
  2061. Debounces.DisableJump = false
  2062. end
  2063.  
  2064. function ClickCombo()
  2065. Debounces.Attacking = true
  2066. if Mode == 0 then
  2067.  
  2068. elseif Mode == 1 then
  2069. if Attack_Num == 1 then
  2070. Attack_Num = 2
  2071. for i = 0, 1, .1 do
  2072. swait()
  2073. local AnimSpeed = .4
  2074. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), AnimSpeed)
  2075. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2076. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2077. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  2078. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(80)), AnimSpeed)
  2079. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2080. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.1)*Euler(rad(80),0,rad(-60)), AnimSpeed)
  2081. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2082. Neck.C0=clerp(Neck.C0,NNC0 *Euler(0,0,rad(60)), AnimSpeed)
  2083. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2084. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-60),0), AnimSpeed)
  2085. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2086. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-4),rad(-10),0), AnimSpeed)
  2087. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2088. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.54)*Euler(rad(-6),rad(50),0), AnimSpeed)
  2089. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2090. end
  2091. local slash = Sound(Handle, "234365573", 1, .6, false)
  2092. debServ:AddItem(slash, 3)
  2093. c1 = nil
  2094. c2 = nil
  2095. RootPart.Velocity = RootPart.CFrame.lookVector*50
  2096. local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 15, false, 0, true, "Normal", "None", RootPart, .25, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  2097. local hit2 = Hit_Box2.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 15, false, 0, true, "Normal", "None", RootPart, .25, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  2098. for i = 0, .8, .1 do
  2099. swait()
  2100. local x = Hit_Box
  2101. c2 = x.CFrame*Cf(0, .1, 0)
  2102. if c1 and (x.Position-c1.p).magnitude > .1 then
  2103. local h = 5
  2104. local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon")
  2105. if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end
  2106. local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon")
  2107. if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end
  2108. c1 = c2
  2109. elseif not c1 then
  2110. c1 = c2
  2111. end
  2112. local AnimSpeed = .4
  2113. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(8),0,0), AnimSpeed)
  2114. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2115. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2116. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  2117. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.2,0.5,-.5)*Euler(0,0,rad(80)), AnimSpeed)
  2118. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-130),0,0), AnimSpeed)
  2119. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.1)*Euler(rad(-20),0,rad(-10)), AnimSpeed)
  2120. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2121. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(10),0,rad(-30)), AnimSpeed)
  2122. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2123. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), AnimSpeed)
  2124. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2125. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,.3)*Euler(rad(-4),rad(-30),0), AnimSpeed)
  2126. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2127. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.15)*Euler(rad(-6),rad(10),0), AnimSpeed)
  2128. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2129. end
  2130. hit:disconnect()
  2131. hit2:disconnect()
  2132. elseif Attack_Num == 2 then
  2133. Attack_Num = 3
  2134. for i = 0, 1, .1 do
  2135. swait()
  2136. local AnimSpeed = .4
  2137. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(0),0,0), AnimSpeed)
  2138. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2139. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),0,0), AnimSpeed)
  2140. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), AnimSpeed)
  2141. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.2,0.5,-.5)*Euler(0,0,rad(120)), AnimSpeed)
  2142. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-100),0,0), AnimSpeed)
  2143. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.35,-.2)*Euler(rad(30),0,rad(20)), AnimSpeed)
  2144. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2145. Neck.C0=clerp(Neck.C0,NNC0 *Euler(0,rad(-10),rad(-50)), AnimSpeed)
  2146. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2147. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10),rad(70),0), AnimSpeed)
  2148. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2149. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.3)*Euler(rad(4),rad(-30),rad(8)), AnimSpeed)
  2150. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2151. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.15)*Euler(rad(-6),rad(10),0), AnimSpeed)
  2152. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2153. end
  2154. local slash = Sound(Handle, "234365549", 1, .8, false)
  2155. debServ:AddItem(slash, 3)
  2156. c1 = nil
  2157. c2 = nil
  2158. RootPart.Velocity = RootPart.CFrame.lookVector*60
  2159. local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 7, 8, true, 15, false, 0, true, "Normal", "None", RootPart, .25, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  2160. local hit2 = Hit_Box2.Touched:connect(function(part) DamageFunction(part, true, 7, 8, true, 15, false, 0, true, "Normal", "None", RootPart, .25, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  2161. for i = 0, .8, .1 do
  2162. swait()
  2163. local x = Hit_Box
  2164. c2 = x.CFrame*Cf(0, .1, 0)
  2165. if c1 and (x.Position-c1.p).magnitude > .1 then
  2166. local h = 5
  2167. local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon")
  2168. if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end
  2169. local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon")
  2170. if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end
  2171. c1 = c2
  2172. elseif not c1 then
  2173. c1 = c2
  2174. end
  2175. local AnimSpeed = .4
  2176. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(0),0,0), AnimSpeed)
  2177. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2178. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),0,0), AnimSpeed)
  2179. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), AnimSpeed)
  2180. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(80)), AnimSpeed)
  2181. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-10),0,0), AnimSpeed)
  2182. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.1)*Euler(rad(-30),0,rad(-25)), AnimSpeed)
  2183. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2184. Neck.C0=clerp(Neck.C0,NNC0 *Euler(0,0,rad(30)), AnimSpeed)
  2185. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2186. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.2,0)*Euler(rad(-20),rad(-30),0), AnimSpeed)
  2187. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2188. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-20),rad(-10),rad(10)), AnimSpeed)
  2189. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2190. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,0)*Euler(rad(16),rad(30),rad(-10)), AnimSpeed)
  2191. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2192. end
  2193. hit:disconnect()
  2194. hit2:disconnect()
  2195. elseif Attack_Num == 3 then
  2196. Attack_Num = 4
  2197. Humanoid.WalkSpeed = 4
  2198. Debounces.DisableJump = true
  2199. local swing = Sound(RightLeg, "169445092", .7, .8, false)
  2200. debServ:AddItem(swing, 3)
  2201. for i = 0, 1.2, .1 do
  2202. swait()
  2203. MagniDamage(RightLeg, 4, true, 4, 5, false, {0, 52}, false, 0, false, "SkyRocket", "None", .5, false, 0, true, HitSounds.Sharp.Small, 1, .5)
  2204. local AnimSpeed = .4
  2205. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), AnimSpeed)
  2206. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2207. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2208. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  2209. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(rad(-25),0,rad(12)), AnimSpeed)
  2210. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), AnimSpeed)
  2211. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(-25),0,rad(-12)), AnimSpeed)
  2212. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), AnimSpeed)
  2213. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6),0,0), AnimSpeed)
  2214. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2215. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0), AnimSpeed)
  2216. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2217. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,-.4)*Euler(rad(130),0,0), AnimSpeed)
  2218. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2219. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-22),0,0), AnimSpeed)
  2220. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2221. end
  2222. local swing = Sound(RightLeg, "169445073", 1.2, .8, false)
  2223. debServ:AddItem(swing, 3)
  2224. for i = .5, 0, -.1 do
  2225. swait()
  2226. MagniDamage(RightLeg, i*8, false, 0, 0, false, {1, 4}, false, 0, true, "Knockdown2", "Sphere", 0, false, 0, true, HitSounds.Sharp.Small, 1, .5)
  2227. if i <= .3 then
  2228. Humanoid.WalkSpeed = 0
  2229. end
  2230. local AnimSpeed = .4
  2231. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-5),0,0), AnimSpeed)
  2232. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2233. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2234. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  2235. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(rad(-30),0,rad(12)), AnimSpeed)
  2236. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), AnimSpeed)
  2237. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(-30),0,rad(-12)), AnimSpeed)
  2238. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), AnimSpeed)
  2239. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(10),0,0), AnimSpeed)
  2240. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2241. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),0,0), AnimSpeed)
  2242. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2243. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,-.6)*Euler(rad(22),0,0), AnimSpeed)
  2244. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2245. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(12),0,0), AnimSpeed)
  2246. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2247. end
  2248. local ground = workspace:FindPartOnRay(Ray.new(RightLeg.Position, (RightLeg.CFrame * Euler(rad(-90), 0, 0)).lookVector.Unit * 2),Character, true, true)
  2249. if ground then
  2250. local SlamS = Sound(RightLeg, "142070127", 1, 1, false)
  2251. debServ:AddItem(SlamS, 3)
  2252. MagicWave(ground.BrickColor.Name, "SmoothPlastic", RightLeg.CFrame * Cf(0, -.8, 0), .1, .1, .1, .5, .1, .5, .08)
  2253. MagniDamage(RightLeg, 5, true, 5, 6, false, {20, -20}, false, 0, true, "Knockdown2", "L-Blood", .2, false, 0, true, "440145223", 1.3, .5)
  2254. swait(.2/FrameRate)
  2255. else
  2256. MagniDamage(RightLeg, 9, true, 1, 2, false, {0, 10}, false, 0, true, "Knockdown2", "Blood", .2, false, 0, true, HitSounds.Sharp.Small, 1, .5)
  2257. swait(.5/FrameRate)
  2258. end
  2259. Debounces.DisableJump = false
  2260. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  2261. elseif Attack_Num == 4 then
  2262. Attack_Num = 1
  2263. Humanoid.WalkSpeed = 5
  2264. Debounces.DisableJump = true
  2265. for i = 0, 1.2, .1 do
  2266. swait()
  2267. local AnimSpeed = .4
  2268. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,.6)*Euler(rad(0),0,0), AnimSpeed)
  2269. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2270. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),0,0), AnimSpeed)
  2271. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), AnimSpeed)
  2272. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.4,-.4)*Euler(rad(160),0,0), AnimSpeed)
  2273. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), AnimSpeed)
  2274. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.3,0.8,-.95)*Euler(rad(130),0,rad(50)), AnimSpeed)
  2275. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2276. Neck.C0=clerp(Neck.C0,NNC0 *Euler(0,0,rad(40)), AnimSpeed)
  2277. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2278. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), AnimSpeed)
  2279. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  2280. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(-5),0), AnimSpeed)
  2281. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2282. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(20),0), AnimSpeed)
  2283. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2284. end
  2285. local slash = Sound(Handle, "234365549", 1, .5, false)
  2286. debServ:AddItem(slash, 3)
  2287. c1 = nil
  2288. c2 = nil
  2289. local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 9, 10, true, 5, false, 0, true, "Normal", "Sphere", RootPart, .1, false, _, true, HitSounds.Blunt.Med, 1.4, .4) end)
  2290. local hit2 = Hit_Box2.Touched:connect(function(part) DamageFunction(part, true, 9, 10, true, 5, false, 0, true, "Normal", "Sphere", RootPart, .1, false, _, true, HitSounds.Blunt.Med, 1.4, .4) end)
  2291. Humanoid.WalkSpeed = 0
  2292. for i = 0, .5, .1 do
  2293. swait()
  2294. local x = Hit_Box2
  2295. c2 = x.CFrame*Cf(0, .1, 0)
  2296. if c1 and (x.Position-c1.p).magnitude > .1 then
  2297. local h = 5
  2298. local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon")
  2299. if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end
  2300. local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon")
  2301. if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end
  2302. c1 = c2
  2303. elseif not c1 then
  2304. c1 = c2
  2305. end
  2306. local AnimSpeed = .4
  2307. HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(150),0,rad(-40)), AnimSpeed)
  2308. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), AnimSpeed)
  2309. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2310. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), AnimSpeed)
  2311. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), AnimSpeed)
  2312. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), AnimSpeed)
  2313. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), AnimSpeed)
  2314. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), AnimSpeed)
  2315. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(10),0,rad(-40)), AnimSpeed)
  2316. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2317. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.6,0)*Euler(0,rad(60),0), AnimSpeed)
  2318. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(rad(10),0,0), AnimSpeed)
  2319. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-50),rad(0),0), AnimSpeed)
  2320. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2321. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.4)*Euler(rad(10),rad(0),0), AnimSpeed)
  2322. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2323. end
  2324. hit:disconnect()
  2325. hit2:disconnect()
  2326. local ground, pos = workspace:FindPartOnRay(Ray.new(Hit_Box.Position, (Hit_Box.CFrame * Euler(0, rad(-90), 0)).lookVector.Unit * 2), Character, true, true)
  2327. if ground then
  2328. local SlamS = Sound(Hit_Box, "157878578", .3, 1.5, false)
  2329. debServ:AddItem(SlamS, 3)
  2330. MagicWave(ground.BrickColor.Name, "SmoothPlastic", Cf(pos), .3, .3, .3, 1, .5, 1, .08)
  2331. MagniDamage(Hit_Box, 7, true, 6, 7, true, 50, false, 0, true, "Normal", "Blood", .1, false, 0, true, "440145223", 1.3, .5)
  2332. for i = 0, rand(6, 12), 1 do
  2333. local size = rand(.2, .8)
  2334. local part = CreatePart("Part", F3, ground.BrickColor.Name, ground.Material.Name, 0, 0, "Block", Vec(size, size, size), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(1, 1, 1), _, _)
  2335. part.CFrame = Cf(pos) * Cf(rand(-5, 5), 0, rand(-5, 5)) * Euler(rad(rand(-180, 180)), rad(rand(-180, 180)),rad(rand(-180, 180)))
  2336. coroutine.resume(coroutine.create(function()
  2337. wait(2)
  2338. for t = 0, 1, .1 do
  2339. runServ.Stepped:wait()
  2340. part.Transparency = t
  2341. end
  2342. debServ:AddItem(part, 0)
  2343. end))
  2344. end
  2345. swait(.2/FrameRate)
  2346. else
  2347. swait(.4/FrameRate)
  2348. end
  2349. Debounces.DisableJump = false
  2350. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  2351. end
  2352. elseif Mode == 2 then
  2353.  
  2354. elseif Mode == 3 then
  2355.  
  2356. elseif Mode == 4 then
  2357.  
  2358. end
  2359. Debounces.Attacking = false
  2360. coroutine.resume(coroutine.create(function()
  2361. if Attack_Num ~= 1 then
  2362. local ln = Attack_Num
  2363. for i = 0, 20, .1 do
  2364. runServ.Stepped:wait()
  2365. if Attack_Num ~= ln then
  2366. --print("aa, u cliked!")
  2367. break
  2368. end
  2369. end
  2370. if Attack_Num == ln then
  2371. --print("ur slow fam")
  2372. Attack_Num = 1
  2373. end
  2374. end
  2375. end))
  2376. end
  2377.  
  2378. function BlossomingDoom()
  2379. if retr.Value >= 15 then
  2380. Debounces.Attacking = true
  2381. Debounces.DisableJump = true
  2382. retr.Value = retr.Value-15
  2383. local released = false
  2384. local attacking = false
  2385. local bcount = {0, 1}
  2386. Mouse.KeyUp:connect(function(key)
  2387. if key == "z" then
  2388. released = true
  2389. end
  2390. end)
  2391. Humanoid.WalkSpeed = 0
  2392. coroutine.resume(coroutine.create(function()
  2393. while not attacking do
  2394. Humanoid.WalkSpeed = 0
  2395. swait()
  2396. local AnimSpeed = .4
  2397. change = .5
  2398. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(6.5),0,0), AnimSpeed)
  2399. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2400. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2401. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  2402. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(0,0,rad(50+2*cos(sine/6))), AnimSpeed)
  2403. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), AnimSpeed)
  2404. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(100),0,rad(-50-2*cos(sine/6))), AnimSpeed)
  2405. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(22),0), AnimSpeed)
  2406. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6+2*cos(sine/6)),0,rad(40)), AnimSpeed)
  2407. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2408. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1+.1*cos(sine/20),0)*Euler(rad(-30),0,rad(-10)), AnimSpeed)
  2409. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(40),0), AnimSpeed)
  2410. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1-.1*cos(sine/20),0)*Euler(rad(17),0,rad(5)), AnimSpeed)
  2411. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(12),0), AnimSpeed)
  2412. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.7-.1*cos(sine/20),0)*Euler(rad(24),0,rad(-10)), AnimSpeed)
  2413. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-25),0), AnimSpeed)
  2414. end
  2415. end))
  2416. swait(.1/FrameRate)
  2417. if retr.Value > 0 then
  2418. repeat
  2419. swait()
  2420. bcount[1] = bcount[1]+.1
  2421. if bcount[1] >= 2 then
  2422. bcount[2] = bcount[2]+1
  2423. bcount[1] = 0
  2424. end
  2425. if bcount[2] > 1 then
  2426. retr.Value = retr.Value-.4
  2427. for i = 0, rand(3,6), 1 do
  2428. MagicSphere4(Colour1, "Neon", (Hit_Box2.CFrame * Cf(-.5, 0, 0)) * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), .8, 8, .8, .2, 0, 3, 0)
  2429. end
  2430. if rand(1, 4) == 4 then
  2431. MagicSphere(Colour1, "Neon", Hit_Box2.CFrame * Cf(-.5, 0, 0), 2, 2, 2, 4, 4, 4, .1)
  2432. end
  2433. end
  2434. until released or retr.Value == 0 or bcount[2] >= 6
  2435. end
  2436. attacking = true
  2437. RootPart.Velocity = RootPart.CFrame.lookVector*-30
  2438. local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 50, false, 0, true, "Normal", "None", RootPart, .1, false, _, true, HitSounds.Blunt.Med, 1.4, .4) end)
  2439. local hit2 = Hit_Box2.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 50, false, 0, true, "Normal", "None", RootPart, .1, false, _, true, HitSounds.Blunt.Med, 1.4, .4) end)
  2440. c1 = nil
  2441. c2 = nil
  2442. local slash = Sound(Handle, "234365573", 1, 1.1, false)
  2443. debServ:AddItem(slash, 3)
  2444. chatServ:Chat(Head, "Blossoming Doom!", 2)
  2445. for i = 0, .5, .1 do
  2446. swait()
  2447. local x = Hit_Box2
  2448. c2 = x.CFrame*Cf(0, .1, 0)
  2449. if c1 and (x.Position-c1.p).magnitude > .1 then
  2450. local h = 5
  2451. local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon")
  2452. if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end
  2453. local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon")
  2454. if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end
  2455. c1 = c2
  2456. elseif not c1 then
  2457. c1 = c2
  2458. end
  2459. local AnimSpeed = .4
  2460. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(10),0,0), AnimSpeed)
  2461. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2462. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  2463. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  2464. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(rad(170),0,rad(10)), AnimSpeed)
  2465. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), AnimSpeed)
  2466. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(100),0,rad(-20)), AnimSpeed)
  2467. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(22),0), AnimSpeed)
  2468. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6),0,rad(20)), AnimSpeed)
  2469. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2470. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.1,0)*Euler(rad(10),0,0), AnimSpeed)
  2471. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(20),0), AnimSpeed)
  2472. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,0)*Euler(rad(-15),0,rad(5)), AnimSpeed)
  2473. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(15),0), AnimSpeed)
  2474. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,0)*Euler(rad(-8),0,rad(-10)), AnimSpeed)
  2475. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-20),0), AnimSpeed)
  2476. end
  2477. local look = RootPart.CFrame
  2478. local function Blossom(num)
  2479. coroutine.resume(coroutine.create(function()
  2480. local ed = bcount[2]
  2481. MagicRing2(Colour1, "Neon", look * Cf(0, -3, -6*num) * Euler(rad(90), 0, 0), 1, 1, 1, 1.5, 1.5, 0, .1)
  2482. local orb = CreatePart("Part", F3, Colour1, "Neon", .5, 0, "Point", Vec(1, 1, 1), Vec(0, 0, 0), Vec(0, 0, 0), "SpecialMesh", Vec(6, 6, 6), "", "Sphere")
  2483. orb.CFrame = look * Cf(0, -3, -6*num)
  2484. orb.Anchored = false
  2485. orb.CanCollide = false
  2486. local lau = Sound(orb, 233091161, 1, .8, false)
  2487. debServ:AddItem(lau, 3)
  2488. local vel = Inst("BodyVelocity", orb)
  2489. vel.MaxForce = Vec(0, huge, 0)
  2490. vel.Velocity = Vec(0, 50, 0)
  2491. for i = .5, 1.025, .025 do
  2492. swait()
  2493. MagniDamage(orb, 5, false, 0, .1, false, {0, 65}, false, 0, true, "SkyRocket", "None", 0, false, 0, true, HitSounds.Sharp.Small, 1.4, .4)
  2494. orb.Transparency = i
  2495. MagicBlock(Colour2, "SmoothPlastic", orb.CFrame , 15, 15, 15, 4, 4, 4, .1)
  2496. end
  2497. orb.Anchored = true
  2498. MagicSphere(Colour1, "Neon", orb.CFrame , 50, 50, 50, 10, 10, 10, .1)
  2499. MagniDamage(orb, 20, false, 0, 8*(ed/3), false, {50, 30}, true, 4, true, "SkyRocket", "B-Blood", 0, false, 0, true, "440145223", 1.3, .5)
  2500. for i = 0, rand(10,12), 1 do
  2501. MagicPettles(Colour1, "Neon", orb.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), .15, 10, .15, .1, 4, .1, .04, 0, 2, 0)
  2502. end
  2503. local boom = Sound(orb, "233091183", .6, .8, false)
  2504. debServ:AddItem(boom, 3)
  2505. debServ:AddItem(orb, 3)
  2506. end))
  2507. end
  2508. coroutine.resume(coroutine.create(function()
  2509. for i = 1, bcount[2], 1 do
  2510. Blossom(i)
  2511. swait(.2/FrameRate)
  2512. end
  2513. end))
  2514. hit:disconnect()
  2515. hit2:disconnect()
  2516. swait(.5/FrameRate)
  2517. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  2518. Debounces.Attacking = false
  2519. Debounces.DisableJump = false
  2520. end
  2521. end
  2522.  
  2523. function Devour()
  2524. if retr.Value >= 60 then
  2525. Debounces.Attacking = true
  2526. Debounces.DisableJump = true
  2527. retr.Value = retr.Value-60
  2528. local released = false
  2529. local attacking = false
  2530. local ed = {0, 1}
  2531. Mouse.KeyUp:connect(function(key)
  2532. if key == "v" then
  2533. released = true
  2534. end
  2535. end)
  2536. for i = 0, 1, .1 do
  2537. Humanoid.WalkSpeed = 0
  2538. swait()
  2539. local AnimSpeed = .4
  2540. HWeld.C0=clerp(HWeld.C0,Cf(-.3,-1,0)*Euler(rad(6.5),0,0), AnimSpeed)
  2541. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2542. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),rad(-60),rad(105)), AnimSpeed)
  2543. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(90),0), AnimSpeed)
  2544. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5,.2)*Euler(rad(80),0,rad(75)), AnimSpeed)
  2545. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2546. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(80),0,rad(-20)), AnimSpeed)
  2547. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), AnimSpeed)
  2548. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6),0,rad(60)), AnimSpeed)
  2549. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2550. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), AnimSpeed)
  2551. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(60),0), AnimSpeed)
  2552. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.05)*Euler(rad(-3),rad(-10),rad(10)), AnimSpeed)
  2553. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2554. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-.9,.5)*Euler(0,rad(50),0), AnimSpeed)
  2555. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  2556. end
  2557. chatServ:Chat(Head, "Awaken..", 2)
  2558. ObjVals.Eye1.Weld.C0 = Cf(0, .15, -0.003)
  2559. ObjVals.Eye2.Weld.C0 = Cf(0, .15, 0.003)
  2560. coroutine.resume(coroutine.create(function()
  2561. for i = 0, .85, .07 do
  2562. swait()
  2563. ObjVals.Eye1.Mesh.Scale = Vec(i, 1.1, .46)
  2564. ObjVals.Eye2.Mesh.Scale = Vec(i, 1.1, .46)
  2565. end
  2566. end))
  2567. for i = 0, .9, .1 do
  2568. swait()
  2569. ObjVals.Eye1.EBMesh.Scale = Vec(i, 1.1, .46)
  2570. ObjVals.Eye2.EBMesh.Scale = Vec(i, 1.1, .46)
  2571. end
  2572. Humanoid.WalkSpeed = 3
  2573. if not released and retr.Value > 0 then
  2574. repeat swait()
  2575. ed[1] = ed[1]+.1
  2576. if ed[1] >= 3 then
  2577. ed[2] = ed[2]+1
  2578. ed[1] = 0
  2579. end
  2580. retr.Value = retr.Value-0.5
  2581. if Current_Anim == "Idle" then
  2582. local AnimSpeed = .4
  2583. change = .5
  2584. HWeld.C0=clerp(HWeld.C0,Cf(-.3,-1,0)*Euler(rad(6.5),0,0), AnimSpeed)
  2585. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2586. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),rad(-60),rad(105)), AnimSpeed)
  2587. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(90),0), AnimSpeed)
  2588. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5+.1*cos(sine/20),.2)*Euler(rad(80+2*cos(sine/20)),0,rad(75)), AnimSpeed)
  2589. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2590. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53+.1*cos(sine/20),0)*Euler(rad(80+2*cos(sine/20)),0,rad(-20)), AnimSpeed)
  2591. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), AnimSpeed)
  2592. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6+1*cos(sine/15)),0,rad(60)), AnimSpeed)
  2593. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2594. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1+.1*cos(sine/20),0)*Euler(rad(-6),0,0), AnimSpeed)
  2595. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(60),0), AnimSpeed)
  2596. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8-.1*cos(sine/20),.05)*Euler(rad(-3),rad(-10),rad(10)), AnimSpeed)
  2597. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2598. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-.9-.1*cos(sine/20),.5)*Euler(0,rad(50),0), AnimSpeed)
  2599. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  2600. elseif Current_Anim == "Dashing" then
  2601. local AnimSpeed = .4
  2602. change = .5
  2603. HWeld.C0=clerp(HWeld.C0,Cf(-.3,-1,0)*Euler(rad(6.5),0,0), AnimSpeed)
  2604. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2605. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),rad(-60),rad(105)), AnimSpeed)
  2606. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(90),0), AnimSpeed)
  2607. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5+.1*cos(sine/20),.2)*Euler(rad(80+2*cos(sine/20)),0,rad(75)), AnimSpeed)
  2608. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2609. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53+.1*cos(sine/20),0)*Euler(rad(80+2*cos(sine/20)),0,rad(-20)), AnimSpeed)
  2610. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), AnimSpeed)
  2611. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6+1*cos(sine/15)),0,rad(60)), AnimSpeed)
  2612. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2613. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), AnimSpeed)
  2614. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(60),0), AnimSpeed)
  2615. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.05)*Euler(rad(-3),rad(-10),rad(10+10*cos(sine/5))), AnimSpeed)
  2616. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2617. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-.9,.5)*Euler(0,rad(50),0), AnimSpeed)
  2618. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-5-10*cos(sine/5)),0,0), AnimSpeed)
  2619. end
  2620. until released or retr.Value == 0 or ed[2] >= 4
  2621. end
  2622. ObjVals.M1.DesiredAngle = rad(35)
  2623. ObjVals.M1.MaxVelocity = rad(2.5)
  2624. ObjVals.M2.DesiredAngle = rad(-35)
  2625. ObjVals.M2.MaxVelocity = rad(2.5)
  2626. local rawr = Sound(Handle, 511715134, 1, 1.5, false)
  2627. debServ:AddItem(rawr, 3)
  2628. chatServ:Chat(Head, "And..", 2)
  2629. ObjVals.Awakened = true
  2630. for i = 0, 3, .1 do
  2631. Humanoid.WalkSpeed = 0
  2632. swait()
  2633. local AnimSpeed = .4
  2634. HWeld.C0=clerp(HWeld.C0,Cf(-.35,-1,0)*Euler(rad(6.5),0,0), AnimSpeed)
  2635. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2636. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),rad(-65),rad(105)), AnimSpeed)
  2637. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(90),0), AnimSpeed)
  2638. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5,.2)*Euler(rad(80),0,rad(80)), AnimSpeed)
  2639. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2640. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(80),0,rad(-80)), AnimSpeed)
  2641. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(12),0), AnimSpeed)
  2642. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(12),0,rad(70)), AnimSpeed)
  2643. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2644. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), AnimSpeed)
  2645. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(80),0), AnimSpeed)
  2646. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.05)*Euler(rad(-3),rad(-10),rad(10)), AnimSpeed)
  2647. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2648. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-.9,.5)*Euler(0,rad(50),0), AnimSpeed)
  2649. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  2650. end
  2651. ObjVals.M1.DesiredAngle = rad(0)
  2652. ObjVals.M1.MaxVelocity = rad(.15)
  2653. ObjVals.M2.DesiredAngle = rad(0)
  2654. ObjVals.M2.MaxVelocity = rad(.15)
  2655. local point = CreatePart("Part", F2, "White", "SmoothPlastic", 1, 0, "Point", Vec(1, 1, 1), Vec(0, 0, 0), Vec(0, 0, 0), "BlockMesh", Vec(1, 1, 1), _, _)
  2656. point.Anchored = false
  2657. point.CanCollide = false
  2658. local w = Inst("Weld", point)
  2659. w.Part0 = RootPart
  2660. w.Part1 = point
  2661. w.C0 = Cf(-.5, .4, -6)
  2662. chatServ:Chat(Head, "Devour!", 2)
  2663. for i = 1, 0, -.1 do
  2664. MagicSphere4(Colour1, "Neon", Handle.CFrame * Cf(.6, 1, .5) * Euler(rad(-25), 0, rad(25)), .5, 10, .5, .2, 0, -2, 0)
  2665. MagicSphere4(Colour1, "Neon", Handle.CFrame * Cf(-.6, 1, .5) * Euler(rad(-25), 0, rad(-25)), .5, 10, .5, .2, 0, -2, 0)
  2666. MagicSphere4(Colour1, "Neon", Handle.CFrame * Cf(.6, 1, -.5) * Euler(rad(25), 0, rad(25)), .5, 10, .5, .2, 0, -2, 0)
  2667. MagicSphere4(Colour1, "Neon", Handle.CFrame * Cf(-.6, 1, -.5) * Euler(rad(25), 0, rad(-25)), .5, 10, .5, .2, 0, -2, 0)
  2668. RootPart.Velocity = RootPart.CFrame.lookVector*80
  2669. Humanoid.WalkSpeed = 0
  2670. swait()
  2671. if i > 0.1 then
  2672. MagniDamage(point, 4, false, 0, 0, true, 75, false, 0, true, "Normal", "Sphere", 0, false, 0, true, HitSounds.Sharp.Small, 1.3, .5)
  2673. else
  2674. MagniDamage(point, 6, false, 0, 0, true, -10, false, 0, true, "Normal", "Sphere", 0, false, 0, true, HitSounds.Sharp.Small, 1.3, .5)
  2675. end
  2676. local AnimSpeed = .4
  2677. HWeld.C0=clerp(HWeld.C0,Cf(-.4,-.7,0)*Euler(0,0,0), AnimSpeed)
  2678. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2679. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),rad(-110),rad(90)), AnimSpeed)
  2680. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(-90),0), AnimSpeed)
  2681. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60)), AnimSpeed)
  2682. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2683. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(60),0,rad(-80)), AnimSpeed)
  2684. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0), AnimSpeed)
  2685. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(12),0,rad(-50)), AnimSpeed)
  2686. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2687. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.15,0)*Euler(0,0,0), AnimSpeed)
  2688. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(-80),0), AnimSpeed)
  2689. FRightHip.C0=clerp(FRightHip.C0,Cf(1.4,-.7,.5)*Euler(0,rad(-50),rad(10)), AnimSpeed)
  2690. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  2691. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,.05)*Euler(rad(-3),rad(10),rad(-3)), AnimSpeed)
  2692. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2693. end
  2694. RootPart.Velocity = RootPart.CFrame.lookVector*0
  2695. ObjVals.M1.MaxVelocity = rad(4)
  2696. ObjVals.M2.MaxVelocity = rad(4)
  2697. repeat swait() until ObjVals.M1.CurrentAngle < 0.2 and ObjVals.M2.CurrentAngle < 0.2
  2698. MagicSphere(Colour1, "Neon", point.CFrame , 30, 30, 30, 5, 5, 5, .05)
  2699. MagicRing2(Colour1, "Neon", point.CFrame * Euler(rad(90), 0, 0) , 5, 5, .5, 5, 5, .5, .05)
  2700. for i = 0, rand(10,12), 1 do
  2701. MagicPettles(Colour1, "Neon", point.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), .1, 8, .1, .1, 4, .1, .02, 0, 2, 0)
  2702. end
  2703. local slam = Sound(Handle, 383635050, .4, 1.5, false)
  2704. debServ:AddItem(slam, 3)
  2705. repeat swait()
  2706. MagniDamage(point, 8, false, 0, 25*ed[2], true, 110, true, 3, true, "Stun", "B-Blood", .3, false, 0, true, HitSounds.Body.Blood, 1.3, .5)
  2707. until ObjVals.M1.CurrentAngle == 0 and ObjVals.M2.CurrentAngle == 0
  2708. ObjVals.Awakened = false
  2709. debServ:AddItem(point, 0)
  2710. coroutine.resume(coroutine.create(function()
  2711. for i = .85, 0, -.07 do
  2712. swait()
  2713. ObjVals.Eye1.Mesh.Scale = Vec(i, 1.1, .46)
  2714. ObjVals.Eye2.Mesh.Scale = Vec(i, 1.1, .46)
  2715. end
  2716. end))
  2717. for i = .9, 0, -.1 do
  2718. swait()
  2719. ObjVals.Eye1.EBMesh.Scale = Vec(i, 1.1, .46)
  2720. ObjVals.Eye2.EBMesh.Scale = Vec(i, 1.1, .46)
  2721. end
  2722. ObjVals.Eye1.Mesh.Scale = Vec(0, 1.1, .46)
  2723. ObjVals.Eye2.Mesh.Scale = Vec(0, 1.1, .46)
  2724. ObjVals.Eye1.EBMesh.Scale = Vec(0, 1.1, .46)
  2725. ObjVals.Eye2.EBMesh.Scale = Vec(0, 1.1, .46)
  2726. swait(.6/FrameRate)
  2727. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  2728. Debounces.Attacking = false
  2729. Debounces.DisableJump = false
  2730. end
  2731. end
  2732.  
  2733. function Retrive()
  2734. swait(.05/FrameRate)
  2735. local ang = 0
  2736. local k = Mouse.KeyDown:connect(function(key)
  2737. if key == "s" then
  2738. ang = 45
  2739. elseif key == "w" and Current_Anim == "Falling" then
  2740. ang = -45
  2741. end
  2742. end)
  2743. swait(.05/FrameRate)
  2744. if retr.Value >= 10 and MCD.Retrive[1] >= MCD.Retrive[2] then
  2745. Debounces.Attacking = true
  2746. Debounces.DisableJump = true
  2747. retr.Value = retr.Value-10
  2748. Humanoid.WalkSpeed = 0
  2749. for i = 0, 1.5, .1 do
  2750. swait()
  2751. RootPart.Velocity = Vec(0, 0, 0)
  2752. local AnimSpeed = .4
  2753. HWeld.C0=clerp(HWeld.C0,Cf(-.35,-1,0)*Euler(rad(6.5),0,0), AnimSpeed)
  2754. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2755. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),rad(-65),rad(105)), AnimSpeed)
  2756. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(90),0), AnimSpeed)
  2757. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5,.2)*Euler(rad(80),0,rad(80)), AnimSpeed)
  2758. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2759. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(80),0,rad(-80)), AnimSpeed)
  2760. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(12),0), AnimSpeed)
  2761. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(12),0,rad(70)), AnimSpeed)
  2762. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2763. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6+ang),0,0), AnimSpeed)
  2764. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(80),0), AnimSpeed)
  2765. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.05)*Euler(rad(-3+ang),rad(-10),rad(10)), AnimSpeed)
  2766. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2767. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-.9,.5)*Euler(rad(ang),rad(50),0), AnimSpeed)
  2768. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  2769. end
  2770. k:disconnect()
  2771. for i = 0, .5, .1 do
  2772. swait()
  2773. RootPart.Velocity = Vec(0, 0, 0)
  2774. local AnimSpeed = .55
  2775. HWeld.C0=clerp(HWeld.C0,Cf(-.4,-.7,0)*Euler(0,0,0), AnimSpeed)
  2776. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2777. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),rad(-110),rad(91)), AnimSpeed)
  2778. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(-90),0), AnimSpeed)
  2779. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60)), AnimSpeed)
  2780. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  2781. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(60),0,rad(-80)), AnimSpeed)
  2782. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0), AnimSpeed)
  2783. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(12),0,rad(-50)), AnimSpeed)
  2784. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2785. FRootJoint.C0=clerp(FRootJoint.C0,Cf(1,-1.15,0)*Euler(rad(ang),0,0), AnimSpeed)
  2786. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(-80),0), AnimSpeed)
  2787. FRightHip.C0=clerp(FRightHip.C0,Cf(1.4,-.7,.5)*Euler(rad(ang),rad(-50),rad(10)), AnimSpeed)
  2788. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  2789. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,.05)*Euler(rad(-3+ang),rad(10),rad(-3)), AnimSpeed)
  2790. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2791. end
  2792. MagicRing2("White", "Neon", Handle.CFrame * Euler(rad(90), 0, 0) , 1, 1, .1, 1, 1, .1, .07)
  2793. local l = Inst("Part", F2)
  2794. l.Anchored = true
  2795. l.CanCollide = false
  2796. l.Locked = true
  2797. l.Size = Vec(3.2,3.2,.2)
  2798. l.Transparency = 1
  2799. l.Position = Handle.Position
  2800. l.Rotation = RootPart.Rotation
  2801. local v = Inst("BodyVelocity", l)
  2802. v.MaxForce = Vec(huge, huge, huge)
  2803. local lo = (l.CFrame * Euler(rad(ang), 0, 0)).lookVector
  2804. v.Velocity = lo*20
  2805. coroutine.resume(coroutine.create(function()
  2806. swait(.2/FrameRate)
  2807. MagicRing2(Colour1, "Neon", Handle.CFrame * Euler(rad(90), 0, 0) , 2, 2, .1, 1, 1, .1, .07)
  2808. local bo = Sound(Handle, "144699494", 1, 1.5, false)
  2809. debServ:AddItem(bo, 3)
  2810. v.Velocity = lo*120
  2811. end))
  2812. WepWeld.Part0 = l
  2813. WepWeld.Part1 = Handle
  2814. WepWeld.C0 = Cf() * Euler(rad(90), 0, 0)
  2815. l.Anchored = false
  2816. local gg = Inst("BodyGyro", l)
  2817. gg.MaxTorque = Vec(0, 0, 0)
  2818. gg.CFrame = l.CFrame
  2819. gg.MaxTorque = Vec(0, 100, 0)
  2820. local throw = Sound(Holder, "166423113", 1, .4, false)
  2821. debServ:AddItem(throw, 3)
  2822. local look = (RootPart.CFrame * Euler(rad(ang), 0, 0)).lookVector
  2823. if Current_Anim ~= "Falling" then
  2824. look = RootPart.CFrame.lookVector
  2825. end
  2826. local s = -120
  2827. RootPart.Velocity = look*s
  2828. local hit = {false, false, {nil, nil}}
  2829. local timer = {0, 10}
  2830. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  2831. repeat swait()
  2832. if s >= 0 then
  2833. Mode0Anims()
  2834. else
  2835. s = s+6
  2836. RootPart.Velocity = look*s
  2837. end
  2838. timer[1] = timer[1]+.1
  2839. local part, pos = workspace:FindPartOnRay(Ray.new(l.Position, l.CFrame.lookVector.Unit * -5.5), Character, true, true)
  2840. if part and not hit[1] then
  2841. local noid = FindHum(part.Parent)
  2842. if noid then
  2843. chatServ:Chat(Head, "You're mine!", 2)
  2844. hit[1] = true
  2845. hit[2] = true
  2846. local h = hit[3]
  2847. h[1] = noid
  2848. h[2] = part
  2849. DamageFunction(part, true, 8, 10, false, 0, false, 0, true, "FreezeStun", "B-Blood", RootPart, .21, false, _, true, HitSounds.Blunt.Med, 1.4, .4)
  2850. Debounces.KeyStrokeEnabled = true
  2851. else
  2852. if part.CanCollide == true then
  2853. local wh = Sound(Handle, "247879481", 1, .8, false)
  2854. debServ:AddItem(wh, 3)
  2855. hit[1] = true
  2856. end
  2857. end
  2858. end
  2859. until hit[1] or timer[1] >= timer[2] or Handle.Position.Y < -250
  2860. Humanoid.WalkSpeed = 0
  2861. Handle.Anchored = true
  2862. WepWeld.Part0 = nil
  2863. WepWeld.Part1 = Handle
  2864. WepWeld.C0 = Cf() * Euler(0, 0, 0)
  2865. debServ:AddItem(l, 0)
  2866. debServ:AddItem(v, 0)
  2867. debServ:AddItem(gg, 0)
  2868. Handle.Velocity = Vec(0, 0, 0)
  2869. local other = false
  2870. coroutine.resume(coroutine.create(function()
  2871. repeat swait()
  2872. if InputCommand == "42642626D" and retr.Value >= 55 then
  2873. other = true
  2874. Debounces.Successful_KeyStroke = true
  2875. Debounces.KeyStrokeEnabled = false
  2876. end
  2877. until other or not Debounces.KeyStrokeEnabled
  2878. end))
  2879. if hit[1] then
  2880. local bp = Inst("BodyPosition", RootPart)
  2881. bp.Name = DecName
  2882. bp.Position = RootPart.Position
  2883. bp.MaxForce = Vec(huge, huge, huge)
  2884. for i = 0, 1.2, .1 do
  2885. swait()
  2886. local AnimSpeed = .4
  2887. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.6,0)*Euler(rad(-30),0,rad(10)), AnimSpeed)
  2888. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(10),0), AnimSpeed)
  2889. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(rad(-30),0,rad(-10)), AnimSpeed)
  2890. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-10),0), AnimSpeed)
  2891. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-15),0,0), AnimSpeed)
  2892. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2893. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,5,0)*Euler(rad(-20),0,0), AnimSpeed)
  2894. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2895. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,-.5)*Euler(rad(-8),0,0), AnimSpeed)
  2896. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  2897. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.4)*Euler(rad(-20),0,0), AnimSpeed)
  2898. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  2899. end
  2900. chatServ:Chat(Head, "Retrive.", 2)
  2901. swait(.2/FrameRate)
  2902. for i = 0, .4, .1 do
  2903. swait()
  2904. local AnimSpeed = .55
  2905. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-32),0,rad(20)), AnimSpeed)
  2906. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), AnimSpeed)
  2907. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-32),0,rad(-20)), AnimSpeed)
  2908. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0), AnimSpeed)
  2909. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-15),0,0), AnimSpeed)
  2910. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  2911. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,5,0)*Euler(rad(25),0,0), AnimSpeed)
  2912. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  2913. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-35),0,rad(10)), AnimSpeed)
  2914. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(15),0), AnimSpeed)
  2915. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-35),0,rad(-10)), AnimSpeed)
  2916. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-15),0), AnimSpeed)
  2917. end
  2918. MagicSphere(Colour1, "Neon", Torso.CFrame , 60, 60, 60, -3, -3, -3, .06)
  2919. MagicBlock(Colour2, "SmoothPlastic", Torso.CFrame , 62, 62, 62, -3, -3, -3, .06)
  2920. for i = 0, rand(15,20), 1 do
  2921. MagicSphere4(Colour1, "Neon", Torso.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))) * Cf(0, 10, 0), 5, 5, 5, .06, 0, 10, 0)
  2922. end
  2923. local warp = Sound(RootPart, "181004943", 1, 1.2, false)
  2924. debServ:AddItem(warp, 3)
  2925. Humanoid.AutoRotate = false
  2926. swait(.4/FrameRate)
  2927. HWeld.C0=Cf(-.4,-.7,0)*Euler(0,0,0)
  2928. HWeld.C1=Cf(0,0,0)*Euler(0,0,0)
  2929. WepWeld.C0=Cf(0,0,0)*Euler(rad(-90),rad(-110),rad(91))
  2930. WepWeld.C1=Cf(0,0,0)*Euler(0,rad(-90),0)
  2931. FRightShoulder.C0=Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60))
  2932. FRightShoulder.C1=Cf(0,0.5,0)*Euler(0,0,0)
  2933. FLeftShoulder.C0=Cf(-1.5,0.53,0)*Euler(rad(60),0,rad(-80))
  2934. FLeftShoulder.C1=Cf(0,0.5,0)*Euler(0,rad(30),0)
  2935. Neck.C0=NNC0 *Euler(rad(12),0,rad(-50))
  2936. Neck.C1=NNC1 *Euler(0,0,0)
  2937. FRootJoint.C0=Cf(0,-1.15,0)*Euler(0,0,0)
  2938. FRootJoint.C1=Cf(0,-1,0)*Euler(0,rad(-80),0)
  2939. FRightHip.C0=Cf(1.4,-.7,.5)*Euler(0,rad(-50),rad(10))
  2940. FRightHip.C1=Cf(1,1,0)*Euler(rad(-5),0,0)
  2941. FLeftHip.C0=Cf(-1.5,-.8,.05)*Euler(rad(-3),rad(10),rad(-3))
  2942. FLeftHip.C1=Cf(-1,1,0)*Euler(0,0,0)
  2943. local aaa = false
  2944. if not Debounces.ProtectionEnabled then
  2945. aaa = true
  2946. Debounces.ProtectionEnabled = true
  2947. end
  2948. debServ:AddItem(bp, 0)
  2949. WepWeld.Part0 = Holder
  2950. WepWeld.Part1 = Handle
  2951. MagicSphere(Colour1, "Neon", Torso.CFrame , 60, 60, 60, 3, 3, 3, .06)
  2952. MagicBlock(Colour2, "SmoothPlastic", Torso.CFrame , 62, 62, 62, 3, 3, 3, .06)
  2953. for i = 0, rand(15,20), 1 do
  2954. MagicPettles(Colour1, "Neon", Torso.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), .1, 8, .1, .1, 4, .1, .03, 0, 2, 0)
  2955. end
  2956. local back = Sound(RootPart, "181004943", 1, 2.2, false)
  2957. debServ:AddItem(back, 3)
  2958. swait(.2/FrameRate)
  2959. if aaa then
  2960. Debounces.ProtectionEnabled = false
  2961. end
  2962. Debounces.Can_Double_Jump = true
  2963. RootPart.Velocity = RootPart.CFrame.lookVector*1
  2964. swait(.2/FrameRate)
  2965. Debounces.KeyStrokeEnabled = false
  2966. Handle.Anchored = false
  2967. if hit[2] then
  2968. if other then
  2969. RootPart.Velocity = RootPart.CFrame.lookVector*-20
  2970. ObjVals.Eye1.Weld.C0 = Cf(0, .15, -0.003)
  2971. ObjVals.Eye2.Weld.C0 = Cf(0, .15, 0.003)
  2972. coroutine.resume(coroutine.create(function()
  2973. for i = 0, .85, .07 do
  2974. swait()
  2975. ObjVals.Eye1.Mesh.Scale = Vec(i, 1.1, .46)
  2976. ObjVals.Eye2.Mesh.Scale = Vec(i, 1.1, .46)
  2977. end
  2978. end))
  2979. for i = 0, .9, .1 do
  2980. swait()
  2981. ObjVals.Eye1.EBMesh.Scale = Vec(i, 1.1, .46)
  2982. ObjVals.Eye2.EBMesh.Scale = Vec(i, 1.1, .46)
  2983. end
  2984. ObjVals.M1.DesiredAngle = rad(40)
  2985. ObjVals.M1.MaxVelocity = rad(2)
  2986. ObjVals.M2.DesiredAngle = rad(-40)
  2987. ObjVals.M2.MaxVelocity = rad(2)
  2988. local rawr = Sound(Handle, 511715134, 1, .9, false)
  2989. debServ:AddItem(rawr, 3)
  2990. local h = hit[3]
  2991. for i, p in pairs(EnemiesHit) do
  2992. if p[1] == h[1] then
  2993. p[2] = false
  2994. p[3] = "Cancel"
  2995. end
  2996. end
  2997. local g = Inst("BodyGyro", h[2])
  2998. g.MaxTorque = Vec(0, 500, 0)
  2999. g.P = 8000
  3000. g.CFrame = Cf(h[2].Position - RootPart.Position)
  3001. DamageFunction(h[2], false, 0, 5, false, 0, false, 0, false, "FreezeStun", "None", RootPart, 1, false, _, true, HitSounds.Body.Blood, 1.4, .4)
  3002. chatServ:Chat(Head, "Now...", 2)
  3003. for i = 0, 2.5, .1 do
  3004. swait()
  3005. local AnimSpeed = .3
  3006. HWeld.C0=clerp(HWeld.C0,Cf(-.35,-1,0)*Euler(rad(6.5),0,0), AnimSpeed)
  3007. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3008. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),rad(-65),rad(105)), AnimSpeed)
  3009. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(90),0), AnimSpeed)
  3010. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5,.2)*Euler(rad(80),0,rad(80)), AnimSpeed)
  3011. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3012. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(80),0,rad(-80)), AnimSpeed)
  3013. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(12),0), AnimSpeed)
  3014. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(12),0,rad(70)), AnimSpeed)
  3015. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3016. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,10)*Euler(rad(-6+ang),0,0), AnimSpeed)
  3017. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(80),0), AnimSpeed)
  3018. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.05)*Euler(rad(-3+ang),rad(-10),rad(10)), AnimSpeed)
  3019. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3020. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-.9,.5)*Euler(rad(ang),rad(50),0), AnimSpeed)
  3021. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  3022. end
  3023. chatServ:Chat(Head, "Tare..", 2)
  3024. swait(.5/FrameRate)
  3025. retr.Value = retr.Value-55
  3026. RootPart.CFrame = RootPart.CFrame * Cf(0, 0, -45)
  3027. local woosh = Sound(RootPart, 156386031, 1, 1.6, false)
  3028. debServ:AddItem(woosh, 6)
  3029. local nu = 5.5
  3030. for i = nu, -nu, -(nu/2.5) do
  3031. MagicSphere(Colour1, "Neon", RootPart.CFrame * Cf(0, i, 38) , 2.4, 2.4, 60, -.05, -.05, 20, .03)
  3032. MagicSphere(Colour2, "SmoothPlastic", RootPart.CFrame * Cf(0, i, 38) , 2.8, 2.8, 65, -.05, -.05, 20, .03)
  3033. end
  3034. ObjVals.M1.DesiredAngle = rad(0)
  3035. ObjVals.M1.MaxVelocity = rad(60)
  3036. ObjVals.M2.DesiredAngle = rad(0)
  3037. ObjVals.M2.MaxVelocity = rad(60)
  3038. ObjVals.Eye1.Weld.C0 = Cf(0, -.15, -0.003)
  3039. ObjVals.Eye2.Weld.C0 = Cf(0, -.15, 0.003)
  3040. local slam = Sound(Handle, 383635050, .6, 1.5, false)
  3041. debServ:AddItem(slam, 3)
  3042. MagicSphere(Colour1, "Neon", Hit_Box.CFrame * Cf(0, 0, -.1) , 30, 30, 30, 5, 5, 5, .05)
  3043. MagicRing2(Colour1, "Neon", Hit_Box.CFrame * Cf(0, 0, -.1) * Euler(rad(90), 0, 0) , 5, 5, .5, 5, 5, .5, .05)
  3044. for i = 0, rand(10,12), 1 do
  3045. MagicPettles(Colour1, "Neon", Hit_Box.CFrame * Cf(0, 0, -.1) * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), .1, 8, .1, .1, 4, .1, .02, 0, 2, 0)
  3046. end
  3047. for i = 0, .4, .1 do
  3048. swait()
  3049. local AnimSpeed = .8
  3050. HWeld.C0=clerp(HWeld.C0,Cf(-.4,-.7,0)*Euler(0,0,0), AnimSpeed)
  3051. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3052. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),rad(-110),rad(91)), AnimSpeed)
  3053. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(-90),0), AnimSpeed)
  3054. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60)), AnimSpeed)
  3055. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3056. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(rad(60),0,rad(-80)), AnimSpeed)
  3057. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0), AnimSpeed)
  3058. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(12),0,rad(-50)), AnimSpeed)
  3059. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3060. FRootJoint.C0=clerp(FRootJoint.C0,Cf(-.1,-1.15,0)*Euler(rad(ang),0,0), AnimSpeed)
  3061. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(-80),0), AnimSpeed)
  3062. FRightHip.C0=clerp(FRightHip.C0,Cf(1.4,-.7,.5)*Euler(rad(ang),rad(-50),rad(10)), AnimSpeed)
  3063. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(rad(-5),0,0), AnimSpeed)
  3064. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,.05)*Euler(rad(-3+ang),rad(10),rad(-3)), AnimSpeed)
  3065. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3066. end
  3067. ObjVals.Awakened = true
  3068. for i, p in pairs(EnemiesHit) do
  3069. if p[1] == h[1] then
  3070. p[2] = false
  3071. p[3] = "Cancel"
  3072. end
  3073. end
  3074. debServ:AddItem(g, 0)
  3075. coroutine.resume(coroutine.create(function()
  3076. for i = 1, 20, 1 do
  3077. swait(.05/FrameRate)
  3078. DamageFunction(h[2], false, 0, 1.25, true, rand(-80, 80), true, 3, true, "Stun", "Slashed", RootPart, 0.04, false, _, true, HitSounds.Sharp.Small, 1.4, 1.6)
  3079. end
  3080. swait(.7/FrameRate)
  3081. local kachow = Sound(h[2], 233856079, 1, 1.6, false)
  3082. debServ:AddItem(kachow, 6)
  3083. MagicSphere(Colour1, "Neon", h[2].CFrame , 150, 150, 150, 5, 5, 5, .04)
  3084. for i = 1, 3, 1 do
  3085. MagicRing(Colour1, "Neon", h[2].CFrame , 8*i, 8*i, .5, 5, 5, .5, .04)
  3086. end
  3087. DamageFunction(h[2], false, 0, 20, false, {100, 70}, true, 3, true, "SkyRocket", "B-Blood", RootPart, .3, false, _, true, HitSounds.Blunt.Large, 1.4, 1.6)
  3088. ObjVals.Awakened = false
  3089. end))
  3090. swait(.3/FrameRate)
  3091. ObjVals.M1.DesiredAngle = rad(0)
  3092. ObjVals.M1.MaxVelocity = rad(2.2)
  3093. ObjVals.M2.DesiredAngle = rad(0)
  3094. ObjVals.M2.MaxVelocity = rad(2.2)
  3095. coroutine.resume(coroutine.create(function()
  3096. for i = .85, 0, -.07 do
  3097. swait()
  3098. ObjVals.Eye1.Mesh.Scale = Vec(i, 1.1, .46)
  3099. ObjVals.Eye2.Mesh.Scale = Vec(i, 1.1, .46)
  3100. end
  3101. end))
  3102. for i = .9, 0, -.1 do
  3103. swait()
  3104. ObjVals.Eye1.EBMesh.Scale = Vec(i, 1.1, .46)
  3105. ObjVals.Eye2.EBMesh.Scale = Vec(i, 1.1, .46)
  3106. end
  3107. ObjVals.Eye1.Mesh.Scale = Vec(0, 1.1, .46)
  3108. ObjVals.Eye2.Mesh.Scale = Vec(0, 1.1, .46)
  3109. ObjVals.Eye1.EBMesh.Scale = Vec(0, 1.1, .46)
  3110. ObjVals.Eye2.EBMesh.Scale = Vec(0, 1.1, .46)
  3111. MCD.Retrive[1] = -.2
  3112. else
  3113. RootPart.Velocity = RootPart.CFrame.lookVector*30
  3114. for i = 0, .4, .1 do
  3115. swait()
  3116. local AnimSpeed = .55
  3117. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(8),0,0), AnimSpeed)
  3118. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3119. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  3120. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  3121. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.2,0.5,-.5)*Euler(0,0,rad(80)), AnimSpeed)
  3122. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-130),0,0), AnimSpeed)
  3123. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.1)*Euler(rad(-20),0,rad(-10)), AnimSpeed)
  3124. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3125. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(10),0,rad(-30)), AnimSpeed)
  3126. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3127. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), AnimSpeed)
  3128. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3129. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,.3)*Euler(rad(-4),rad(-30),0), AnimSpeed)
  3130. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3131. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.15)*Euler(rad(-6),rad(10),0), AnimSpeed)
  3132. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3133. end
  3134. local h = hit[3]
  3135. for i, p in pairs(EnemiesHit) do
  3136. if p[1] == h[1] then
  3137. p[2] = false
  3138. p[3] = "Cancel"
  3139. end
  3140. end
  3141. DamageFunction(h[2], true, 12, 13, true, 15, false, 0, true, "Normal", "None", RootPart, .5, false, _, true, HitSounds.Blunt.Small, 1.4, .4)
  3142. local slash = Sound(Handle, "234365573", 1, .6, false)
  3143. debServ:AddItem(slash, 3)
  3144. c1 = nil
  3145. c2 = nil
  3146. RootPart.Velocity = RootPart.CFrame.lookVector*-50
  3147. local hit3 = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 8, 9, true, 15, false, 0, true, "Normal", "None", RootPart, .25, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  3148. local hit2 = Hit_Box2.Touched:connect(function(part) DamageFunction(part, true, 8, 9, true, 15, false, 0, true, "Normal", "None", RootPart, .25, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  3149. for i = 0, 2.5, .1 do
  3150. swait()
  3151. local x = Hit_Box
  3152. c2 = x.CFrame*Cf(0, .1, 0)
  3153. if c1 and (x.Position-c1.p).magnitude > .1 then
  3154. local h = 5
  3155. local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon")
  3156. if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end
  3157. local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon")
  3158. if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end
  3159. c1 = c2
  3160. elseif not c1 then
  3161. c1 = c2
  3162. end
  3163. local AnimSpeed = .4
  3164. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), AnimSpeed)
  3165. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3166. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  3167. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  3168. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(80)), AnimSpeed)
  3169. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3170. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.1)*Euler(rad(80),0,rad(-60)), AnimSpeed)
  3171. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3172. Neck.C0=clerp(Neck.C0,NNC0 *Euler(0,0,rad(60)), AnimSpeed)
  3173. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3174. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-60),0), AnimSpeed)
  3175. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3176. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-4),rad(-10),0), AnimSpeed)
  3177. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3178. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.54)*Euler(rad(-6),rad(50),0), AnimSpeed)
  3179. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3180. end
  3181. hit3:disconnect()
  3182. hit2:disconnect()
  3183. MCD.Retrive[1] = MCD.Retrive[2]/2.5
  3184. end
  3185. else
  3186. MCD.Retrive[1] = MCD.Retrive[2]/1.05
  3187. end
  3188. Humanoid.AutoRotate = true
  3189. else
  3190. Debounces.KeyStrokeEnabled = false
  3191. Handle.Anchored = false
  3192. WepWeld.Part0 = nil
  3193. WepWeld.Part1 = Handle
  3194. WepWeld.C0 = Cf() * Euler(0, 0, 0)
  3195. debServ:AddItem(l, 0)
  3196. debServ:AddItem(v, 0)
  3197. Handle.Velocity = Vec(0, 0, 0)
  3198. MagicSphere(Colour1, "Neon", Hit_Box.CFrame , 60, 60, 60, -3, -3, -3, .06)
  3199. MagicBlock(Colour2, "SmoothPlastic", Hit_Box.CFrame , 62, 62, 62, -3, -3, -3, .06)
  3200. for i = 0, rand(15,20), 1 do
  3201. MagicSphere4(Colour1, "Neon", Hit_Box.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))) * Cf(0, 10, 0), 5, 5, 5, .06, 0, 10, 0)
  3202. end
  3203. local warp = Sound(Hit_Box, "181004943", 1, 1.2, false)
  3204. debServ:AddItem(warp, 3)
  3205. MCD.Retrive[1] = 0
  3206. coroutine.resume(coroutine.create(function()
  3207. swait(.2/FrameRate)
  3208. WepWeld.Part0 = Holder
  3209. WepWeld.Part1 = Handle
  3210. MagicSphere(Colour1, "Neon", Hit_Box.CFrame , 60, 60, 60, 3, 3, 3, .06)
  3211. MagicBlock(Colour2, "SmoothPlastic", Hit_Box.CFrame , 62, 62, 62, 3, 3, 3, .06)
  3212. for i = 0, rand(15,20), 1 do
  3213. MagicPettles(Colour1, "Neon", Hit_Box.CFrame * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), .1, 8, .1, .1, 4, .1, .03, 0, 2, 0)
  3214. end
  3215. local back = Sound(Hit_Box, "181004943", 1, 2.2, false)
  3216. debServ:AddItem(back, 3)
  3217. local chance = rand(1, 5)
  3218. if chance == 1 then
  3219. chatServ:Chat(Head, "Damn..", 2)
  3220. elseif chance == 2 then
  3221. chatServ:Chat(Head, "Someone was lucky...", 2)
  3222. elseif chance == 3 then
  3223. chatServ:Chat(Head, "Impossible..", 2)
  3224. elseif chance == 4 then
  3225. chatServ:Chat(Head, "How'd I miss?", 2)
  3226. elseif chance == 5 then
  3227. chatServ:Chat(Head, "Nothing..", 2)
  3228. end
  3229. end))
  3230. end
  3231. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  3232. Debounces.Attacking = false
  3233. Debounces.DisableJump = false
  3234. end
  3235. end
  3236.  
  3237. function CondemningFlames()
  3238. Debounces.Attacking = true
  3239. Debounces.DisableJump = true
  3240. retr.Value = retr.Value-35
  3241. if Current_Anim == "Falling" or Current_Anim == "Jumping" then
  3242. Humanoid.WalkSpeed = 60
  3243. RootPart.Velocity = Vector3.new(0, 225, 0)
  3244. local j = Sound(RootPart,"158149887", .5, .9, false)
  3245. debServ:AddItem(j, 2)
  3246. MagicRing2(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0) * Euler(rad(90), 0, 0), .1, .1, .1, .8, .8, 0, .06)
  3247. local noscope = 0
  3248. for i = 0, 1.6, .1 do
  3249. swait()
  3250. if noscope ~= 360 then
  3251. noscope = noscope+30
  3252. end
  3253. local AnimSpeed = .4
  3254. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), AnimSpeed)
  3255. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3256. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  3257. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  3258. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(50),0,rad(10)), AnimSpeed)
  3259. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3260. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(50),0,rad(-10)), AnimSpeed)
  3261. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3262. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-15),0,0), AnimSpeed)
  3263. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3264. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10+noscope),0,0), AnimSpeed)
  3265. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3266. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(8),0,0), AnimSpeed)
  3267. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3268. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.3)*Euler(rad(11),0,0), AnimSpeed)
  3269. end
  3270. end
  3271. for i = 0, 2.5, .1 do
  3272. swait()
  3273. local AnimSpeed = .2
  3274. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3275. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3276. WepWeld.C0=clerp(WepWeld.C0,Cf(-.3,0,0)*Euler(rad(-90),0,0), AnimSpeed)
  3277. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(35),0), AnimSpeed)
  3278. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,1.3,0.15)*Euler(rad(190),0,rad(-35)), AnimSpeed)
  3279. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3280. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.1,1.3,0.15)*Euler(rad(190),0,rad(35)), AnimSpeed)
  3281. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3282. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-6),0,0), AnimSpeed)
  3283. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3284. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),0,0), AnimSpeed)
  3285. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3286. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,.1)*Euler(rad(-10),rad(-8),rad(5)), AnimSpeed)
  3287. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3288. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.1)*Euler(rad(-10),rad(8),rad(-5)), AnimSpeed)
  3289. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3290. end
  3291. c1 = nil
  3292. c2 = nil
  3293. local slash = Sound(Handle, "234365549", 1, .7, false)
  3294. debServ:AddItem(slash, 3)
  3295. local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 5, 6, false, {0, 2}, false, 0, true, "Knockdown2", "None", RootPart, 0, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  3296. local hit2 = Hit_Box2.Touched:connect(function(part) DamageFunction(part, true, 5, 6, false, {0, 2}, false, 0, true, "Knockdown2", "None", RootPart, 0, false, _, true, HitSounds.Blunt.Small, 1.4, .4) end)
  3297. for i = 0, .5, .1 do
  3298. swait()
  3299. local x = Hit_Box
  3300. c2 = x.CFrame*Cf(0, .1, 0)
  3301. if c1 and (x.Position-c1.p).magnitude > .1 then
  3302. local h = 5
  3303. local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon")
  3304. if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end
  3305. local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon")
  3306. if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end
  3307. c1 = c2
  3308. elseif not c1 then
  3309. c1 = c2
  3310. end
  3311. local AnimSpeed = .5
  3312. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3313. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3314. WepWeld.C0=clerp(WepWeld.C0,Cf(-.3,0,0)*Euler(rad(-90),0,0), AnimSpeed)
  3315. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(35),0), AnimSpeed)
  3316. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.5,-0.25)*Euler(rad(55),0,rad(-35)), AnimSpeed)
  3317. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3318. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.1,0.5,-0.25)*Euler(rad(55),0,rad(35)), AnimSpeed)
  3319. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3320. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(18),0,0), AnimSpeed)
  3321. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3322. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.6,0)*Euler(rad(-60),0,0), AnimSpeed)
  3323. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3324. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.7,-.8)*Euler(rad(-20), 0, 0), AnimSpeed)
  3325. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3326. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.7,-.7)*Euler(rad(40), 0, 0), AnimSpeed)
  3327. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,0,0)*Euler(0,0,0), AnimSpeed)
  3328. end
  3329. if Current_Anim == "Falling" then
  3330. local hitG = false
  3331. repeat swait()
  3332. local x = Hit_Box
  3333. c2 = x.CFrame*Cf(0, .1, 0)
  3334. if c1 and (x.Position-c1.p).magnitude > .1 then
  3335. local h = 5
  3336. local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon")
  3337. if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end
  3338. local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon")
  3339. if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end
  3340. c1 = c2
  3341. elseif not c1 then
  3342. c1 = c2
  3343. end
  3344. until Current_Anim ~= "Falling"
  3345. end
  3346. Humanoid.WalkSpeed = 0
  3347. hit:disconnect()
  3348. hit2:disconnect()
  3349. chatServ:Chat(Head, "Condemning Flames!", 2)
  3350. MCD.CondemningFlames[1] = 0
  3351. local position = Inst("Part", F3)
  3352. position.Anchored = true
  3353. position.CanCollide = false
  3354. position.Locked = true
  3355. position.Transparency = 1
  3356. position.CFrame = RootPart.CFrame * Cf(0, -3, -8)
  3357. debServ:AddItem(position, 3)
  3358. local blast = Sound(position, "165969964", 1, 1.3, false)
  3359. debServ:AddItem(blast, 3)
  3360. MagicRing2(Colour1, "Neon", position.CFrame * Euler(rad(90), 0, 0) , 4, 4, .5, 5, 5, .5, .04)
  3361. MagicBlast(Colour1, "Neon", position.CFrame * Cf(0, 4, 0) , 2, 10, 2, 3, 10, 3, .06)
  3362. MagicBlast(Colour2, "Neon", position.CFrame * Cf(0, 3, 0) , 1.5, 8, 1.5, -2.5, 8, -2.5, .04)
  3363. MagicBlock(Colour1, "Neon", position.CFrame, 35, 35, 35, 2, 2, 2, .04)
  3364. MagicBlock(Colour2, "SmoothPlastic", position.CFrame, 45, 45, 45, 2, 2, 2, .04)
  3365. MagicWave2(Colour1, "Neon", position.CFrame, 30, 60, 30, -4, -4, -4, .04)
  3366. local IgnoreList = {}
  3367. local rangie = 20
  3368. for i = 0, 4, 1 do
  3369. local po = Inst("Part")
  3370. po.Anchored = true
  3371. po.CanCollide = false
  3372. po.Locked = true
  3373. po.Transparency = 1
  3374. po.CFrame = position.CFrame * Cf(0, rangie*i, 0)
  3375. debServ:AddItem(po, .5)
  3376. MagniDamage(po, rangie, false, 0, 16, true, {40, 50}, true, 3, true, "SkyRocket", "Blood", .1, false, 0, true, HitSounds.Sharp.Large, 1.3, .5)
  3377. local fiyas = FindAllNearestHumanoidsWithIgnoreList(po.Position, rangie, IgnoreList)
  3378. for _, p in pairs(fiyas) do
  3379. if p then
  3380. local noid = p[1]
  3381. local par = p[2]
  3382. if noid and par then
  3383. table.insert(IgnoreList, noid)
  3384. coroutine.resume(coroutine.create(function()
  3385. local fire = true
  3386. coroutine.resume(coroutine.create(function()
  3387. repeat swait(.1/FrameRate)
  3388. if rand(0, 2) == 2 then
  3389. MagicBlock4(Colour2, "Neon", par.CFrame, 15, 15, 15, -.2, -.2, -.2, .02, 0, .5, 0)
  3390. else
  3391. MagicBlock4(Colour1, "Neon", par.CFrame, 15, 15, 15, -.2, -.2, -.2, .02, 0, .5, 0)
  3392. end
  3393. if rand(0, 2) == 2 then
  3394. MagicBlock4(Colour2, "Neon", par.CFrame, 15, 15, 15, -.2, -.2, -.2, .02, 0, .5, 0)
  3395. else
  3396. MagicBlock4(Colour1, "Neon", par.CFrame, 15, 15, 15, -.2, -.2, -.2, .02, 0, .5, 0)
  3397. end
  3398. until not fire
  3399. end))
  3400. for i = 1, 20, 1 do
  3401. swait(1/FrameRate)
  3402. if par and noid then
  3403. DamageFunction(par, false, 0, 2, false, 0, true, 1, true, "Normal", "None", RootPart, 0, false, _, false, _, _, _)
  3404. end
  3405. end
  3406. fire = false
  3407. end))
  3408. end
  3409. end
  3410. end
  3411. end
  3412. swait(.5/FrameRate)
  3413. MCD.CondemningFlames[1] = 0
  3414. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  3415. Debounces.Attacking = false
  3416. Debounces.DisableJump = false
  3417. end
  3418.  
  3419. function KeyStrokesAttacks()
  3420. if InputCommand == "26426D" then
  3421. if viewMode == 0 and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Mode == 1 then
  3422. if retr.Value >= 35 and MCD.CondemningFlames[1] >= MCD.CondemningFlames[2] then
  3423. Debounces.Successful_KeyStroke = true
  3424. CondemningFlames()
  3425. else
  3426. Debounces.KeyStroke_CoolDown = true
  3427. end
  3428. end
  3429. end
  3430. end
  3431. ------------------------------------------------------------------------------------------------------------------------------------------------------
  3432.  
  3433. local Input_Time = .8
  3434. local Input_MaxTime = .8
  3435. local Input_Addition = .2
  3436. local Input_Lose = .1
  3437. local Max_Input = 12
  3438. local Running_Timer = false
  3439.  
  3440. function Input_Timer()
  3441. if not Running_Timer then
  3442. --print("Timer Started")
  3443. Running_Timer = true
  3444. repeat wait() Input_Time = Input_Time-Input_Lose until Input_Time <= 0.1 or Debounces.Successful_KeyStroke or string.len(InputCommand) == Max_Input or Debounces.KeyStroke_CoolDown
  3445. local function TweenTransCol(p, newCol, i)
  3446. p.TextColor3 = newCol
  3447. p:TweenPosition(Ud2(.125*i, 0, -3, 0),_, "Linear", .5, true)
  3448. debServ:AddItem(p, 1)
  3449. coroutine.resume(coroutine.create(function()
  3450. for i = 0, 1, .04 do
  3451. swait()
  3452. p.TextTransparency = i
  3453. p.TextStrokeTransparency = i
  3454. end
  3455. end))
  3456. end
  3457. if Input_Time <= 0.1 and not Debounces.Successful_KeyStroke then
  3458. for i, p in pairs(InputFrameTable) do
  3459. if p:IsA("TextLabel") then
  3460. TweenTransCol(p, Col3(170/255, 0, 0), i)
  3461. end
  3462. end
  3463. InputFrameTable = {}
  3464. InputCommand = ""
  3465. end
  3466. if string.len(InputCommand) == Max_Input then
  3467. wait()
  3468. if not Debounces.Successful_KeyStroke then
  3469. for i, p in pairs(InputFrameTable) do
  3470. if p:IsA("TextLabel") then
  3471. TweenTransCol(p, Col3(170/255, 0, 0), i)
  3472. end
  3473. end
  3474. InputFrameTable = {}
  3475. InputCommand = ""
  3476. end
  3477. end
  3478. if Debounces.Successful_KeyStroke then
  3479. for i, p in pairs(InputFrameTable) do
  3480. if p:IsA("TextLabel") then
  3481. TweenTransCol(p, Col3(0, 1, 0), i)
  3482. end
  3483. end
  3484. InputFrameTable = {}
  3485. InputCommand = ""
  3486. end
  3487. if Debounces.KeyStroke_CoolDown then
  3488. for i, p in pairs(InputFrameTable) do
  3489. if p:IsA("TextLabel") then
  3490. TweenTransCol(p, Col3(1, 170/255, 0), i)
  3491. end
  3492. end
  3493. InputFrameTable = {}
  3494. InputCommand = ""
  3495. end
  3496. Debounces.Successful_KeyStroke = false
  3497. Debounces.KeyStroke_CoolDown = false
  3498. Input_Time = Input_MaxTime
  3499. Running_Timer = false
  3500. end
  3501. end
  3502.  
  3503. Mouse.KeyDown:connect(function(key)
  3504. if Debounces.Enabled and string.len(InputCommand) ~= Max_Input then
  3505. if viewMode == 0 then
  3506. if key == "w" or key == "a" or key == "s" or key == "d" or key == "q" or key == "e" or key == "c" or key == "x" then
  3507. if key == "w" then
  3508. InputCommand = InputCommand.."8"
  3509. elseif key == "s" then
  3510. InputCommand = InputCommand.."2"
  3511. elseif key == "a" then
  3512. InputCommand = InputCommand.."4"
  3513. elseif key == "d" then
  3514. InputCommand = InputCommand.."6"
  3515. elseif key == "x" then
  3516. InputCommand = InputCommand.."A"
  3517. elseif key == "c" then
  3518. InputCommand = InputCommand.."B"
  3519. elseif key == "e" then
  3520. InputCommand = InputCommand.."C"
  3521. elseif key == "q" then
  3522. InputCommand = InputCommand.."D"
  3523. end
  3524. local newKP = KPTemplate:Clone()
  3525. newKP.Parent = KP
  3526. newKP.Text = string.upper(key)
  3527. if Input_Time < Input_MaxTime then
  3528. Input_Time = Input_Time+Input_Addition
  3529. end
  3530. table.insert(InputFrameTable, newKP)
  3531. for i, p in pairs(InputFrameTable) do
  3532. if p == newKP then
  3533. newKP:TweenPosition(Ud2(.125*i, 0, 0, 0),_, "Linear", .08, true)
  3534. end
  3535. end
  3536. coroutine.resume(coroutine.create(function()
  3537. KeyStrokesAttacks()
  3538. end))
  3539. Input_Timer()
  3540. end
  3541. end
  3542. end
  3543. end)
  3544.  
  3545. --[[if Mode == 0 then
  3546.  
  3547. elseif Mode == 1 then
  3548.  
  3549. elseif Mode == 2 then
  3550.  
  3551. elseif Mode == 3 then
  3552.  
  3553. elseif Mode == 4 then
  3554.  
  3555. end--]]
  3556.  
  3557. Mouse.Button1Down:connect(function()
  3558. if Debounces.Equipped and not Debounces.Attacking and not Debounces.Equipping and viewMode == 0 then
  3559. ClickCombo()
  3560. end
  3561. end)
  3562.  
  3563. Mouse.KeyDown:connect(function(key)
  3564. --print("Key:", key)
  3565. if key == "0" and Debounces.Equipped and not Debounces.Attacking and not Debounces.Equipping and viewMode == 0 then
  3566. if Current_Anim == "Walking" or Current_Anim == "Idle" then
  3567. Debounces.Dashing = true
  3568. Humanoid.WalkSpeed = CurrentSpeed[1]+CurrentSpeed[2]+45
  3569. swait(.1/FrameRate)
  3570. repeat runServ.Stepped:wait() Humanoid.WalkSpeed = CurrentSpeed[1]+CurrentSpeed[2]+45 until Current_Anim == "Idle" or Current_Anim == "Falling" or Current_Anim == "Jumping" or Debounces.Attacking or Debounces.Equipping or Debounces.Successful_KeyStroke or not Debounces.Dashing
  3571. Debounces.Dashing = false
  3572. if Humanoid.WalkSpeed > CurrentSpeed[1] then
  3573. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  3574. end
  3575. --[[elseif Current_Anim == "Dashing" then
  3576. Debounces.Dashing = false
  3577. if Humanoid.WalkSpeed > CurrentSpeed[1] then
  3578. Humanoid.WalkSpeed = CurrentSpeed[1] + CurrentSpeed[2]
  3579. end--]]
  3580. end
  3581. end
  3582. if key == " " and Debounces.Equipped and not Debounces.Equipping and Debounces.Can_Double_Jump and not Debounces.DisableJump then
  3583. Debounces.Can_Double_Jump = false
  3584. Debounces.DoubleJumping = true
  3585. RootPart.Velocity = Vec(0, 140, 0)
  3586. local noscope = 0
  3587. if not Debounces.DoubleJumpAnim then
  3588. Debounces.AnimOverride = true
  3589. Debounces.DoubleJumpAnim = true
  3590. Current_Anim = "Double Jumping"
  3591. local j = Sound(RootPart,"158149887", .5, 1, false)
  3592. debServ:AddItem(j, 2)
  3593. MagicRing2(Colour1, "SmoothPlastic", RootPart.CFrame * Cf(0, -3, 0) * Euler(rad(90), 0, 0), .1, .1, .1, .8, .8, 0, .06)
  3594. if Mode == 0 then
  3595. local noscope = 0
  3596. for i = 0, 1.5, .1 do
  3597. swait()
  3598. if noscope ~= 360 then
  3599. noscope = noscope+30
  3600. end
  3601. if not Debounces.Attacking then
  3602. local AnimSpeed = .4
  3603. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(50),0,rad(10)), AnimSpeed)
  3604. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3605. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(50),0,rad(-10)), AnimSpeed)
  3606. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3607. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-15),0,0), AnimSpeed)
  3608. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3609. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10+noscope),0,0), AnimSpeed)
  3610. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3611. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(8),0,0), AnimSpeed)
  3612. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3613. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.3)*Euler(rad(11),0,0), AnimSpeed)
  3614. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3615. end
  3616. end
  3617. elseif Mode == 1 then
  3618. local noscope = 0
  3619. for i = 0, 1.6, .1 do
  3620. swait()
  3621. if noscope ~= 360 then
  3622. noscope = noscope+30
  3623. end
  3624. if not Debounces.Attacking then
  3625. local AnimSpeed = .4
  3626. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), AnimSpeed)
  3627. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3628. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  3629. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  3630. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(50),0,rad(10)), AnimSpeed)
  3631. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3632. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(50),0,rad(-10)), AnimSpeed)
  3633. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3634. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-15),0,0), AnimSpeed)
  3635. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3636. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10+noscope),0,0), AnimSpeed)
  3637. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3638. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(8),0,0), AnimSpeed)
  3639. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3640. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.3)*Euler(rad(11),0,0), AnimSpeed)
  3641. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3642. end
  3643. end
  3644. elseif Mode == 2 then
  3645.  
  3646. elseif Mode == 3 then
  3647.  
  3648. elseif Mode == 4 then
  3649.  
  3650. end
  3651. Current_Anim = "Falling"
  3652. Debounces.DoubleJumpAnim = false
  3653. Debounces.AnimOverride = false
  3654. end
  3655. Debounces.DoubleJumping = false
  3656. end
  3657. if key == "p" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Mode < 2 then
  3658. swait()
  3659. Debounces.KeyStrokeEnabled = not Debounces.KeyStrokeEnabled
  3660. end
  3661. if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Mode == 1 and not Debounces.KeyStrokeEnabled then
  3662. BlossomingDoom()
  3663. end
  3664. if key == "v" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Mode == 1 and not Debounces.KeyStrokeEnabled then
  3665. Devour()
  3666. end
  3667. if key == "x" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Mode == 1 and not Debounces.KeyStrokeEnabled then
  3668. Retrive()
  3669. end
  3670. if key == "c" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Mode == 1 and not Debounces.KeyStrokeEnabled then
  3671.  
  3672. end
  3673. if key == "h" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then
  3674. retr.Value = retr.MaxValue
  3675. end
  3676. if key == "[" then
  3677. Debounces.ProtectionEnabled = not Debounces.ProtectionEnabled
  3678. local hint = Inst("Hint", Player.PlayerGui)
  3679. local add = "Enabled"
  3680. if not Debounces.ProtectionEnabled then
  3681. add = "Disabled"
  3682. end
  3683. hint.Text = "Protection: "..add
  3684. debServ:AddItem(hint, .7)
  3685. end
  3686. if key == "]" then
  3687. if Overpower == 1 then
  3688. Overpower = 100
  3689. local hint = Inst("Hint", Player.PlayerGui)
  3690. hint.Text = "Overpowered moves enabled."
  3691. debServ:AddItem(hint, .7)
  3692. else
  3693. Overpower = 1
  3694. local hint = Inst("Hint", Player.PlayerGui)
  3695. hint.Text = "Overpowered moves disabled."
  3696. debServ:AddItem(hint, .7)
  3697. end
  3698. end
  3699. end)
  3700.  
  3701. coroutine.resume(coroutine.create(function()
  3702. while true do
  3703. if not Debounces.KeyStrokeEnabled then
  3704. swait(.7/FrameRate)
  3705. retr.Value = retr.Value+1
  3706. else
  3707. swait()
  3708. end
  3709. end
  3710. end))
  3711.  
  3712. retr.Changed:connect(function()
  3713. RMB:TweenSize(Ud2((retr.Value/retr.MaxValue), 0, 1, 0),_, "Linear", .3, true)
  3714. RML.Text = retr.Value
  3715. end)
  3716.  
  3717.  
  3718. local chb = false
  3719. local LH = Humanoid.Health
  3720.  
  3721. coroutine.resume(coroutine.create(function()
  3722. while true do
  3723. runServ.Stepped:wait()
  3724. if GuardH.Value == GuardH.MaxValue then
  3725. for i = 0, 1.2, .1 do
  3726. runServ.Stepped:wait()
  3727. bba.BackgroundColor3 = bba.BackgroundColor3:lerp(Col3(0, 0, 1), .15)
  3728. end
  3729. runServ.Stepped:wait()
  3730. for i = 0, 1.2, .1 do
  3731. runServ.Stepped:wait()
  3732. bba.BackgroundColor3 = bba.BackgroundColor3:lerp(Col3(0, 170/255, 127/255), .15)
  3733. end
  3734. else
  3735. for i = 0, 1.2, .1 do
  3736. runServ.Stepped:wait()
  3737. bba.BackgroundColor3 = bba.BackgroundColor3:lerp(Col3(1, 170/255, 0), .15)
  3738. end
  3739. end
  3740. end
  3741. end))
  3742.  
  3743. local cvh = false
  3744. GuardH.Changed:connect(function()
  3745. if not cvh then
  3746. cvh = true
  3747. bba:TweenSize(Ud2((GuardH.Value/GuardH.MaxValue), 0, 1, 0),_, "Linear", .3, true)
  3748. wait(.05)
  3749. cvh = false
  3750. end
  3751. end)
  3752.  
  3753. Humanoid.Changed:connect(function(prop)
  3754. if not GodMode then
  3755. if Humanoid.Health == Humanoid.MaxHealth then
  3756. for i = 0, 1, .1 do
  3757. runServ.Stepped:wait()
  3758. hpb.BackgroundColor3 = hpb.BackgroundColor3:lerp(Col3(0, 1, 127/255), .2)
  3759. end
  3760. elseif Humanoid.Health < Humanoid.MaxHealth and Humanoid.Health > (Humanoid.MaxHealth/4) then
  3761. for i = 0, 1, .1 do
  3762. runServ.Stepped:wait()
  3763. hpb.BackgroundColor3 = hpb.BackgroundColor3:lerp(Col3(1, 170/255, 0), .2)
  3764. end
  3765. elseif Humanoid.Health <= (Humanoid.MaxHealth/4) then
  3766. for i = 0, 1, .1 do
  3767. runServ.Stepped:wait()
  3768. hpb.BackgroundColor3 = hpb.BackgroundColor3:lerp(Col3(1, 25/255, 0), .2)
  3769. end
  3770. end
  3771. if Humanoid.Health ~= LH then
  3772. if not chb then
  3773. if Humanoid.Health < LH then
  3774. chb = true
  3775. local lh = Humanoid.Health
  3776. hpb.Size = Ud2((Humanoid.Health/Humanoid.MaxHealth), 0, 1, 0)
  3777. local T = 0
  3778. repeat
  3779. T = T+.1
  3780. runServ.Stepped:wait()
  3781. if Humanoid.Health < lh then
  3782. lh = Humanoid.Health
  3783. hpb.Size = Ud2((Humanoid.Health/Humanoid.MaxHealth), 0, 1, 0)
  3784. T = 0
  3785. end
  3786. until T >= 2
  3787. hpdb:TweenSize(Ud2((Humanoid.Health/Humanoid.MaxHealth), 0, 1, 0),_, "Linear", .3, true)
  3788. LH = Humanoid.Health
  3789. chb = false
  3790. else
  3791. chb = true
  3792. hpb:TweenSize(Ud2((Humanoid.Health/Humanoid.MaxHealth), 0, 1, 0),_, "Linear", .3, true)
  3793. hpdb:TweenSize(Ud2((Humanoid.Health/Humanoid.MaxHealth), 0, 1, 0),_, "Linear", .3, true)
  3794. LH = Humanoid.Health
  3795. wait(.3)
  3796. chb = false
  3797. end
  3798. end
  3799. end
  3800. end
  3801. end)
  3802.  
  3803. runServ.RenderStepped:connect(function()
  3804. Bringer()
  3805. db.Text = "Dmg*("..Damage_Buff..")"
  3806. if Debounces.KeyStrokeEnabled then
  3807. KPTemplate.TextColor3 = Col3(1, 1, 1)
  3808. KPTemplate.Text = ">"
  3809. else
  3810. KPTemplate.TextColor3 = Col3(1, 0, 0)
  3811. KPTemplate.Text = "X"
  3812. end
  3813. if not GodMode then
  3814. Humanoid.MaxHealth = Max_Health
  3815. end
  3816. if Debounces.ProtectionEnabled then
  3817. Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
  3818. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying, false)
  3819. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  3820. else
  3821. Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, true)
  3822. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying, true)
  3823. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, true)
  3824. end
  3825. end)
  3826.  
  3827. local SSS = 1
  3828. Humanoid.Running:connect(function(speed)
  3829. if speed > SSS then
  3830. if not Debounces.Dashing and Humanoid.WalkSpeed == CurrentSpeed[1] + CurrentSpeed[2] then
  3831. Current_Anim = "Walking"
  3832. else
  3833. Current_Anim = "Dashing"
  3834. end
  3835. Debounces.Can_Double_Jump = false
  3836. elseif speed < SSS or speed == 0 then
  3837. Current_Anim = "Idle"
  3838. Debounces.Dashing = false
  3839. Debounces.Can_Double_Jump = false
  3840. end
  3841. end)
  3842. Humanoid.FreeFalling:connect(function()
  3843. if Current_Anim ~= "Falling" then
  3844. Current_Anim = "Falling"
  3845. Debounces.Can_Double_Jump = true
  3846. end
  3847. end)
  3848. Humanoid.Jumping:connect(function()
  3849. Current_Anim = "Jumping"
  3850. if Debounces.Equipped and not Debounces.Equipping and not Debounces.JumpAnim and not Debounces.DisableJump then
  3851. Debounces.Can_Double_Jump = true
  3852. Debounces.AnimOverride = true
  3853. Debounces.JumpAnim = true
  3854. if Mode == 0 then
  3855. for i = 0, .8, .1 do
  3856. swait()
  3857. if not Debounces.DoubleJumpAnim and not Debounces.Attacking then
  3858. local AnimSpeed = .4
  3859. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.6,0)*Euler(rad(-30),0,rad(10)), AnimSpeed)
  3860. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(10),0), AnimSpeed)
  3861. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(rad(-30),0,rad(-10)), AnimSpeed)
  3862. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-10),0), AnimSpeed)
  3863. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-15),0,0), AnimSpeed)
  3864. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3865. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),0,0), AnimSpeed)
  3866. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3867. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-8),0,0), AnimSpeed)
  3868. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3869. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),0,0), AnimSpeed)
  3870. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3871. end
  3872. end
  3873. elseif Mode == 1 then
  3874. for i = 0, .8, .1 do
  3875. swait()
  3876. if not Debounces.DoubleJumpAnim and not Debounces.Attacking then
  3877. local AnimSpeed = .4
  3878. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(10),0,0), AnimSpeed)
  3879. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3880. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  3881. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  3882. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.6,0)*Euler(rad(-30),0,rad(10)), AnimSpeed)
  3883. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(10),0), AnimSpeed)
  3884. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(rad(-30),0,rad(-10)), AnimSpeed)
  3885. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-10),0), AnimSpeed)
  3886. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-15),0,0), AnimSpeed)
  3887. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3888. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),0,0), AnimSpeed)
  3889. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3890. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-8),0,0), AnimSpeed)
  3891. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3892. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),0,0), AnimSpeed)
  3893. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3894. end
  3895. end
  3896. elseif Mode == 2 then
  3897.  
  3898. elseif Mode == 3 then
  3899.  
  3900. elseif Mode == 4 then
  3901.  
  3902. end
  3903. Current_Anim = "Falling"
  3904. Debounces.JumpAnim = false
  3905. Debounces.AnimOverride = false
  3906. end
  3907. end)
  3908.  
  3909. Humanoid.Swimming:connect(function()
  3910. Current_Anim = "Walking"
  3911. Debounces.Can_Double_Jump = true
  3912. end)
  3913.  
  3914. Humanoid.Changed:connect(function()
  3915. if Humanoid.PlatformStand and Debounces.ProtectionEnabled then
  3916. Humanoid.PlatformStand = false
  3917. end
  3918. end)
  3919.  
  3920. EquipAnim()
  3921.  
  3922. function Mode0Anims()
  3923. if Current_Anim == "Idle" then
  3924. local AnimSpeed = .4
  3925. change = .5
  3926. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(0,0,rad(12+4*cos(sine/10))), AnimSpeed)
  3927. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), AnimSpeed)
  3928. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(0,0,rad(-12-4*cos(sine/10))), AnimSpeed)
  3929. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), AnimSpeed)
  3930. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6+2*cos(sine/10)),0,rad(40)), AnimSpeed)
  3931. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3932. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-.05*cos(sine/10),0)*Euler(rad(-6),0,0), AnimSpeed)
  3933. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(40),0), AnimSpeed)
  3934. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1+.05*cos(sine/10),.05)*Euler(rad(-3),rad(-10),0), AnimSpeed)
  3935. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3936. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-1+.05*cos(sine/10),.5)*Euler(0,rad(40),0), AnimSpeed)
  3937. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-6),0,0), AnimSpeed)
  3938. elseif Current_Anim == "Walking" then
  3939. local AnimSpeed = .4
  3940. change = .65
  3941. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(10-30*cos(sine/5)),0,rad(8)), AnimSpeed)
  3942. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3943. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(10+30*cos(sine/5)),0,rad(-8)), AnimSpeed)
  3944. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  3945. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6+2*cos(sine/10)),0,rad(0+2*cos(sine/5))), AnimSpeed)
  3946. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3947. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10),rad(0-4*cos(sine/5)),0), AnimSpeed)
  3948. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3949. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(0+30*cos(sine/5)),0,0), AnimSpeed)
  3950. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(4),0), AnimSpeed)
  3951. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(0-30*cos(sine/5)),0,0), AnimSpeed)
  3952. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-4),0), AnimSpeed)
  3953. elseif Current_Anim == "Dashing" then
  3954. local AnimSpeed = .4
  3955. change = 1
  3956. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5,0)*Euler(rad(20-60*cos(sine/3)),0,rad(4+30*cos(sine/3))), AnimSpeed)
  3957. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(10*cos(sine/3)),0), AnimSpeed)
  3958. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(20+60*cos(sine/3)),0,rad(4+30*cos(sine/3))), AnimSpeed)
  3959. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(10*cos(sine/3)),0), AnimSpeed)
  3960. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-16+2*cos(sine/3)),0,0), AnimSpeed)
  3961. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3962. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.1,0)*Euler(rad(-40),rad(0-4*cos(sine/3)),0), AnimSpeed)
  3963. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3964. FRightHip.C0=clerp(FRightHip.C0,Cf(1.6,-1,-.05)*Euler(rad(20+60*cos(sine/3)),0,0), AnimSpeed)
  3965. FRightHip.C1=clerp(FRightHip.C1,Cf(1.1,1,0)*Euler(0,rad(4),0), AnimSpeed)
  3966. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.6,-1,-.05)*Euler(rad(20-60*cos(sine/3)),0,0), AnimSpeed)
  3967. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1.1,1,0)*Euler(0,rad(-4),0), AnimSpeed)
  3968. elseif Current_Anim == "Falling" then
  3969. local AnimSpeed = .4
  3970. change = .8
  3971. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.6,0)*Euler(0,0,rad(50+2*cos(sine/10))), AnimSpeed)
  3972. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), AnimSpeed)
  3973. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-50-2*cos(sine/10))), AnimSpeed)
  3974. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0), AnimSpeed)
  3975. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(20+2*cos(sine/10)),0,0), AnimSpeed)
  3976. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  3977. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),rad(0),0), AnimSpeed)
  3978. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  3979. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20-2*cos(sine/10)),0,0), AnimSpeed)
  3980. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  3981. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8+2*cos(sine/10)),0,0), AnimSpeed)
  3982. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  3983. end
  3984. end
  3985.  
  3986. function Mode1Anims()
  3987. if Current_Anim == "Idle" then
  3988. local AnimSpeed = .4
  3989. change = .5
  3990. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(6.5-2*cos(sine/10)),0,0), AnimSpeed)
  3991. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  3992. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  3993. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  3994. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(0,0,rad(12+4*cos(sine/10))), AnimSpeed)
  3995. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), AnimSpeed)
  3996. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(0,0,rad(-12-4*cos(sine/10))), AnimSpeed)
  3997. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), AnimSpeed)
  3998. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6+2*cos(sine/10)),0,rad(40)), AnimSpeed)
  3999. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  4000. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.95-.05*cos(sine/10),0)*Euler(rad(-6),0,0), AnimSpeed)
  4001. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(40),0), AnimSpeed)
  4002. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1+.05*cos(sine/10),.05)*Euler(rad(-3),rad(-10),0), AnimSpeed)
  4003. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  4004. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.4,-1+.05*cos(sine/10),.5)*Euler(0,rad(40),0), AnimSpeed)
  4005. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(-6),0,0), AnimSpeed)
  4006. elseif Current_Anim == "Walking" then
  4007. local AnimSpeed = .4
  4008. change = .65
  4009. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(6),0,0), AnimSpeed)
  4010. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  4011. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  4012. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  4013. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(12),0,rad(8)), AnimSpeed)
  4014. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  4015. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(10+30*cos(sine/5)),0,rad(-8)), AnimSpeed)
  4016. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), AnimSpeed)
  4017. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(6+2*cos(sine/10)),0,rad(0+2*cos(sine/5))), AnimSpeed)
  4018. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  4019. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.95,0)*Euler(rad(-10),rad(0-4*cos(sine/5)),0), AnimSpeed)
  4020. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  4021. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(0+30*cos(sine/5)),0,0), AnimSpeed)
  4022. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(4),0), AnimSpeed)
  4023. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(0-30*cos(sine/5)),0,0), AnimSpeed)
  4024. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-4),0), AnimSpeed)
  4025. elseif Current_Anim == "Dashing" then
  4026. local AnimSpeed = .4
  4027. change = 1
  4028. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(10),0,0), AnimSpeed)
  4029. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  4030. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  4031. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  4032. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.5,.2)*Euler(rad(-10),0,rad(12+4*cos(sine/10))), AnimSpeed)
  4033. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(70),0), AnimSpeed)
  4034. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(20+60*cos(sine/3)),0,rad(-4+30*cos(sine/3))), AnimSpeed)
  4035. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-10*cos(sine/3)),0), AnimSpeed)
  4036. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(-16+2*cos(sine/3)),0,0), AnimSpeed)
  4037. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  4038. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.1,0)*Euler(rad(-40),rad(0-4*cos(sine/3)),0), AnimSpeed)
  4039. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  4040. FRightHip.C0=clerp(FRightHip.C0,Cf(1.6,-1,-.05)*Euler(rad(20+60*cos(sine/3)),0,0), AnimSpeed)
  4041. FRightHip.C1=clerp(FRightHip.C1,Cf(1.1,1,0)*Euler(0,rad(4),0), AnimSpeed)
  4042. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.6,-1,-.05)*Euler(rad(20-60*cos(sine/3)),0,0), AnimSpeed)
  4043. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1.1,1,0)*Euler(0,rad(-4),0), AnimSpeed)
  4044. elseif Current_Anim == "Falling" then
  4045. local AnimSpeed = .4
  4046. change = .8
  4047. HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), AnimSpeed)
  4048. HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), AnimSpeed)
  4049. WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), AnimSpeed)
  4050. WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), AnimSpeed)
  4051. FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.6,0)*Euler(0,0,rad(50+2*cos(sine/10))), AnimSpeed)
  4052. FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), AnimSpeed)
  4053. FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-50-2*cos(sine/10))), AnimSpeed)
  4054. FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0), AnimSpeed)
  4055. Neck.C0=clerp(Neck.C0,NNC0 *Euler(rad(20+2*cos(sine/10)),0,0), AnimSpeed)
  4056. Neck.C1=clerp(Neck.C1,NNC1 *Euler(0,0,0), AnimSpeed)
  4057. FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),rad(0),0), AnimSpeed)
  4058. FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), AnimSpeed)
  4059. FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20-2*cos(sine/10)),0,0), AnimSpeed)
  4060. FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), AnimSpeed)
  4061. FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8+2*cos(sine/10)),0,0), AnimSpeed)
  4062. FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), AnimSpeed)
  4063. end
  4064. end
  4065.  
  4066. function Mode2Anims()
  4067. if Current_Anim == "Idle" then
  4068. elseif Current_Anim == "Walking" then
  4069. elseif Current_Anim == "Dashing" then
  4070. elseif Current_Anim == "Falling" then
  4071. end
  4072. end
  4073.  
  4074. function Mode3Anims()
  4075. if Current_Anim == "Idle" then
  4076. elseif Current_Anim == "Walking" then
  4077. elseif Current_Anim == "Dashing" then
  4078. elseif Current_Anim == "Falling" then
  4079. end
  4080. end
  4081.  
  4082. function Mode4Anims()
  4083. if Current_Anim == "Idle" then
  4084. elseif Current_Anim == "Walking" then
  4085. elseif Current_Anim == "Dashing" then
  4086. elseif Current_Anim == "Falling" then
  4087. end
  4088. end
  4089.  
  4090. while true do
  4091. swait(.01/FrameRate)
  4092. for i, t in pairs(MCD) do
  4093. if t[1] < t[2] then
  4094. t[1] = t[1]+.03
  4095. end
  4096. end
  4097. sine = sine + change
  4098. if Debounces.Equipped and not Debounces.Attacking and not Debounces.AnimOverride and not Debounces.Equipping then
  4099. if Mode == 0 then
  4100. Mode0Anims()
  4101. elseif Mode == 1 then
  4102. Mode1Anims()
  4103. elseif Mode == 2 then
  4104. Mode2Anims()
  4105. elseif Mode == 3 then
  4106. Mode3Anims()
  4107. elseif Mode == 4 then
  4108. Mode4Anims()
  4109. end
  4110. end
  4111. end
Add Comment
Please, Sign In to add comment