SHARE
TWEET

s

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