Advertisement
lafur

Untitled

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