Advertisement
lafur

Untitled

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