Advertisement
Orangeplayer1431

haha

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