Advertisement
Guest User

Untitled

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