Advertisement
TaiShiRoCe876

Banisher

Nov 14th, 2018
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --||    CREATED BY SHACKLUSTER Edit By NameClan
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6.  
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     function Debounces:GetProgressPercentage()
  11.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  12.     if(self.CoolingDown and not self.Usable)then
  13.         return math.max(
  14.             math.floor(
  15.  
  16.     if Key == "z" and ATTACK == true then
  17.         Shot()
  18.     end
  19.  
  20.     if Key == "b" and ATTACK == true then
  21.                 Kick()
  22.     end
  23.  
  24.     if Key == "n" and ATTACK == true then
  25.                 Punch()
  26.     end
  27.  
  28.     if Key == "t" and ATTACK == true then
  29.                 Taunt()
  30.     end
  31.  
  32.     if Key == "c" and ATTACK == true then
  33.                  kiss()
  34.     end
  35.  
  36.     if Key == "v" and ATTACK == true then
  37.                  Oblivion()
  38.     end
  39.  
  40.     if Key == "x" and ATTACK == true then
  41.                  Nuke()
  42.     end
  43.    
  44.     Mouse.Button1Down:connect(function(NEWKEY)
  45.         MouseDown(NEWKEY)
  46.     end)
  47.     Mouse.Button1Up:connect(function(NEWKEY)
  48.         MouseUp(NEWKEY)
  49.     end)
  50.     Mouse.KeyDown:connect(function(NEWKEY)
  51.         KeyDown(NEWKEY)
  52.     end)
  53.     Mouse.KeyUp:connect(function(NEWKEY)
  54.         KeyUp(NEWKEY)
  55.     end)
  56.  
  57. --//=================================\\
  58. --\\=================================//
  59. script:ClearAllChildren()
  60. wait(0.2)
  61.  
  62. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  63. local FireSound = "904051531"
  64. local LAUGHS = {834001699,834001752,834001797,834001828}
  65. Player = owner
  66. PlayerGui = Player.PlayerGui
  67. Cam = workspace.CurrentCamera
  68. Backpack = Player.Backpack
  69. Character = Player.Character
  70. Humanoid = Character.Humanoid
  71. RootPart = Character["HumanoidRootPart"]
  72. Torso = Character["Torso"]
  73. Head = Character["Head"]
  74. RightArm = Character["Right Arm"]
  75. LeftArm = Character["Left Arm"]
  76. RightLeg = Character["Right Leg"]
  77. LeftLeg = Character["Left Leg"]
  78. local NeutralAnims = true
  79. local Attack = true
  80. local BloodPuddles = {}
  81. local Effects = {}
  82. local Debounces = {Debounces={}}
  83. local Hit = {}
  84. local Sine = 0
  85. local Change = 1
  86. local BanishedEvents = {}
  87. local sick = Instance.new("Sound",Character)
  88. q = Character:GetChildren()
  89. for u = 1, #q do
  90. if q[u].ClassName == "Accessory" then
  91. q[u]:Destroy()
  92. elseif q[u].ClassName == "CharacterMesh" then
  93. q[u]:Destroy()
  94. end
  95. end
  96. Head.face:Destroy()
  97. Head.Mesh:Destroy()
  98. newmesh = Instance.new("SpecialMesh")
  99. newmesh.Scale = Vector3.new(1.1,1.1,1.1)
  100. newmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  101. newmesh.TextureId = "http://www.roblox.com/asset/?id=0"
  102. newmesh.Parent = Head
  103.  
  104.     local function weldBetween(a, b)
  105.         local weldd = Instance.new("ManualWeld")
  106.         weldd.Part0 = a
  107.         weldd.Part1 = b
  108.         weldd.C0 = CFrame.new()
  109.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  110.         weldd.Parent = a
  111.         return weldd
  112.     end
  113. RootJoint = RootPart["RootJoint"]
  114. Neck = Torso["Neck"]
  115. RightShoulder = Torso["Right Shoulder"]
  116. LeftShoulder = Torso["Left Shoulder"]
  117. RightHip = Torso["Right Hip"]
  118. LeftHip = Torso["Left Hip"]
  119. local TIME = 0
  120. local sick = Instance.new("Sound",Torso)
  121.  
  122. IT = Instance.new
  123. CF = CFrame.new
  124. VT = Vector3.new
  125. RAD = math.rad
  126. C3 = Color3.new
  127. UD2 = UDim2.new
  128. BRICKC = BrickColor.new
  129. ANGLES = CFrame.Angles
  130. EULER = CFrame.fromEulerAnglesXYZ
  131. COS = math.cos
  132. ACOS = math.acos
  133. SIN = math.sin
  134. ASIN = math.asin
  135. ABS = math.abs
  136. MRANDOM = math.random
  137. FLOOR = math.floor
  138.  
  139.  
  140. it = Instance.new
  141.  
  142.     function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  143.         local fp=it("Part")
  144.         fp.formFactor=formfactor
  145.         fp.Parent=parent
  146.         fp.Reflectance=reflectance
  147.         fp.Transparency=transparency
  148.         fp.CanCollide=false
  149.         fp.Locked=true
  150.         fp.BrickColor=BrickColor.new(tostring(brickcolor))
  151.         fp.Name=name
  152.         fp.Size=size
  153.         fp.Position=Character.Torso.Position
  154.         fp.Material=material
  155.         fp:BreakJoints()
  156.         return fp
  157.     end
  158.    
  159.     function mesh(Mesh,part,meshtype,meshid,offset,scale)
  160.         local mesh=it(Mesh)
  161.         mesh.Parent=part
  162.         if Mesh=="SpecialMesh" then
  163.             mesh.MeshType=meshtype
  164.             mesh.MeshId=meshid
  165.         end
  166.         mesh.Offset=offset
  167.         mesh.Scale=scale
  168.         return mesh
  169.     end
  170.    
  171.     function weld(parent,part0,part1,c0,c1)
  172.         local weld=it("Weld")
  173.         weld.Parent=parent
  174.         weld.Part0=part0
  175.         weld.Part1=part1
  176.         weld.C0=c0
  177.         weld.C1=c1
  178.         return weld
  179.     end
  180.  
  181. q = "Really black"
  182. Claw1=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  183. Claw1weld=weld(Character,RightArm,Claw1,CFrame.new(0.25, -2.3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00980377197, -0.0303750038, 0.719708443, -5, 3.10001451e-005, 3.09999632e-005, 3.10008145e-005, 0, 0, 0, -4, -1))
  184. mesh("SpecialMesh",Claw1,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  185. Claw2=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  186. Claw2weld=weld(Character,LeftArm,Claw2,CFrame.new(-0.25, -2.3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00980377197, -0.0303750038, 0.719708443, 5, 3.10001451e-005, 3.09999632e-005, 3.10008145e-005, 0, 0, 0, -4, -1))
  187. mesh("SpecialMesh",Claw2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  188.  
  189. --//=================================\\
  190. --||          USEFUL VALUES
  191. --\\=================================//
  192.  
  193. Animation_Speed = 3
  194. local FORCERESET = false
  195. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  196. local Speed = 16
  197. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  198. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  199. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  200. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  201. local DAMAGEMULTIPLIER = 1
  202. local ANIM = "Idle"
  203. local ATTACK = false
  204. local EQUIPPED = false
  205. local HOLD = false
  206. local COMBO = 1
  207. local COMBO2 = 1
  208. local Rooted = false
  209. local SINE = 0
  210. local STAGGERHITANIM = false
  211. local STAGGERANIM = false
  212. local KEYHOLD = false
  213. local CHANGE = 2 / Animation_Speed
  214. local WALKINGANIM = false
  215. local VALUE1 = false
  216. local NOWALK = false
  217. local VALUE2 = false
  218. local INTRO = false
  219. local TRANSFORMED = false
  220. local ROBLOXIDLEANIMATION = IT("Animation")
  221. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  222. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  223. --ROBLOXIDLEANIMATION.Parent = Humanoid
  224. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  225. WEAPONGUI.Name = "BanishV3Gui"
  226. local Weapon = IT("Model")
  227. Weapon.Name = "Adds"
  228. local Effects = IT("Folder", Weapon)
  229. Effects.Name = "Effects"
  230. local ANIMATOR = Humanoid.Animator
  231. local ANIMATE = Character:FindFirstChild("Animate")
  232. local UNANCHOR = true
  233. local TOBANISH = {}
  234. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  235. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  236. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  237. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  238. script.Parent = PlayerGui
  239.  
  240. --//=================================\\
  241. --\\=================================//
  242.  
  243.  
  244. --//=================================\\
  245. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  246. --\\=================================//
  247.  
  248.  
  249. Class_Name = "Beserker"
  250. Weapon_Name = "Claws"
  251.  
  252. Custom_Colors = {
  253.     Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  254.     Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  255.  
  256.     Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  257.     Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  258.     Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  259.     Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  260.     Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  261.  
  262.     Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  263.     Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  264.     Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  265.     Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  266.     Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  267. }
  268.  
  269. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  270. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  271. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  272. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  273. Ability_Background_Transparency = 0  --Transparency for the background of the abilities.
  274. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  275.  
  276. Player_Size = 1 --Size of the player.
  277. Animation_Speed = 2
  278. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  279.  
  280. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  281. Enable_Stats = false --Enables or disables stats.
  282. Put_Stats_In_Character = false --Places stats in Character.
  283. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  284. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  285. Enable_Stagger = false --Enables or disables staggering.
  286. Enable_Stun = false --Enables or disables the stun mechanic.
  287. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  288. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  289.  
  290. Start_Equipped = false --Starts the player equipped with their weapon.
  291. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  292. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  293. Disable_Animator = true --Disables the Animator in the humanoid.
  294. Disable_Animate = true --Disables the Animate script in the character.
  295. Disable_Moving_Arms = false --Keeps the arms from moving around.
  296. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  297. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  298. Disable_Jump = false --Disables jumping.
  299. Use_HopperBin = true --Uses a hopperbin to do things.
  300.  
  301. Player_Size = 1 --Size of the player.
  302. Animation_Speed = 2
  303. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  304.  
  305. Cooldown_1 = 0 --Cooldowns for abilites.
  306. Cooldown_2 = 0
  307. Cooldown_3 = 0
  308. Cooldown_4 = 0
  309. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  310. Skill_2_Mana_Cost = 0
  311. Skill_3_Mana_Cost = 0
  312. Skill_4_Mana_Cost = 0
  313. Max_Mana = 0 --Maximum amount of mana you can have.
  314. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  315. Mana_Name = "Mana" --Name for the mana bar.
  316. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  317. Max_Stun = 1 --Maximum amount of stun you can have.
  318. Recover_Mana = 0 --How much mana you gain.
  319. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  320. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  321. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  322. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  323. Lose_Stun = 0 --How much stun you lose.
  324. Stun_Wait = 0 --Delay between losing stun.
  325. Mana_Wait = 0 --Delay between gaining mana.
  326. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  327. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  328. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  329. Show_Stats = false --Hides or shows stats.
  330. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  331.  
  332. ArtificialHB = Instance.new("BindableEvent", script)
  333. ArtificialHB.Name = "ArtificialHB"
  334.  
  335. script:WaitForChild("ArtificialHB")
  336.  
  337. frame = Frame_Speed
  338. tf = 0
  339. allowframeloss = false
  340. tossremainder = false
  341. lastframe = tick()
  342. script.ArtificialHB:Fire()
  343.  
  344. game:GetService("RunService").Heartbeat:connect(function(s, p)
  345.     tf = tf + s
  346.     if tf >= frame then
  347.         if allowframeloss then
  348.             script.ArtificialHB:Fire()
  349.             lastframe = tick()
  350.         else
  351.             for i = 1, math.floor(tf / frame) do
  352.                 script.ArtificialHB:Fire()
  353.             end
  354.         lastframe = tick()
  355.         end
  356.         if tossremainder then
  357.             tf = 0
  358.         else
  359.             tf = tf - frame * math.floor(tf / frame)
  360.         end
  361.     end
  362. end)
  363.  
  364. --//=================================\\
  365. --\\=================================//
  366.  
  367. --//=================================\\
  368. --||          SOME FUNCTIONS
  369. --\\=================================//
  370.  
  371. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  372.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  373. end
  374.  
  375. function PositiveAngle(NUMBER)
  376.     if NUMBER >= 0 then
  377.         NUMBER = 0
  378.     end
  379.     return NUMBER
  380. end
  381.  
  382. function NegativeAngle(NUMBER)
  383.     if NUMBER <= 0 then
  384.         NUMBER = 0
  385.     end
  386.     return NUMBER
  387. end
  388.  
  389. function Swait(NUMBER)
  390.     if NUMBER == 0 or NUMBER == nil then
  391.         ArtificialHB.Event:wait()
  392.     else
  393.         for i = 1, NUMBER do
  394.             ArtificialHB.Event:wait()
  395.         end
  396.     end
  397. end
  398.  
  399. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  400.     local NEWMESH = IT(MESH)
  401.     if MESH == "SpecialMesh" then
  402.         NEWMESH.MeshType = MESHTYPE
  403.         if MESHID ~= "nil" and MESHID ~= "" then
  404.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  405.         end
  406.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  407.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  408.         end
  409.     end
  410.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  411.     NEWMESH.Scale = SCALE
  412.     NEWMESH.Parent = PARENT
  413.     return NEWMESH
  414. end
  415.  
  416. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  417.     local NEWPART = IT("Part")
  418.     NEWPART.formFactor = FORMFACTOR
  419.     NEWPART.Reflectance = REFLECTANCE
  420.     NEWPART.Transparency = TRANSPARENCY
  421.     NEWPART.CanCollide = false
  422.     NEWPART.Locked = true
  423.     NEWPART.Anchored = true
  424.     if ANCHOR == false then
  425.         NEWPART.Anchored = false
  426.     end
  427.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  428.     NEWPART.Name = NAME
  429.     NEWPART.Size = SIZE
  430.     NEWPART.Position = Torso.Position
  431.     NEWPART.Material = MATERIAL
  432.     NEWPART:BreakJoints()
  433.     NEWPART.Parent = PARENT
  434.     return NEWPART
  435. end
  436.  
  437.     local function weldBetween(a, b)
  438.         local weldd = Instance.new("ManualWeld")
  439.         weldd.Part0 = a
  440.         weldd.Part1 = b
  441.         weldd.C0 = CFrame.new()
  442.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  443.         weldd.Parent = a
  444.         return weldd
  445.     end
  446.  
  447.  
  448. function QuaternionFromCFrame(cf)
  449.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  450.     local trace = m00 + m11 + m22
  451.     if trace > 0 then
  452.         local s = math.sqrt(1 + trace)
  453.         local recip = 0.5 / s
  454.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  455.     else
  456.         local i = 0
  457.         if m11 > m00 then
  458.             i = 1
  459.         end
  460.         if m22 > (i == 0 and m00 or m11) then
  461.             i = 2
  462.         end
  463.         if i == 0 then
  464.             local s = math.sqrt(m00 - m11 - m22 + 1)
  465.             local recip = 0.5 / s
  466.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  467.         elseif i == 1 then
  468.             local s = math.sqrt(m11 - m22 - m00 + 1)
  469.             local recip = 0.5 / s
  470.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  471.         elseif i == 2 then
  472.             local s = math.sqrt(m22 - m00 - m11 + 1)
  473.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  474.         end
  475.     end
  476. end
  477.  
  478. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  479.     local xs, ys, zs = x + x, y + y, z + z
  480.     local wx, wy, wz = w * xs, w * ys, w * zs
  481.     local xx = x * xs
  482.     local xy = x * ys
  483.     local xz = x * zs
  484.     local yy = y * ys
  485.     local yz = y * zs
  486.     local zz = z * zs
  487.     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))
  488. end
  489.  
  490. function QuaternionSlerp(a, b, t)
  491.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  492.     local startInterp, finishInterp;
  493.     if cosTheta >= 0.0001 then
  494.         if (1 - cosTheta) > 0.0001 then
  495.             local theta = ACOS(cosTheta)
  496.             local invSinTheta = 1 / SIN(theta)
  497.             startInterp = SIN((1 - t) * theta) * invSinTheta
  498.             finishInterp = SIN(t * theta) * invSinTheta
  499.         else
  500.             startInterp = 1 - t
  501.             finishInterp = t
  502.         end
  503.     else
  504.         if (1 + cosTheta) > 0.0001 then
  505.             local theta = ACOS(-cosTheta)
  506.             local invSinTheta = 1 / SIN(theta)
  507.             startInterp = SIN((t - 1) * theta) * invSinTheta
  508.             finishInterp = SIN(t * theta) * invSinTheta
  509.         else
  510.             startInterp = t - 1
  511.             finishInterp = t
  512.         end
  513.     end
  514.     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
  515. end
  516.  
  517. function Clerp(a, b, t)
  518.     local qa = {QuaternionFromCFrame(a)}
  519.     local qb = {QuaternionFromCFrame(b)}
  520.     local ax, ay, az = a.x, a.y, a.z
  521.     local bx, by, bz = b.x, b.y, b.z
  522.     local _t = 1 - t
  523.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  524. end
  525.  
  526. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  527.     local frame = IT("Frame")
  528.     frame.BackgroundTransparency = TRANSPARENCY
  529.     frame.BorderSizePixel = BORDERSIZEPIXEL
  530.     frame.Position = POSITION
  531.     frame.Size = SIZE
  532.     frame.BackgroundColor3 = COLOR
  533.     frame.BorderColor3 = BORDERCOLOR
  534.     frame.Name = NAME
  535.     frame.Parent = PARENT
  536.     return frame
  537. end
  538.  
  539.  
  540. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  541.     local label = IT("TextLabel")
  542.     label.BackgroundTransparency = 1
  543.     label.Size = UD2(1, 0, 1, 0)
  544.     label.Position = UD2(0, 0, 0, 0)
  545.     label.TextColor3 = TEXTCOLOR
  546.     label.TextStrokeTransparency = STROKETRANSPARENCY
  547.     label.TextTransparency = TRANSPARENCY
  548.     label.FontSize = TEXTFONTSIZE
  549.     label.Font = TEXTFONT
  550.     label.BorderSizePixel = BORDERSIZEPIXEL
  551.     label.TextScaled = false
  552.     label.Text = TEXT
  553.     label.Name = NAME
  554.     label.Parent = PARENT
  555.     return label
  556. end
  557.  
  558. function NoOutlines(PART)
  559.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  560. end
  561.  
  562. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  563.     local NEWWELD = IT(TYPE)
  564.     NEWWELD.Part0 = PART0
  565.     NEWWELD.Part1 = PART1
  566.     NEWWELD.C0 = C0
  567.     NEWWELD.C1 = C1
  568.     NEWWELD.Parent = PARENT
  569.     return NEWWELD
  570. end
  571.  
  572. local S = IT("Sound")
  573. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  574.     local NEWSOUND = nil
  575.     coroutine.resume(coroutine.create(function()
  576.         NEWSOUND = S:Clone()
  577.         NEWSOUND.Parent = PARENT
  578.         NEWSOUND.Volume = VOLUME
  579.         NEWSOUND.Pitch = PITCH
  580.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  581.         NEWSOUND:play()
  582.         if DOESLOOP == true then
  583.             NEWSOUND.Looped = true
  584.         else
  585.             repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  586.             NEWSOUND:remove()
  587.         end
  588.     end))
  589.     return NEWSOUND
  590. end
  591.  
  592. function CFrameFromTopBack(at, top, back)
  593.     local right = top:Cross(back)
  594.     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)
  595. end
  596.  
  597. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  598. function WACKYEFFECT(Table)
  599.     local TYPE = (Table.EffectType or "Sphere")
  600.     local SIZE = (Table.Size or VT(1,1,1))
  601.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  602.     local TRANSPARENCY = (Table.Transparency or 0)
  603.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  604.     local CFRAME = (Table.CFrame or Torso.CFrame)
  605.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  606.     local ROTATION1 = (Table.RotationX or 0)
  607.     local ROTATION2 = (Table.RotationY or 0)
  608.     local ROTATION3 = (Table.RotationZ or 0)
  609.     local MATERIAL = (Table.Material or "Neon")
  610.     local COLOR = (Table.Color or C3(1,1,1))
  611.     local TIME = (Table.Time or 45)
  612.     local SOUNDID = (Table.SoundID or nil)
  613.     local SOUNDPITCH = (Table.SoundPitch or nil)
  614.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  615.     coroutine.resume(coroutine.create(function()
  616.         local PLAYSSOUND = false
  617.         local SOUND = nil
  618.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  619.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  620.             PLAYSSOUND = true
  621.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  622.         end
  623.         EFFECT.Color = COLOR
  624.         local MSH = nil
  625.         if TYPE == "Sphere" then
  626.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  627.         elseif TYPE == "Block" then
  628.             MSH = IT("BlockMesh",EFFECT)
  629.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  630.         elseif TYPE == "Wave" then
  631.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  632.         elseif TYPE == "Ring" then
  633.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  634.         elseif TYPE == "Slash" then
  635.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  636.         elseif TYPE == "Round Slash" then
  637.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  638.         elseif TYPE == "Swirl" then
  639.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  640.         elseif TYPE == "Skull" then
  641.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  642.         elseif TYPE == "Crystal" then
  643.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  644.         end
  645.         if MSH ~= nil then
  646.             local MOVESPEED = nil
  647.             if MOVEDIRECTION ~= nil then
  648.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  649.             end
  650.             local GROWTH = SIZE - ENDSIZE
  651.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  652.             if TYPE == "Block" then
  653.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  654.             else
  655.                 EFFECT.CFrame = CFRAME
  656.             end
  657.             for LOOP = 1, TIME+1 do
  658.                 Swait()
  659.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  660.                 if TYPE == "Wave" then
  661.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  662.                 end
  663.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  664.                 if TYPE == "Block" then
  665.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  666.                 else
  667.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  668.                 end
  669.                 if MOVEDIRECTION ~= nil then
  670.                     local ORI = EFFECT.Orientation
  671.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  672.                     EFFECT.Orientation = ORI
  673.                 end
  674.             end
  675.             if PLAYSSOUND == false then
  676.                 EFFECT:remove()
  677.             else
  678.                 SOUND.Stopped:Connect(function()
  679.                     EFFECT:remove()
  680.                 end)
  681.             end
  682.         else
  683.             if PLAYSSOUND == false then
  684.                 EFFECT:remove()
  685.             else
  686.                 repeat Swait() until SOUND.Playing == false
  687.                 EFFECT:remove()
  688.             end
  689.         end
  690.     end))
  691. end
  692.  
  693. function MakeForm(PART,TYPE)
  694.     if TYPE == "Cyl" then
  695.         local MSH = IT("CylinderMesh",PART)
  696.     elseif TYPE == "Ball" then
  697.         local MSH = IT("SpecialMesh",PART)
  698.         MSH.MeshType = "Sphere"
  699.     elseif TYPE == "Wedge" then
  700.         local MSH = IT("SpecialMesh",PART)
  701.         MSH.MeshType = "Wedge"
  702.     end
  703. end
  704.  
  705. local asd = Instance.new("ParticleEmitter")
  706. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  707. asd.LightEmission = .1
  708. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  709. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  710. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  711. asd.Transparency = bbb
  712. asd.Size = aaa
  713. asd.ZOffset = .9
  714. asd.Acceleration = Vector3.new(0, -15, 0)
  715. asd.LockedToPart = false
  716. asd.EmissionDirection = "Back"
  717. asd.Lifetime = NumberRange.new(1, 2)
  718. asd.Rotation = NumberRange.new(-100, 100)
  719. asd.RotSpeed = NumberRange.new(-100, 100)
  720. asd.Speed = NumberRange.new(10)
  721. asd.Enabled = false
  722. asd.VelocitySpread = 999
  723.  
  724. function getbloody(victim,amount)
  725.     local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  726.     PART.CFrame = victim.CFrame
  727.     local HITPLAYERSOUNDS = {"356551938","264486467"}
  728.     Debris:AddItem(PART,5)
  729.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  730.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  731.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  732.     local prtcl = asd:Clone()
  733.     prtcl.Parent = PART
  734.     prtcl:Emit(amount*10)
  735. end
  736.  
  737. local Particle = IT("ParticleEmitter",nil)
  738. Particle.Enabled = false
  739. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  740. Particle.LightEmission = 0.5
  741. Particle.Rate = 150
  742. Particle.ZOffset = 1
  743. Particle.Rotation = NumberRange.new(-180, 180)
  744. Particle.RotSpeed = NumberRange.new(-180, 180)
  745. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  746. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  747.  
  748. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  749. function ParticleEmitter(Table)
  750.     local PRTCL = Particle:Clone()
  751.     local Speed = Table.Speed or 5
  752.     local Drag = Table.Drag or 0
  753.     local Size1 = Table.Size1 or 1
  754.     local Size2 = Table.Size2 or 5
  755.     local Lifetime1 = Table.Lifetime1 or 1
  756.     local Lifetime2 = Table.Lifetime2 or 1.5
  757.     local Parent = Table.Parent or Torso
  758.     local Emit = Table.Emit or 100
  759.     local Offset = Table.Offset or 360
  760.     local Acel = Table.Acel or VT(0,0,0)
  761.     local Enabled = Table.Enabled or false
  762.     PRTCL.Parent = Parent
  763.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  764.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  765.     PRTCL.Speed = NumberRange.new(Speed)
  766.     PRTCL.VelocitySpread = Offset
  767.     PRTCL.Drag = Drag
  768.     PRTCL.Acceleration = Acel
  769.     if Enabled == false then
  770.         PRTCL:Emit(Emit)
  771.         Debris:AddItem(PRTCL,Lifetime2)
  772.     else
  773.         PRTCL.Enabled = true
  774.     end
  775.     return PRTCL
  776. end
  777.  
  778. function SpawnTrail(FROM,TO,BIG)
  779.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  780.     MakeForm(TRAIL,"Cyl")
  781.     local DIST = (FROM - TO).Magnitude
  782.     if BIG == true then
  783.         TRAIL.Size = VT(0.5,DIST,0.5)
  784.     else
  785.         TRAIL.Size = VT(0.25,DIST,0.25)
  786.     end
  787.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  788.     coroutine.resume(coroutine.create(function()
  789.         for i = 1, 5 do
  790.             Swait()
  791.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  792.         end
  793.         TRAIL:remove()
  794.     end))
  795. end
  796.  
  797. Debris = game:GetService("Debris")
  798.  
  799. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  800.     local DIRECTION = CF(StartPos,EndPos).lookVector
  801.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  802. end
  803.  
  804. function turnto(position)
  805.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  806. end
  807.  
  808. --//=================================\\
  809. --||          RESIZE PLAYER
  810. --\\=================================//
  811.  
  812. if Player_Size ~= 1 then
  813. RootPart.Size = RootPart.Size * Player_Size
  814. Torso.Size = Torso.Size * Player_Size
  815. Head.Size = Head.Size * Player_Size
  816. RightArm.Size = RightArm.Size * Player_Size
  817. LeftArm.Size = LeftArm.Size * Player_Size
  818. RightLeg.Size = RightLeg.Size * Player_Size
  819. LeftLeg.Size = LeftLeg.Size * Player_Size
  820. RootJoint.Parent = RootPart
  821. Neck.Parent = Torso
  822. RightShoulder.Parent = Torso
  823. LeftShoulder.Parent = Torso
  824. RightHip.Parent = Torso
  825. LeftHip.Parent = Torso
  826.    
  827. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  828.     RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  829.     Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  830.     Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  831.     RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  832.     LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  833.     if Disable_Moving_Arms == false then
  834.         RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  835.         LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  836.     else
  837.         RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  838.         LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  839.     end
  840.     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))
  841.     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))
  842.     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))
  843.     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))
  844. end
  845.  
  846.  
  847. --//=================================\\
  848. --\\=================================//
  849.  
  850. --//=================================\\
  851. --||         WEAPON CREATION
  852. --\\=================================//
  853.  
  854. local PRT = CreatePart(3, char, "Fabric", 0, 0, "", "The Mask", VT(1,1,1),false)
  855. PRT.Color = C3(0,0,0)
  856. local MaskWeld = CreateWeldOrSnapOrMotor("Weld", hed, hed, PRT, CF(0,0.2,0), CF(0, 0.15, 0))
  857. CreateMesh("SpecialMesh", PRT, "FileMesh", "62146989", "145633085", VT(1.1,1.1,1.1)*1.05, VT(0,0,0))
  858.  
  859. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  860.     local TORSO = Torso
  861.     local HUM = Humanoid
  862.     if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  863.         coroutine.wrap(function()
  864.             VT = Vector3.new
  865.             MRANDOM = math.random
  866.             local A = TIME
  867.             local B = INTENSITY
  868.             local C = true
  869.             local HUMANOID = Humanoid
  870.             local TIMER = A or 35
  871.             local SHAKE = B or 5
  872.             local FADE = C or true
  873.             if HUMANOID then
  874.                 local FADER = SHAKE / TIMER
  875.                 for i = 1, TIMER do
  876.                     wait()
  877.                     HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  878.                 end
  879.                 HUMANOID.CameraOffset = VT(0, 0, 0)
  880.             end
  881.  
  882.         end)()
  883.     end
  884. end
  885.  
  886.  
  887. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  888. PRT.Color = C3(0,0,0)
  889. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  890. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  891. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  892. PRT.Color = C3(0,0,0)
  893.  
  894. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  895. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  896. MakeForm(Part,"Wedge")
  897.  
  898. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  899. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  900. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  901. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  902. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  903. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  904. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  905. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  906. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  907. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  908.  
  909. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  910. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  911. MakeForm(Part,"Wedge")
  912.  
  913. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  914. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  915. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  916. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  917. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  918. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  919. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  920. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  921. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  922. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  923.  
  924. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  925. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  926. MakeForm(Part,"Wedge")
  927.  
  928. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  929. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  930. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  931. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  932. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  933. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  934. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  935. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  936. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  937. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  938.  
  939. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  940. function WACKYEFFECT(Table)
  941.     local TYPE = (Table.EffectType or "Sphere")
  942.     local SIZE = (Table.Size or VT(1,1,1))
  943.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  944.     local TRANSPARENCY = (Table.Transparency or 0)
  945.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  946.     local CFRAME = (Table.CFrame or Torso.CFrame)
  947.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  948.     local ROTATION1 = (Table.RotationX or 0)
  949.     local ROTATION2 = (Table.RotationY or 0)
  950.     local ROTATION3 = (Table.RotationZ or 0)
  951.     local MATERIAL = (Table.Material or "Neon")
  952.     local COLOR = (Table.Color or C3(1,1,1))
  953.     local TIME = (Table.Time or 45)
  954.     local SOUNDID = (Table.SoundID or nil)
  955.     local SOUNDPITCH = (Table.SoundPitch or nil)
  956.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  957.     coroutine.resume(coroutine.create(function()
  958.         local PLAYSSOUND = false
  959.         local SOUND = nil
  960.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  961.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  962.             PLAYSSOUND = true
  963.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  964.         end
  965.         EFFECT.Color = COLOR
  966.         local MSH = nil
  967.         if TYPE == "Sphere" then
  968.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  969.         elseif TYPE == "Block" then
  970.             MSH = IT("BlockMesh",EFFECT)
  971.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  972.         elseif TYPE == "Wave" then
  973.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  974.         elseif TYPE == "Ring" then
  975.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  976.         elseif TYPE == "Slash" then
  977.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  978.         elseif TYPE == "Round Slash" then
  979.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  980.         elseif TYPE == "Swirl" then
  981.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  982.         elseif TYPE == "Skull" then
  983.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  984.         elseif TYPE == "Crystal" then
  985.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  986.         end
  987.         if MSH ~= nil then
  988.             local MOVESPEED = nil
  989.             if MOVEDIRECTION ~= nil then
  990.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  991.             end
  992.             local GROWTH = SIZE - ENDSIZE
  993.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  994.             if TYPE == "Block" then
  995.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  996.             else
  997.                 EFFECT.CFrame = CFRAME
  998.             end
  999.             for LOOP = 1, TIME+1 do
  1000.                 Swait()
  1001.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  1002.                 if TYPE == "Wave" then
  1003.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1004.                 end
  1005.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1006.                 if TYPE == "Block" then
  1007.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1008.                 else
  1009.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1010.                 end
  1011.                 if MOVEDIRECTION ~= nil then
  1012.                     local ORI = EFFECT.Orientation
  1013.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1014.                     EFFECT.Orientation = ORI
  1015.                 end
  1016.             end
  1017.             if PLAYSSOUND == false then
  1018.                 EFFECT:remove()
  1019.             else
  1020.                 SOUND.Stopped:Connect(function()
  1021.                     EFFECT:remove()
  1022.                 end)
  1023.             end
  1024.         else
  1025.             if PLAYSSOUND == false then
  1026.                 EFFECT:remove()
  1027.             else
  1028.                 repeat Swait() until SOUND.Playing == false
  1029.                 EFFECT:remove()
  1030.             end
  1031.         end
  1032.     end))
  1033. end
  1034.  
  1035.  
  1036. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1037.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1038.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1039.     wave.CFrame = CFRAME
  1040.     coroutine.resume(coroutine.create(function(PART)
  1041.         for i = 1, WAIT do
  1042.             Swait()
  1043.             mesh.Scale = mesh.Scale + GROW
  1044.             if DOESROT == true then
  1045.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1046.             end
  1047.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  1048.             if wave.Transparency > 0.99 then
  1049.                 wave:remove()
  1050.             end
  1051.         end
  1052.     end))
  1053. end
  1054.  
  1055. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1056.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1057.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1058.     wave.CFrame = CFRAME
  1059.     coroutine.resume(coroutine.create(function(PART)
  1060.         for i = 1, WAIT do
  1061.             Swait()
  1062.             mesh.Scale = mesh.Scale + GROW
  1063.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1064.             if DOESROT == true then
  1065.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1066.             end
  1067.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  1068.             if wave.Transparency > 0.99 then
  1069.                 wave:remove()
  1070.             end
  1071.         end
  1072.     end))
  1073. end
  1074.  
  1075. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1076. function WACKYEFFECT(Table)
  1077.     local TYPE = (Table.EffectType or "Sphere")
  1078.     local SIZE = (Table.Size or VT(1,1,1))
  1079.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1080.     local TRANSPARENCY = (Table.Transparency or 0)
  1081.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1082.     local CFRAME = (Table.CFrame or Torso.CFrame)
  1083.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  1084.     local ROTATION1 = (Table.RotationX or 0)
  1085.     local ROTATION2 = (Table.RotationY or 0)
  1086.     local ROTATION3 = (Table.RotationZ or 0)
  1087.     local MATERIAL = (Table.Material or "Neon")
  1088.     local COLOR = (Table.Color or C3(1,1,1))
  1089.     local TIME = (Table.Time or 45)
  1090.     local SOUNDID = (Table.SoundID or nil)
  1091.     local SOUNDPITCH = (Table.SoundPitch or nil)
  1092.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  1093.     coroutine.resume(coroutine.create(function()
  1094.         local PLAYSSOUND = false
  1095.         local SOUND = nil
  1096.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1097.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1098.             PLAYSSOUND = true
  1099.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1100.         end
  1101.         EFFECT.Color = COLOR
  1102.         local MSH = nil
  1103.         if TYPE == "Sphere" then
  1104.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1105.         elseif TYPE == "Block" then
  1106.             MSH = IT("BlockMesh",EFFECT)
  1107.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1108.         elseif TYPE == "Wave" then
  1109.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1110.         elseif TYPE == "Ring" then
  1111.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1112.         elseif TYPE == "Slash" then
  1113.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1114.         elseif TYPE == "Round Slash" then
  1115.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1116.         elseif TYPE == "Swirl" then
  1117.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1118.         elseif TYPE == "Skull" then
  1119.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1120.         elseif TYPE == "Crystal" then
  1121.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1122.         end
  1123.         if MSH ~= nil then
  1124.             local MOVESPEED = nil
  1125.             if MOVEDIRECTION ~= nil then
  1126.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1127.             end
  1128.             local GROWTH = SIZE - ENDSIZE
  1129.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1130.             if TYPE == "Block" then
  1131.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1132.             else
  1133.                 EFFECT.CFrame = CFRAME
  1134.             end
  1135.             for LOOP = 1, TIME+1 do
  1136.                 Swait()
  1137.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  1138.                 if TYPE == "Wave" then
  1139.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1140.                 end
  1141.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1142.                 if TYPE == "Block" then
  1143.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1144.                 else
  1145.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1146.                 end
  1147.                 if MOVEDIRECTION ~= nil then
  1148.                     local ORI = EFFECT.Orientation
  1149.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1150.                     EFFECT.Orientation = ORI
  1151.                 end
  1152.             end
  1153.             if PLAYSSOUND == false then
  1154.                 EFFECT:remove()
  1155.             else
  1156.                 SOUND.Stopped:Connect(function()
  1157.                     EFFECT:remove()
  1158.                 end)
  1159.             end
  1160.         else
  1161.             if PLAYSSOUND == false then
  1162.                 EFFECT:remove()
  1163.             else
  1164.                 repeat Swait() until SOUND.Playing == false
  1165.                 EFFECT:remove()
  1166.             end
  1167.         end
  1168.     end))
  1169. end
  1170.  
  1171. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1172.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1173.     local mesh
  1174.     if KIND == "Base" then
  1175.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1176.     elseif KIND == "Thin" then
  1177.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1178.     elseif KIND == "Round" then
  1179.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1180.     end
  1181.     wave.CFrame = CFRAME
  1182.     coroutine.resume(coroutine.create(function(PART)
  1183.         for i = 1, WAIT do
  1184.             Swait()
  1185.             mesh.Scale = mesh.Scale + GROW / 10
  1186.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  1187.             if wave.Transparency > 0.99 then
  1188.                 wave:remove()
  1189.             end
  1190.         end
  1191.     end))
  1192. end
  1193.  
  1194. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1195.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1196.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1197.     wave.CFrame = CFRAME
  1198.     coroutine.resume(coroutine.create(function(PART)
  1199.         for i = 1, WAIT do
  1200.             Swait()
  1201.             mesh.Scale = mesh.Scale + GROW
  1202.             if DOESROT == true then
  1203.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1204.             end
  1205.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  1206.             if wave.Transparency > 0.99 then
  1207.                 wave:remove()
  1208.             end
  1209.         end
  1210.     end))
  1211. end
  1212. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1213.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1214.     local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1215.     wave.CFrame = CFRAME
  1216.     coroutine.resume(coroutine.create(function(PART)
  1217.         for i = 1, WAIT do
  1218.             Swait()
  1219.             mesh.Scale = mesh.Scale + GROW
  1220.             wave.Transparency = wave.Transparency + 1 / WAIT
  1221.             if wave.Transparency > 0.99 then
  1222.                 wave:remove()
  1223.             end
  1224.         end
  1225.     end))
  1226. end
  1227.  
  1228. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1229.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1230.     local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1231.     wave.CFrame = CFRAME
  1232.     coroutine.resume(coroutine.create(function(PART)
  1233.         for i = 1, WAIT do
  1234.             Swait()
  1235.             mesh.Scale = mesh.Scale + GROW
  1236.             wave.Transparency = wave.Transparency + 1 / WAIT
  1237.             if wave.Transparency > 0.99 then
  1238.                 wave:remove()
  1239.             end
  1240.         end
  1241.     end))
  1242. end
  1243.  
  1244.  
  1245. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1246. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1247. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1248. MakeForm(Part,"Wedge")
  1249. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1250. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1251. MakeForm(Part,"Wedge")
  1252. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1253. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1254. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1255. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1256. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1257. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1258. MakeForm(Part,"Cyl")
  1259. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1260. for i = 1, 8 do
  1261.     local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1262.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1263. end
  1264. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1265. MakeForm(Part,"Cyl")
  1266. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1267. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1268. MakeForm(Part,"Ball")
  1269. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1270. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1271. MakeForm(Part,"Wedge")
  1272. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1273. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1274. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1275. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1276. MakeForm(Part,"Cyl")
  1277. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1278. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1279. MakeForm(Part,"Cyl")
  1280. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1281. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1282. MakeForm(Part,"Cyl")
  1283. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1284. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1285. MakeForm(Part,"Wedge")
  1286. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1287. local LASTPART = Handle
  1288. for i = 1, 10 do
  1289.     if LASTPART == Handle then
  1290.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1291.         LASTPART = Part
  1292.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1293.     else
  1294.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1295.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1296.         LASTPART = Part
  1297.     end
  1298. end
  1299.  
  1300. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1301. MakeForm(Barrel,"Cyl")
  1302. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1303. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1304. MakeForm(Part,"Cyl")
  1305. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1306. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1307. MakeForm(Part,"Wedge")
  1308. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1309. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1310. MakeForm(Hole2,"Cyl")
  1311. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1312. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1313. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1314. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1315. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1316. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1317. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1318. coroutine.resume(coroutine.create(function()
  1319.     while wait() do
  1320.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1321.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1322.     end
  1323. end))
  1324.  
  1325. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1326. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1327.  
  1328. for _, c in pairs(Weapon:GetDescendants()) do
  1329.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1330.         c.Material = "Glass"
  1331.         c.Color = C3(0,0,0)
  1332.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  1333.         c.Color = C3(1,0,0)
  1334.         c.Material = "Neon"
  1335.     end
  1336. end
  1337.  
  1338. Weapon.Parent = Character
  1339. for _, c in pairs(Weapon:GetChildren()) do
  1340.     if c.ClassName == "Part" then
  1341.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1342.     end
  1343. end
  1344.  
  1345. function ParticleEmitter(Table)
  1346.     local PRTCL = Particle:Clone()
  1347.     local Speed = Table.Speed or 5
  1348.     local Drag = Table.Drag or 0
  1349.     local Size1 = Table.Size1 or 1
  1350.     local Size2 = Table.Size2 or 5
  1351.     local Lifetime1 = Table.Lifetime1 or 1
  1352.     local Lifetime2 = Table.Lifetime2 or 1.5
  1353.     local Parent = Table.Parent or Torso
  1354.     local Emit = Table.Emit or 100
  1355.     local Offset = Table.Offset or 360
  1356.     local Acel = Table.Acel or VT(0,0,0)
  1357.     local Enabled = Table.Enabled or false
  1358.     PRTCL.Parent = Parent
  1359.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  1360.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1361.     PRTCL.Speed = NumberRange.new(Speed)
  1362.     PRTCL.VelocitySpread = Offset
  1363.     PRTCL.Drag = Drag
  1364.     PRTCL.Acceleration = Acel
  1365.     if Enabled == false then
  1366.         PRTCL:Emit(Emit)
  1367.         Debris:AddItem(PRTCL,Lifetime2)
  1368.     else
  1369.         PRTCL.Enabled = true
  1370.     end
  1371.     return PRTCL
  1372. end
  1373.  
  1374. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1375. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1376. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1377. MakeForm(Part,"Wedge")
  1378. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1379. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1380. MakeForm(Part,"Wedge")
  1381. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1382. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1383. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1384. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1385. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1386. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1387. MakeForm(Part,"Cyl")
  1388. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1389. for i = 1, 8 do
  1390.     local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1391.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1392. end
  1393. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1394. MakeForm(Part,"Cyl")
  1395. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1396. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1397. MakeForm(Part,"Ball")
  1398. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1399. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1400. MakeForm(Part,"Wedge")
  1401. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1402. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1403. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1404. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1405. MakeForm(Part,"Cyl")
  1406. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1407. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1408. MakeForm(Part,"Cyl")
  1409. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1410. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1411. MakeForm(Part,"Cyl")
  1412. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1413. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1414. MakeForm(Part,"Wedge")
  1415. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1416. local LASTPART = Handle
  1417. for i = 1, 10 do
  1418.     if LASTPART == Handle then
  1419.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1420.         LASTPART = Part
  1421.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1422.     else
  1423.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1424.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1425.         LASTPART = Part
  1426.     end
  1427. end
  1428.  
  1429. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1430. MakeForm(Barrel,"Cyl")
  1431. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1432. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1433. MakeForm(Part,"Cyl")
  1434. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1435. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1436. MakeForm(Part,"Wedge")
  1437. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1438. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1439. MakeForm(Hole,"Cyl")
  1440. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1441. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1442. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1443. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1444. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1445. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1446. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1447. coroutine.resume(coroutine.create(function()
  1448.     while wait() do
  1449.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1450.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1451.     end
  1452. end))
  1453.  
  1454. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1455. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1456.  
  1457. for _, c in pairs(Weapon:GetDescendants()) do
  1458.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1459.         c.Material = "Glass"
  1460.         c.Color = C3(0,0,0)
  1461.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  1462.         c.Color = C3(1,0,0)
  1463.         c.Material = "Neon"
  1464.     end
  1465. end
  1466.  
  1467. Weapon.Parent = Character
  1468. for _, c in pairs(Weapon:GetChildren()) do
  1469.     if c.ClassName == "Part" then
  1470.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1471.     end
  1472. end
  1473.  
  1474. local SKILLTEXTCOLOR = C3(1,0,0)
  1475. local SKILLFONT = "Antique"
  1476. local SKILLTEXTSIZE = 7
  1477.  
  1478. Humanoid.Died:connect(function()
  1479.     ATTACK = true
  1480. end)
  1481.  
  1482. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1483. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1484. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1485. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1486. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1487. ]]
  1488. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1489. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1490. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1491. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1492. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1493. ]]
  1494. function printbye(Name)
  1495.     local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1496.     warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1497. end
  1498.  
  1499. workspace.ChildAdded:connect(function(instance)
  1500.     for BANISH = 1, #TOBANISH do
  1501.         if TOBANISH[BANISH] ~= nil then
  1502.             if instance.Name == TOBANISH[BANISH] then
  1503.                 coroutine.resume(coroutine.create(function()
  1504.                     printbye(instance.Name)
  1505.                     instance:ClearAllChildren()
  1506.                     Debris:AddItem(instance,0.0005)
  1507.                 end))
  1508.             end
  1509.         end
  1510.     end
  1511. end)
  1512.  
  1513. --//=================================\\
  1514. --||            DAMAGING
  1515. --\\=================================//
  1516.  
  1517. function Banish(Foe)
  1518.     if Foe then
  1519.         coroutine.resume(coroutine.create(function()
  1520.             --if game.Players:FindFirstChild(Foe.Name) then
  1521.                 table.insert(TOBANISH,Foe.Name)
  1522.                 printbye(Foe.Name)
  1523.             --end
  1524.             Foe.Archivable = true
  1525.             local CLONE = Foe:Clone()
  1526.             Foe:Destroy()
  1527.             CLONE.Parent = Effects
  1528.             CLONE:BreakJoints()
  1529.             local MATERIALS = {"Glass","Neon"}
  1530.             for _, c in pairs(CLONE:GetDescendants()) do
  1531.                 if c:IsA("BasePart") then
  1532.                     if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1533.                         CreateSound(340722848, c, 10, 1, false)
  1534.                     end
  1535.                     c.Anchored = true
  1536.                     c.Transparency = c.Transparency + 0.2
  1537.                     c.Material = MATERIALS[MRANDOM(1,2)]
  1538.                     c.Color = C3(1,0,0)
  1539.                     if c.ClassName == "MeshPart" then
  1540.                         c.TextureID = ""
  1541.                     end
  1542.                     if c:FindFirstChildOfClass("SpecialMesh") then
  1543.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1544.                     end
  1545.                     if c:FindFirstChildOfClass("Decal") then
  1546.                         c:FindFirstChildOfClass("Decal"):remove()
  1547.                     end
  1548.                     c.Name = "Banished"
  1549.                     c.CanCollide = false
  1550.                 else
  1551.                     c:remove()
  1552.                 end
  1553.             end
  1554.             local A = false
  1555.             for i = 1, 35 do
  1556.                 if A == false then
  1557.                     A = true
  1558.                 elseif A == true then
  1559.                     A = false
  1560.                 end
  1561.                 for _, c in pairs(CLONE:GetDescendants()) do
  1562.                     if c:IsA("BasePart") then
  1563.                         c.Anchored = true
  1564.                         c.Material = MATERIALS[MRANDOM(1,2)]
  1565.                         c.Transparency = c.Transparency + 0.8/35
  1566.                         if A == false then
  1567.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1568.                         elseif A == true then
  1569.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
  1570.                         end
  1571.                     end
  1572.                 end
  1573.                 Swait()
  1574.             end
  1575.             CLONE:remove()
  1576.         end))
  1577.     end
  1578. end
  1579.  
  1580. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1581.     local CHILDREN = workspace:GetDescendants()
  1582.     for index, CHILD in pairs(CHILDREN) do
  1583.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1584.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1585.             if HUM then
  1586.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1587.                 if TORSO then
  1588.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1589.                         if ISBANISH == true then
  1590.                             Banish(CHILD)
  1591.                         else
  1592.                             if ISBANISH == "Gravity" then
  1593.                                 HUM.PlatformStand = true
  1594.                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1595.                                     local grav = Instance.new("BodyPosition",TORSO)
  1596.                                     grav.D = 15
  1597.                                     grav.P = 20000
  1598.                                     grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1599.                                     grav.position = TORSO.Position
  1600.                                     grav.Name = "V3BanishForce"..Player.Name
  1601.                                 else
  1602.                                     TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1603.                                     TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1604.                                 end
  1605.                             else
  1606.                                 HUM.PlatformStand = false
  1607.                             end
  1608.                         end
  1609.                     elseif ISBANISH == "Gravity" then
  1610.                         if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1611.                             TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1612.                             HUM.PlatformStand = false
  1613.                         end
  1614.                     end
  1615.                 end
  1616.             end
  1617.         end
  1618.     end
  1619. end
  1620.  
  1621. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1622.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1623.     STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1624.     local BODYGYRO = IT("BodyGyro", STATPART)
  1625.     local BODYPOSITION = IT("BodyPosition", STATPART)
  1626.     BODYPOSITION.P = 2000
  1627.     BODYPOSITION.D = 100
  1628.     BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1629.     if LABELTYPE == "Normal" then
  1630.         BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1631.     elseif LABELTYPE == "Debuff" then
  1632.         BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1633.     elseif LABELTYPE == "Interruption" then
  1634.         BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1635.     end
  1636.     game:GetService("Debris"):AddItem(STATPART ,5)
  1637.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1638.     BILLBOARDGUI.Adornee = STATPART
  1639.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1640.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1641.     BILLBOARDGUI.AlwaysOnTop = false
  1642.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1643.     TEXTLABEL.BackgroundTransparency = 1
  1644.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1645.     TEXTLABEL.Text = TEXT
  1646.     TEXTLABEL.Font = "SourceSans"
  1647.     TEXTLABEL.FontSize="Size42"
  1648.     TEXTLABEL.TextColor3 = COLOR
  1649.     TEXTLABEL.TextStrokeTransparency = 0
  1650.     TEXTLABEL.TextScaled = true
  1651.     TEXTLABEL.TextWrapped = true
  1652.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1653.         wait(0.2)
  1654.         for i=1, 5 do
  1655.             wait()
  1656.             THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1657.         end
  1658.         wait(1.2)
  1659.         for i=1, 5 do
  1660.             wait()
  1661.             THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1662.             THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1663.             THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1664.         end
  1665.         THEPART.Parent = nil
  1666.     end),STATPART, BODYPOSITION, TEXTLABEL)
  1667. end
  1668.  
  1669. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1670.     if LOCATION:FindFirstChild("Stats") ~= nil then
  1671.         if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1672.             if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1673.                 return
  1674.             end
  1675.         end
  1676.         if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1677.             local NewStatChange = IT("NumberValue")
  1678.             NewStatChange.Value = AMOUNT
  1679.             if STAT == "Defense" then
  1680.                 NewStatChange.Name = "ChangeDefense"
  1681.             elseif STAT == "Damage" then
  1682.                 NewStatChange.Name = "ChangeDamage"
  1683.             elseif STAT == "Movement" then
  1684.                 NewStatChange.Name = "ChangeMovement"
  1685.             end
  1686.             if SHOWTHESTAT == true then
  1687.                 if AMOUNT < 0 then
  1688.                     StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1689.                 elseif AMOUNT > 0 then
  1690.                     StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1691.                 end
  1692.             end
  1693.             if DURATION ~= nil and DURATION ~= 0 then
  1694.                 local StatDuration = IT("NumberValue")
  1695.                 StatDuration.Name = "Duration"
  1696.                 StatDuration.Value = DURATION
  1697.                 StatDuration.Parent = NewStatChange
  1698.             end
  1699.             NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1700.         end
  1701.     end
  1702. end
  1703.  
  1704. --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)
  1705. 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)
  1706.     if HIT.Parent == nil then
  1707.         return
  1708.     end
  1709.     local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1710.     for _, v in pairs(HIT.Parent:GetChildren()) do
  1711.         if v:IsA("Humanoid") then
  1712.             HITHUMANOID = v
  1713.         end
  1714.     end
  1715.     if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1716.         StaggerHit.Value = true
  1717.         if Play_Hitbox_Hit_Sound == true then
  1718.             if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1719.                 CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1720.             end
  1721.         end
  1722.         return
  1723.     end
  1724.     if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1725.         HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1726.     end
  1727.     if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1728.         HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1729.     end
  1730.     if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1731.         if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1732.             if HIT.Parent.DebounceHit.Value == true then
  1733.                 return
  1734.             end
  1735.         end
  1736.         if AntiTeamKill.Value == true then
  1737.             if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1738.                 if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1739.                     return
  1740.                 end
  1741.             end
  1742.         end
  1743.         if HITEVENWHENDEAD == false then
  1744.             if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1745.                 if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1746.                     return
  1747.                 end
  1748.             end
  1749.         end
  1750.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1751.             if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1752.                 HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1753.             end
  1754.         end
  1755.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1756.             if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1757.                 if STAGGER == true and Enable_Stagger == true then
  1758.                     HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1759.                 end
  1760.             end
  1761.         end
  1762.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1763.             if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1764.                 if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1765.                     HASBEENBLOCKED = true
  1766.                     if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1767.                         StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1768.                         if RANGED ~= true then
  1769.                             if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1770.                                 CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1771.                             end
  1772.                         end
  1773.                         local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1774.                         BlockDebounce.Name = "BlockDebounce"
  1775.                         BlockDebounce.Value = true
  1776.                         if RANGED ~= true then
  1777.                             game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1778.                         else
  1779.                             game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1780.                         end
  1781.                     end
  1782.                     if RANGED ~= true and Enable_Stagger == true then
  1783.                         HIT.Parent.Stats:FindFirstChild("Block").Value = false
  1784.                         Stagger.Value = true
  1785.                     end
  1786.                     return
  1787.                 end
  1788.             end
  1789.         end
  1790.         if DECREASETHESTAT ~= nil then
  1791.             if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1792.                 IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1793.             end
  1794.         end
  1795.         local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  1796.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1797.             if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  1798.                 if CanPenetrateArmor.Value == true then
  1799.                     DAMAGE = DAMAGE
  1800.                 else
  1801.                     DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  1802.                 end
  1803.             elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  1804.                 DAMAGE = DAMAGE
  1805.             end
  1806.         end
  1807.         if CanCrit.Value == true then
  1808.             CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  1809.             if CRITCHANCENUMBER == 1 then
  1810.                 DAMAGE = DAMAGE * 2
  1811.             end
  1812.         end
  1813.         DAMAGE = math.floor(DAMAGE)
  1814.         if HASBEENBLOCKED == false then
  1815.             HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1816.         end
  1817.         if DAMAGE <= 3 and HASBEENBLOCKED == false then
  1818.             if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  1819.                 StaggerHit.Value = true
  1820.             end
  1821.             if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  1822.                 CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  1823.             end
  1824.         elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  1825.             if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  1826.                 CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  1827.             end
  1828.         end
  1829.         if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  1830.             if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1831.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1832.                 CreateSound("296102734", HIT, 1, 1)
  1833.             else
  1834.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  1835.             end
  1836.         elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  1837.             if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1838.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1839.                 CreateSound("296102734", HIT, 1, 1)
  1840.             else
  1841.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  1842.             end
  1843.         elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  1844.             if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1845.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1846.                 CreateSound("296102734", HIT, 1, 1)
  1847.             else
  1848.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  1849.             end
  1850.         end
  1851.         if TYPE == "Normal" then
  1852.             local vp = IT("BodyVelocity")
  1853.             vp.P=500
  1854.             vp.maxForce = VT(math.huge, 0, math.huge)
  1855.             if KNOCKBACKTYPE == 1 then
  1856.                 vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  1857.             elseif KNOCKBACKTYPE == 2 then
  1858.                 vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  1859.             end
  1860.             if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  1861.                 vp.Parent = HIT--.Parent.Torso
  1862.             end
  1863.             game:GetService("Debris"):AddItem(vp, 0.5)
  1864.         end
  1865.         HASBEENBLOCKED = false
  1866.         RecentEnemy.Value = HIT.Parent
  1867.         local DebounceHit = IT("BoolValue", HIT.Parent)
  1868.         DebounceHit.Name = "DebounceHit"
  1869.         DebounceHit.Value = true
  1870.         game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  1871.     end
  1872. end
  1873.  
  1874. --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)
  1875. 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)
  1876.     for _, c in pairs(workspace:GetChildren()) do
  1877.         local HUMANOID = c:FindFirstChild("Humanoid")
  1878.         local HEAD = nil
  1879.         if HUMANOID ~= nil then
  1880.             for _, d in pairs(c:GetChildren()) do
  1881.                 if d.ClassName == "Model" and RANGED ~= true then
  1882.                     HEAD = d:FindFirstChild("Hitbox")
  1883.                     if HEAD ~= nil then
  1884.                         local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1885.                         if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1886.                             if Play_Hitbox_Hit_Sound == true then
  1887.                                 local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1888.                                 HitRefpart.Anchored = true
  1889.                                 HitRefpart.CFrame = CF(HEAD.Position)
  1890.                                 CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  1891.                             end
  1892.                             if Enable_Stagger_Hit == true then
  1893.                                 StaggerHit.Value = true
  1894.                             end
  1895.                         end
  1896.                     end
  1897.                 elseif d:IsA"BasePart" then
  1898.                     HEAD = d
  1899.                     if HEAD ~= nil then
  1900.                         local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1901.                         if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1902.                             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)
  1903.                         end
  1904.                     end
  1905.                 end
  1906.             end
  1907.         end
  1908.     end
  1909. end
  1910.  
  1911. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  1912. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  1913.     if Player.Neutral == true then
  1914.         IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1915.     end
  1916.     for _, c in pairs(workspace:GetChildren()) do
  1917.         local HUMANOID = c:FindFirstChild("Humanoid")
  1918.         local THEHEAD = nil
  1919.         if HUMANOID ~= nil then
  1920.             if c:FindFirstChild("Torso") ~= nil then
  1921.                 THEHEAD = c:FindFirstChild("Torso")
  1922.             elseif c:FindFirstChild("UpperTorso") ~= nil then
  1923.                 THEHEAD = c:FindFirstChild("UpperTorso")
  1924.             end
  1925.             if THEHEAD ~= nil then
  1926.                 local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  1927.                 print("yes 1")
  1928.                 if APPLYTOOTHERSINSTEAD == true then
  1929.                     if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1930.                         if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1931.                             if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1932.                                 IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1933.                             end
  1934.                         end
  1935.                     end
  1936.                 elseif APPLYTOOTHERSINSTEAD == false then
  1937.                     if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  1938.                         if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1939.                             if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1940.                                 IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1941.                             end
  1942.                         end
  1943.                     end
  1944.                 end
  1945.             end
  1946.         end
  1947.     end
  1948. end
  1949.  
  1950.  
  1951.  
  1952. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1953.     local dmg = math.random(min,max)
  1954.     for i,v in ipairs(workspace:GetChildren()) do
  1955.     if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1956.         local body = v:GetChildren()
  1957.             for part = 1, #body do
  1958.                 if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1959.                     if(body[part].Position - position).Magnitude < radius then
  1960.                         if v.ClassName == "Model" then
  1961.                             if v:FindFirstChildOfClass("Humanoid") then
  1962.                                 if CanBeDodgedByJumping == true then
  1963.                                     if body[part].Position.Y < position.Y+5 then
  1964.                                         ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1965.                                     end
  1966.                                 else
  1967.                                     ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1968.                                 end
  1969.                                 local bv = Instance.new("BodyVelocity")
  1970.                                 bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1971.                                 bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1972.                                 bv.Parent = body[part]
  1973.                                 Debris:AddItem(bv,0.2)
  1974.                             end
  1975.                         end
  1976.                     end
  1977.                 end
  1978.             end
  1979.         end
  1980.         if v:FindFirstChild("HitBy"..Player.Name) then
  1981.             v:FindFirstChild("HitBy"..Player.Name):remove()
  1982.         end
  1983.     end
  1984. end
  1985.  
  1986. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  1987.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1988.     defence.Name = ("HitBy"..Player.Name)
  1989.     game:GetService("Debris"):AddItem(defence, 0.5)
  1990.         Humanoid.Health = Humanoid.Health - Damage
  1991.         if Humanoid.Parent:FindFirstChild("Head") then
  1992.                 StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1993.             end
  1994.         end
  1995.    
  1996.  
  1997. --//=================================\\
  1998. --||    ATTACK FUNCTIONS AND STUFF
  1999. --\\=================================//
  2000.  
  2001. function Oblivion()
  2002.     ATTACK = true
  2003.     Rooted = true
  2004.     for i=0, 2, 0.1 / Animation_Speed do
  2005.         Swait()
  2006.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2007.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2008.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2009.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2010.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2011.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2012.     end
  2013.     for i=0, 0.5, 0.1 / Animation_Speed do
  2014.         Swait()
  2015.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2016.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2017.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2018.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2019.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  2020.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  2021.     end
  2022.     for i = 1, 75 do
  2023.         Swait()
  2024.         MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really red",VT(-0.005,-0.005,0.03),0)
  2025.     end
  2026.     CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2027.     CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2028.     AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  2029.     MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really red",VT(5,5,5))
  2030.     MagicSphere(VT(0,0,0),50,Torso.CFrame,"Lime green",VT(2.5,2.5,2.5))
  2031.     MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Really black",VT(6,0,6))
  2032.     MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  2033.     ATTACK = false
  2034.     Rooted = false
  2035. end
  2036.  
  2037. function kiss()
  2038.     ATTACK = true
  2039.     Rooted = false
  2040.     local HASGRABBED = false
  2041.     local GRABTARGET = nil
  2042.     local TORS = nil
  2043.     local WELD = nil
  2044.     for i=0, 1, 0.1 / Animation_Speed do
  2045.         Swait()
  2046.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2047.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2048.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2049.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2050.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2051.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2052.     end
  2053.     local GRAB1 = RightArm.Touched:Connect(function(hit)
  2054.         if hit.Parent:FindFirstChild("Humanoid") then
  2055.             if hit.Parent.Humanoid.Health ~= 0 then
  2056.                 UNANCHOR = false
  2057.                 RootPart.Anchored = true
  2058.                 TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2059.                 TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2060.                 WELD = weldBetween(RootPart,TORS)
  2061.                 HASGRABBED = true
  2062.                 Rooted = true
  2063.             end
  2064.         end
  2065.     end)
  2066.     local GRAB2 = LeftArm.Touched:Connect(function(hit)
  2067.         if hit.Parent:FindFirstChild("Humanoid") then
  2068.             if hit.Parent.Humanoid.Health ~= 0 then
  2069.                 UNANCHOR = false
  2070.                 RootPart.Anchored = true
  2071.                 TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2072.                 TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2073.                 WELD = weldBetween(RootPart,TORS)
  2074.                 HASGRABBED = true
  2075.                 Rooted = true
  2076.             end
  2077.         end
  2078.     end)
  2079.     for i=0, 1, 0.1 / Animation_Speed do
  2080.         Swait()
  2081.         if HASGRABBED == true then
  2082.             break
  2083.         end
  2084.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2085.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2086.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2087.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2088.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2089.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2090.     end
  2091.     GRAB1:disconnect()
  2092.     GRAB2:disconnect()
  2093.     if HASGRABBED == true then
  2094.         TORS.Anchored = false
  2095.         GRABTARGET = TORS.Parent
  2096.                 HED = GRABTARGET:FindFirstChild("Head")
  2097.         for i=0, 2, 0.1 / Animation_Speed do
  2098.             Swait()
  2099.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2100.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2101.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2102.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2103.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2104.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2105.         end
  2106.                         local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Really red", "Heart", VT(1,1,1), false)
  2107.                                                 local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  2108.                                                 CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2109.         local ECH = 0
  2110.  
  2111.         for i=0, 8, 0.1 / Animation_Speed do
  2112.             Swait()
  2113.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2114.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  2115.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2116.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2117.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2118.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2119.         end
  2120.         WELD:remove()
  2121.     end
  2122.     UNANCHOR = true
  2123.     ATTACK = false
  2124.     Rooted = false
  2125. end
  2126.  
  2127. function Kick()
  2128.     ATTACK = true
  2129.     Rooted = false
  2130.     VALUE1 = true
  2131.     NOWALK = true
  2132.     if COMBO2 == 1 then
  2133.         COMBO2 = 2
  2134.         CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2135.         for i=0, 0.5, 0.1 / Animation_Speed do
  2136.             Swait()
  2137.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  2138.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2139.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2140.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2141.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2142.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2143.         end
  2144.     elseif COMBO2 == 2 then
  2145.         COMBO2 = 1
  2146.         CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2147.         for i=0, 0.5, 0.1 / Animation_Speed do
  2148.             Swait()
  2149.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2150.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  2151.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2152.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2153.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2154.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2155.         end
  2156.     end
  2157.     NOWALK = false
  2158.     VALUE1 = false
  2159.     ATTACK = false
  2160.     Rooted = false
  2161. end
  2162.  
  2163. function StaggerHitAnimation()
  2164.     ATTACK = true
  2165.     if Weapon:FindFirstChild("Hitbox") ~= nil then
  2166.         for i = 1, MRANDOM(2, 4) do
  2167.             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)
  2168.         end
  2169.     end
  2170.     for i = 0, 1, 0.1 / Animation_Speed do
  2171.         Swait()
  2172.         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)
  2173.         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)
  2174.         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)
  2175.         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)
  2176.         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)
  2177.         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)
  2178.         if Stagger.Value == true or Stun.Value == true then
  2179.             break
  2180.         end
  2181.     end
  2182.     ATTACK = false
  2183. end
  2184.  
  2185. function Shot()
  2186.     ATTACK = true
  2187.     Rooted = false
  2188.     for i=0, 0.5, 0.1 / Animation_Speed do
  2189.         Swait()
  2190.         turnto(Mouse.Hit.p)
  2191.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2192.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2193.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2194.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2195.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2196.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2197.     end
  2198.     repeat
  2199.         for i=0, 0.5, 0.1 / Animation_Speed do
  2200.             Swait()
  2201.             turnto(Mouse.Hit.p)
  2202.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2203.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2204.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2205.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2206.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2207.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2208.         end
  2209.         local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2210.         SpawnTrail(Hole2.Position,POS)
  2211.         if HIT ~= nil then
  2212.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2213.                 Banish(HIT.Parent)
  2214.             end
  2215.         end
  2216.             local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2217.         SpawnTrail(Hole.Position,POS)
  2218.         if HIT ~= nil then
  2219.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2220.                 Banish(HIT.Parent)
  2221.             end
  2222.         end
  2223.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2224.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2225.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2226.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2227.     CreateSound("159882477", Head, 6, 1)
  2228.         for i=0, 0.5, 0.1 / Animation_Speed do
  2229.             Swait()
  2230.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2231.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2232.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2233.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2234.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2235.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2236.         end
  2237.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2238.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2239.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2240.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2241.     until KEYHOLD == false
  2242.     ATTACK = false
  2243.     Rooted = false
  2244. end
  2245.  
  2246. function Punch()
  2247.     ATTACK = true
  2248.     Rooted = false
  2249.     for i=0, 0.2, 0.1 / Animation_Speed do
  2250.         Swait()
  2251.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2252.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2253.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2254.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2255.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2256.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2257.     end
  2258.     VALUE1 = true
  2259.     if COMBO == 1 then
  2260.         COMBO = 2
  2261.         CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2262.         for i=0, 0.3, 0.1 / Animation_Speed do
  2263.             Swait()
  2264.             RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2265.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 2 / Animation_Speed)
  2266.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 2 / Animation_Speed)
  2267.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2268.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2269.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2270.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2271.         end
  2272.     elseif COMBO == 2 then
  2273.         COMBO = 1
  2274.         CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2275.         for i=0, 0.3, 0.1 / Animation_Speed do
  2276.             Swait()
  2277.             RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2278.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed)
  2279.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-80)), 2 / Animation_Speed)
  2280.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2281.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2282.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2283.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2284.         end
  2285.     end
  2286.     VALUE1 = false
  2287.     ATTACK = false
  2288.     Rooted = false
  2289. end
  2290.  
  2291. function AttackTemplate()
  2292.     ATTACK = true
  2293.     Rooted = false
  2294.     for i=0, 1, 0.1 / Animation_Speed do
  2295.         Swait()
  2296.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2297.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2298.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2299.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2300.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2301.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2302.     end
  2303.     ATTACK = false
  2304.     Rooted = false
  2305. end
  2306.  
  2307. function Nuke()
  2308.     ATTACK = true
  2309.     Rooted = true
  2310.     local CHARGE = false
  2311.     local BLASTS = {468991944, 468991990}
  2312.     coroutine.resume(coroutine.create(function()
  2313.         repeat
  2314.             Swait()
  2315.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2316.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  2317.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2318.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2319.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2320.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2321.         until CHARGE == true
  2322.         for i = 0, 0.4, 0.1 / Animation_Speed do
  2323.             Swait()
  2324.             WACKYEFFECT({
  2325.                 Time = 15,
  2326.                 EffectType = "Sphere",
  2327.                 Size = VT(60, 60, 60),
  2328.                 Size2 = VT(0, 0, 0),
  2329.                 Transparency = 1,
  2330.                 Transparency2 = 0.7,
  2331.                 CFrame = CF(RootPart.Position),
  2332.                 MoveToPos = nil,
  2333.                 RotationX = 0,
  2334.                 RotationY = 0,
  2335.                 RotationZ = 0,
  2336.                 Material = "Neon",
  2337.                 Color = C3(0, 0, 0),
  2338.                 SoundID = nil,
  2339.                 SoundPitch = nil,
  2340.                 SoundVolume = nil
  2341.             })
  2342.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  2343.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2344.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2345.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2346.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2347.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2348.         end
  2349.         coroutine.resume(coroutine.create(function()
  2350.             local POS = RootPart.Position
  2351.             wait(0.2)
  2352.             for i = 1, 5 do
  2353.                 WACKYEFFECT({
  2354.                     Time = 65,
  2355.                     EffectType = "Sphere",
  2356.                     Size = VT(2, 2, 2),
  2357.                     Size2 = VT(0, 0, 500),
  2358.                     Transparency = 1,
  2359.                     Transparency2 = 0,
  2360.                     CFrame = CF(POS),
  2361.                     MoveToPos = nil,
  2362.                     RotationX = MRANDOM(-2, 2),
  2363.                     RotationY = MRANDOM(-12, 12),
  2364.                     RotationZ = MRANDOM(-2, 2),
  2365.                     Material = "Neon",
  2366.                     Color = C3(1, 0, 0),
  2367.                     SoundID = nil,
  2368.                     SoundPitch = nil,
  2369.                     SoundVolume = nil
  2370.                 })
  2371.             end
  2372.             wait(1)
  2373.             SHAKECAM(POS, 9999999999, 25, 25)
  2374.             ApplyAoE(POS, 450, true)
  2375.             WACKYEFFECT({
  2376.                 Time = 85,
  2377.                 EffectType = "Sphere",
  2378.                 Size = VT(120, 120, 120),
  2379.                 Size2 = VT(350, 350, 350),
  2380.                 Transparency = 0,
  2381.                 Transparency2 = 1,
  2382.                 CFrame = CF(POS),
  2383.                 MoveToPos = nil,
  2384.                 RotationX = 0,
  2385.                 RotationY = 0,
  2386.                 RotationZ = 0,
  2387.                 Material = "Neon",
  2388.                 Color = C3(1, 1, 1),
  2389.                 SoundID = nil,
  2390.                 SoundPitch = 1,
  2391.                 SoundVolume = 10
  2392.             })
  2393.             for i = 1, 20 do
  2394.                 WACKYEFFECT({
  2395.                     Time = 85,
  2396.                     EffectType = "Sphere",
  2397.                     Size = VT(120, 120, 120),
  2398.                     Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2399.                     Transparency = 0.8,
  2400.                     Transparency2 = 1,
  2401.                     CFrame = CF(POS),
  2402.                     MoveToPos = nil,
  2403.                     RotationX = 0,
  2404.                     RotationY = 0,
  2405.                     RotationZ = 0,
  2406.                     Material = "Neon",
  2407.                     Color = C3(0, 1, 0),
  2408.                     SoundID = nil,
  2409.                     SoundPitch = 1,
  2410.                     SoundVolume = 10
  2411.                 })
  2412.                 WACKYEFFECT({
  2413.                     Time = 100,
  2414.                     EffectType = "Wave",
  2415.                     Size = VT(25, 2, 25),
  2416.                     Size2 = VT(400, 0, 400) * 1.2,
  2417.                     Transparency = 0,
  2418.                     Transparency2 = 1,
  2419.                     CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2420.                     MoveToPos = nil,
  2421.                     RotationX = 0,
  2422.                     RotationY = 0,
  2423.                     RotationZ = 0,
  2424.                     Material = "Neon",
  2425.                     Color = C3(0, 0, 0),
  2426.                     SoundID = nil,
  2427.                     SoundPitch = nil,
  2428.                     SoundVolume = nil
  2429.                 })
  2430.             end
  2431.             local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2432.             for i = 1, 5 do
  2433.                 CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2434.                 WACKYEFFECT({
  2435.                     Time = 120,
  2436.                     EffectType = "Wave",
  2437.                     Size = VT(150, 2, 150),
  2438.                     Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2439.                     Transparency = 0,
  2440.                     Transparency2 = 1,
  2441.                     CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2442.                     MoveToPos = nil,
  2443.                     RotationX = 0,
  2444.                     RotationY = 0,
  2445.                     RotationZ = 0,
  2446.                     Material = "Neon",
  2447.                     Color = C3(1, 0, 0),
  2448.                     SoundID = nil,
  2449.                     SoundPitch = nil,
  2450.                     SoundVolume = nil
  2451.                 })
  2452.             end
  2453.         end))
  2454.         for i = 0, 1, 0.1 / Animation_Speed do
  2455.             Swait()
  2456.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2457.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2458.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2459.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2460.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2461.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2462.         end
  2463.         ATTACK = false
  2464.         Rooted = false
  2465.     end))
  2466.     for i = 1, 30 do
  2467.         wait(0.01)
  2468.         local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2469.         local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2470.         if HITFLOOR then
  2471.             ApplyAoE(HITPOS, 65, true)
  2472.             local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2473.             WACKYEFFECT({
  2474.                 Time = 25,
  2475.                 EffectType = "Sphere",
  2476.                 Size = VT(22, 22, 22),
  2477.                 Size2 = VT(85, 85, 85),
  2478.                 Transparency = 0,
  2479.                 Transparency2 = 1,
  2480.                 CFrame = CF(HITPOS),
  2481.                 MoveToPos = nil,
  2482.                 RotationX = 0,
  2483.                 RotationY = 0,
  2484.                 RotationZ = 0,
  2485.                 Material = "Neon",
  2486.                 Color = C3(0, 0, 0),
  2487.                 SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2488.                 SoundPitch = MRANDOM(9, 12) / 10,
  2489.                 SoundVolume = 10
  2490.             })
  2491.             for e = 1, 3 do
  2492.                 WACKYEFFECT({
  2493.                     EffectType = "Wave",
  2494.                     Size = VT(25, 0, 25),
  2495.                     Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2496.                     Transparency = 0,
  2497.                     Transparency2 = 1,
  2498.                     CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2499.                     MoveToPos = nil,
  2500.                     RotationX = 0,
  2501.                     RotationY = 3,
  2502.                     RotationZ = 0,
  2503.                     Material = "Neon",
  2504.                     Color = C3(0, 1, 0),
  2505.                     SoundID = nil,
  2506.                     SoundPitch = nil,
  2507.                     SoundVolume = nil
  2508.                 })
  2509.                 WACKYEFFECT({
  2510.                     Time = 35,
  2511.                     EffectType = "Sphere",
  2512.                     Size = VT(22, 45, 22),
  2513.                     Size2 = VT(25, 45 + e * 75, 25),
  2514.                     Transparency = 0,
  2515.                     Transparency2 = 1,
  2516.                     CFrame = CF(HITPOS) * TURN,
  2517.                     MoveToPos = nil,
  2518.                     RotationX = 0,
  2519.                     RotationY = 0,
  2520.                     RotationZ = 0,
  2521.                     Material = "Neon",
  2522.                     Color = C3(1, 1, 1),
  2523.                     SoundID = nil,
  2524.                     SoundPitch = MRANDOM(9, 12) / 10,
  2525.                     SoundVolume = 10
  2526.                 })
  2527.             end
  2528.         end
  2529.     end
  2530.     CHARGE = true
  2531. end
  2532.  
  2533. function Taunt()
  2534.     CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  2535.     ATTACK = true
  2536.     Rooted = true
  2537.     for i=0, 0.3, 0.1 / Animation_Speed do
  2538.         Swait()
  2539.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2540.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2541.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2542.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-180)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2543.         if HITFLOOR then
  2544.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2545.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2546.         elseif HITFLOOR == nil then
  2547.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2548.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2549.         end
  2550.     end
  2551.     for i = 1, 8 do
  2552.         for i=0, 0.2, 0.1 / Animation_Speed do
  2553.             Swait()
  2554.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2555.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2556.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.15, 0) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2557.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-180)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
  2558.             if HITFLOOR then
  2559.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2560.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2561.             elseif HITFLOOR == nil then
  2562.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2563.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2564.             end
  2565.         end
  2566.         CreateSound(FireSound, Gun1, 5, 1, false)
  2567.         for i=0, 0.2, 0.1 / Animation_Speed do
  2568.             Swait()
  2569.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2570.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2571.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
  2572.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, 0) * ANGLES(RAD(0), RAD(0), RAD(-180)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2573.             if HITFLOOR then
  2574.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2575.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2576.             elseif HITFLOOR == nil then
  2577.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2578.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2579.             end
  2580.         end
  2581.         CreateSound(FireSound, Gun2, 5, 1, false)
  2582.     end
  2583.     ATTACK = false
  2584.     Rooted = false
  2585. end
  2586. --//=================================\\
  2587. --||      ASSIGN THINGS TO KEYS
  2588. --\\=================================//
  2589.  
  2590. function unanchor()
  2591.     if UNANCHOR == true then
  2592.         g = Character:GetChildren()
  2593.         for i = 1, #g do
  2594.             if g[i].ClassName == "Part" then
  2595.                 g[i].Anchored = false
  2596.             end
  2597.         end
  2598.     end
  2599. end
  2600.  
  2601.  
  2602. --//=================================\\
  2603. --||    WRAP THE WHOLE SCRIPT UP
  2604. --\\=================================//
  2605.  
  2606. Humanoid.Changed:connect(function(Jump)
  2607.     if Jump == "Jump" and (Disable_Jump == true) then
  2608.         Humanoid.Jump = false
  2609.     end
  2610. end)
  2611.  
  2612. local CONNECT = nil
  2613.  
  2614. while true do
  2615.     Swait()
  2616.     ANIMATE.Parent = nil
  2617.     if Character:FindFirstChildOfClass("Humanoid") == nil then
  2618.         Humanoid = IT("Humanoid",Character)
  2619.     end
  2620.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2621.         v:Stop();
  2622.     end
  2623.     SINE = SINE + CHANGE
  2624.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2625.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2626.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2627.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2628.     if ANIM == "Walk" and TORSOVELOCITY > 1 and NOWALK == false then
  2629.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2630.         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)
  2631.         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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2632.         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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2633.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or NOWALK == true then
  2634.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2635.         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)
  2636.         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)
  2637.         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)
  2638.     end
  2639.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2640.         ANIM = "Jump"
  2641.         if ATTACK == false then
  2642.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2643.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2644.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2645.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2646.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2647.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2648.         end
  2649.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2650.         ANIM = "Fall"
  2651.         if ATTACK == false then
  2652.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2653.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2654.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2655.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2656.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2657.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2658.         end
  2659.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2660.         ANIM = "Idle"
  2661.         if ATTACK == false then
  2662.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2663.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2664.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2665.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2666.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2667.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-76), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2668.         end
  2669.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2670.         ANIM = "Walk"
  2671.         if ATTACK == false then
  2672.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2673.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2674.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2675.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2676.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2677.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-115), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2678.         end
  2679.     end
  2680.     unanchor()
  2681.     Humanoid.MaxHealth = "999999999999999999999999999999999999999999"
  2682.     Humanoid.Health = "999999999999999999999999999999999999999999"
  2683.     if Rooted == false then
  2684.         Disable_Jump = false
  2685.         Humanoid.WalkSpeed = Speed
  2686.     elseif Rooted == true then
  2687.         Disable_Jump = true
  2688.         Humanoid.WalkSpeed = 0
  2689. end
  2690.  
  2691.     sick.Parent = Torso
  2692.     sick:resume()
  2693.     sick.Volume = 1
  2694.     sick.Pitch = 1
  2695.     sick.SoundId = "rbxassetid://733456981"
  2696.     sick.Name = "Un sen"
  2697. end
  2698. -- This script has been converted to FE by iPxter
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704. --//=================================\\
  2705. --\\=================================//
  2706.  
  2707.  
  2708. --//====================================================\\--
  2709. --||                     END OF SCRIPT
  2710. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement