Advertisement
memberhero

Grand Test

Jan 25th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script.Name = "Harute"
  2. data = script
  3. print("Loading.")
  4. wait(1)
  5. print("Loading..")
  6. wait(1)
  7. print("Loading...")
  8. wait(1)
  9. print("Loaded "..data.Name)
  10. wait(1)
  11. print("Loading Filter Bypass Script")
  12. do
  13.     local filteredMessages = { ['___'] = '___' };
  14.     local onPropertyChanged = function (obj)  
  15.         if (obj:isDescendantOf (workspace)) then  
  16.             local objText = obj.Text;
  17.            
  18.             if (objText ~= '___' and objText:find '(%S)') then
  19.                 if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  20.                     obj.Text = filteredMessages [objText];
  21.                 elseif (not filteredMessages [objText]) then
  22.                     obj.Text = '___';
  23.                    
  24.                     local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.basstracker1970);
  25.                    
  26.                     filteredMessages [objText] = filtered;
  27.                     filteredMessages [filtered] = filtered;
  28.                    
  29.                     obj.Text = filtered;
  30.                 end;
  31.             end;
  32.         end;
  33.     end;
  34.    
  35.     local newInstance = Instance.new;
  36.     Instance = {
  37.         new = function (class, parent)
  38.             local obj = newInstance (class, parent);
  39.            
  40.             if (pcall (function()return obj.Text;end)) then
  41.                 obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
  42.                 obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
  43.             end;
  44.            
  45.             return obj;
  46.         end;
  47.     };
  48.  
  49.     local filteredMessages = { ['___'] = '___' };
  50.     local onPropertyChanged = function (obj)  
  51.         if (obj:isDescendantOf (workspace)) then  
  52.             local objText = obj.Text;
  53.            
  54.             if (objText ~= '___' and objText:find '(%S)') then
  55.                 if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  56.                     obj.Text = filteredMessages [objText];
  57.                 elseif (not filteredMessages [objText]) then
  58.                     obj.Text = '___';
  59.                    
  60.                     local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.basstracker1970);
  61.                    
  62.                     filteredMessages [objText] = filtered;
  63.                     filteredMessages [filtered] = filtered;
  64.                    
  65.                     obj.Text = filtered;
  66.                 end;
  67.             end;
  68.         end;
  69.     end;
  70.    
  71.     local newInstance = Instance.new;
  72.     Instance = {
  73.         new = function (class, parent)
  74.             local obj = newInstance (class, parent);
  75.            
  76.             if (pcall (function()return obj.Text;end)) then
  77.                 obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
  78.                 obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
  79.             end;
  80.            
  81.             return obj;
  82.         end;
  83.     };
  84. end;
  85. wait(0.2)
  86.    
  87. --//====================================================\\--
  88. --||            GUNJOURER BY SHACKLUSTER
  89. --\\====================================================//--
  90.  
  91.  
  92. Player = owner
  93. PlayerGui = Player.PlayerGui
  94. Cam = workspace.CurrentCamera
  95. Backpack = Player.Backpack
  96. Character = Player.Character
  97. Humanoid = Character.Humanoid
  98. Mouse = Player:GetMouse()
  99. RootPart = Character["HumanoidRootPart"]
  100. Torso = Character["Torso"]
  101. Head = Character["Head"]
  102. RightArm = Character["Right Arm"]
  103. LeftArm = Character["Left Arm"]
  104. RightLeg = Character["Right Leg"]
  105. LeftLeg = Character["Left Leg"]
  106. RootJoint = RootPart["RootJoint"]
  107. Neck = Torso["Neck"]
  108. RightShoulder = Torso["Right Shoulder"]
  109. LeftShoulder = Torso["Left Shoulder"]
  110. RightHip = Torso["Right Hip"]
  111. LeftHip = Torso["Left Hip"]
  112.  
  113. IT = Instance.new
  114. CF = CFrame.new
  115. VT = Vector3.new
  116. RAD = math.rad
  117. C3 = Color3.new
  118. UD2 = UDim2.new
  119. BRICKC = BrickColor.new
  120. ANGLES = CFrame.Angles
  121. EULER = CFrame.fromEulerAnglesXYZ
  122. COS = math.cos
  123. ACOS = math.acos
  124. SIN = math.sin
  125. ASIN = math.asin
  126. ABS = math.abs
  127. MRANDOM = math.random
  128. FLOOR = math.floor
  129.  
  130. --//=================================\\
  131. --||          USEFUL VALUES
  132. --\\=================================//
  133.  
  134. Animation_Speed = 3
  135. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  136. local Speed = 10.75
  137. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  138. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  139. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  140. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  141. local DAMAGEMULTIPLIER = 1
  142. local ANIM = "Idle"
  143. local ATTACK = false
  144. local EQUIPPED = false
  145. local HOLD = false
  146. local COMBO = 1
  147. local Rooted = false
  148. local SINE = 0
  149. local KEYHOLD = false
  150. local CHANGE = 2 / Animation_Speed
  151. local WALKINGANIM = false
  152. local VALUE1 = false
  153. local VALUE2 = false
  154. local ROBLOXIDLEANIMATION = IT("Animation")
  155. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  156. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  157. --ROBLOXIDLEANIMATION.Parent = Humanoid
  158. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  159. WEAPONGUI.Name = "GUNJOURER_GUI_SHACKLUSTER"
  160. local Effects = IT("Folder", Character)
  161. Effects.Name = "Effects"
  162. local ANIMATOR = Humanoid.Animator
  163. local ANIMATE = Character.Animate
  164. local UNANCHOR = true
  165. local STOCKING = false
  166.  
  167. local MADNESS = false
  168.  
  169. --//=================================\\
  170. --\\=================================//
  171.  
  172.  
  173. --//=================================\\
  174. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  175. --\\=================================//
  176.  
  177. ArtificialHB = Instance.new("BindableEvent", script)
  178. ArtificialHB.Name = "ArtificialHB"
  179.  
  180. script:WaitForChild("ArtificialHB")
  181.  
  182. frame = Frame_Speed
  183. tf = 0
  184. allowframeloss = false
  185. tossremainder = false
  186. lastframe = tick()
  187. script.ArtificialHB:Fire()
  188.  
  189. game:GetService("RunService").Heartbeat:connect(function(s, p)
  190.     tf = tf + s
  191.     if tf >= frame then
  192.         if allowframeloss then
  193.             ArtificialHB:Fire()
  194.             lastframe = tick()
  195.         else
  196.             for i = 1, math.floor(tf / frame) do
  197.                 ArtificialHB:Fire()
  198.             end
  199.             lastframe = tick()
  200.         end
  201.         if tossremainder then
  202.             tf = 0
  203.         else
  204.             tf = tf - frame * math.floor(tf / frame)
  205.         end
  206.     end
  207. end)
  208.  
  209. --//=================================\\
  210. --\\=================================//
  211.  
  212. --//=================================\\
  213. --||          SOME FUNCTIONS
  214. --\\=================================//
  215.  
  216. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  217.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  218. end
  219.  
  220. function PositiveAngle(NUMBER)
  221.     if NUMBER >= 0 then
  222.         NUMBER = 0
  223.     end
  224.     return NUMBER
  225. end
  226.  
  227. function NegativeAngle(NUMBER)
  228.     if NUMBER <= 0 then
  229.         NUMBER = 0
  230.     end
  231.     return NUMBER
  232. end
  233.  
  234. function Swait(NUMBER)
  235.     if NUMBER == 0 or NUMBER == nil then
  236.         ArtificialHB.Event:wait()
  237.     else
  238.         for i = 1, NUMBER do
  239.             ArtificialHB.Event:wait()
  240.         end
  241.     end
  242. end
  243.  
  244. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  245.     local NEWMESH = IT(MESH)
  246.     if MESH == "SpecialMesh" then
  247.         NEWMESH.MeshType = MESHTYPE
  248.         if MESHID ~= "nil" and MESHID ~= "" then
  249.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  250.         end
  251.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  252.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  253.         end
  254.     end
  255.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  256.     NEWMESH.Scale = SCALE
  257.     NEWMESH.Parent = PARENT
  258.     return NEWMESH
  259. end
  260.  
  261. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  262.     local NEWPART = IT("Part")
  263.     NEWPART.formFactor = FORMFACTOR
  264.     NEWPART.Reflectance = REFLECTANCE
  265.     NEWPART.Transparency = TRANSPARENCY
  266.     NEWPART.CanCollide = false
  267.     NEWPART.Locked = true
  268.     NEWPART.Anchored = true
  269.     if ANCHOR == false then
  270.         NEWPART.Anchored = false
  271.     end
  272.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  273.     NEWPART.Name = NAME
  274.     NEWPART.Size = SIZE
  275.     NEWPART.Position = Torso.Position
  276.     NEWPART.Material = MATERIAL
  277.     NEWPART:BreakJoints()
  278.     NEWPART.Parent = PARENT
  279.     return NEWPART
  280. end
  281.  
  282.     local function weldBetween(a, b)
  283.         local weldd = Instance.new("ManualWeld")
  284.         weldd.Part0 = a
  285.         weldd.Part1 = b
  286.         weldd.C0 = CFrame.new()
  287.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  288.         weldd.Parent = a
  289.         return weldd
  290.     end
  291.  
  292.  
  293. function QuaternionFromCFrame(cf)
  294.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  295.     local trace = m00 + m11 + m22
  296.     if trace > 0 then
  297.         local s = math.sqrt(1 + trace)
  298.         local recip = 0.5 / s
  299.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  300.     else
  301.         local i = 0
  302.         if m11 > m00 then
  303.             i = 1
  304.         end
  305.         if m22 > (i == 0 and m00 or m11) then
  306.             i = 2
  307.         end
  308.         if i == 0 then
  309.             local s = math.sqrt(m00 - m11 - m22 + 1)
  310.             local recip = 0.5 / s
  311.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  312.         elseif i == 1 then
  313.             local s = math.sqrt(m11 - m22 - m00 + 1)
  314.             local recip = 0.5 / s
  315.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  316.         elseif i == 2 then
  317.             local s = math.sqrt(m22 - m00 - m11 + 1)
  318.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  319.         end
  320.     end
  321. end
  322.  
  323. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  324.     local xs, ys, zs = x + x, y + y, z + z
  325.     local wx, wy, wz = w * xs, w * ys, w * zs
  326.     local xx = x * xs
  327.     local xy = x * ys
  328.     local xz = x * zs
  329.     local yy = y * ys
  330.     local yz = y * zs
  331.     local zz = z * zs
  332.     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))
  333. end
  334.  
  335. function QuaternionSlerp(a, b, t)
  336.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  337.     local startInterp, finishInterp;
  338.     if cosTheta >= 0.0001 then
  339.         if (1 - cosTheta) > 0.0001 then
  340.             local theta = ACOS(cosTheta)
  341.             local invSinTheta = 1 / SIN(theta)
  342.             startInterp = SIN((1 - t) * theta) * invSinTheta
  343.             finishInterp = SIN(t * theta) * invSinTheta
  344.         else
  345.             startInterp = 1 - t
  346.             finishInterp = t
  347.         end
  348.     else
  349.         if (1 + cosTheta) > 0.0001 then
  350.             local theta = ACOS(-cosTheta)
  351.             local invSinTheta = 1 / SIN(theta)
  352.             startInterp = SIN((t - 1) * theta) * invSinTheta
  353.             finishInterp = SIN(t * theta) * invSinTheta
  354.         else
  355.             startInterp = t - 1
  356.             finishInterp = t
  357.         end
  358.     end
  359.     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
  360. end
  361.  
  362. function Clerp(a, b, t)
  363.     local qa = {QuaternionFromCFrame(a)}
  364.     local qb = {QuaternionFromCFrame(b)}
  365.     local ax, ay, az = a.x, a.y, a.z
  366.     local bx, by, bz = b.x, b.y, b.z
  367.     local _t = 1 - t
  368.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  369. end
  370.  
  371. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  372.     local frame = IT("Frame")
  373.     frame.BackgroundTransparency = TRANSPARENCY
  374.     frame.BorderSizePixel = BORDERSIZEPIXEL
  375.     frame.Position = POSITION
  376.     frame.Size = SIZE
  377.     frame.BackgroundColor3 = COLOR
  378.     frame.BorderColor3 = BORDERCOLOR
  379.     frame.Name = NAME
  380.     frame.Parent = PARENT
  381.     return frame
  382. end
  383.  
  384. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  385.     local label = IT("TextLabel")
  386.     label.BackgroundTransparency = 1
  387.     label.Size = UD2(1, 0, 1, 0)
  388.     label.Position = UD2(0, 0, 0, 0)
  389.     label.TextColor3 = TEXTCOLOR
  390.     label.TextStrokeTransparency = STROKETRANSPARENCY
  391.     label.TextTransparency = TRANSPARENCY
  392.     label.FontSize = TEXTFONTSIZE
  393.     label.Font = TEXTFONT
  394.     label.BorderSizePixel = BORDERSIZEPIXEL
  395.     label.TextScaled = false
  396.     label.Text = TEXT
  397.     label.Name = NAME
  398.     label.Parent = PARENT
  399.     return label
  400. end
  401.  
  402. function NoOutlines(PART)
  403.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  404. end
  405.  
  406. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  407.     local NEWWELD = IT(TYPE)
  408.     NEWWELD.Part0 = PART0
  409.     NEWWELD.Part1 = PART1
  410.     NEWWELD.C0 = C0
  411.     NEWWELD.C1 = C1
  412.     NEWWELD.Parent = PARENT
  413.     return NEWWELD
  414. end
  415.  
  416. local S = IT("Sound")
  417. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  418.     local NEWSOUND = nil
  419.     coroutine.resume(coroutine.create(function()
  420.         NEWSOUND = S:Clone()
  421.         NEWSOUND.Parent = PARENT
  422.         NEWSOUND.Volume = VOLUME
  423.         NEWSOUND.Pitch = PITCH
  424.         NEWSOUND.SoundId = "rbxassetid://"..ID
  425.         NEWSOUND:play()
  426.         if DOESLOOP == true then
  427.             NEWSOUND.Looped = true
  428.         else
  429.             repeat wait(1) until NEWSOUND.Playing == false
  430.             NEWSOUND:remove()
  431.         end
  432.     end))
  433.     return NEWSOUND
  434. end
  435.  
  436. function CFrameFromTopBack(at, top, back)
  437.     local right = top:Cross(back)
  438.     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)
  439. end
  440.  
  441. --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, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  442. function WACKYEFFECT(Table)
  443.     local TYPE = (Table.EffectType or "Sphere")
  444.     local SIZE = (Table.Size or VT(1,1,1))
  445.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  446.     local TRANSPARENCY = (Table.Transparency or 0)
  447.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  448.     local CFRAME = (Table.CFrame or Torso.CFrame)
  449.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  450.     local ROTATION1 = (Table.RotationX or 0)
  451.     local ROTATION2 = (Table.RotationY or 0)
  452.     local ROTATION3 = (Table.RotationZ or 0)
  453.     local MATERIAL = (Table.Material or "Neon")
  454.     local COLOR = (Table.Color or C3(1,1,1))
  455.     local TIME = (Table.Time or 45)
  456.     local SOUNDID = (Table.SoundID or nil)
  457.     local SOUNDPITCH = (Table.SoundPitch or nil)
  458.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  459.     local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  460.     local BOOMERANG = (Table.Boomerang or 0)
  461.     local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  462.     coroutine.resume(coroutine.create(function()
  463.         local PLAYSSOUND = false
  464.         local SOUND = nil
  465.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  466.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  467.             PLAYSSOUND = true
  468.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  469.         end
  470.         EFFECT.Color = COLOR
  471.         local MSH = nil
  472.         if TYPE == "Sphere" then
  473.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  474.         elseif TYPE == "Block" or TYPE == "Box" then
  475.             MSH = IT("BlockMesh",EFFECT)
  476.             MSH.Scale = SIZE
  477.         elseif TYPE == "Wave" then
  478.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  479.         elseif TYPE == "Ring" then
  480.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  481.         elseif TYPE == "Slash" then
  482.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  483.         elseif TYPE == "Round Slash" then
  484.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  485.         elseif TYPE == "Swirl" then
  486.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  487.         elseif TYPE == "Skull" then
  488.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  489.         elseif TYPE == "Crystal" then
  490.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  491.         end
  492.         if MSH ~= nil then
  493.             local BOOMR1 = 1+BOOMERANG/50
  494.             local BOOMR2 = 1+SIZEBOOMERANG/50
  495.             local MOVESPEED = nil
  496.             if MOVEDIRECTION ~= nil then
  497.                 if USEBOOMERANGMATH == true then
  498.                     MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  499.                 else
  500.                     MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  501.                 end
  502.             end
  503.             local GROWTH = nil
  504.             if USEBOOMERANGMATH == true then
  505.                 GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  506.             else
  507.                 GROWTH = (SIZE - ENDSIZE)
  508.             end
  509.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  510.             if TYPE == "Block" then
  511.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  512.             else
  513.                 EFFECT.CFrame = CFRAME
  514.             end
  515.             if USEBOOMERANGMATH == true then
  516.                 for LOOP = 1, TIME+1 do
  517.                     Swait()
  518.                     MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  519.                     if TYPE == "Wave" then
  520.                         MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  521.                     end
  522.                     EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  523.                     if TYPE == "Block" then
  524.                         EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  525.                     else
  526.                         EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  527.                     end
  528.                     if MOVEDIRECTION ~= nil then
  529.                         local ORI = EFFECT.Orientation
  530.                         EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  531.                         EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  532.                     end
  533.                 end
  534.             else
  535.                 for LOOP = 1, TIME+1 do
  536.                     Swait()
  537.                     MSH.Scale = MSH.Scale - GROWTH/TIME
  538.                     if TYPE == "Wave" then
  539.                         MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  540.                     end
  541.                     EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  542.                     if TYPE == "Block" then
  543.                         EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  544.                     else
  545.                         EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  546.                     end
  547.                     if MOVEDIRECTION ~= nil then
  548.                         local ORI = EFFECT.Orientation
  549.                         EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  550.                         EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  551.                     end
  552.                 end
  553.             end
  554.             EFFECT.Transparency = 1
  555.             if PLAYSSOUND == false then
  556.                 EFFECT:remove()
  557.             else
  558.                 repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  559.                 EFFECT:remove()
  560.             end
  561.         else
  562.             if PLAYSSOUND == false then
  563.                 EFFECT:remove()
  564.             else
  565.                 repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  566.                 EFFECT:remove()
  567.             end
  568.         end
  569.     end))
  570. end
  571.  
  572. function MakeForm(PART,TYPE)
  573.     if TYPE == "Cyl" then
  574.         local MSH = IT("CylinderMesh",PART)
  575.     elseif TYPE == "Ball" then
  576.         local MSH = IT("SpecialMesh",PART)
  577.         MSH.MeshType = "Sphere"
  578.     elseif TYPE == "Wedge" then
  579.         local MSH = IT("SpecialMesh",PART)
  580.         MSH.MeshType = "Wedge"
  581.     end
  582. end
  583.  
  584. Debris = game:GetService("Debris")
  585.  
  586. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  587.     local DIRECTION = CF(StartPos,EndPos).lookVector
  588.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  589. end
  590.  
  591. function OhnoItsAShotgun()
  592.     local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
  593.     CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "3835506", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
  594.     return SHOOTgun
  595. end
  596.  
  597. function CamShake(SHAKE,TIMER)
  598.     coroutine.resume(coroutine.create(function()
  599.         local FADER = SHAKE/TIMER
  600.         for i = 1, TIMER do
  601.             wait()
  602.             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)
  603.         end
  604.         Humanoid.CameraOffset = VT(0,0,0)
  605.     end))
  606. end
  607.  
  608. --//=================================\\
  609. --||        GUIS AND MISC
  610. --\\=================================//
  611. function createBGCircle(size,parent,color)
  612. local bgui = Instance.new("BillboardGui",parent)
  613. bgui.Size = UDim2.new(size, 0, size, 0)
  614. local imgc = Instance.new("ImageLabel",bgui)
  615. imgc.BackgroundTransparency = 1
  616. imgc.ImageTransparency = 0
  617. imgc.Size = UDim2.new(1,0,1,0)
  618. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  619. imgc.ImageColor3 = color
  620. return bgui,imgc
  621. end
  622.  
  623. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  624. local bgui,imgc = createBGCircle(size,guipar,color)
  625. bgui.AlwaysOnTop = true
  626. imgc.Image = "rbxassetid://" ..img
  627. local rrot = math.random(1,2)
  628. CreateSound(soundid, spar, vol, pit,false)
  629. coroutine.resume(coroutine.create(function()
  630. for i = 0, 24*delay do
  631. Swait()
  632. if rotationenabled == true then
  633. if rrot == 1 then
  634. imgc.Rotation = imgc.Rotation + rotsp
  635. elseif rrot == 2 then
  636. imgc.Rotation = imgc.Rotation - rotsp
  637. end
  638. end
  639. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  640. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  641. end
  642. bgui:Destroy()
  643. end))
  644. end
  645.  
  646. local SKILLTEXTCOLOR = BRICKC"Daisy orange".Color
  647. local SKILLFONT = "Arcade"
  648. local SKILLTEXTSIZE = 1.5
  649.  
  650. local ATTACKS = {"Conjour - C","Aerial AirBlast - V","Suicide Blank - B","GunStock - F","Regain - R"}
  651.  
  652.  
  653. for i = 1, #ATTACKS do
  654.     local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  655.     local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  656.     SKILLTEXT.TextXAlignment = "Right"
  657.     SKILLTEXT.Rotation = i*3
  658. end
  659.  
  660.  
  661.     local SKILLFRAME2 = CreateFrame(WEAPONGUI, 1, 2, UD2(0.6375, 0, 0.97-0.0375, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame2")
  662.     local SKILLTEXT2 = CreateLabel(SKILLFRAME2, "[".."GunMadness - G".."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text2")
  663.     SKILLTEXT2.TextXAlignment = "Right"
  664.  
  665. local BMUSIC = IT("Sound",RootPart)
  666. local VOLUME = 3
  667. local PITCH = 1
  668. local SONGID = 554435540
  669.  
  670. local HEALTHBAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(1-0.20, 0, 0.75, 0), UD2(0.20, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Health Bar")
  671. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Cool yellow".Color, C3(0, 0, 0),"Health Cover")
  672. local HEALTHTEXT = CreateLabel(HEALTHBAR, "Stamina/Health"..Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
  673. Character.Health:remove()
  674. HEALTHBAR.Rotation = (#ATTACKS*3)+3
  675. local WHOAMI = CreateFrame(WEAPONGUI, 1, 1, UD2(1-0.26, 0, 0.69, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Ban")
  676. WHOAMI.Rotation = (#ATTACKS*3)+3
  677. CreateLabel(WHOAMI, "Grand - Gunjourer", SKILLTEXTCOLOR, SKILLTEXTSIZE+4, SKILLFONT, 0, 2, 0, "Yes")
  678.  
  679. Humanoid.MaxHealth = 2000
  680. Humanoid.Health = 2000
  681.  
  682. Humanoid.Died:Connect(function()
  683.     RootPart:remove()
  684.     CreateSound(160718677, Head, 4, 1, false)
  685.     BMUSIC:remove()
  686.     Effects:remove()
  687.     WEAPONGUI:remove()
  688. end)
  689. local GRUNTS = {1146556975,1146556706,1278006076}
  690.  
  691. --//=================================\\
  692. --||            DAMAGING
  693. --\\=================================//
  694.  
  695. function ApplyDamage(Humanoid,Damage)
  696.     Damage = Damage * DAMAGEMULTIPLIER
  697.     if Humanoid.Health < 2000 then
  698.         if Humanoid.Health - Damage > 0 then
  699.             Humanoid.Health = Humanoid.Health - Damage
  700.         else
  701.             Humanoid.Parent:BreakJoints()
  702.         end
  703.     else
  704.         Humanoid.Parent:BreakJoints()
  705.     end
  706. end
  707.  
  708. function PAW_HAHA(LOC,AIMTO,OUCH)
  709.     WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.4,1.4,1.4), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 138083993, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
  710.     for i = 1, 4 do
  711.         local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  712.         local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(5,75)/10).p
  713.         local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  714.         local DISTANCE = (POS - LOC).Magnitude
  715.         if HIT then
  716.             local HUM = nil
  717.             if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  718.                 HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  719.             elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  720.                 HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  721.             end
  722.             if HUM then
  723.                 ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
  724.             end
  725.         end
  726.         WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  727.         WACKYEFFECT({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  728.     end
  729. end
  730.  
  731. --//=================================\\
  732. --||    ATTACK FUNCTIONS AND STUFF
  733. --\\=================================//
  734.  
  735. function Conjour()
  736.     local SHOOT = OhnoItsAShotgun()
  737.     local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  738.     local ORI = 90
  739.     SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
  740.     local GOODRIDDANCE = false
  741.     CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  742.     coroutine.resume(coroutine.create(function()
  743.         repeat
  744.             SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
  745.             Swait()
  746.         until GOODRIDDANCE == true
  747.         SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  748.         SHOOT.CanCollide = true
  749.         SHOOT.Anchored = false
  750.         SHOOT.Parent = workspace
  751.         local bv = Instance.new("BodyVelocity",SHOOT)
  752.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  753.         bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  754.         Debris:AddItem(bv,0.1)
  755.         wait(5)
  756.         for i = 1, 45 do
  757.             Swait()
  758.             SHOOT.Transparency = SHOOT.Transparency + 1/45
  759.         end
  760.         SHOOT:remove()
  761.     end))
  762.     for i = 1, 15 do
  763.         Swait()
  764.         SHOOT.Transparency = SHOOT.Transparency - 1/15
  765.         ORI = ORI - 3
  766.     end
  767.     for i = 1, 15 do
  768.         Swait()
  769.         ORI = ORI - 3
  770.     end
  771.     wait(MRANDOM(2,8)/10)
  772.     PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
  773.     CamShake(4,4)
  774.     GOODRIDDANCE = true
  775. end
  776.  
  777. function Conjour2()
  778.     local SHOOT = OhnoItsAShotgun()
  779.     local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(MRANDOM(-65,65),MRANDOM(20,65),MRANDOM(-65,65))
  780.     local ORI = 90
  781.     SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
  782.     local GOODRIDDANCE = false
  783.     CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  784.     coroutine.resume(coroutine.create(function()
  785.         repeat
  786.             SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
  787.             Swait()
  788.         until GOODRIDDANCE == true
  789.         SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  790.         SHOOT.CanCollide = true
  791.         SHOOT.Anchored = false
  792.         SHOOT.Parent = workspace
  793.         local bv = Instance.new("BodyVelocity",SHOOT)
  794.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  795.         bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  796.         Debris:AddItem(bv,0.1)
  797.         wait(5)
  798.         for i = 1, 45 do
  799.             Swait()
  800.             SHOOT.Transparency = SHOOT.Transparency + 1/45
  801.         end
  802.         SHOOT:remove()
  803.     end))
  804.     for i = 1, 15 do
  805.         Swait()
  806.         SHOOT.Transparency = SHOOT.Transparency - 1/15
  807.         ORI = ORI - 3
  808.     end
  809.     for i = 1, 15 do
  810.         Swait()
  811.         ORI = ORI - 3
  812.     end
  813.     wait(MRANDOM(2,8)/10)
  814.     PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
  815.     CamShake(4,4)
  816.     GOODRIDDANCE = true
  817. end
  818.  
  819. function GunMadness()
  820. ATTACK = true
  821. Rooted = true
  822. CreateSound(1278010413, Torso, 9, 1.1, false)
  823. coroutine.resume(coroutine.create(function()
  824.     MADNESS = true
  825.     wait(0.9)
  826.         for i = 1, 163 do
  827.             Swait(2.5)
  828.             coroutine.resume(coroutine.create(function()
  829.                 Conjour2()
  830.             end))
  831.         end
  832.         MADNESS = false
  833. end))
  834.         for i=0, 1.85, 0.1 / Animation_Speed do
  835.             Swait()
  836.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
  837.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 5 * SIN(SINE / 3)), RAD(0), RAD(0)), 1 / Animation_Speed)
  838.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  839.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  840.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  841.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  842.         end
  843.         for i=0, 0.15, 0.1 / Animation_Speed do
  844.             Swait()
  845.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
  846.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  847.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  848.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  849.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  850.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  851.         end
  852. symbolizeBlink(RootPart,0,2109052855,BrickColor.new("Daisy orange").Color,25,0,0,0,RootPart,false,0,1)
  853.  
  854.         Humanoid.Health = Humanoid.Health - 675
  855.         WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.25,0.55,0.25), Size2 = VT(0.175,4,0.175), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.175, 0.2, -0.65), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
  856.         WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.25,0.25), Size2 = VT(4,0.175,0.175), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.175, 0.2, -0.65), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  857.         for i=0, 1, 0.1 / Animation_Speed do
  858.             Swait()
  859.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
  860.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  861.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  862.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  863.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  864.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  865.         end
  866. ATTACK = false
  867. Rooted = false
  868. end
  869.  
  870. function Aerial_AirBlast()
  871.     local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  872.     if HITFLOOR then
  873.         ATTACK = true
  874.         Rooted = true
  875.         local bv = Instance.new("BodyVelocity")
  876.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  877.         bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,-2).p).lookVector*175
  878.         bv.Parent = RootPart
  879.         local GYRO = IT("BodyGyro",RootPart)
  880.         GYRO.D = 2
  881.         GYRO.P = 20000
  882.         GYRO.MaxTorque = VT(0,4000000,0)
  883.         GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  884.         CreateSound(145486992,Torso,10,0.85,false)
  885.         Humanoid.Health = Humanoid.Health - 225
  886.         for i=0, 0.05, 0.1 / Animation_Speed do
  887.             Swait()
  888.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  889.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  890.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  891.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  892.             if ANIM == "Fall" or ANIM == "Jump" then
  893.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  894.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  895.             else
  896.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  897.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  898.             end
  899.         end
  900.         bv:Remove()
  901.         local E = 360/15
  902.         for i = 1, 15 do
  903.             Swait()
  904.             WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  905.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  906.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  907.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  908.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  909.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  910.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  911.         end
  912.         WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(17/255,17/255,17/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  913.         for i = 1, 45 do
  914.             coroutine.resume(coroutine.create(function()
  915.                 Conjour2()
  916.             end))
  917.         end
  918.         local LANDED = nil
  919.         local POS = nil
  920.         coroutine.resume(coroutine.create(function()
  921.             repeat
  922.                 Swait()
  923.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  924.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  925.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  926.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  927.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  928.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  929.             until LANDED ~= nil
  930.         end))
  931.         repeat
  932.             Swait()
  933.             local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  934.             if HITFLOOR then
  935.                 LANDED = HITFLOOR
  936.                 POS = HITPOS
  937.             end
  938.         until LANDED ~= nil
  939.         GYRO:remove()
  940.         CamShake(6,3)
  941.         CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  942.         ATTACK = false
  943.         Rooted = false
  944.     end
  945. end
  946. function Suicide_Blank()
  947.     ATTACK = true
  948.     Rooted = true
  949.     local HIT = nil
  950.     local HUMAN = nil
  951.     local ROOT = nil
  952.     CreateSound(145486992,Torso,10,0.85,false)
  953.     for i=0, 0.5, 0.1 / Animation_Speed do
  954.         Swait()
  955.         if HIT ~= nil then
  956.             break
  957.         end
  958.         for index, CHILD in pairs(workspace:GetDescendants()) do
  959.             if CHILD.ClassName == "Model" and CHILD ~= Character then
  960.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  961.                 if HUM then
  962.                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  963.                     if TORSO and HUM.Health > 0 then
  964.                         if (TORSO.Position - RootPart.CFrame*CF(0,0,-2).p).Magnitude <= 2 then
  965.                             ROOT = TORSO
  966.                             HUMAN = HUM
  967.                             HIT = CHILD
  968.                         end
  969.                     end
  970.                 end
  971.             end
  972.         end
  973.         RootPart.CFrame = Clerp(RootPart.CFrame, RootPart.CFrame, 0.07) * CF(0,0,-1)
  974.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  975.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  976.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  977.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(135), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  978.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  979.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-5), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  980.     end
  981.     if HIT then
  982.         local bv = Instance.new("BodyVelocity")
  983.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  984.         bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,2).p).lookVector*75
  985.         bv.Parent = RootPart
  986.         Debris:AddItem(bv,0.1)
  987.         Humanoid.Health = Humanoid.Health - HUMAN.Health/2
  988.         coroutine.resume(coroutine.create(function()
  989.             local GUNS = {}
  990.             for i = 1, math.random(2,5) + HUMAN.Health/math.random(35,50) do
  991.                 local SHOOT = OhnoItsAShotgun()
  992.                 local CFRAME = CF(ROOT.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  993.                 SHOOT.CFrame = CF(CFRAME.p,ROOT.Position)
  994.                 CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  995.                 table.insert(GUNS,SHOOT)
  996.             end
  997.             for i = 1, 12.5 do
  998.                 Swait()
  999.                 for E = 1, #GUNS do
  1000.                     GUNS[E].Transparency = GUNS[E].Transparency - 1/12.5
  1001.                 end
  1002.             end
  1003.             wait(0.7)
  1004.             CamShake(8,15)
  1005.             for E = 1, #GUNS do
  1006.                 local SHOOT = GUNS[E]
  1007.                 coroutine.resume(coroutine.create(function()
  1008.                     PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,SHOOT.CFrame*CF(0,0,-15).p,17)
  1009.                     SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  1010.                     SHOOT.CanCollide = true
  1011.                     SHOOT.Anchored = false
  1012.                     SHOOT.Parent = workspace
  1013.                     local bv = Instance.new("BodyVelocity",SHOOT)
  1014.                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1015.                     bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  1016.                     Debris:AddItem(bv,0.1)
  1017.                     wait(3)
  1018.                     for i = 1, 45 do
  1019.                         Swait()
  1020.                         SHOOT.Transparency = SHOOT.Transparency + 1/45
  1021.                     end
  1022.                 end))
  1023.                 wait()
  1024.             end
  1025.         end))
  1026.         CreateSound(GRUNTS[MRANDOM(1,#GRUNTS)], Torso, 6, 1.075, false)
  1027.         for i=0, 1, 0.1 / Animation_Speed do
  1028.             Swait()
  1029.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1030.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1031.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1032.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1033.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1034.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1035.         end
  1036.     end
  1037.     ATTACK = false
  1038.     Rooted = false
  1039. end
  1040. function GunStock()
  1041.     ATTACK = true
  1042.     Rooted = true
  1043.     STOCKING = true
  1044.     coroutine.resume(coroutine.create(function()
  1045.         repeat
  1046.             Swait()
  1047.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1048.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1049.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1050.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1051.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1052.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1053.         until ATTACK == false
  1054.     end))
  1055.     coroutine.resume(coroutine.create(function()
  1056.     for i = 0, 30 do
  1057.     local SHOOT = OhnoItsAShotgun()
  1058.     local CFRAME = CF(MRANDOM(-2,2),0 + MRANDOM(-2,2),3 + MRANDOM(-1,1.5)) * ANGLES(RAD(MRANDOM(20,35)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)))
  1059.     SHOOT.CFrame = Torso.CFrame*CFRAME
  1060.     coroutine.resume(coroutine.create(function()
  1061.         repeat
  1062.             SHOOT.CFrame = Clerp(SHOOT.CFrame,Torso.CFrame*CFRAME,0.1)
  1063.             Swait()
  1064.         until HOLD == true
  1065.         local LOC = SHOOT.CFrame*CF(MRANDOM(-7.5,7.5),MRANDOM(5,7.5),MRANDOM(-7.5,7.5)).p
  1066.         for i = 1, 15 do
  1067.             Swait()
  1068.             SHOOT.Transparency = SHOOT.Transparency - 1/15
  1069.             SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
  1070.         end
  1071.         SHOOT.Transparency = 0
  1072.         for i = 1, 2 do
  1073.             Swait()
  1074.             SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
  1075.         end
  1076.         PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
  1077.         CamShake(8,9)
  1078.         SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  1079.         SHOOT.CanCollide = false
  1080.         SHOOT.Anchored = false
  1081.         SHOOT.Parent = workspace
  1082.         local bv = Instance.new("BodyVelocity",SHOOT)
  1083.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1084.         bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  1085.         Debris:AddItem(bv,0.1)
  1086.         wait(2.5)
  1087.         STOCKING = false
  1088.         wait(3.5)
  1089.         for i = 1, 45 do
  1090.             Swait()
  1091.             SHOOT.Transparency = SHOOT.Transparency + 1/45
  1092.         end
  1093.     end))
  1094.     CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
  1095.     coroutine.resume(coroutine.create(function()
  1096.     for i = 1, 15 do
  1097.         Swait()
  1098.         SHOOT.Transparency = SHOOT.Transparency - 0.125/150
  1099.     end
  1100.     ATTACK = false
  1101.     Rooted = false
  1102.     end))
  1103.     end
  1104.     end))
  1105. end
  1106.  
  1107. --[[function Execute()
  1108.     coroutine.resume(coroutine.create(function()
  1109.     local SHOOT = OhnoItsAShotgun()
  1110.     local CFRAME = CF(-1.5,0,1.5) * ANGLES(RAD(0), RAD(45), RAD(0))
  1111.     SHOOT.CFrame = Torso.CFrame*CFRAME
  1112.    
  1113.         local LOC = SHOOT.CFrame*CF(0,3,0).p
  1114.         for i = 1, 15 do
  1115.             Swait()
  1116.             SHOOT.Transparency = SHOOT.Transparency - 1/15
  1117.             SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
  1118.         end
  1119.         SHOOT.Transparency = 0
  1120.         for i = 1, 2 do
  1121.             Swait()
  1122.             SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
  1123.         end
  1124.         PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
  1125.         CamShake(8,9)
  1126.         SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  1127.         SHOOT.CanCollide = false
  1128.         SHOOT.Anchored = false
  1129.         SHOOT.Parent = workspace
  1130.         local bv = Instance.new("BodyVelocity",SHOOT)
  1131.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1132.         bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  1133.         Debris:AddItem(bv,0.1)
  1134.         wait(5)
  1135.         for i = 1, 45 do
  1136.             Swait()
  1137.             SHOOT.Transparency = SHOOT.Transparency + 1/45
  1138.         end
  1139.     end))
  1140.     CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
  1141.     for i = 1, 15 do
  1142.         Swait()
  1143.         SHOOT.Transparency = SHOOT.Transparency - 1/150
  1144.     end
  1145.     end
  1146.     end))
  1147.     wait(0.9)
  1148.     ATTACK = false
  1149.     Rooted = false
  1150. end]]
  1151.  
  1152. function Regain()
  1153.     if Humanoid.Health < Humanoid.MaxHealth then
  1154.         ATTACK = true
  1155.         Rooted = true
  1156.         for i=0, 0.25, 0.1 / Animation_Speed do
  1157.             Swait()
  1158.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1159.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1160.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1161.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1162.             RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1163.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1164.         end
  1165.         local LOOP = 0
  1166.         repeat
  1167.             LOOP = LOOP + 1
  1168.             Swait()
  1169.             Humanoid.Health = Humanoid.Health + 6
  1170.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1171.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1172.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.4) * ANGLES(RAD(55), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1173.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.7 - 0.4 * SIN(LOOP / 4)) * ANGLES(RAD(50 + 25 * COS(LOOP / 4)), RAD(0), RAD(65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1174.             RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1175.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1176.         until KEYHOLD == false or Humanoid.Health == Humanoid.MaxHealth
  1177.         for i=0, 0.15, 0.1 / Animation_Speed do
  1178.             Swait()
  1179.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1180.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1181.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1182.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1183.             RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1184.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1185.         end
  1186.         ATTACK = false
  1187.         Rooted = false
  1188.     end
  1189. end
  1190. function Taunt()
  1191.     ATTACK = true
  1192.     Rooted = true
  1193.     local L = CreateSound(1278007556,Head,8,1,false)
  1194.     L.EmitterSize = 25
  1195.     for i = 1, 30 do
  1196.         Swait()
  1197.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1198.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1199.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1200.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1201.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1202.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1203.     end
  1204.     for i = 1, 60 do
  1205.         Swait()
  1206.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1207.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  1208.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1209.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1210.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1211.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1212.     end
  1213.     ATTACK = false
  1214.     Rooted = false
  1215. end
  1216. function DoubleJump()
  1217.     ATTACK = true
  1218.     Rooted = false
  1219.     Torso.Velocity = Vector3.new(Torso.Velocity.X,125,Torso.Velocity.Z)
  1220.     CreateSound(159882477, Head, 4, 1, false)
  1221.     CreateSound(1112042117, Torso, 2, 1, false)
  1222.     local E = 360/12
  1223.     for i=1, 12 do
  1224.         Swait()
  1225.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2.5 / Animation_Speed)
  1226.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1227.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1228.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1229.         RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1230.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1231.     end
  1232.     ATTACK = false
  1233.     Rooted = false
  1234. end
  1235.  
  1236. --//=================================\\
  1237. --||      ASSIGN THINGS TO KEYS
  1238. --\\=================================//
  1239.  
  1240. function MouseDown(Mouse)
  1241.     HOLD = true
  1242.     if ATTACK == false then
  1243.     end
  1244. end
  1245.  
  1246. function MouseUp(Mouse)
  1247. HOLD = false
  1248. end
  1249.  
  1250. local READYTODOUBLE = false
  1251. local DOUBLED = false
  1252.  
  1253. function KeyDown(Key)
  1254.     KEYHOLD = true
  1255.     if Key == "c" and ATTACK == false and Humanoid.Health > 50 then
  1256.         Humanoid.Health = Humanoid.Health - 25
  1257.         Conjour()
  1258.     end
  1259.  
  1260.     if Key == "g" and ATTACK == false and MADNESS == false and Humanoid.Health > 675 then
  1261.         GunMadness()
  1262.     end
  1263.    
  1264.     if Key == "v" and ATTACK == false and Humanoid.Health > 225 then
  1265.         Aerial_AirBlast()
  1266.     end
  1267.  
  1268.     if Key == "b" and ATTACK == false  then
  1269.         Suicide_Blank()
  1270.     end
  1271.  
  1272.     if Key == "f" and ATTACK == false and STOCKING == false and ANIM == "Idle" then
  1273.         GunStock()
  1274.     end
  1275.  
  1276.     if Key == "r" and ATTACK == false and Humanoid.Health < 2000 then
  1277.         Regain()
  1278.     end
  1279.  
  1280.     if Key == "t" and ATTACK == false then
  1281.         Taunt()
  1282.     end
  1283.  
  1284.     if string.byte(Key) == 32 and READYTODOUBLE == true and ATTACK == false and Humanoid.Jump == true and DOUBLED == false then
  1285.         READYTODOUBLE = false
  1286.         DOUBLED = true
  1287.         DoubleJump()
  1288.     end
  1289. end
  1290.  
  1291. function KeyUp(Key)
  1292.     KEYHOLD = false
  1293. end
  1294.  
  1295.     Mouse.Button1Down:connect(function(NEWKEY)
  1296.         MouseDown(NEWKEY)
  1297.     end)
  1298.     Mouse.Button1Up:connect(function(NEWKEY)
  1299.         MouseUp(NEWKEY)
  1300.     end)
  1301.     Mouse.KeyDown:connect(function(NEWKEY)
  1302.         KeyDown(NEWKEY)
  1303.     end)
  1304.     Mouse.KeyUp:connect(function(NEWKEY)
  1305.         KeyUp(NEWKEY)
  1306.     end)
  1307.  
  1308. --//=================================\\
  1309. --\\=================================//
  1310.  
  1311. function unanchor()
  1312.     for _, c in pairs(Character:GetChildren()) do
  1313.         if c:IsA("BasePart") and c ~= RootPart then
  1314.             c.Anchored = false
  1315.         end
  1316.     end
  1317.     if UNANCHOR == true then
  1318.         RootPart.Anchored = false
  1319.     else
  1320.         RootPart.Anchored = true
  1321.     end
  1322. end
  1323.  
  1324. --//=================================\\
  1325. --||    WRAP THE WHOLE SCRIPT UP
  1326. --\\=================================//
  1327.  
  1328. Humanoid.Changed:connect(function(Jump)
  1329.     if Jump == "Jump" and (Disable_Jump == true) then
  1330.         Humanoid.Jump = false
  1331.     elseif Jump == "Jump" and (Disable_Jump == false) and DOUBLED == false then
  1332.         wait(0.1)
  1333.         READYTODOUBLE = true
  1334.     end
  1335. end)
  1336.  
  1337. while true do
  1338.     Swait()
  1339.     script.Parent = WEAPONGUI
  1340.     ANIMATE.Parent = nil
  1341.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1342.         v:Stop();
  1343.     end
  1344.     SINE = SINE + CHANGE
  1345.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1346.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1347.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1348.     local WALKSPEEDVALUE = 8 / (25 / 16)
  1349.     local WALKSPEEDVALUE2 = 8 / (39 / 16)
  1350.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1351. if Humanoid.WalkSpeed < 25 then
  1352.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (25 / 16) / Animation_Speed)
  1353.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 25), 0.2 * (25 / 16) / Animation_Speed)
  1354.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1355.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1356. elseif Humanoid.WalkSpeed > 25 then
  1357.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE2/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (39 / 16) / Animation_Speed)
  1358.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 39), 0.2 * (39 / 16) / Animation_Speed)
  1359.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE2) - 0.15 * COS(SINE / WALKSPEEDVALUE2*2), 0.25 * SIN(SINE / WALKSPEEDVALUE2)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE2))), 0.6 / Animation_Speed)
  1360.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE2) - 0.15 * COS(SINE / WALKSPEEDVALUE2*2), -0.25 * SIN(SINE / WALKSPEEDVALUE2)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE2))), 0.6 / Animation_Speed)
  1361. end
  1362.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1363.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1364.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1365.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  1366.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  1367.     end
  1368.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1369.         ANIM = "Jump"
  1370.         if ATTACK == false then
  1371.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1372.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1373.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1374.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1375.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1376.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1377.         end
  1378.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1379.         ANIM = "Fall"
  1380.         if ATTACK == false then
  1381.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1382.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1383.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1384.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1385.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1386.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1387.         end
  1388.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1389.         ANIM = "Idle"
  1390.         DOUBLED = false
  1391.         READYTODOUBLE = false
  1392.         if ATTACK == false then
  1393.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1394.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1395.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1396.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1397.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1398.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1399.         end
  1400.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1401.         ANIM = "Walk"
  1402.         DOUBLED = false
  1403.         READYTODOUBLE = false
  1404.         if ATTACK == false then
  1405.             if Humanoid.WalkSpeed < 25 then
  1406.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1407.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1408.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.3) * ANGLES(RAD(15), RAD(-5), RAD(-55)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1409.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1410.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1411.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1412.             elseif Humanoid.WalkSpeed > 25 then
  1413.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE2)))), 1 / Animation_Speed)
  1414.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE2 / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE2)))), 1 / Animation_Speed)
  1415.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1416.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1417.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1418.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1419.             end
  1420.         end
  1421.     end
  1422.     unanchor()
  1423.     if Rooted == false then
  1424.         Disable_Jump = false
  1425.         Humanoid.WalkSpeed = Speed - -Humanoid.Health/75
  1426.     elseif Rooted == true then
  1427.         Disable_Jump = true
  1428.         Humanoid.WalkSpeed = 0
  1429.     end
  1430.     if Humanoid.Health < Humanoid.MaxHealth and ATTACK == false then
  1431.         Humanoid.Health = Humanoid.Health + 0.1
  1432.     end
  1433.     BMUSIC.SoundId = "rbxassetid://"..SONGID
  1434.     BMUSIC.Looped = true
  1435.     BMUSIC.Pitch = PITCH
  1436.     BMUSIC.Volume = VOLUME
  1437.     BMUSIC.Playing = true
  1438.     if BMUSIC.Parent ~= RootPart then
  1439.         BMUSIC = IT("Sound",RootPart)
  1440.     end
  1441.     Humanoid.Name = "NONHUM"
  1442.     HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1443.     HEALTHTEXT.Text = "Stamina/Health "..math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  1444. end
  1445.  
  1446. --//=================================\\
  1447. --\\=================================//
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. --//====================================================\\--
  1454. --||                     END OF SCRIPT
  1455. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement