daily pastebin goal
23%
SHARE
TWEET

solsticeedit5

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