reset234567890

sdfghj

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