Advertisement
JRKPastesBins

Untitled

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