Advertisement
valentino2016

Monika edit Fe

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