The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Good Cop Bad Cop script pastebin roblox
By Good Cop Bad Cop on 2024-11-27 08:00 am | Syntax: LUA | Views: 19



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



  • Recent Roblox Scripts