coolgoldboy166

santy test

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