Advertisement
FloweyTheFlower

Roblox Scripts #83 erase .

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