Advertisement
DarkScriptZEditors

Untitled

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