Advertisement
soubrhomi

monika

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