Potatoisbehindyou

Untitled

Oct 12th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 170.83 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY BRANNON1964802, EDITED BY KARMARANGE
  3. --\\====================================================//--
  4.  
  5. --[[c=script.Parent:getChildren()
  6. for i = 1, #c do
  7. if c[i].className=="BodyColors" then
  8. c[i]:Remove()
  9. end
  10. end]]--
  11. local e = script.Parent:FindFirstChild("Body Colors")
  12. if e then
  13. e:Destroy()
  14. end
  15.  
  16. wait(1 / 60)
  17.  
  18. intro = true
  19. Player = game:GetService("Players").LocalPlayer
  20. PlayerGui = Player.PlayerGui
  21. Cam = workspace.CurrentCamera
  22. Backpack = Player.Backpack
  23. Character = Player.Character
  24. Humanoid = Character.Humanoid
  25. Mouse = Player:GetMouse()
  26. RootPart = Character["HumanoidRootPart"]
  27. Torso = Character["Torso"]
  28. Head = Character["Head"]
  29. RightArm = Character["Right Arm"]
  30. LeftArm = Character["Left Arm"]
  31. RightLeg = Character["Right Leg"]
  32. LeftLeg = Character["Left Leg"]
  33. RootJoint = RootPart["RootJoint"]
  34. Neck = Torso["Neck"]
  35. RightShoulder = Torso["Right Shoulder"]
  36. LeftShoulder = Torso["Left Shoulder"]
  37. RightHip = Torso["Right Hip"]
  38. LeftHip = Torso["Left Hip"]
  39. Humanoid.WalkSpeed = 0
  40. Humanoid.JumpPower = 0
  41. Humanoid.MaxHealth = "inf"
  42. Humanoid.Health = "inf"
  43. k = Instance.new("Sound",Character)
  44. k.Volume = 0.6
  45. k.PlaybackSpeed = 1
  46. k.Pitch = 1
  47. k.SoundId = "rbxassetid://381671754"
  48. k:Play()
  49. k.Name = "TalkSound"
  50. k.Playing = false
  51.  
  52. function chatfunc(text)
  53. local chat = coroutine.wrap(function()
  54. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  55. Character:FindFirstChild("TalkingBillBoard"):destroy()
  56. end
  57. local naeeym2 = Instance.new("BillboardGui",Character)
  58. naeeym2.Size = UDim2.new(0,100,0,40)
  59. naeeym2.StudsOffset = Vector3.new(0,8,0)
  60. naeeym2.Adornee = Character.Head
  61. naeeym2.Name = "TalkingBillBoard"
  62. naeeym2.AlwaysOnTop = true
  63. local tecks2 = Instance.new("TextLabel",naeeym2)
  64. tecks2.BackgroundTransparency = 1
  65. tecks2.BorderSizePixel = 0
  66. tecks2.Text = ""
  67. tecks2.Font = "Fantasy"
  68. tecks2.TextSize = 30
  69. tecks2.TextStrokeTransparency = 0
  70. tecks2.TextColor3 = Color3.new(0,0,0)
  71. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  72. tecks2.Size = UDim2.new(1,0,0.5,0)
  73. local tecks3 = Instance.new("TextLabel",naeeym2)
  74. tecks3.BackgroundTransparency = 1
  75. tecks3.BorderSizePixel = 0
  76. tecks3.Text = ""
  77. tecks3.Font = "Fantasy"
  78. tecks3.TextSize = 30
  79. tecks3.TextStrokeTransparency = 0
  80. tecks3.TextColor3 = Color3.new(0,0,0)
  81. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  82. tecks3.Size = UDim2.new(1,0,0.5,0)
  83. for i = 1,string.len(text),1 do
  84. k:Play()
  85. tecks2.Text = string.sub(text,1,i)
  86. tecks3.Text = string.sub(text,1,i)
  87. wait(0.01)
  88. end
  89. wait(2)
  90. for i = 1, 50 do
  91. wait()
  92. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  93. tecks2.Rotation = tecks2.Rotation - .8
  94. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  95. tecks2.TextTransparency = tecks2.TextTransparency + .04
  96. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  97. tecks3.Rotation = tecks2.Rotation + .8
  98. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  99. tecks3.TextTransparency = tecks2.TextTransparency + .04
  100. end
  101. naeeym2:Destroy()
  102. end)
  103. chat()
  104. end
  105. function onChatted(msg)
  106. chatfunc(msg)
  107. end
  108. Player.Chatted:connect(onChatted)
  109.  
  110. wait(1)
  111. if intro == true then
  112. chatfunc("Thee who have awoken me...")
  113. wait(2)
  114. chatfunc("For I am...")
  115. wait(4)
  116. end
  117. kkk = Instance.new("Sound",Character)
  118. kkk.Volume = 0.7
  119. kkk.PlaybackSpeed = 1
  120. kkk.Pitch = 1
  121. kkk.SoundId = "rbxassetid://700037500"
  122. kkk:Play()
  123. kkk.Name = "BackgroundMusic"
  124. kkk.Looped = true
  125. chatfunc("Sorcus, the judge!")
  126. Humanoid.DisplayDistanceType = "None"
  127. Head.face.Texture = "rbxassetid://8560915"
  128. Head.Mesh:Destroy()
  129. local mesh = Instance.new("BlockMesh")
  130. mesh.Parent = Head
  131. Head.BrickColor = BrickColor.new("Light stone grey")
  132. RightArm.BrickColor = BrickColor.new("Light stone grey")
  133. LeftArm.BrickColor = BrickColor.new("Light stone grey")
  134. LeftLeg.BrickColor = BrickColor.new("Light stone grey")
  135. RightLeg.BrickColor = BrickColor.new("Light stone grey")
  136. Torso.BrickColor = BrickColor.new("Light stone grey")
  137. script.Parent.Shirt.ShirtTemplate = "rbxassetid://46810244"
  138. script.Parent.Pants.PantsTemplate = "rbxassetid://55631376"
  139. c=script.Parent:getChildren()
  140. for i = 1, #c do
  141. if c[i].className=="CharacterMesh" then
  142. c[i]:Remove()
  143. end
  144. end
  145. wait(0.0005)
  146. Humanoid.WalkSpeed = 35
  147. Humanoid.JumpPower = 85
  148. Head.BrickColor = BrickColor.new("Light stone grey")
  149. RightArm.BrickColor = BrickColor.new("Light stone grey")
  150. LeftArm.BrickColor = BrickColor.new("Light stone grey")
  151. LeftLeg.BrickColor = BrickColor.new("Light stone grey")
  152. RightLeg.BrickColor = BrickColor.new("Light stone grey")
  153. Torso.BrickColor = BrickColor.new("Light stone grey")
  154. local hat = Instance.new("Hat")
  155. hat.AttachmentPos = Vector3.new(0,-3.5,0)
  156. hat.AttachmentForward = Vector3.new(0,0,-1)
  157. hat.AttachmentRight = Vector3.new(1,0,0)
  158. hat.AttachmentUp = Vector3.new(0,1,0)
  159. local handle = Instance.new("Part")
  160. handle.Name = "Handle"
  161. local mesh = Instance.new("SpecialMesh")
  162. mesh.MeshId = "http://www.roblox.com/asset/?id=174480117"
  163. mesh.TextureId = "http://www.roblox.com/asset/?id=169416422"
  164. mesh.Scale = Vector3.new(11.85,11.85,11.85)
  165. mesh.Parent = handle
  166. handle.Parent = hat
  167.  
  168.  
  169. IT = Instance.new
  170. CF = CFrame.new
  171. VT = Vector3.new
  172. RAD = math.rad
  173. C3 = Color3.new
  174. UD2 = UDim2.new
  175. BRICKC = BrickColor.new
  176. ANGLES = CFrame.Angles
  177. EULER = CFrame.fromEulerAnglesXYZ
  178. COS = math.cos
  179. ACOS = math.acos
  180. SIN = math.sin
  181. ASIN = math.asin
  182. ABS = math.abs
  183. MRANDOM = math.random
  184. FLOOR = math.floor
  185.  
  186.  
  187. function reap(t)
  188. if t.Name ~= "Corpse" and t:FindFirstChild("Torso") then
  189. local s = Instance.new("Model")
  190. s.Name = t.Name
  191. local larm = t:FindFirstChild("Left Arm")
  192. local rarm = t:FindFirstChild("Right Arm")
  193. local lleg = t:FindFirstChild("Left Leg")
  194. local rleg = t:FindFirstChild("Right Leg")
  195. s.Parent = workspace
  196. local tors = Instance.new("Part")
  197. tors.Name = "Torso"
  198. tors.Size = t.Torso.Size
  199. tors.Parent = s
  200. tors.CFrame = t.Torso.CFrame
  201. local LL = Instance.new("Part")
  202. LL.Name = "Left Leg"
  203. LL.Size = lleg.Size
  204. LL.Parent = s
  205. LL.CFrame = lleg.CFrame
  206. LL.CanCollide = true
  207. local RL = Instance.new("Part")
  208. RL.Name = "Right Leg"
  209. RL.Size = rleg.Size
  210. RL.Parent = s
  211. RL.CFrame = rleg.CFrame
  212. RL.CanCollide = true
  213. local RA = Instance.new("Part")
  214. RA.Name = "Right Arm"
  215. RA.Size = rarm.Size
  216. RA.Parent = s
  217. RA.CFrame = rarm.CFrame
  218. RA.CanCollide = true
  219. local LA = Instance.new("Part")
  220. LA.Name = "Left Arm"
  221. LA.Size = larm.Size
  222. LA.Parent = s
  223. LA.CFrame = larm.CFrame
  224. LA.CanCollide = true
  225. local head = Instance.new("Part")
  226. head.Name = "Head"
  227. head.Size = t.Head.Size
  228. head.Parent = s
  229. head.CFrame = t.Head.CFrame
  230. local tor = Instance.new("CharacterMesh")
  231. tor.Parent = s
  232. tor.BodyPart = "Torso"
  233. tor.MeshId = "36780113"
  234. tor.OverlayTextureId = "494636944"
  235. local tor = Instance.new("CharacterMesh")
  236. tor.Parent = s
  237. tor.BodyPart = "RightLeg"
  238. tor.MeshId = "36780195"
  239. tor.OverlayTextureId = "494636944"
  240. local tor = Instance.new("CharacterMesh")
  241. tor.Parent = s
  242. tor.BodyPart = "LeftLeg"
  243. tor.MeshId = "36780079"
  244. tor.OverlayTextureId = "494636944"
  245. local tor = Instance.new("CharacterMesh")
  246. tor.Parent = s
  247. tor.BodyPart = "LeftArm"
  248. tor.MeshId = "36780032"
  249. tor.OverlayTextureId = "494636944"
  250. local tor = Instance.new("CharacterMesh")
  251. tor.Parent = s
  252. tor.BodyPart = "RightArm"
  253. tor.MeshId = "36780156"
  254. tor.OverlayTextureId = "494636944"
  255. local tor = Instance.new("SpecialMesh")
  256. tor.Scale = Vector3.new(t.Head.Size.Z,t.Head.Size.Z,t.Head.Size.Z)
  257. tor.MeshType = "FileMesh"
  258. tor.MeshId = "http://www.roblox.com/asset/?id=181343290"
  259. tor.TextureId = "rbxassetid://494637850"
  260. tor.Parent = head
  261. local human = t.Humanoid
  262. human.Parent = s
  263. human.DisplayDistanceType = "None"
  264. t:Destroy()
  265. end
  266. end
  267.  
  268. --//=================================\\
  269. --|| CUSTOMIZATION
  270. --\\=================================//
  271.  
  272. Class_Name = "Sorcus"
  273. Weapon_Name = "Sword"
  274.  
  275. Custom_Colors = {
  276. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  277. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  278.  
  279. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  280. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  281. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  282. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  283. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  284.  
  285. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  286. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  287. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  288. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  289. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  290. }
  291.  
  292. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  293. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  294. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  295. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  296. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  297. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  298.  
  299. Player_Size = 5 --Size of the player.
  300. Animation_Speed = 3
  301. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  302.  
  303. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  304. Enable_Stats = false --Enables or disables stats.
  305. Put_Stats_In_Character = false --Places stats in Character.
  306. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  307. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  308. Enable_Stagger = false --Enables or disables staggering.
  309. Enable_Stun = false --Enables or disables the stun mechanic.
  310. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  311. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  312.  
  313. Start_Equipped = false --Starts the player equipped with their weapon.
  314. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  315. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  316. Disable_Animator = true --Disables the Animator in the humanoid.
  317. Disable_Animate = true --Disables the Animate script in the character.
  318. Disable_Moving_Arms = false --Keeps the arms from moving around.
  319. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  320. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  321. Disable_Jump = false --Disables jumping.
  322. Use_HopperBin = true --Uses a hopperbin to do things.
  323.  
  324. Cooldown_1 = 0 --Cooldowns for abilites.
  325. Cooldown_2 = 0
  326. Cooldown_3 = 0
  327. Cooldown_4 = 0
  328. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  329. Skill_2_Mana_Cost = 0
  330. Skill_3_Mana_Cost = 0
  331. Skill_4_Mana_Cost = 0
  332. Max_Mana = 0 --Maximum amount of mana you can have.
  333. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  334. Mana_Name = "Mana" --Name for the mana bar.
  335. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  336. Max_Stun = 1 --Maximum amount of stun you can have.
  337. Recover_Mana = 0 --How much mana you gain.
  338. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  339. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  340. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  341. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  342. Lose_Stun = 0 --How much stun you lose.
  343. Stun_Wait = 0 --Delay between losing stun.
  344. Mana_Wait = 0 --Delay between gaining mana.
  345. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  346. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  347. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  348. Show_Stats = false --Hides or shows stats.
  349. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  350.  
  351. --//=================================\\
  352. --|| END OF CUSTOMIZATION
  353. --\\=================================//
  354.  
  355.  
  356.  
  357.  
  358.  
  359. --//=================================\\
  360. --|| USEFUL VALUES
  361. --\\=================================//
  362.  
  363. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  364. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  365. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  366. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  367. local CO1 = 0
  368. local CO2 = 0
  369. local CO3 = 0
  370. local CO4 = 0
  371. local CHANGEDEFENSE = 0
  372. local CHANGEDAMAGE = 0
  373. local CHANGEMOVEMENT = 0
  374. local ANIM = "Idle"
  375. local ATTACK = false
  376. local EQUIPPED = false
  377. local HOLD = false
  378. local COMBO = 2
  379. local LASTPOINT = nil
  380. local BLCF = nil
  381. local SCFR = nil
  382. local STAGGERHITANIM = false
  383. local STAGGERANIM = false
  384. local STUNANIM = false
  385. local CRITCHANCENUMBER = 0
  386. local IDLENUMBER = 0
  387. local DONUMBER = 0
  388. local HANDIDLE = false
  389. local SINE = 0
  390. local CHANGE = 1 / Animation_Speed
  391. local WALKINGANIM = false
  392. local WALK = 0
  393. local DISABLEJUMPING = false
  394. local HASBEENBLOCKED = false
  395. local STUNDELAYNUMBER = 0
  396. local MANADELAYNUMBER = 0
  397. local SECONDARYMANADELAYNUMBER = 0
  398. local ROBLOXIDLEANIMATION = IT("Animation")
  399. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  400. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  401. --ROBLOXIDLEANIMATION.Parent = Humanoid
  402. local WEAPONGUI = IT("ScreenGui", nil)
  403. WEAPONGUI.Name = "Weapon GUI"
  404. local WEAPONTOOL = IT("HopperBin", nil)
  405. WEAPONTOOL.Name = Weapon_Name
  406. local Weapon = IT("Model")
  407. Weapon.Name = Weapon_Name
  408. local Effects = IT("Folder", Weapon)
  409. Effects.Name = "Effects"
  410. local ANIMATOR = Humanoid.Animator
  411. local ANIMATE = Character.Animate
  412. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  413. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  414. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  415. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  416.  
  417. --//=================================\\
  418. --\\=================================//
  419.  
  420.  
  421.  
  422.  
  423.  
  424. --//=================================\\
  425. --|| STATS
  426. --\\=================================//
  427.  
  428. if Character:FindFirstChild("Stats") ~= nil then
  429. Character:FindFirstChild("Stats").Parent = nil
  430. end
  431.  
  432. local Stats = IT("Folder", nil)
  433. Stats.Name = "Stats"
  434. local ChangeStat = IT("Folder", Stats)
  435. ChangeStat.Name = "ChangeStat"
  436. local Defense = IT("NumberValue", Stats)
  437. Defense.Name = "Defense"
  438. Defense.Value = 1
  439. local Movement = IT("NumberValue", Stats)
  440. Movement.Name = "Movement"
  441. Movement.Value = 1
  442. local Damage = IT("NumberValue", Stats)
  443. Damage.Name = "Damage"
  444. Damage.Value = 1
  445. local Mana = IT("NumberValue", Stats)
  446. Mana.Name = "Mana"
  447. Mana.Value = 0
  448. local SecondaryMana = IT("NumberValue", Stats)
  449. SecondaryMana.Name = "SecondaryMana"
  450. SecondaryMana.Value = 0
  451. local CanCrit = IT("BoolValue", Stats)
  452. CanCrit.Name = "CanCrit"
  453. CanCrit.Value = false
  454. local CritChance = IT("NumberValue", Stats)
  455. CritChance.Name = "CritChance"
  456. CritChance.Value = 20
  457. local CanPenetrateArmor = IT("BoolValue", Stats)
  458. CanPenetrateArmor.Name = "CanPenetrateArmor"
  459. CanPenetrateArmor.Value = false
  460. local AntiTeamKill = IT("BoolValue", Stats)
  461. AntiTeamKill.Name = "AntiTeamKill"
  462. AntiTeamKill.Value = false
  463. local Rooted = IT("BoolValue", Stats)
  464. Rooted.Name = "Rooted"
  465. Rooted.Value = false
  466. local Block = IT("BoolValue", Stats)
  467. Block.Name = "Block"
  468. Block.Value = false
  469. local RecentEnemy = IT("ObjectValue", Stats)
  470. RecentEnemy.Name = "RecentEnemy"
  471. RecentEnemy.Value = nil
  472. local StaggerHit = IT("BoolValue", Stats)
  473. StaggerHit.Name = "StaggerHit"
  474. StaggerHit.Value = false
  475. local Stagger = IT("BoolValue", Stats)
  476. Stagger.Name = "Stagger"
  477. Stagger.Value = false
  478. local Stun = IT("BoolValue", Stats)
  479. Stun.Name = "Stun"
  480. Stun.Value = false
  481. local StunValue = IT("NumberValue", Stats)
  482. StunValue.Name = "StunValue"
  483. StunValue.Value = 0
  484.  
  485. if Enable_Stats == true and Put_Stats_In_Character == true then
  486. Stats.Parent = Character
  487. end
  488.  
  489. --//=================================\\
  490. --\\=================================//
  491.  
  492.  
  493.  
  494.  
  495.  
  496. --//=================================\\
  497. --|| DEBUFFS / BUFFS
  498. --\\=================================//
  499.  
  500. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  501. DEFENSECHANGE1.Name = "ChangeDefense"
  502. DEFENSECHANGE1.Value = 0
  503.  
  504. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  505. MOVEMENTCHANGE1.Name = "ChangeMovement"
  506. MOVEMENTCHANGE1.Value = 0
  507.  
  508. --//=================================\\
  509. --\\=================================//
  510.  
  511.  
  512.  
  513.  
  514.  
  515. --//=================================\\
  516. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  517. --\\=================================//
  518.  
  519. ArtificialHB = Instance.new("BindableEvent", script)
  520. ArtificialHB.Name = "ArtificialHB"
  521.  
  522. script:WaitForChild("ArtificialHB")
  523.  
  524. frame = Frame_Speed
  525. tf = 0
  526. allowframeloss = false
  527. tossremainder = false
  528. lastframe = tick()
  529. script.ArtificialHB:Fire()
  530.  
  531. game:GetService("RunService").Heartbeat:connect(function(s, p)
  532. tf = tf + s
  533. if tf >= frame then
  534. if allowframeloss then
  535. script.ArtificialHB:Fire()
  536. lastframe = tick()
  537. else
  538. for i = 1, math.floor(tf / frame) do
  539. script.ArtificialHB:Fire()
  540. end
  541. lastframe = tick()
  542. end
  543. if tossremainder then
  544. tf = 0
  545. else
  546. tf = tf - frame * math.floor(tf / frame)
  547. end
  548. end
  549. end)
  550.  
  551. --//=================================\\
  552. --\\=================================//
  553.  
  554.  
  555.  
  556.  
  557.  
  558. --//=================================\\
  559. --|| SOME FUNCTIONS
  560. --\\=================================//
  561.  
  562. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  563. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  564. end
  565.  
  566. function PositiveAngle(NUMBER)
  567. if NUMBER >= 0 then
  568. NUMBER = 0
  569. end
  570. return NUMBER
  571. end
  572.  
  573. function NegativeAngle(NUMBER)
  574. if NUMBER <= 0 then
  575. NUMBER = 0
  576. end
  577. return NUMBER
  578. end
  579.  
  580. function Swait(NUMBER)
  581. if NUMBER == 0 or NUMBER == nil then
  582. ArtificialHB.Event:wait()
  583. else
  584. for i = 1, NUMBER do
  585. ArtificialHB.Event:wait()
  586. end
  587. end
  588. end
  589.  
  590. function QuaternionFromCFrame(cf)
  591. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  592. local trace = m00 + m11 + m22
  593. if trace > 0 then
  594. local s = math.sqrt(1 + trace)
  595. local recip = 0.5 / s
  596. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  597. else
  598. local i = 0
  599. if m11 > m00 then
  600. i = 1
  601. end
  602. if m22 > (i == 0 and m00 or m11) then
  603. i = 2
  604. end
  605. if i == 0 then
  606. local s = math.sqrt(m00 - m11 - m22 + 1)
  607. local recip = 0.5 / s
  608. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  609. elseif i == 1 then
  610. local s = math.sqrt(m11 - m22 - m00 + 1)
  611. local recip = 0.5 / s
  612. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  613. elseif i == 2 then
  614. local s = math.sqrt(m22 - m00 - m11 + 1)
  615. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  616. end
  617. end
  618. end
  619.  
  620. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  621. local xs, ys, zs = x + x, y + y, z + z
  622. local wx, wy, wz = w * xs, w * ys, w * zs
  623. local xx = x * xs
  624. local xy = x * ys
  625. local xz = x * zs
  626. local yy = y * ys
  627. local yz = y * zs
  628. local zz = z * zs
  629. 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))
  630. end
  631.  
  632. function QuaternionSlerp(a, b, t)
  633. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  634. local startInterp, finishInterp;
  635. if cosTheta >= 0.0001 then
  636. if (1 - cosTheta) > 0.0001 then
  637. local theta = ACOS(cosTheta)
  638. local invSinTheta = 1 / SIN(theta)
  639. startInterp = SIN((1 - t) * theta) * invSinTheta
  640. finishInterp = SIN(t * theta) * invSinTheta
  641. else
  642. startInterp = 1 - t
  643. finishInterp = t
  644. end
  645. else
  646. if (1 + cosTheta) > 0.0001 then
  647. local theta = ACOS(-cosTheta)
  648. local invSinTheta = 1 / SIN(theta)
  649. startInterp = SIN((t - 1) * theta) * invSinTheta
  650. finishInterp = SIN(t * theta) * invSinTheta
  651. else
  652. startInterp = t - 1
  653. finishInterp = t
  654. end
  655. end
  656. 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
  657. end
  658.  
  659. function Clerp(a, b, t)
  660. local qa = {QuaternionFromCFrame(a)}
  661. local qb = {QuaternionFromCFrame(b)}
  662. local ax, ay, az = a.x, a.y, a.z
  663. local bx, by, bz = b.x, b.y, b.z
  664. local _t = 1 - t
  665. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  666. end
  667.  
  668. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  669. local frame = IT("Frame")
  670. frame.BackgroundTransparency = TRANSPARENCY
  671. frame.BorderSizePixel = BORDERSIZEPIXEL
  672. frame.Position = POSITION
  673. frame.Size = SIZE
  674. frame.BackgroundColor3 = COLOR
  675. frame.BorderColor3 = BORDERCOLOR
  676. frame.Name = NAME
  677. frame.Parent = PARENT
  678. return frame
  679. end
  680.  
  681. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  682. local label = IT("TextLabel")
  683. label.BackgroundTransparency = 1
  684. label.Size = UD2(1, 0, 1, 0)
  685. label.Position = UD2(0, 0, 0, 0)
  686. label.TextColor3 = C3(255, 255, 255)
  687. label.TextStrokeTransparency = STROKETRANSPARENCY
  688. label.TextTransparency = TRANSPARENCY
  689. label.FontSize = TEXTFONTSIZE
  690. label.Font = TEXTFONT
  691. label.BorderSizePixel = BORDERSIZEPIXEL
  692. label.TextScaled = true
  693. label.Text = TEXT
  694. label.Name = NAME
  695. label.Parent = PARENT
  696. return label
  697. end
  698.  
  699. function NoOutlines(PART)
  700. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  701. end
  702.  
  703. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  704. local NEWPART = IT("Part")
  705. NEWPART.formFactor = FORMFACTOR
  706. NEWPART.Reflectance = REFLECTANCE
  707. NEWPART.Transparency = TRANSPARENCY
  708. NEWPART.CanCollide = false
  709. NEWPART.Locked = true
  710. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  711. NEWPART.Name = NAME
  712. NEWPART.Size = SIZE
  713. NEWPART.Position = Torso.Position
  714. NoOutlines(NEWPART)
  715. NEWPART.Material = MATERIAL
  716. NEWPART:BreakJoints()
  717. NEWPART.Parent = PARENT
  718. return NEWPART
  719. end
  720.  
  721. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  722. local NEWMESH = IT(MESH)
  723. if MESH == "SpecialMesh" then
  724. NEWMESH.MeshType = MESHTYPE
  725. if MESHID ~= "nil" and MESHID ~= "" then
  726. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=53351910"
  727. end
  728. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  729. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=53352041"
  730. end
  731. end
  732. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  733. NEWMESH.Scale = Vector3.new(1,-1.15,1)
  734. NEWMESH.Parent = PARENT
  735. return NEWMESH
  736. end
  737.  
  738. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  739. local NEWWELD = IT(TYPE)
  740. NEWWELD.Part0 = PART0
  741. NEWWELD.Part1 = PART1
  742. NEWWELD.C0 = C0
  743. NEWWELD.C1 = C1
  744. NEWWELD.Parent = PARENT
  745. return NEWWELD
  746. end
  747.  
  748. function CreateSound(ID, PARENT, VOLUME, PITCH)
  749. coroutine.resume(coroutine.create(function()
  750. local NEWSOUND = IT("Sound", PARENT)
  751. NEWSOUND.Volume = VOLUME
  752. NEWSOUND.Pitch = PITCH
  753. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  754. Swait()
  755. NEWSOUND:play()
  756. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  757. end))
  758. end
  759.  
  760. function CFrameFromTopBack(at, top, back)
  761. local right = top:Cross(back)
  762. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  763. end
  764.  
  765. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  766. local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  767. local CURRENTPOSITION = POSITION1
  768. local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  769. coroutine.resume(coroutine.create(function()
  770. for i = 1, MULTIPLIERTIME do
  771. local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  772. LIGHTNINGPART.Anchored = true
  773. local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  774. local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  775. if MULTIPLIERTIME == i then
  776. local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  777. LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  778. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  779. else
  780. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  781. end
  782. CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  783. game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  784. coroutine.resume(coroutine.create(function()
  785. while LIGHTNINGPART.Transparency ~= 1 do
  786. --local StartTransparency = tra
  787. for i=0, 1, LASTINGTIME do
  788. Swait()
  789. LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  790. end
  791. end
  792. end))
  793. Swait(LIGHTNINGDELAY / Animation_Speed)
  794. end
  795. end))
  796. end
  797.  
  798. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  799. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  800. EFFECTPART.Anchored = true
  801. EFFECTPART.CFrame = CFRAME
  802. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  803. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  804. coroutine.resume(coroutine.create(function(PART, MESH)
  805. for i = 0, 1, delay do
  806. Swait()
  807. PART.CFrame = PART.CFrame * ROTATION
  808. PART.Transparency = i
  809. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  810. end
  811. PART.Parent = nil
  812. end), EFFECTPART, EFFECTMESH)
  813. end
  814.  
  815. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  816. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  817. EFFECTPART.Anchored = true
  818. EFFECTPART.CFrame = CFRAME
  819. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  820. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  821. coroutine.resume(coroutine.create(function(PART, MESH)
  822. for i = 0, 1, delay do
  823. Swait()
  824. PART.CFrame = PART.CFrame * ROTATION
  825. PART.Transparency = i
  826. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  827. end
  828. PART.Parent = nil
  829. end), EFFECTPART, EFFECTMESH)
  830. end
  831.  
  832. function MagicCylinder(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  833. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  834. EFFECTPART.Anchored = true
  835. EFFECTPART.CFrame = CFRAME
  836. local EFFECTMESH = CreateMesh("CylinderMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  837. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  838. coroutine.resume(coroutine.create(function(PART, MESH)
  839. for i = 0, 1, delay do
  840. Swait()
  841. PART.CFrame = PART.CFrame * ROTATION
  842. PART.Transparency = i
  843. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  844. end
  845. PART.Parent = nil
  846. end), EFFECTPART, EFFECTMESH)
  847. end
  848.  
  849. function MagicHead(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  850. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  851. EFFECTPART.Anchored = true
  852. EFFECTPART.CFrame = CFRAME
  853. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Head", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  854. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  855. coroutine.resume(coroutine.create(function(PART, MESH)
  856. for i = 0, 1, delay do
  857. Swait()
  858. PART.CFrame = PART.CFrame * ROTATION
  859. PART.Transparency = i
  860. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  861. end
  862. PART.Parent = nil
  863. end), EFFECTPART, EFFECTMESH)
  864. end
  865.  
  866. function MagicRing(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  867. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  868. EFFECTPART.Anchored = true
  869. EFFECTPART.CFrame = CFRAME
  870. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "3270017", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  871. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  872. coroutine.resume(coroutine.create(function(PART, MESH)
  873. for i = 0, 1, delay do
  874. Swait()
  875. PART.CFrame = PART.CFrame * ROTATION
  876. PART.Transparency = i
  877. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  878. end
  879. PART.Parent = nil
  880. end), EFFECTPART, EFFECTMESH)
  881. end
  882.  
  883. function MagicWave(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  884. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  885. EFFECTPART.Anchored = true
  886. EFFECTPART.CFrame = CFRAME
  887. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "20329976", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), VT(0, 0, (-0.1 * Z1)) + (OFFSET * Player_Size))
  888. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  889. coroutine.resume(coroutine.create(function(PART, MESH)
  890. for i = 0, 1, delay do
  891. Swait()
  892. PART.CFrame = PART.CFrame * ROTATION
  893. PART.Transparency = i
  894. MESH.Offset = VT(0, 0, (-0.1 * MESH.Scale.Z))
  895. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  896. end
  897. PART.Parent = nil
  898. end), EFFECTPART, EFFECTMESH)
  899. end
  900.  
  901. function MagicCrystal(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  902. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  903. EFFECTPART.Anchored = true
  904. EFFECTPART.CFrame = CFRAME
  905. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "9756362", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  906. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  907. coroutine.resume(coroutine.create(function(PART, MESH)
  908. for i = 0, 1, delay do
  909. Swait()
  910. PART.CFrame = PART.CFrame * ROTATION
  911. PART.Transparency = i
  912. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  913. end
  914. PART.Parent = nil
  915. end), EFFECTPART, EFFECTMESH)
  916. end
  917.  
  918. function MagicSwirl(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  919. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  920. EFFECTPART.Anchored = true
  921. EFFECTPART.CFrame = CFRAME
  922. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1051557", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  923. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  924. coroutine.resume(coroutine.create(function(PART, MESH)
  925. for i = 0, 1, delay do
  926. Swait()
  927. PART.CFrame = PART.CFrame * ROTATION
  928. PART.Transparency = i
  929. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  930. end
  931. PART.Parent = nil
  932. end), EFFECTPART, EFFECTMESH)
  933. end
  934.  
  935. function MagicSharpCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  936. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  937. EFFECTPART.Anchored = true
  938. EFFECTPART.CFrame = CFRAME
  939. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1778999", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  940. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  941. coroutine.resume(coroutine.create(function(PART, MESH)
  942. for i = 0, 1, delay do
  943. Swait()
  944. PART.CFrame = PART.CFrame * ROTATION
  945. PART.Transparency = i
  946. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  947. end
  948. PART.Parent = nil
  949. end), EFFECTPART, EFFECTMESH)
  950. end
  951.  
  952. function MagicFlatCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  953. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  954. EFFECTPART.Anchored = true
  955. EFFECTPART.CFrame = CFRAME
  956. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1033714", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  957. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  958. coroutine.resume(coroutine.create(function(PART, MESH)
  959. for i = 0, 1, delay do
  960. Swait()
  961. PART.CFrame = PART.CFrame * ROTATION
  962. PART.Transparency = i
  963. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  964. end
  965. PART.Parent = nil
  966. end), EFFECTPART, EFFECTMESH)
  967. end
  968.  
  969. function MagicSpikedCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  970. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  971. EFFECTPART.Anchored = true
  972. EFFECTPART.CFrame = CFRAME
  973. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1323306", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  974. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  975. coroutine.resume(coroutine.create(function(PART, MESH)
  976. for i = 0, 1, delay do
  977. Swait()
  978. PART.CFrame = PART.CFrame * ROTATION
  979. PART.Transparency = i
  980. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  981. end
  982. PART.Parent = nil
  983. end), EFFECTPART, EFFECTMESH)
  984. end
  985.  
  986. function MagicFlatCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  987. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  988. EFFECTPART.Anchored = true
  989. EFFECTPART.CFrame = CFRAME
  990. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1078075", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  991. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  992. coroutine.resume(coroutine.create(function(PART, MESH)
  993. for i = 0, 1, delay do
  994. Swait()
  995. PART.CFrame = PART.CFrame * ROTATION
  996. PART.Transparency = i
  997. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  998. end
  999. PART.Parent = nil
  1000. end), EFFECTPART, EFFECTMESH)
  1001. end
  1002.  
  1003. function MagicSkull(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1004. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1005. EFFECTPART.Anchored = true
  1006. EFFECTPART.CFrame = CFRAME
  1007. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1008. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1009. coroutine.resume(coroutine.create(function(PART, MESH)
  1010. for i = 0, 1, delay do
  1011. Swait()
  1012. PART.CFrame = PART.CFrame * ROTATION
  1013. PART.Transparency = i
  1014. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1015. end
  1016. PART.Parent = nil
  1017. end), EFFECTPART, EFFECTMESH)
  1018. end
  1019.  
  1020. function ElectricEffect(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X, Y, Z, delay)
  1021. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1022. EFFECTPART.Anchored = true
  1023. EFFECTPART.CFrame = CFRAME
  1024. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X * Player_Size, Y * Player_Size, Z * Player_Size), OFFSET * Player_Size)
  1025. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1026. local XVALUE = MRANDOM()
  1027. local YVALUE = MRANDOM()
  1028. local ZVALUE = MRANDOM()
  1029. coroutine.resume(coroutine.create(function(PART, MESH, THEXVALUE, THEYVALUE, THEZVALUE)
  1030. for i = 0, 1, delay do
  1031. Swait()
  1032. PART.CFrame = PART.CFrame * ROTATION
  1033. PART.Transparency = i
  1034. THEXVALUE = THEXVALUE - 0.1 * (delay * 10)
  1035. THEYVALUE = THEYVALUE - 0.1 * (delay * 10)
  1036. THEZVALUE = THEZVALUE - 0.1 * (delay * 10)
  1037. MESH.Scale = MESH.Scale + VT(THEXVALUE * Player_Size, THEYVALUE * Player_Size, THEZVALUE * Player_Size)
  1038. end
  1039. PART.Parent = nil
  1040. end), EFFECTPART, EFFECTMESH, XVALUE, YVALUE, ZVALUE)
  1041. end
  1042.  
  1043. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  1044. local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  1045. if MAGNITUDECFRAME > (1 / 100) then
  1046. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  1047. EFFECTPART.Anchored = true
  1048. EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  1049. local THEMESHTYPE = "BlockMesh"
  1050. if MESHTYPE == "Cylinder" then
  1051. THEMESHTYPE = "CylinderMesh"
  1052. end
  1053. local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  1054. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1055. coroutine.resume(coroutine.create(function(PART, MESH)
  1056. for i = 0, 1, delay do
  1057. Swait()
  1058. PART.CFrame = PART.CFrame * ROTATION
  1059. PART.Transparency = i
  1060. MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  1061. end
  1062. PART.Parent = nil
  1063. end), EFFECTPART, EFFECTMESH)
  1064. end
  1065. end
  1066.  
  1067. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  1068. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  1069. EFFECTPART.Anchored = true
  1070. EFFECTPART.CFrame = CFRAME
  1071. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  1072. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1073. local THELASTPOINT = CFRAME
  1074. coroutine.resume(coroutine.create(function(PART)
  1075. for i = 1, DURATION do
  1076. Swait()
  1077. PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  1078. TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  1079. THELASTPOINT = PART.CFrame
  1080. end
  1081. PART.Parent = nil
  1082. end), EFFECTPART)
  1083. end
  1084.  
  1085. --local list={}
  1086. function Triangle(Color, Material, a, b, c, delay)
  1087. local edge1 = (c - a):Dot((b - a).unit)
  1088. local edge2 = (a - b):Dot((c - b).unit)
  1089. local edge3 = (b - c):Dot((a - c).unit)
  1090. if edge1 <= (b - a).magnitude and edge1 >= 0 then
  1091. a, b, c=a, b, c
  1092. elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  1093. a, b, c=b, c, a
  1094. elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  1095. a, b, c=c, a, b
  1096. else
  1097. assert(false, "unreachable")
  1098. end
  1099. local len1 = (c - a):Dot((b - a).unit)
  1100. local len2 = (b - a).magnitude - len1
  1101. local width = (a + (b - a).unit * len1 - c).magnitude
  1102. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  1103. if len1 > 1 / 100 then
  1104. local sz = VT(0.2, width, len1)
  1105. local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1106. local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  1107. w1.Anchored = true
  1108. w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  1109. coroutine.resume(coroutine.create(function()
  1110. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1111. Swait()
  1112. w1.Transparency = i
  1113. end
  1114. w1.Parent = nil
  1115. end))
  1116. game:GetService("Debris"):AddItem(w1, 10)
  1117. --table.insert(list, w1)
  1118. end
  1119. if len2 > 1 / 100 then
  1120. local sz = VT(0.2, width, len2)
  1121. local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1122. local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  1123. w2.Anchored = true
  1124. w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  1125. coroutine.resume(coroutine.create(function()
  1126. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1127. Swait()
  1128. w2.Transparency = i
  1129. end
  1130. w2.Parent = nil
  1131. end))
  1132. game:GetService("Debris"):AddItem(w2, 10)
  1133. --table.insert(list, w2)
  1134. end
  1135. --return unpack(list)
  1136. end
  1137.  
  1138. --[[Usage:
  1139. local Pos = Part
  1140. local Offset = Part.CFrame * CF(0, 0, 0)
  1141. local Color = "Institutional white"
  1142. local Material = "Neon"
  1143. local TheDelay = 0.01
  1144. local Height = 4
  1145. BLCF = Offset
  1146. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1147. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1148. if a then game:GetService("Debris"):AddItem(a, 1) end
  1149. if b then game:GetService("Debris"):AddItem(b, 1) end
  1150. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1151. if a then game:GetService("Debris"):AddItem(a, 1) end
  1152. if b then game:GetService("Debris"):AddItem(b, 1) end
  1153. SCFR = BLCF
  1154. elseif not SCFR then
  1155. SCFR = BLCF
  1156. end
  1157. --
  1158. BLCF = nil
  1159. SCFR = nil
  1160. --]]
  1161.  
  1162. --//=================================\\
  1163. --\\=================================//
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169. --//=================================\\
  1170. --|| RESIZE PLAYER
  1171. --\\=================================//
  1172.  
  1173. if Player_Size ~= 1 then
  1174. RootPart.Size = RootPart.Size * Player_Size
  1175. Torso.Size = Torso.Size * Player_Size
  1176. Head.Size = Head.Size * Player_Size
  1177. RightArm.Size = RightArm.Size * Player_Size
  1178. LeftArm.Size = LeftArm.Size * Player_Size
  1179. RightLeg.Size = RightLeg.Size * Player_Size
  1180. LeftLeg.Size = LeftLeg.Size * Player_Size
  1181. RootJoint.Parent = RootPart
  1182. Neck.Parent = Torso
  1183. RightShoulder.Parent = Torso
  1184. LeftShoulder.Parent = Torso
  1185. RightHip.Parent = Torso
  1186. LeftHip.Parent = Torso
  1187.  
  1188. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1189. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1190. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1191. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1192. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1193. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1194. if Disable_Moving_Arms == false then
  1195. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1196. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1197. else
  1198. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1199. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1200. end
  1201. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1202. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1203. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1204. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1205. hat.Parent = Character
  1206. end
  1207.  
  1208.  
  1209. --//=================================\\
  1210. --\\=================================//
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216. --//=================================\\
  1217. --|| WEAPON CREATION
  1218. --\\=================================//
  1219.  
  1220. local HandlePart = CreatePart(3, Weapon, "Granite", 0, 0, "Really black", "Handle", VT(0, 0, 0))
  1221. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "93180631", "93180676", VT(1, 1, 1), VT(0, 3.1 * Player_Size, 0))
  1222. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1223.  
  1224. local HitboxPart = CreatePart(3, Weapon, "Granite", 0, 1, "Really black", "Hitbox", VT(0, 0, 0))
  1225. local HitboxWeld = CreateWeldOrSnapOrMotor("Weld", HitboxPart, HandlePart, HitboxPart, CF(0 * Player_Size, 4 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1226.  
  1227. local EffectPart = CreatePart(3, Weapon, "Granite", 0, 1, "Really black", "Effect Part", VT(0, 0, 0))
  1228. local EffectWeld = CreateWeldOrSnapOrMotor("Weld", EffectPart, HandlePart, EffectPart, CF(0 * Player_Size, 7 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1229.  
  1230. if Player_Size ~= 1 then
  1231. for _, v in pairs (Weapon:GetChildren()) do
  1232. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1233. local p1 = v.Part1
  1234. v.Part1 = nil
  1235. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1236. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1237. v.Part1 = p1
  1238. elseif v.ClassName == "Part" then
  1239. for _, b in pairs (v:GetChildren()) do
  1240. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1241. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1242. end
  1243. end
  1244. end
  1245. end
  1246. end
  1247.  
  1248. for _, c in pairs(Weapon:GetChildren()) do
  1249. if c.ClassName == "Part" then
  1250. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1251. end
  1252. end
  1253.  
  1254. if Start_Equipped == true and Start_Equipped_With_Equipped_Animation == false then
  1255. HandleWeld.Part0 = RightArm
  1256. HandleWeld.C0 = CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1257. end
  1258.  
  1259. Weapon.Parent = Character
  1260.  
  1261. Humanoid.Died:connect(function()
  1262. ATTACK = true
  1263. end)
  1264.  
  1265. print(Class_Name.." loaded.")
  1266.  
  1267. --//=================================\\
  1268. --\\=================================//
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274. --//=================================\\
  1275. --|| DAMAGE FUNCTIONS
  1276. --\\=================================//
  1277.  
  1278. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1279. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1280. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1281. local BODYGYRO = IT("BodyGyro", STATPART)
  1282. local BODYPOSITION = IT("BodyPosition", STATPART)
  1283. BODYPOSITION.P = 2000
  1284. BODYPOSITION.D = 100
  1285. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1286. if LABELTYPE == "Normal" then
  1287. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1288. elseif LABELTYPE == "Debuff" then
  1289. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1290. elseif LABELTYPE == "Interruption" then
  1291. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1292. end
  1293. game:GetService("Debris"):AddItem(STATPART ,5)
  1294. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1295. BILLBOARDGUI.Adornee = STATPART
  1296. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1297. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1298. BILLBOARDGUI.AlwaysOnTop = false
  1299. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1300. TEXTLABEL.BackgroundTransparency = 1
  1301. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1302. TEXTLABEL.Text = "INF"
  1303. TEXTLABEL.Font = "SourceSans"
  1304. TEXTLABEL.FontSize="Size42"
  1305. TEXTLABEL.TextColor3 = COLOR
  1306. TEXTLABEL.TextStrokeTransparency = 0
  1307. TEXTLABEL.TextScaled = true
  1308. TEXTLABEL.TextWrapped = true
  1309. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1310. wait(0.2)
  1311. for i=1, 5 do
  1312. wait()
  1313. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1314. end
  1315. wait(1.2)
  1316. for i=1, 5 do
  1317. wait()
  1318. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1319. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1320. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1321. end
  1322. THEPART.Parent = nil
  1323. end),STATPART, BODYPOSITION, TEXTLABEL)
  1324. end
  1325.  
  1326. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1327. if LOCATION:FindFirstChild("Stats") ~= nil then
  1328. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1329. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1330. return
  1331. end
  1332. end
  1333. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1334. local NewStatChange = IT("NumberValue")
  1335. NewStatChange.Value = AMOUNT
  1336. if STAT == "Defense" then
  1337. NewStatChange.Name = "ChangeDefense"
  1338. elseif STAT == "Damage" then
  1339. NewStatChange.Name = "ChangeDamage"
  1340. elseif STAT == "Movement" then
  1341. NewStatChange.Name = "ChangeMovement"
  1342. end
  1343. if SHOWTHESTAT == true then
  1344. if AMOUNT < 0 then
  1345. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1346. elseif AMOUNT > 0 then
  1347. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1348. end
  1349. end
  1350. if DURATION ~= nil and DURATION ~= 0 then
  1351. local StatDuration = IT("NumberValue")
  1352. StatDuration.Name = "Duration"
  1353. StatDuration.Value = DURATION
  1354. StatDuration.Parent = NewStatChange
  1355. end
  1356. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1357. end
  1358. end
  1359. end
  1360.  
  1361. --Usage: DamageFunction(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, hit, false, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  1362. function DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1363. Humanoid.MaxHealth = "inf"
  1364. Humanoid.Health = "inf"
  1365. if HIT.Parent == nil then
  1366. return
  1367. end
  1368. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1369. for _, v in pairs(HIT.Parent:GetChildren()) do
  1370. if v:IsA("Humanoid") then
  1371. HITHUMANOID = v
  1372. end
  1373. end
  1374. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1375. StaggerHit.Value = true
  1376. if Play_Hitbox_Hit_Sound == true then
  1377. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1378. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1379. end
  1380. end
  1381. return
  1382. end
  1383. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1384. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1385. end
  1386. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1387. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1388. end
  1389. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1390. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1391. if HIT.Parent.DebounceHit.Value == true then
  1392. return
  1393. end
  1394. end
  1395. if AntiTeamKill.Value == true then
  1396. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1397. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1398. return
  1399. end
  1400. end
  1401. end
  1402. if HITEVENWHENDEAD == false then
  1403. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1404. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1405. return
  1406. end
  1407. end
  1408. end
  1409. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1410. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1411. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1412. end
  1413. end
  1414. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1415. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1416. if STAGGER == true and Enable_Stagger == true then
  1417. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1418. end
  1419. end
  1420. end
  1421. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1422. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1423. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1424. HASBEENBLOCKED = true
  1425. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1426. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1427. if RANGED ~= true then
  1428. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1429. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1430. end
  1431. end
  1432. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1433. BlockDebounce.Name = "BlockDebounce"
  1434. BlockDebounce.Value = true
  1435. if RANGED ~= true then
  1436. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1437. else
  1438. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1439. end
  1440. end
  1441. if RANGED ~= true and Enable_Stagger == true then
  1442. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  1443. Stagger.Value = true
  1444. end
  1445. return
  1446. end
  1447. end
  1448. end
  1449. if DECREASETHESTAT ~= nil then
  1450. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1451. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1452. end
  1453. end
  1454. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  1455. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1456. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  1457. if CanPenetrateArmor.Value == true then
  1458. DAMAGE = DAMAGE
  1459. else
  1460. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  1461. end
  1462. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  1463. DAMAGE = DAMAGE
  1464. end
  1465. end
  1466. if CanCrit.Value == true then
  1467. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  1468. if CRITCHANCENUMBER == 1 then
  1469. DAMAGE = DAMAGE * 2
  1470. end
  1471. end
  1472. DAMAGE = math.floor(DAMAGE)
  1473. if HASBEENBLOCKED == false then
  1474. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1475. end
  1476. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  1477. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  1478. StaggerHit.Value = true
  1479. end
  1480. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  1481. CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  1482. end
  1483. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  1484. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  1485. CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  1486. end
  1487. end
  1488. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  1489. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1490. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1491. CreateSound("296102734", HIT, 1, 1)
  1492. else
  1493. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  1494. end
  1495. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  1496. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1497. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1498. CreateSound("296102734", HIT, 1, 1)
  1499. else
  1500. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  1501. end
  1502. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  1503. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1504. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1505. CreateSound("296102734", HIT, 1, 1)
  1506. else
  1507. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  1508. end
  1509. end
  1510. if TYPE == "Normal" then
  1511. local vp = IT("BodyVelocity")
  1512. vp.P=500
  1513. vp.maxForce = VT(math.huge, 0, math.huge)
  1514. if KNOCKBACKTYPE == 1 then
  1515. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  1516. elseif KNOCKBACKTYPE == 2 then
  1517. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  1518. end
  1519. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  1520. vp.Parent = HIT--.Parent.Torso
  1521. end
  1522. game:GetService("Debris"):AddItem(vp, 0.5)
  1523. end
  1524. HASBEENBLOCKED = false
  1525. RecentEnemy.Value = HIT.Parent
  1526. local DebounceHit = IT("BoolValue", HIT.Parent)
  1527. DebounceHit.Name = "DebounceHit"
  1528. DebounceHit.Value = true
  1529. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  1530. end
  1531. HITHUMANOID.Health = 0
  1532. reap(HIT.Parent)
  1533. end
  1534.  
  1535. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  1536. function MagnitudeDamage(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  1537. for _, c in pairs(workspace:GetChildren()) do
  1538. local HUMANOID = c:FindFirstChild("Humanoid")
  1539. local HEAD = nil
  1540. if HUMANOID ~= nil then
  1541. for _, d in pairs(c:GetChildren()) do
  1542. if d.ClassName == "Model" and RANGED ~= true then
  1543. HEAD = d:FindFirstChild("Hitbox")
  1544. if HEAD ~= nil then
  1545. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1546. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1547. if Play_Hitbox_Hit_Sound == true then
  1548. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1549. HitRefpart.Anchored = true
  1550. HitRefpart.CFrame = CF(HEAD.Position)
  1551. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  1552. end
  1553. if Enable_Stagger_Hit == true then
  1554. StaggerHit.Value = true
  1555. end
  1556. end
  1557. end
  1558. elseif d:IsA"BasePart" then
  1559. HEAD = d
  1560. if HEAD ~= nil then
  1561. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1562. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1563. DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  1564. end
  1565. end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. end
  1571.  
  1572. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  1573. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  1574. if Player.Neutral == true then
  1575. IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1576. end
  1577. for _, c in pairs(workspace:GetChildren()) do
  1578. local HUMANOID = c:FindFirstChild("Humanoid")
  1579. local THEHEAD = nil
  1580. if HUMANOID ~= nil then
  1581. if c:FindFirstChild("Torso") ~= nil then
  1582. THEHEAD = c:FindFirstChild("Torso")
  1583. elseif c:FindFirstChild("UpperTorso") ~= nil then
  1584. THEHEAD = c:FindFirstChild("UpperTorso")
  1585. end
  1586. if THEHEAD ~= nil then
  1587. local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  1588. print("yes 1")
  1589. if APPLYTOOTHERSINSTEAD == true then
  1590. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1591. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1592. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1593. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1594. end
  1595. end
  1596. end
  1597. elseif APPLYTOOTHERSINSTEAD == false then
  1598. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  1599. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1600. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1601. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1602. end
  1603. end
  1604. end
  1605. end
  1606. end
  1607. end
  1608. end
  1609. end
  1610.  
  1611. --//=================================\\
  1612. --\\=================================//
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618. --//=================================\\
  1619. --|| WEAPON GUI
  1620. --\\=================================//
  1621.  
  1622. local MANABAR = CreateFrame(WEAPONGUI, Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_8.r, Custom_Colors.Custom_Color_8.g, Custom_Colors.Custom_Color_8.b), C3(0, 0, 0),"Mana Bar")
  1623. local MANACOVER = CreateFrame(MANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_5.r, Custom_Colors.Custom_Color_5.g, Custom_Colors.Custom_Color_5.b), C3(0, 0, 0),"Mana Cover")
  1624. local MANATEXT = CreateLabel(MANABAR, Mana_Name.." ["..FLOOR(Mana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Mana Text")
  1625.  
  1626. local HEALTHBAR = CreateFrame(WEAPONGUI, Health_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_11.r, Custom_Colors.Custom_Color_11.g, Custom_Colors.Custom_Color_11.b), C3(0, 0, 0), "Health Bar")
  1627. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 2,UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_6.r, Custom_Colors.Custom_Color_6.g, Custom_Colors.Custom_Color_6.b), C3(0, 0, 0), "Health Cover")
  1628. local HEALTHTEXT = CreateLabel(HEALTHBAR, "Health ["..FLOOR(Humanoid.Health).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Health Text")
  1629.  
  1630. local STUNFRAME = CreateFrame(nil, Stun_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.78, 0),UD2(0.26, 0, 0, 0),C3(Custom_Colors.Custom_Color_10.r, Custom_Colors.Custom_Color_10.g, Custom_Colors.Custom_Color_10.b), C3(0, 0, 0), "Stun Frame")
  1631. local STUNBAR = CreateFrame(STUNFRAME, 0, 2, UD2(0, 0, 0, 0),UD2(0, 0, 1, 0),C3(Custom_Colors.Custom_Color_7.r, Custom_Colors.Custom_Color_7.g, Custom_Colors.Custom_Color_7.b), C3(0, 0, 0), "Stun Bar")
  1632. local STUNTEXT = CreateLabel(STUNFRAME, "Stun ["..FLOOR(StunValue.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Stun Text")
  1633.  
  1634. local SECONDARYMANABAR = CreateFrame(nil, Secondary_Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.78, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_9.r, Custom_Colors.Custom_Color_9.g, Custom_Colors.Custom_Color_9.b), C3(0, 0, 0),"Secondary Mana Bar")
  1635. local SECONDARYMANACOVER = CreateFrame(SECONDARYMANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_4.r, Custom_Colors.Custom_Color_4.g, Custom_Colors.Custom_Color_4.b), C3(0, 0, 0),"Secondary Mana Cover")
  1636. local SECONDARYMANATEXT = CreateLabel(SECONDARYMANABAR, Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Secondary Mana Text")
  1637.  
  1638. local DEFENSEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.23, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 100 / 255, 255 / 255), C3(0, 0, 0),"Defense Frame")
  1639. local DEFENSETEXT = CreateLabel(DEFENSEFRAME, "Defense ["..(Defense.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Defense Text")
  1640.  
  1641. local DAMAGEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.456, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(255 / 255, 100 / 255, 100 / 255), C3(0, 0, 0),"Damage Frame")
  1642. local DAMAGETEXT = CreateLabel(DAMAGEFRAME, "Damage ["..(Damage.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Damage Text")
  1643.  
  1644. local MOVEMENTFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.685, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 255 / 255, 100 / 255), C3(0, 0, 0),"Movement Frame")
  1645. local MOVEMENTTEXT = CreateLabel(MOVEMENTFRAME, "Movement ["..(Movement.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Movement Text")
  1646.  
  1647. local SKILL1FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 1 Frame")
  1648. local SKILL2FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 2 Frame")
  1649. local SKILL3FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 3 Frame")
  1650. local SKILL4FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 4 Frame")
  1651.  
  1652. local SKILL1BAR = CreateFrame(SKILL1FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 1 Bar")
  1653. local SKILL2BAR = CreateFrame(SKILL2FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 2 Bar")
  1654. local SKILL3BAR = CreateFrame(SKILL3FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 3 Bar")
  1655. local SKILL4BAR = CreateFrame(SKILL4FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 4 Bar")
  1656.  
  1657. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 1")
  1658. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Ability 2", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 2")
  1659. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 3")
  1660. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 4")
  1661.  
  1662. if Enable_Gui == true then
  1663. WEAPONGUI.Parent = PlayerGui
  1664. end
  1665.  
  1666. if Enable_Stats == true and Show_Stats == true then
  1667. DEFENSEFRAME.Parent = WEAPONGUI
  1668. DAMAGEFRAME.Parent = WEAPONGUI
  1669. MOVEMENTFRAME.Parent = WEAPONGUI
  1670. end
  1671.  
  1672. if Enable_Secondary_Bar == true then
  1673. SECONDARYMANABAR.Parent = WEAPONGUI
  1674. end
  1675.  
  1676. if Enable_Abilities == true then
  1677. SKILL1FRAME.Parent = WEAPONGUI
  1678. SKILL2FRAME.Parent = WEAPONGUI
  1679. SKILL3FRAME.Parent = WEAPONGUI
  1680. SKILL4FRAME.Parent = WEAPONGUI
  1681. end
  1682.  
  1683. if Enable_Stun == true then
  1684. STUNFRAME.Parent = WEAPONGUI
  1685. end
  1686.  
  1687. function UpdateGUI()
  1688. MANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1689. MANACOVER:TweenSize(UD2(1 * (Mana.Value / Max_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1690. MANATEXT.Text = Mana_Name.." ["..FLOOR(Mana.Value).."]"
  1691. HEALTHBAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1692. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1693. HEALTHTEXT.Text = "Health ["..FLOOR(Humanoid.Health).."]"
  1694. if Enable_Abilities == true then
  1695. SKILL1FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1696. SKILL2FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1697. SKILL3FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1698. SKILL4FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1699. SKILL1BAR:TweenSize(UD2(1 * (CO1 / Cooldown_1), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1700. SKILL2BAR:TweenSize(UD2(1 * (CO2 / Cooldown_2), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1701. SKILL3BAR:TweenSize(UD2(1 * (CO3 / Cooldown_3), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1702. SKILL4BAR:TweenSize(UD2(1 * (CO4 / Cooldown_4), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1703. end
  1704. if Enable_Stats == true and Show_Stats == true then
  1705. DEFENSEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1706. DEFENSETEXT.Text = "Defense ["..(Defense.Value * 100).."%]"
  1707. DAMAGEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1708. DAMAGETEXT.Text = "Damage ["..(Damage.Value * 100).."%]"
  1709. MOVEMENTFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1710. MOVEMENTTEXT.Text = "Movement ["..(Movement.Value * 100).."%]"
  1711. end
  1712. if Enable_Stun == true then
  1713. STUNFRAME:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1714. STUNBAR:TweenSize(UD2(1 * (StunValue.Value / Max_Stun), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1715. STUNTEXT.Text = "Stun ["..FLOOR(StunValue.Value).."]"
  1716. end
  1717. if Enable_Secondary_Bar == true then
  1718. SECONDARYMANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1719. SECONDARYMANACOVER:TweenSize(UD2(1 * (SecondaryMana.Value / Max_Secondary_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  1720. SECONDARYMANATEXT.Text = Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]"
  1721. end
  1722. end
  1723.  
  1724. if Enable_Gui == true then
  1725. UpdateGUI()
  1726. for _, v in pairs (WEAPONGUI:GetChildren()) do
  1727. if v.ClassName == "Frame" then
  1728. for _, b in pairs (v:GetChildren()) do
  1729. if b.ClassName == "TextLabel" then
  1730. coroutine.resume(coroutine.create(function(THETEXTLABEL)
  1731. wait(Menu_Update_Speed)
  1732. for i = 1, 0, -0.1 do
  1733. Swait()
  1734. THETEXTLABEL.TextTransparency = i
  1735. THETEXTLABEL.TextStrokeTransparency = i
  1736. end
  1737. THETEXTLABEL.TextTransparency = 0
  1738. THETEXTLABEL.TextStrokeTransparency = 0
  1739. end), b)
  1740. end
  1741. end
  1742. end
  1743. end
  1744. end
  1745.  
  1746. --//=================================\\
  1747. --\\=================================//
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753. --//=================================\\
  1754. --|| SKILL FUNCTIONS
  1755. --\\=================================//
  1756.  
  1757. function UpdateSkillsAndStuff()
  1758. if Mana_Regen_Mode == "1" then
  1759. if Mana.Value >= Max_Mana then
  1760. Mana.Value = Max_Mana
  1761. elseif Mana.Value < 0 then
  1762. Mana.Value = 0
  1763. else
  1764. if MANADELAYNUMBER <= Mana_Wait then
  1765. MANADELAYNUMBER = MANADELAYNUMBER + 1
  1766. else
  1767. MANADELAYNUMBER = 0
  1768. Mana.Value = Mana.Value + Recover_Mana
  1769. end
  1770. end
  1771. elseif Mana_Regen_Mode == "2" then
  1772. if Mana.Value <= Max_Mana then
  1773. Mana.Value = Mana.Value + (Recover_Mana / 30) / Animation_Speed
  1774. elseif Mana.Value >= Max_Mana then
  1775. Mana.Value = Max_Mana
  1776. elseif Mana.Value < 0 then
  1777. Mana.Value = 0
  1778. end
  1779. end
  1780. if Enable_Secondary_Bar == true then
  1781. if Secondary_Mana_Regen_Mode == "1" then
  1782. if SecondaryMana.Value >= Max_Secondary_Mana then
  1783. SecondaryMana.Value = Max_Secondary_Mana
  1784. elseif SecondaryMana.Value < 0 then
  1785. SecondaryMana.Value = 0
  1786. else
  1787. if SECONDARYMANADELAYNUMBER <= Secondary_Mana_Wait then
  1788. SECONDARYMANADELAYNUMBER = SECONDARYMANADELAYNUMBER + 1
  1789. else
  1790. SECONDARYMANADELAYNUMBER = 0
  1791. SecondaryMana.Value = SecondaryMana.Value + Recover_Secondary_Mana
  1792. end
  1793. end
  1794. elseif Secondary_Mana_Regen_Mode == "2" then
  1795. if SecondaryMana.Value <= Max_Secondary_Mana then
  1796. SecondaryMana.Value = SecondaryMana.Value + (Recover_Secondary_Mana / 30) / Animation_Speed
  1797. elseif SecondaryMana.Value >= Max_Secondary_Mana then
  1798. SecondaryMana.Value = Max_Secondary_Mana
  1799. elseif SecondaryMana.Value < 0 then
  1800. SecondaryMana.Value = 0
  1801. end
  1802. end
  1803. else
  1804. SecondaryMana.Value = 0
  1805. end
  1806. if Enable_Stun == true then
  1807. if Stun_Lose_Mode == "1" then
  1808. if StunValue.Value > Max_Stun then
  1809. StunValue.Value = Max_Stun
  1810. elseif StunValue.Value <= 0 then
  1811. StunValue.Value = 0
  1812. else
  1813. if STUNDELAYNUMBER <= Stun_Wait then
  1814. STUNDELAYNUMBER = STUNDELAYNUMBER + 1
  1815. else
  1816. STUNDELAYNUMBER = 0
  1817. StunValue.Value = StunValue.Value - Lose_Stun
  1818. end
  1819. end
  1820. elseif Stun_Lose_Mode == "2" then
  1821. if StunValue.Value <= Max_Stun and StunValue.Value > 0 then
  1822. StunValue.Value = StunValue.Value - (Lose_Stun / 30) / Animation_Speed
  1823. elseif StunValue.Value > Max_Stun then
  1824. StunValue.Value = Max_Stun
  1825. elseif StunValue.Value <= 0 then
  1826. StunValue.Value = 0
  1827. end
  1828. end
  1829. else
  1830. StunValue.Value = 0
  1831. end
  1832. if Enable_Abilities == true then
  1833. if CO1 <= Cooldown_1 then
  1834. CO1 = CO1 + (1 / 30) / Animation_Speed
  1835. elseif CO1 >= Cooldown_1 then
  1836. CO1 = Cooldown_1
  1837. end
  1838. if CO2 <= Cooldown_2 then
  1839. CO2 = CO2 + (1 / 30) / Animation_Speed
  1840. elseif CO2 >= Cooldown_2 then
  1841. CO2 = Cooldown_2
  1842. end
  1843. if CO3 <= Cooldown_3 then
  1844. CO3 = CO3 + (1 / 30) / Animation_Speed
  1845. elseif CO3 >= Cooldown_3 then
  1846. CO3 = Cooldown_3
  1847. end
  1848. if CO4 <= Cooldown_4 then
  1849. CO4 = CO4 + (1 / 30) / Animation_Speed
  1850. elseif CO4 >= Cooldown_4 then
  1851. CO4 = Cooldown_4
  1852. end
  1853. end
  1854. end
  1855.  
  1856. --//=================================\\
  1857. --\\=================================//
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863. --//=================================\\
  1864. --|| ATTACK FUNCTIONS AND STUFF
  1865. --\\=================================//
  1866.  
  1867. function EquipWeapon()
  1868. --ATTACK = true
  1869. DEFENSECHANGE1.Parent = nil
  1870. MOVEMENTCHANGE1.Parent = ChangeStat
  1871. for i=0, 1, 0.5 / Animation_Speed do
  1872. Swait()
  1873. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1874. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1875. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1876. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1877. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1878. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1879. end
  1880. for i=0, 1, 0.08 / Animation_Speed do
  1881. Swait()
  1882. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1883. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1884. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1885. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1886. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1887. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1888. end
  1889. HandleWeld.Part0 = RightArm
  1890. HandleWeld.C0 = CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0))
  1891. CreateSound("174884033", HitboxPart, 1, 1.5)
  1892. for i=0, 1, 0.5 / Animation_Speed do
  1893. Swait()
  1894. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1895. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  1896. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1897. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1898. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1899. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1900. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  1901. end
  1902. LASTPOINT = EffectPart.CFrame
  1903. for i=0, 1, 0.08 / Animation_Speed do
  1904. Swait()
  1905. TrailEffect("Institutional white", "Neon", EffectPart.CFrame, LASTPOINT, "Block", 0, 0.2, ANGLES(0, 0, 0), -0.01, 0, -0.01, 0.1)
  1906. LASTPOINT = EffectPart.CFrame
  1907. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  1908. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  1909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(-60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1910. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1911. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  1912. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  1913. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-140), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  1914. end
  1915. LASTPOINT = nil
  1916. --ATTACK = false
  1917. end
  1918.  
  1919. function UnequipWeapon()
  1920. --ATTACK = true
  1921. for i=0, 1, 0.5 / Animation_Speed do
  1922. Swait()
  1923. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1924. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1925. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1926. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1927. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1928. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1929. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  1930. end
  1931. CreateSound("245542809", HitboxPart, 1, 1.2)
  1932. for i=0, 1, 0.08 / Animation_Speed do
  1933. Swait()
  1934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  1936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1938. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1940. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  1941. end
  1942. HandleWeld.Part0 = Torso
  1943. HandleWeld.C0 = CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135))
  1944. for i=0, 1, 0.5 / Animation_Speed do
  1945. Swait()
  1946. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  1947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  1948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1950. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  1951. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  1952. end
  1953. for i=0, 1, 0.08 / Animation_Speed do
  1954. Swait()
  1955. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1956. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1958. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.3 / Animation_Speed)
  1959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1961. if Disable_Moving_Arms == false then
  1962. RightShoulder.C1 = Clerp(RightShoulder.C1, ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  1963. LeftShoulder.C1 = Clerp(LeftShoulder.C1, ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  1964. else
  1965. RightShoulder.C1 = Clerp(RightShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  1966. LeftShoulder.C1 = Clerp(LeftShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  1967. end
  1968. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1969. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1970. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1971. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1972. end
  1973. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1974. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1975. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1976. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1977. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1978. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1979. if Disable_Moving_Arms == false then
  1980. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1981. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1982. else
  1983. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1984. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1985. end
  1986. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1987. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1988. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1989. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1990. --ATTACK = false
  1991. DEFENSECHANGE1.Parent = ChangeStat
  1992. MOVEMENTCHANGE1.Parent = nil
  1993. end
  1994.  
  1995. function StaggerHitAnimation()
  1996. ATTACK = true
  1997. if Weapon:FindFirstChild("Hitbox") ~= nil then
  1998. for i = 1, MRANDOM(2, 4) do
  1999. ClangEffect("Black", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2000. end
  2001. end
  2002. for i = 0, 1, 0.1 / Animation_Speed do
  2003. Swait()
  2004. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2005. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2006. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-30), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2007. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * ANGLES(RAD(0), RAD(20), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2008. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2009. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  2010. if Stagger.Value == true or Stun.Value == true then
  2011. break
  2012. end
  2013. end
  2014. ATTACK = false
  2015. end
  2016.  
  2017. function StaggerAnimation()
  2018. ATTACK = true
  2019. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2020. for i = 1, MRANDOM(2, 4) do
  2021. ClangEffect("White", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2022. end
  2023. end
  2024. DISABLEJUMPING = true
  2025. COMBO = 1
  2026. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Staggered!", C3(255 / 255, 255 / 255, 0))
  2027. local STAGGERVELOCITY = Instance.new("BodyVelocity",Torso)
  2028. STAGGERVELOCITY.P = 500
  2029. STAGGERVELOCITY.maxForce = VT(math.huge, 0, math.huge)
  2030. if Rooted.Value == false then
  2031. STAGGERVELOCITY.Velocity = RootPart.CFrame.lookVector * -40
  2032. end
  2033. for i = 0, 1, 0.35 / Animation_Speed do
  2034. Swait()
  2035. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2039. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 0.3 / Animation_Speed)
  2041. end
  2042. for i = 0, 1, 0.2 / Animation_Speed do
  2043. Swait()
  2044. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2045. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2047. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2048. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2049. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.4 / Animation_Speed)
  2050. end
  2051. STAGGERVELOCITY.Parent = nil
  2052. for i = 1, 50 * Animation_Speed do
  2053. Swait()
  2054. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.8 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-20)) * ANGLES(RAD(-5), RAD(-5), RAD(0)), 0.3 / Animation_Speed)
  2055. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.3 / Animation_Speed)
  2056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(-20), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2057. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-10)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2058. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.4 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)), 0.3 / Animation_Speed)
  2059. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-10)), 0.3 / Animation_Speed)
  2060. end
  2061. DISABLEJUMPING = false
  2062. ATTACK = false
  2063. end
  2064.  
  2065. function StunAnimation()
  2066. ATTACK = true
  2067. DISABLEJUMPING = true
  2068. COMBO = 1
  2069. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Stunned!", C3(255 / 255, 255 / 255, 0))
  2070. for i = 0, 1, 0.3 / Animation_Speed do
  2071. Swait()
  2072. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-150)), 0.3 / Animation_Speed)
  2073. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2076. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2077. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2078. end
  2079. for i = 0, 1, 0.3 / Animation_Speed do
  2080. Swait()
  2081. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2082. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2083. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2084. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2085. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2086. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2087. end
  2088. for i = 0, 1, 0.3 / Animation_Speed do
  2089. Swait()
  2090. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(75), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2091. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2092. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2093. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(-40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2094. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  2095. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(80)), 0.4 / Animation_Speed)
  2096. end
  2097. for i = 1, 70 * Animation_Speed do
  2098. Swait()
  2099. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -2.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-180)), 0.3 / Animation_Speed)
  2100. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.3 / Animation_Speed)
  2101. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(-10), RAD(90)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2102. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2103. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2104. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2105. end
  2106. for i = 0, 1, 0.2 / Animation_Speed do
  2107. Swait()
  2108. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.5 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(100)), 0.4 / Animation_Speed)
  2109. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2110. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(-10), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2111. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(80), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2112. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(70)), 0.4 / Animation_Speed)
  2113. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.25 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2114. end
  2115. DISABLEJUMPING = false
  2116. ATTACK = false
  2117. end
  2118.  
  2119. function EAbility()
  2120. ATTACK = true
  2121. ATTACK = false
  2122. end
  2123.  
  2124. function Attack1()
  2125. ATTACK = true
  2126. for i=0, 1, 0.1 / Animation_Speed do
  2127. Swait()
  2128. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2129. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  2130. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2131. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.25 * Player_Size, 0.5 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(160), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2132. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2133. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2134. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2135. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2136. break
  2137. end
  2138. end
  2139. chatfunc("Wragh!")
  2140. CreateSound("553461842", HitboxPart, 1.2, MRANDOM(8, 9) / 10)
  2141. local HASHITFLOOR = false
  2142. for i=0, 1, 0.1 / Animation_Speed do
  2143. Swait()
  2144. local Pos = HitboxPart
  2145. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2146. local Color = "Really black"
  2147. local Material = "Neon"
  2148. local TheDelay = 0.01
  2149. local Height = 6.2 * Player_Size
  2150. BLCF = Offset
  2151. --[[if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2152. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2153. if a then game:GetService("Debris"):AddItem(a, 1) end
  2154. if b then game:GetService("Debris"):AddItem(b, 1) end
  2155. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2156. if a then game:GetService("Debris"):AddItem(a, 1) end
  2157. if b then game:GetService("Debris"):AddItem(b, 1) end
  2158. SCFR = BLCF
  2159. elseif not SCFR then
  2160. SCFR = BLCF
  2161. end]]--
  2162. local SWORDHIT, SWORDPOS = Raycast(EffectPart.Position, (CF(EffectPart.Position, EffectPart.Position + VT(0, -1, 0))).lookVector, 1 * Player_Size, Character)
  2163. if SWORDHIT ~= nil and HASHITFLOOR == false and SWORDHIT.Parent:FindFirstChild("Humanoid") == nil then
  2164. HASHITFLOOR = true
  2165. --print(SWORDHIT.Material)
  2166. if SWORDHIT.Material == Enum.Material.Grass or SWORDHIT.Material == Enum.Material.Ice or SWORDHIT.Material == Enum.Material.Fabric or SWORDHIT.Material == Enum.Material.SmoothPlastic or SWORDHIT.Material == Enum.Material.Sand or SWORDHIT.Material == Enum.Material.Plastic or SWORDHIT.Material == Enum.Material.Neon or SWORDHIT.Material == Enum.Material.Foil then
  2167. CreateSound("525717773", EffectPart, 1.2 , MRANDOM(8, 12) / 10)
  2168. elseif SWORDHIT.Material == Enum.Material.Metal or SWORDHIT.Material == Enum.Material.Concrete or SWORDHIT.Material == Enum.Material.Brick or SWORDHIT.Material == Enum.Material.CorrodedMetal or SWORDHIT.Material == Enum.Material.Slate or SWORDHIT.Material == Enum.Material.Marble or SWORDHIT.Material == Enum.Material.Granite or SWORDHIT.Material == Enum.Material.DiamondPlate or SWORDHIT.Material == Enum.Material.Pebble or SWORDHIT.Material == Enum.Material.Cobblestone then
  2169. CreateSound("470790670", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2170. for i = 1, MRANDOM(2, 4) do
  2171. ClangEffect("Really black", "Neon", CF(SWORDPOS) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 10, 3, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2172. end
  2173. elseif SWORDHIT.Material == Enum.Material.Wood or SWORDHIT.Material == Enum.Material.WoodPlanks then
  2174. CreateSound("514586161", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2175. end
  2176. end
  2177. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 35, 45, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2178. if HASHITFLOOR == true then
  2179. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2180. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2181. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2182. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0 * Player_Size, 0.25 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2183. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2184. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2185. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-132.5), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2186. else
  2187. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2188. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2189. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2190. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0 * Player_Size, 0.25 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2191. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2192. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2193. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-150), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2194. end
  2195. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2196. break
  2197. end
  2198. end
  2199. BLCF = nil
  2200. SCFR = nil
  2201. ATTACK = false
  2202. end
  2203.  
  2204. function Attack2()
  2205. ATTACK = true
  2206. for i=0, 1, 0.1 / Animation_Speed do
  2207. Swait()
  2208. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2209. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2210. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2211. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2212. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2213. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2214. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2215. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2216. break
  2217. end
  2218. end
  2219. chatfunc("Hyuah!")
  2220. CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2221. for i=0, 1, 0.1 / Animation_Speed do
  2222. Swait()
  2223. local Pos = HitboxPart
  2224. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2225. local Color = "Really black"
  2226. local Material = "Neon"
  2227. local TheDelay = 0.01
  2228. local Height = 6.2 * Player_Size
  2229. BLCF = Offset
  2230. --[[if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2231. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2232. if a then game:GetService("Debris"):AddItem(a, 1) end
  2233. if b then game:GetService("Debris"):AddItem(b, 1) end
  2234. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2235. if a then game:GetService("Debris"):AddItem(a, 1) end
  2236. if b then game:GetService("Debris"):AddItem(b, 1) end
  2237. SCFR = BLCF
  2238. elseif not SCFR then
  2239. SCFR = BLCF
  2240. end]]--
  2241. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 4, false, 35, 45, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2242. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2246. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2247. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2248. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2249. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2250. break
  2251. end
  2252. end
  2253. BLCF = nil
  2254. SCFR = nil
  2255. ATTACK = false
  2256. end
  2257.  
  2258. function SilenceRoar()
  2259. local exp = Instance.new("Part")
  2260. exp.Parent = workspace
  2261. exp.Size = Vector3.new(1,1,1)
  2262. exp.Anchored = true
  2263. exp.Transparency = 0.25
  2264. exp.CanCollide = false
  2265. exp.CFrame = Head.CFrame
  2266. exp.BrickColor = BrickColor.new("Really black")
  2267. exp.Material = "Neon"
  2268. local meshe = Instance.new("SpecialMesh")
  2269. meshe.MeshType = "Sphere"
  2270. meshe.Parent = exp
  2271. for size = 1, 25 do
  2272. meshe.Scale = meshe.Scale + Vector3.new(5,5,5)
  2273. exp.Transparency = exp.Transparency + (1/25)
  2274. wait(0.00025)
  2275. end
  2276. exp:Destroy()
  2277. end
  2278.  
  2279. function ShootFireball(POSITION1, POSITION2, SPEED, SIZE, DURATION, LOWDAMAGE, HIGHDAMAGE)
  2280. local POS1 = POSITION1
  2281. local POS2 = POSITION2
  2282. local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  2283. local FIREBALLSPEED = SPEED * Player_Size
  2284. local FIREBALLDURATION = DURATION
  2285. local FIREBALLCOLORS = {"Really black", "Black", "White"}
  2286. local FIREBALLHITSOUNDS = {"438666542", "314970790"}
  2287. coroutine.resume(coroutine.create(function()
  2288. repeat
  2289. Swait()
  2290. local FIREBALLHIT, FIREBALLPOS = Raycast(POS1, MOUSELOOK.lookVector, FIREBALLSPEED, Character)
  2291. POS1 = POS1 + (MOUSELOOK.lookVector * FIREBALLSPEED)
  2292. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", CF(POS1) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / -10, SIZE / -10, SIZE / -10, 0.1)
  2293. if FIREBALLHIT ~= nil or FIREBALLDURATION <= 0.1 then
  2294. FIREBALLDURATION = 0
  2295. local FireballHitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2296. FireballHitRefpart.Anchored = true
  2297. FireballHitRefpart.CFrame = CF(FIREBALLPOS)
  2298. game:GetService("Debris"):AddItem(FireballHitRefpart, 5)
  2299. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FireballHitRefpart, 1.4, MRANDOM(14, 16) / 10)
  2300. for i = 1, MRANDOM(4, 8) do
  2301. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 5, 5, 5, 0, 0, 0, MRANDOM(3, 5) / 100)
  2302. end
  2303. MagicBlock("Really black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / 3, SIZE / 3, SIZE / 3, 0.05)
  2304. MagicBlock("Black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.5, SIZE * 0.5, SIZE * 0.5, SIZE / 4, SIZE / 4, SIZE / 4, 0.05)
  2305. MagicBlock("White", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.25, SIZE * 0.25, SIZE * 0.25, SIZE / 5, SIZE / 5, SIZE / 5, 0.05)
  2306. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, FireballHitRefpart, SIZE / 2, false, 50, 50, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  2307. else
  2308. FIREBALLDURATION = FIREBALLDURATION - (1 / 30) / Animation_Speed
  2309. end
  2310. until FIREBALLHIT ~= nil or FIREBALLDURATION <= 0
  2311. end))
  2312. end
  2313.  
  2314. function ShootLargeFireball(POSITION1, POSITION2, SPEED, SIZE, DURATION, LOWDAMAGE, HIGHDAMAGE)
  2315. local POS1 = POSITION1
  2316. local POS2 = POSITION2
  2317. local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  2318. local FIREBALLSPEED = SPEED * Player_Size
  2319. local FIREBALLDURATION = DURATION
  2320. local FIREBALLCOLORS = {"Really black", "Black", "White"}
  2321. local FIREBALLHITSOUNDS = {"178452241"}
  2322. coroutine.resume(coroutine.create(function()
  2323. repeat
  2324. Swait()
  2325. local FIREBALLHIT, FIREBALLPOS = Raycast(POS1, MOUSELOOK.lookVector, FIREBALLSPEED, Character)
  2326. POS1 = POS1 + (MOUSELOOK.lookVector * FIREBALLSPEED)
  2327. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", CF(POS1) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / -10, SIZE / -10, SIZE / -10, 0.1)
  2328. if FIREBALLHIT ~= nil or FIREBALLDURATION <= 0.1 then
  2329. FIREBALLDURATION = 0
  2330. local FireballHitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2331. FireballHitRefpart.Anchored = true
  2332. FireballHitRefpart.CFrame = CF(FIREBALLPOS)
  2333. game:GetService("Debris"):AddItem(FireballHitRefpart, 5)
  2334. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FireballHitRefpart, 1.4, MRANDOM(14, 16) / 10)
  2335. for i = 1, MRANDOM(4, 8) do
  2336. MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 5, 5, 5, 0, 0, 0, MRANDOM(3, 5) / 100)
  2337. end
  2338. MagicBlock("Really black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / 3, SIZE / 3, SIZE / 3, 0.05)
  2339. MagicBlock("Black", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.5, SIZE * 0.5, SIZE * 0.5, SIZE / 4, SIZE / 4, SIZE / 4, 0.05)
  2340. MagicBlock("White", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.25, SIZE * 0.25, SIZE * 0.25, SIZE / 5, SIZE / 5, SIZE / 5, 0.05)
  2341. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, FireballHitRefpart, SIZE / 5, false, 50, 50, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  2342. else
  2343. FIREBALLDURATION = FIREBALLDURATION - (1 / 30) / Animation_Speed
  2344. end
  2345. until FIREBALLHIT ~= nil or FIREBALLDURATION <= 0
  2346. end))
  2347. end
  2348.  
  2349. function FirePillar(POSITION1, POSITION2, SIZE, RISE, RANGE, LOWDAMAGE, HIGHDAMAGE, LASTINGTIME)
  2350. local POS1 = POSITION1
  2351. local POS2 = POSITION2
  2352. local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  2353. local FIREPILLARHITSOUNDS = {"171378971", --[["646619365",--]] "472579737"--[[, "144140670"--]]}
  2354. local FIREPILLARCOLORS = {"White", "Black", "Really black"}
  2355. local FIREPILLAR1HIT, FIREPILLAR1POS = Raycast(POS1, MOUSELOOK.lookVector, RANGE * Player_Size, Character)
  2356. local FirePillarRefpart1 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2357. FirePillarRefpart1.Anchored = true
  2358. FirePillarRefpart1.CFrame = CF(FIREPILLAR1POS) * CF(0, 10, 0)
  2359. game:GetService("Debris"):AddItem(FirePillarRefpart1, 5)
  2360. local FIREPILLAR2HIT, FIREPILLAR2POS = Raycast(FirePillarRefpart1.Position, CF(FirePillarRefpart1.Position, FirePillarRefpart1.Position + VT(0, -1, 0)).lookVector, 999, Character)
  2361. if FIREPILLAR2HIT ~= nil then
  2362. FirePillarRefpart1.Parent = nil
  2363. local FirePillarRefpart2 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2364. FirePillarRefpart2.Anchored = true
  2365. FirePillarRefpart2.CFrame = CF(FIREPILLAR2POS)
  2366. game:GetService("Debris"):AddItem(FirePillarRefpart2, 5)
  2367. CreateSound(FIREPILLARHITSOUNDS[MRANDOM(1, #FIREPILLARHITSOUNDS)], FirePillarRefpart2, 1.2, MRANDOM(11, 13) / 10)
  2368. for i = 1, MRANDOM(5, 10) do
  2369. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-60, 60)), 0, RAD(MRANDOM(-60, 60))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 3, 3, 3, 0, 0, 0, MRANDOM(3, 5) / 100)
  2370. end
  2371. for i = 1, MRANDOM(15, 20) do
  2372. local FIREEFFECTSIZE = MRANDOM(1, 2)
  2373. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame, CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-20, 20)), 0), VT(MRANDOM(SIZE / 6, SIZE / 4), 0, 0), FIREEFFECTSIZE, FIREEFFECTSIZE, FIREEFFECTSIZE, -0.02, -0.02, -0.02, MRANDOM(1, 2) / 100)
  2374. end
  2375. MagicCylinder("Dark stone gret", "Neon", CF(FIREPILLAR2POS), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, 0, 1.5, LASTINGTIME)
  2376. MagicSphere("Really black", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, RISE, 1.5, LASTINGTIME)
  2377. MagicSphere("Black", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.5, 0.1, SIZE * 0.5, 1.5, RISE * 0.75, 1.5, LASTINGTIME)
  2378. MagicSphere("White", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.25, 0.1, SIZE * 0.25, 1.5, RISE * 0.375, 1.5, LASTINGTIME)
  2379. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, FirePillarRefpart2, SIZE / 3, false, 60, 60, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, "Movement", -0.1, 3, true)
  2380. end
  2381. end
  2382.  
  2383. function Attack3()
  2384. ATTACK = true
  2385. local FIREEFFECTCOLORS = {"Black", "Really black", "White"}
  2386. for i=0, 1, 0.1 / Animation_Speed do
  2387. Swait()
  2388. for i = 1, 2 do
  2389. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0, MRANDOM(-10, 10) / 10 * Player_Size, 0) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, 0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2390. end
  2391. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2392. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2393. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2394. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2395. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2396. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2397. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2398. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2399. break
  2400. end
  2401. end
  2402. for i = 1, 15 do
  2403. CreateSound("160773067", LeftArm, 1.4, 1.5)
  2404. ShootFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 3, 5, 0.3, 5, 10)
  2405. MagicBlock("Black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  2406. MagicBlock("Really black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  2407. MagicBlock("White", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  2408. wait(0.05)
  2409. end
  2410. for i=0, 1, 0.1 / Animation_Speed do
  2411. Swait()
  2412. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.4 / Animation_Speed)
  2413. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(50)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2414. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2415. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2416. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-12.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2417. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2418. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2419. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2420. break
  2421. end
  2422. end
  2423. ATTACK = false
  2424. end
  2425.  
  2426. function Attack4()
  2427. ATTACK = true
  2428. local FIREEFFECTCOLORS = {"Really black", "Black", "White"}
  2429. for i=0, 1, 0.1 / Animation_Speed do
  2430. Swait()
  2431. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2432. --MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RootPart.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2433. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2437. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2439. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2440. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2441. break
  2442. end
  2443. end
  2444. chatfunc("Huah!")
  2445. CreateSound("160772554", LeftArm, 1, MRANDOM(11, 13) / 10)
  2446. FirePillar(RootPart.Position, Mouse.hit.p, 5, 25, 10, 5, 10, 0.025)
  2447. MagicBlock("Really black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  2448. MagicBlock("White", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  2449. MagicBlock("Black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  2450. for i=0, 1, 0.1 / Animation_Speed do
  2451. Swait()
  2452. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2453. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(25)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2454. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2455. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.25 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(70 + MRANDOM(-2.5, 2.5)), RAD(40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2456. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  2457. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-12.5)), 0.4 / Animation_Speed)
  2458. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2459. --[[
  2460. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(40)), 0.4 / Animation_Speed)
  2461. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2462. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2463. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-10 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(40 + MRANDOM(-2.5, 2.5)), RAD(70), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2464. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  2465. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2466. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2467. --]]
  2468. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2469. break
  2470. end
  2471. end
  2472. ATTACK = false
  2473. end
  2474.  
  2475. function Attack5()
  2476. local FIREEFFECTCOLORS = {"Black", "Really black", "White"}
  2477. for i=0, 1, 0.1 / Animation_Speed do
  2478. Swait()
  2479. for i = 1, 2 do
  2480. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0, MRANDOM(-10, 10) / 10 * (Player_Size*2), 0) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, 0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 1, 1, 1, -0.05, -0.05, -0.05, 0.05)
  2481. end
  2482. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2483. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2484. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2485. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2486. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2487. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2488. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2489. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2490. break
  2491. end
  2492. end
  2493. CreateSound("160745944", LeftArm, 1.4, 1.5)
  2494. ShootLargeFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 0.3, 75, 2.1, 5, 10)
  2495. ShootLargeFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 0.3, 75, 2.1, 5, 10)
  2496. ShootLargeFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 0.3, 75, 2.1, 5, 10)
  2497. MagicBlock("Black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  2498. MagicBlock("Really black", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  2499. MagicBlock("White", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  2500. for i=0, 1, 0.1 / Animation_Speed do
  2501. Swait()
  2502. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.4 / Animation_Speed)
  2503. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(50)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2504. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2505. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2506. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-12.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2507. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2508. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2509. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2510. break
  2511. end
  2512. end
  2513. end
  2514.  
  2515. function Attack6()
  2516. ATTACK = true
  2517. for i=0, 1, 0.1/8 do
  2518. Swait()
  2519. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2520. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2521. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2522. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2523. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2524. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2525. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2526. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2527. break
  2528. end
  2529. end
  2530. chatfunc("WRAAGH!")
  2531. CreateSound("553461718", HitboxPart, 5, MRANDOM(7, 9) / 10)
  2532. for i=0, 1, 0.1 / Animation_Speed do
  2533. Swait()
  2534. local Pos = HitboxPart
  2535. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2536. local Color = "Really black"
  2537. local Material = "Neon"
  2538. local TheDelay = 0.01
  2539. local Height = 6.2 * Player_Size
  2540. BLCF = Offset
  2541. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  2542. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  2543. if a then game:GetService("Debris"):AddItem(a, 1) end
  2544. if b then game:GetService("Debris"):AddItem(b, 1) end
  2545. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  2546. if a then game:GetService("Debris"):AddItem(a, 1) end
  2547. if b then game:GetService("Debris"):AddItem(b, 1) end
  2548. SCFR = BLCF
  2549. elseif not SCFR then
  2550. SCFR = BLCF
  2551. end
  2552. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 8, false, 35, 45, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2553. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2554. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2555. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2556. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2557. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2558. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2559. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2560. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2561. break
  2562. end
  2563. end
  2564. BLCF = nil
  2565. SCFR = nil
  2566. ATTACK = false
  2567. end
  2568.  
  2569. function SilenceAttempt(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  2570. Humanoid.MaxHealth = "inf"
  2571. Humanoid.Health = "inf"
  2572. if HIT.Parent == nil then
  2573. return
  2574. end
  2575. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  2576. for _, v in pairs(HIT.Parent:GetChildren()) do
  2577. if v:IsA("Humanoid") then
  2578. HITHUMANOID = v
  2579. end
  2580. end
  2581. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  2582. StaggerHit.Value = true
  2583. if Play_Hitbox_Hit_Sound == true then
  2584. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  2585. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  2586. end
  2587. end
  2588. return
  2589. end
  2590. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  2591. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  2592. end
  2593. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  2594. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  2595. end
  2596. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  2597. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  2598. if HIT.Parent.DebounceHit.Value == true then
  2599. return
  2600. end
  2601. end
  2602. if AntiTeamKill.Value == true then
  2603. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  2604. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  2605. return
  2606. end
  2607. end
  2608. end
  2609. if HITEVENWHENDEAD == false then
  2610. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  2611. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  2612. return
  2613. end
  2614. end
  2615. end
  2616. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2617. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  2618. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  2619. end
  2620. end
  2621. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2622. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  2623. if STAGGER == true and Enable_Stagger == true then
  2624. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  2625. end
  2626. end
  2627. end
  2628. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2629. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  2630. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  2631. HASBEENBLOCKED = true
  2632. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  2633. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  2634. if RANGED ~= true then
  2635. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  2636. CreateSound(541909763, HIT, 1, HITBLOCKSOUNDPITCH)
  2637. end
  2638. end
  2639. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  2640. BlockDebounce.Name = "BlockDebounce"
  2641. BlockDebounce.Value = true
  2642. if RANGED ~= true then
  2643. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  2644. else
  2645. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  2646. end
  2647. end
  2648. if RANGED ~= true and Enable_Stagger == true then
  2649. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  2650. Stagger.Value = true
  2651. end
  2652. return
  2653. end
  2654. end
  2655. end
  2656. if DECREASETHESTAT ~= nil then
  2657. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2658. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  2659. end
  2660. end
  2661. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  2662. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2663. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  2664. if CanPenetrateArmor.Value == true then
  2665. DAMAGE = DAMAGE
  2666. else
  2667. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  2668. end
  2669. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  2670. DAMAGE = DAMAGE
  2671. end
  2672. end
  2673. if CanCrit.Value == true then
  2674. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  2675. if CRITCHANCENUMBER == 1 then
  2676. end
  2677. end
  2678. DAMAGE = math.floor(DAMAGE)
  2679. if HASBEENBLOCKED == false then
  2680. end
  2681. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  2682. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  2683. StaggerHit.Value = true
  2684. end
  2685. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  2686. CreateSound(541909763, HIT, 1, HITARMORSOUNDPITCH)
  2687. end
  2688. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  2689. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  2690. CreateSound(541909763, HIT, 1, HITPLAYERSOUNDPITCH)
  2691. end
  2692. end
  2693. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  2694. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2695. CreateSound("541909763", HIT, 1, 1)
  2696. else
  2697. end
  2698. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  2699. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2700. else
  2701. end
  2702. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  2703. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2704. CreateSound("541909763", HIT, 1, 1)
  2705. else
  2706. end
  2707. end
  2708. if TYPE == "Normal" then
  2709. local vp = IT("BodyVelocity")
  2710. vp.P=500
  2711. vp.maxForce = VT(math.huge, 0, math.huge)
  2712. if KNOCKBACKTYPE == 1 then
  2713. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  2714. elseif KNOCKBACKTYPE == 2 then
  2715. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  2716. end
  2717. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  2718. vp.Parent = HIT--.Parent.Torso
  2719. end
  2720. game:GetService("Debris"):AddItem(vp, 0.5)
  2721. end
  2722. HASBEENBLOCKED = false
  2723. RecentEnemy.Value = HIT.Parent
  2724. local DebounceHit = IT("BoolValue", HIT.Parent)
  2725. DebounceHit.Name = "DebounceHit"
  2726. DebounceHit.Value = true
  2727. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  2728. end
  2729. c = HITHUMANOID.Parent:GetChildren()
  2730. for g = 1, #c do
  2731. if c[g].ClassName == "Script" then
  2732. c[g]:Destroy()
  2733. end
  2734. end
  2735. end
  2736.  
  2737. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2738. function Silence(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2739. for _, c in pairs(workspace:GetChildren()) do
  2740. local HUMANOID = c:FindFirstChild("Humanoid")
  2741. local HEAD = nil
  2742. if HUMANOID ~= nil then
  2743. for _, d in pairs(c:GetChildren()) do
  2744. if d.ClassName == "Model" and RANGED ~= true then
  2745. HEAD = d:FindFirstChild("Hitbox")
  2746. if HEAD ~= nil then
  2747. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2748. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2749. if Play_Hitbox_Hit_Sound == true then
  2750. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2751. HitRefpart.Anchored = true
  2752. HitRefpart.CFrame = CF(HEAD.Position)
  2753. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  2754. end
  2755. if Enable_Stagger_Hit == true then
  2756. StaggerHit.Value = true
  2757. end
  2758. end
  2759. end
  2760. elseif d:IsA"BasePart" then
  2761. HEAD = d
  2762. if HEAD ~= nil then
  2763. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2764. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2765. SilenceAttempt(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2766. end
  2767. end
  2768. end
  2769. end
  2770. end
  2771. end
  2772. end
  2773.  
  2774. function UniqueMove1()
  2775. ATTACK = true
  2776. for i=0, 1, 0.1 do
  2777. Swait()
  2778. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2779. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2780. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2781. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2782. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2783. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2784. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2785. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2786. break
  2787. end
  2788. end
  2789. chatfunc("SILENCE!")
  2790. CreateSound("297472596", workspace, 1, MRANDOM(7, 9) / 10)
  2791. Silence(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Head, 20, false, 250, 300, MRANDOM(25, 30), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2792. SilenceRoar()
  2793. ATTACK = false
  2794. end
  2795.  
  2796. function Eliminate()
  2797. ATTACK = true
  2798. Humanoid.JumpPower = 0
  2799. Humanoid.WalkSpeed = 0
  2800. for i=0, 1, 0.1/5 do
  2801. Swait()
  2802. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(30), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2806. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2807. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2808. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2809. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2810. break
  2811. end
  2812. end
  2813. chatfunc("FALL TO PIECES!")
  2814. wait(2)
  2815. CreateSound("438666141", workspace, 5, 1)
  2816. local exp = Instance.new("Part")
  2817. exp.Parent = workspace
  2818. exp.Size = Vector3.new(1,1,1)
  2819. exp.Anchored = true
  2820. exp.Transparency = 0.25
  2821. exp.CanCollide = false
  2822. exp.CFrame = RootPart.CFrame
  2823. exp.BrickColor = BrickColor.new("Really black")
  2824. exp.Material = "Neon"
  2825. local exp2 = Instance.new("Part")
  2826. exp2.Parent = workspace
  2827. exp2.Size = Vector3.new(0.9, 0.9, 0.9)
  2828. exp2.Anchored = true
  2829. exp2.CanCollide = false
  2830. exp2.CFrame = RootPart.CFrame
  2831. exp2.BrickColor = BrickColor.new("White")
  2832. exp2.Material = "Neon"
  2833. local exp3 = Instance.new("Part")
  2834. exp3.Parent = workspace
  2835. exp3.Size = Vector3.new(1,1,1)
  2836. exp3.Anchored = true
  2837. exp3.Transparency = 0
  2838. exp3.CanCollide = false
  2839. exp3.CFrame = RootPart.CFrame
  2840. exp3.BrickColor = BrickColor.new("Really black")
  2841. exp.Material = "Neon"
  2842. CreateSound("438666077", workspace, 15, 1)
  2843. local meshh = Instance.new("SpecialMesh")
  2844. meshh.MeshType = "Sphere"
  2845. meshh.Parent = exp
  2846. local mesh2 = Instance.new("SpecialMesh")
  2847. mesh2.MeshType = "Sphere"
  2848. mesh2.Parent = exp2
  2849. local mesh3 = Instance.new("SpecialMesh")
  2850. mesh3.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2851. mesh3.Parent = exp3
  2852. mesh3.Scale = Vector3.new(1,10,1)
  2853. game.Lighting.FogEnd = 1000
  2854. local sky = Instance.new("Sky")
  2855. sky.Parent = game.Lighting
  2856. sky.SkyboxBk = "rbxassetid://99174105"
  2857. sky.SkyboxDn = "rbxassetid://99174105"
  2858. sky.SkyboxFt = "rbxassetid://99174105"
  2859. sky.SkyboxLf = "rbxassetid://99174105"
  2860. sky.SkyboxRt = "rbxassetid://99174105"
  2861. sky.SkyboxUp = "rbxassetid://99174105"
  2862. local sc = 1
  2863. sky.CelestialBodiesShown = false
  2864. game.Lighting.FogColor = Color3.new(0,0,0)
  2865. for size = 1, 25 do
  2866. game.Lighting.FogEnd = game.Lighting.FogEnd - 10
  2867. meshh.Scale = meshh.Scale + Vector3.new(sc,sc,sc)
  2868. mesh2.Scale = mesh2.Scale + Vector3.new(sc,sc,sc)
  2869. mesh3.Scale = mesh3.Scale + Vector3.new(sc,5,sc)
  2870. sc = sc + 0.2
  2871. wait(0.00025)
  2872. end
  2873. for size = 1, 75 do
  2874. game.Lighting.FogEnd = game.Lighting.FogEnd - 10
  2875. meshh.Scale = meshh.Scale + Vector3.new(sc,sc,sc)
  2876. mesh2.Scale = mesh2.Scale + Vector3.new(sc,sc,sc)
  2877. mesh3.Scale = mesh3.Scale + Vector3.new(sc,5,sc)
  2878. sc = sc + 0.2
  2879. wait(0.00025)
  2880. end
  2881. MagnitudeDamage("", "", "", "", 1, 1, 1, 1, exp, 500000000000 / 5, false, 50, 50, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  2882. exp:Destroy()
  2883. exp2:Destroy()
  2884. exp3:Destroy()
  2885. Humanoid.JumpPower = 85
  2886. Humanoid.WalkSpeed = 35
  2887. ATTACK = false
  2888. wait(2)
  2889. for sky = 1, 100 do
  2890. game.Lighting.FogEnd = game.Lighting.FogEnd + 10
  2891. wait(0.00025)
  2892. end
  2893. game.Lighting.FogEnd = 100000
  2894. sky:Destroy()
  2895. end
  2896.  
  2897. function Move2()
  2898. ATTACK = true
  2899. ATTACK = false
  2900. end
  2901.  
  2902. function Move3()
  2903. ATTACK = true
  2904. ATTACK = false
  2905. end
  2906.  
  2907. function Move4()
  2908. ATTACK = true
  2909. ATTACK = false
  2910. end
  2911.  
  2912. --//=================================\\
  2913. --\\=================================//
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919. --//=================================\\
  2920. --|| SET THINGS UP
  2921. --\\=================================//
  2922.  
  2923. if Start_Equipped == true then
  2924. ATTACK = true
  2925. EQUIPPED = true
  2926. if Disable_Animate == true then
  2927. ANIMATE.Parent = nil
  2928. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2929. IDLEANIMATION:Play()
  2930. end
  2931. if Disable_Animator == true then
  2932. ANIMATOR.Parent = nil
  2933. end
  2934. if Disable_Moving_Arms == true then
  2935. RSH = Torso["Right Shoulder"]
  2936. LSH = Torso["Left Shoulder"]
  2937. RSH.Parent = nil
  2938. LSH.Parent = nil
  2939. if Use_Motors_Instead_Of_Welds == true then
  2940. RightShoulder = IT("Motor")
  2941. LeftShoulder = IT("Motor")
  2942. else
  2943. RightShoulder = IT("Weld")
  2944. LeftShoulder = IT("Weld")
  2945. end
  2946. RightShoulder.Name = "Right Shoulder"
  2947. RightShoulder.Part0 = Torso
  2948. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2949. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2950. RightShoulder.Part1 = Character["Right Arm"]
  2951. RightShoulder.Parent = Torso
  2952. LeftShoulder.Name = "Left Shoulder"
  2953. LeftShoulder.Part0 = Torso
  2954. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2955. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2956. LeftShoulder.Part1 = Character["Left Arm"]
  2957. LeftShoulder.Parent = Torso
  2958. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  2959. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  2960. end
  2961. if Start_Equipped_With_Equipped_Animation == true then
  2962. Swait()
  2963. EquipWeapon()
  2964. end
  2965. ATTACK = false
  2966. end
  2967.  
  2968. --//=================================\\
  2969. --\\=================================//
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975. --//=================================\\
  2976. --|| ASSIGN THINGS TO KEYS
  2977. --\\=================================//
  2978.  
  2979. Humanoid.Changed:connect(function(Jump)
  2980. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2981. Humanoid.Jump = false
  2982. end
  2983. end)
  2984.  
  2985. function MouseDown(Mouse)
  2986. if ATTACK == true or EQUIPPED == false then
  2987. return
  2988. end
  2989. HOLD = true
  2990. if COMBO == 1 then
  2991. COMBO = 2
  2992. Attack1()
  2993. elseif COMBO == 2 then
  2994. COMBO = 1
  2995. Attack2()
  2996. end
  2997. coroutine.resume(coroutine.create(function()
  2998. for i=1, 50 do
  2999. if ATTACK == false then
  3000. Swait()
  3001. end
  3002. end
  3003. if ATTACK == false then
  3004. COMBO = 1
  3005. end
  3006. end))
  3007. end
  3008.  
  3009. function MouseUp(Mouse)
  3010. HOLD = false
  3011. end
  3012.  
  3013. function KeyDown(Key)
  3014. if Key == "f" and Can_Equip_Or_Unequip == true and ATTACK == false then
  3015. ATTACK = true
  3016. COMBO = 1
  3017. if EQUIPPED == false then
  3018. EQUIPPED = true
  3019. if Disable_Animate == true then
  3020. ANIMATE.Parent = nil
  3021. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3022. IDLEANIMATION:Play()
  3023. end
  3024. if Disable_Animator == true then
  3025. ANIMATOR.Parent = nil
  3026. end
  3027. if Disable_Moving_Arms == true then
  3028. RSH = Torso["Right Shoulder"]
  3029. LSH = Torso["Left Shoulder"]
  3030. RSH.Parent = nil
  3031. LSH.Parent = nil
  3032. if Use_Motors_Instead_Of_Welds == true then
  3033. RightShoulder = IT("Motor")
  3034. LeftShoulder = IT("Motor")
  3035. else
  3036. RightShoulder = IT("Weld")
  3037. LeftShoulder = IT("Weld")
  3038. end
  3039. RightShoulder.Name = "Right Shoulder"
  3040. RightShoulder.Part0 = Torso
  3041. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3042. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3043. RightShoulder.Part1 = Character["Right Arm"]
  3044. RightShoulder.Parent = Torso
  3045. LeftShoulder.Name = "Left Shoulder"
  3046. LeftShoulder.Part0 = Torso
  3047. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3048. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3049. LeftShoulder.Part1 = Character["Left Arm"]
  3050. LeftShoulder.Parent = Torso
  3051. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3052. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3053. end
  3054. Swait()
  3055. EquipWeapon()
  3056. elseif EQUIPPED == true then
  3057. EQUIPPED = false
  3058. UnequipWeapon()
  3059. if Disable_Animator == true then
  3060. ANIMATOR.Parent = Humanoid
  3061. end
  3062. if Disable_Animate == true then
  3063. ANIMATE.Parent = Character
  3064. end
  3065. Swait()
  3066. if Disable_Moving_Arms == true then
  3067. RightShoulder.Parent = nil
  3068. LeftShoulder.Parent = nil
  3069. RSH.Parent = Torso
  3070. LSH.Parent = Torso
  3071. end
  3072. end
  3073. ATTACK = false
  3074. end
  3075. if Key == "e" and EQUIPPED == true and ATTACK == false then
  3076. chatfunc("Take this!")
  3077. Attack3()
  3078. end
  3079. if Key == "z" and EQUIPPED == true and ATTACK == false and CO1 >= Cooldown_1 and Mana.Value >= Skill_1_Mana_Cost then
  3080. Attack4()
  3081. end
  3082. if Key == "x" and EQUIPPED == true and ATTACK == false and Humanoid.Jump == false then
  3083. Eliminate()
  3084. end
  3085. if Key == "c" and EQUIPPED == true and ATTACK == false and CO3 >= Cooldown_3 and Mana.Value >= Skill_3_Mana_Cost then
  3086. UniqueMove1()
  3087. end
  3088. if Key == "v" and EQUIPPED == true and ATTACK == false and CO4 >= Cooldown_4 and Mana.Value >= Skill_4_Mana_Cost then
  3089. Attack6()
  3090. end
  3091. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  3092. if Key == "q" then
  3093. Mana.Value = Max_Mana
  3094. SecondaryMana.Value = Max_Secondary_Mana
  3095. CO1 = Cooldown_1
  3096. CO2 = Cooldown_2
  3097. CO3 = Cooldown_3
  3098. CO4 = Cooldown_4
  3099. end
  3100. if Key == "p" and EQUIPPED == true and ATTACK == false then
  3101. end
  3102. if Key == "[" then
  3103. Stagger.Value = true
  3104. end
  3105. if Key == "]" then
  3106. Stun.Value = true
  3107. end
  3108. end
  3109. end
  3110.  
  3111. function KeyUp(Key)
  3112. end
  3113.  
  3114. if Use_HopperBin == false then
  3115.  
  3116. Mouse.Button1Down:connect(function(NEWKEY)
  3117. MouseDown(NEWKEY)
  3118. end)
  3119. Mouse.Button1Up:connect(function(NEWKEY)
  3120. MouseUp(NEWKEY)
  3121. end)
  3122. Mouse.KeyDown:connect(function(NEWKEY)
  3123. KeyDown(NEWKEY)
  3124. end)
  3125. Mouse.KeyUp:connect(function(NEWKEY)
  3126. KeyUp(NEWKEY)
  3127. end)
  3128.  
  3129. elseif Use_HopperBin == true then
  3130. WEAPONTOOL.Parent = Backpack
  3131. script.Parent = WEAPONTOOL
  3132. function SelectTool(Mouse)
  3133. Mouse.Button1Down:connect(function()
  3134. MouseDown(Mouse)
  3135. end)
  3136. Mouse.Button1Up:connect(function()
  3137. MouseUp(Mouse)
  3138. end)
  3139. Mouse.KeyDown:connect(KeyDown)
  3140. Mouse.KeyUp:connect(KeyUp)
  3141. end
  3142. function DeselectTool(Mouse)
  3143. end
  3144. WEAPONTOOL.Selected:connect(SelectTool)
  3145. WEAPONTOOL.Deselected:connect(DeselectTool)
  3146. end
  3147.  
  3148. --//=================================\\
  3149. --\\=================================//
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155. --//=================================\\
  3156. --|| WRAP THE WHOLE SCRIPT UP
  3157. --\\=================================//
  3158.  
  3159. while true do
  3160. Swait()
  3161. if HitboxPart ~= nil and ATTACK == false and StaggerHit.Value == false and Stagger.Value == false and Stun.Value == false then
  3162. HitboxPart.Name = "NilHitbox"
  3163. else
  3164. HitboxPart.Name = "Hitbox"
  3165. end
  3166. if Enable_Gui == true then
  3167. UpdateGUI()
  3168. end
  3169. UpdateSkillsAndStuff()
  3170. if Walkspeed_Depends_On_Movement_Value == true then
  3171. if Movement.Value < 0 or StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true or Rooted.Value == true then
  3172. Humanoid.WalkSpeed = 0
  3173. else
  3174. Humanoid.WalkSpeed = 16 * Movement.Value * Player_Size
  3175. end
  3176. end
  3177. if Enable_Stun == true and StunValue.Value >= Max_Stun then
  3178. StunValue.Value = 0
  3179. Stun.Value = true
  3180. end
  3181. if Enable_Stagger_Hit == true then
  3182. if StaggerHit.Value == true and STAGGERHITANIM == false then
  3183. coroutine.resume(coroutine.create(function()
  3184. STAGGERHITANIM = true
  3185. while ATTACK == true do
  3186. Swait()
  3187. end
  3188. StaggerHitAnimation()
  3189. StaggerHit.Value = false
  3190. STAGGERHITANIM = false
  3191. end))
  3192. end
  3193. else
  3194. StaggerHit.Value = false
  3195. end
  3196. if Enable_Stagger == true then
  3197. if Stagger.Value == true and STAGGERANIM == false then
  3198. coroutine.resume(coroutine.create(function()
  3199. STAGGERANIM = true
  3200. while ATTACK == true do
  3201. Swait()
  3202. end
  3203. StaggerAnimation()
  3204. Stagger.Value = false
  3205. STAGGERANIM = false
  3206. end))
  3207. end
  3208. else
  3209. Stagger.Value = false
  3210. end
  3211. if Enable_Stun == true then
  3212. if Stun.Value == true and STUNANIM == false then
  3213. coroutine.resume(coroutine.create(function()
  3214. StunValue.Value = 0
  3215. STUNANIM = true
  3216. while ATTACK == true do
  3217. Swait()
  3218. end
  3219. StunAnimation()
  3220. Stun.Value = false
  3221. STUNANIM = false
  3222. end))
  3223. end
  3224. else
  3225. StunValue.Value = 0
  3226. Stun.Value = false
  3227. end
  3228. if DONUMBER >= .5 then
  3229. HANDIDLE = true
  3230. elseif DONUMBER <= 0 then
  3231. HANDIDLE = false
  3232. end
  3233. if HANDIDLE == false then
  3234. DONUMBER = DONUMBER + 0.003 / Animation_Speed
  3235. else
  3236. DONUMBER = DONUMBER - 0.003 / Animation_Speed
  3237. end
  3238. if ATTACK == false then
  3239. IDLENUMBER = IDLENUMBER + 1
  3240. else
  3241. IDLENUMBER = 0
  3242. end
  3243. if Enable_Stats == true then
  3244. for _, v in pairs (ChangeStat:GetChildren()) do
  3245. if v:FindFirstChild("Duration") ~= nil then
  3246. v:FindFirstChild("Duration").Value = v:FindFirstChild("Duration").Value - (1 / 30) / Animation_Speed
  3247. if v:FindFirstChild("Duration").Value <= 0 then
  3248. v.Parent = nil
  3249. end
  3250. end
  3251. if v.Name == "ChangeDefense" then
  3252. CHANGEDEFENSE = CHANGEDEFENSE + v.Value
  3253. elseif v.Name == "ChangeDamage" then
  3254. CHANGEDAMAGE = CHANGEDAMAGE + v.Value
  3255. elseif v.Name == "ChangeMovement" then
  3256. CHANGEMOVEMENT = CHANGEMOVEMENT + v.Value
  3257. end
  3258. end
  3259. Defense.Value = 1 + (CHANGEDEFENSE)
  3260. if Defense.Value <= 0.01 then
  3261. Defense.Value = 0.01
  3262. end
  3263. Damage.Value = 1 + (CHANGEDAMAGE)
  3264. if Damage.Value <= 0 then
  3265. Damage.Value = 0
  3266. end
  3267. Movement.Value = 1 + (CHANGEMOVEMENT)
  3268. if Movement.Value <= 0 then
  3269. Movement.Value = 0
  3270. end
  3271. CHANGEDEFENSE = 0
  3272. CHANGEDAMAGE = 0
  3273. CHANGEMOVEMENT = 0
  3274. end
  3275. SINE = SINE + CHANGE
  3276. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3277. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3278. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3279. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3280. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3281. if ANIM == "Walk" and EQUIPPED == true and TORSOVELOCITY > 1 then
  3282. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3283. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3284. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3285. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3286. elseif (ANIM ~= "Walk" and EQUIPPED == true) or (TORSOVELOCITY < 1) then
  3287. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3288. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3289. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3290. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3291. end
  3292. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3293. ANIM = "Jump"
  3294. if EQUIPPED == true then
  3295. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3296. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3297. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3298. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3299. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3300. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3301. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3302. end
  3303. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3304. ANIM = "Fall"
  3305. if EQUIPPED == true and ATTACK == false then
  3306. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3310. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3312. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3313. end
  3314. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3315. ANIM = "Idle"
  3316. if EQUIPPED == true and ATTACK == false then
  3317. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  3318. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  3319. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3320. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3321. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  3322. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  3323. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.15 / Animation_Speed)
  3324. end
  3325. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3326. ANIM = "Walk"
  3327. WALK = WALK + 1 / Animation_Speed
  3328. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3329. WALK = 0
  3330. if WALKINGANIM == true then
  3331. WALKINGANIM = false
  3332. elseif WALKINGANIM == false then
  3333. WALKINGANIM = true
  3334. end
  3335. end
  3336. if EQUIPPED == true and ATTACK == false then
  3337. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * COS(SINE / WALKSPEEDVALUE) * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(40)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3339. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(45 + 2.5 * SIN(SINE / (WALKSPEEDVALUE / 2)))) * RIGHTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3341. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -1 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(130), RAD(0)) * ANGLES(RAD(-1.25 - 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3342. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3343. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3344. end
  3345. end
  3346.  
  3347. end
  3348.  
  3349. --//=================================\\
  3350. --\\=================================//
  3351.  
  3352.  
  3353. local CurrentHealth = Humanoid.Health
  3354. local Defeated = false
  3355. Humanoid.HealthChanged:connect(function()
  3356. if Defeated then return end
  3357. local Health = math.min(Humanoid.Health-CurrentHealth)
  3358. if CurrentHealth-10000000 < -Health then
  3359. Humanoid.MaxHealth = "inf"
  3360. Humanoid.Health = "inf"
  3361. end
  3362. CurrentHealth = Humanoid.Health
  3363. end)
  3364.  
  3365.  
  3366. --//====================================================\\--
  3367. --|| END OF SCRIPT
  3368. --\\====================================================//
Add Comment
Please, Sign In to add comment