Hurricane_Hd

Roblox Good cop/Bad cop script [FE VERSION]

Aug 3rd, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.15 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| GOOD COP BAD COP BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = owner
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. RootPart = Character["HumanoidRootPart"]
  14. Torso = Character["Torso"]
  15. Head = Character["Head"]
  16. RightArm = Character["Right Arm"]
  17. LeftArm = Character["Left Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LeftLeg = Character["Left Leg"]
  20. RootJoint = RootPart["RootJoint"]
  21. Neck = Torso["Neck"]
  22. RightShoulder = Torso["Right Shoulder"]
  23. LeftShoulder = Torso["Left Shoulder"]
  24. RightHip = Torso["Right Hip"]
  25. LeftHip = Torso["Left Hip"]
  26. local sick = Instance.new("Sound",RootPart)
  27.  
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44.  
  45. --//=================================\\
  46. --|| USEFUL VALUES
  47. --\\=================================//
  48.  
  49. Animation_Speed = 3
  50. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  51. local Speed = 20
  52. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  53. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  55. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  56. local DAMAGEMULTIPLIER = 1
  57. local ANIM = "Idle"
  58. local ATTACK = false
  59. local EQUIPPED = false
  60. local HOLD = false
  61. local COMBO = 1
  62. local Rooted = false
  63. local SINE = 0
  64. local KEYHOLD = false
  65. local CHANGE = 2 / Animation_Speed
  66. local WALKINGANIM = false
  67. local VALUE1 = false
  68. local VALUE2 = false
  69. local ROBLOXIDLEANIMATION = IT("Animation")
  70. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  71. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  72. --ROBLOXIDLEANIMATION.Parent = Humanoid
  73. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  74. WEAPONGUI.Name = "Weapon GUI"
  75. local Weapon = IT("Model")
  76. Weapon.Name = "Adds"
  77. local Effects = IT("Folder", Weapon)
  78. Effects.Name = "Effects"
  79. local ANIMATOR = Humanoid.Animator
  80. local ANIMATE = Character.Animate
  81. local UNANCHOR = true
  82. local MODE = "GoodCop"
  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. script.ArtificialHB:Fire()
  109. lastframe = tick()
  110. else
  111. for i = 1, math.floor(tf / frame) do
  112. script.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 = "http://www.roblox.com/asset/?id="..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})
  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. coroutine.resume(coroutine.create(function()
  375. local PLAYSSOUND = false
  376. local SOUND = nil
  377. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  378. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  379. PLAYSSOUND = true
  380. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  381. end
  382. EFFECT.Color = COLOR
  383. local MSH = nil
  384. if TYPE == "Sphere" then
  385. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  386. elseif TYPE == "Block" or TYPE == "Box" then
  387. MSH = IT("BlockMesh",EFFECT)
  388. MSH.Scale = SIZE
  389. elseif TYPE == "Wave" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  391. elseif TYPE == "Ring" then
  392. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  393. elseif TYPE == "Slash" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  395. elseif TYPE == "Round Slash" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  397. elseif TYPE == "Swirl" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  399. elseif TYPE == "Skull" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  401. elseif TYPE == "Crystal" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  403. end
  404. if MSH ~= nil then
  405. local MOVESPEED = nil
  406. if MOVEDIRECTION ~= nil then
  407. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  408. end
  409. local GROWTH = SIZE - ENDSIZE
  410. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  411. if TYPE == "Block" then
  412. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  413. else
  414. EFFECT.CFrame = CFRAME
  415. end
  416. for LOOP = 1, TIME+1 do
  417. Swait()
  418. MSH.Scale = MSH.Scale - GROWTH/TIME
  419. if TYPE == "Wave" then
  420. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  421. end
  422. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  423. if TYPE == "Block" then
  424. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  425. else
  426. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  427. end
  428. if MOVEDIRECTION ~= nil then
  429. local ORI = EFFECT.Orientation
  430. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  431. EFFECT.Orientation = ORI
  432. end
  433. end
  434. if PLAYSSOUND == false then
  435. EFFECT:remove()
  436. else
  437. repeat Swait() until SOUND.Playing == false
  438. EFFECT:remove()
  439. end
  440. else
  441. if PLAYSSOUND == false then
  442. EFFECT:remove()
  443. else
  444. repeat Swait() until SOUND.Playing == false
  445. EFFECT:remove()
  446. end
  447. end
  448. end))
  449. end
  450.  
  451. function MakeForm(PART,TYPE)
  452. if TYPE == "Cyl" then
  453. local MSH = IT("CylinderMesh",PART)
  454. elseif TYPE == "Ball" then
  455. local MSH = IT("SpecialMesh",PART)
  456. MSH.MeshType = "Sphere"
  457. elseif TYPE == "Wedge" then
  458. local MSH = IT("SpecialMesh",PART)
  459. MSH.MeshType = "Wedge"
  460. elseif TYPE == "Head" then
  461. local MSH = IT("SpecialMesh",PART)
  462. MSH.Scale = VT(1.25,1.25,1.25)
  463. end
  464. end
  465.  
  466. Debris = game:GetService("Debris")
  467.  
  468. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  469. local DIRECTION = CF(StartPos,EndPos).lookVector
  470. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  471. end
  472.  
  473. function CharacterFade(COLOR,TIMER)
  474. coroutine.resume(coroutine.create(function()
  475. local FADE = IT("Model",Effects)
  476. FADE.Name = "FadingEffect"
  477. for _, c in pairs(Character:GetChildren()) do
  478. if c.ClassName == "Part" and c ~= RootPart then
  479. local FADER = c:Clone()
  480. FADER.Color = COLOR
  481. FADER.CFrame = c.CFrame
  482. FADER.Parent = FADE
  483. FADER.Anchored = true
  484. FADER.Transparency = 0.25+c.Transparency
  485. FADER:BreakJoints()
  486. FADER.Material = "Neon"
  487. if FADER.Name == "Head" then
  488. FADER:ClearAllChildren()
  489. FADER.Size = VT(1,1,1)
  490. end
  491. FADER.CanCollide = false
  492. end
  493. end
  494. local TRANS = 0.75/TIMER
  495. for i = 1, TIMER do
  496. Swait()
  497. for _, c in pairs(FADE:GetChildren()) do
  498. if c.ClassName == "Part" then
  499. c.Transparency = c.Transparency + TRANS
  500. end
  501. end
  502. end
  503. FADE:remove()
  504. end))
  505. end
  506.  
  507. function Chatter(Text,Timer)
  508. local chat = coroutine.wrap(function()
  509. if Character:FindFirstChild("SpeechBoard")~= nil then
  510. Character:FindFirstChild("SpeechBoard"):destroy()
  511. end
  512. local naeeym2 = IT("BillboardGui",Character)
  513. naeeym2.Size = UD2(0,100,0,40)
  514. naeeym2.StudsOffset = Vector3.new(0,2,0)
  515. naeeym2.Adornee = Character.Head
  516. naeeym2.Name = "SpeechBoard"
  517. naeeym2.AlwaysOnTop = true
  518. local tecks2 = IT("TextLabel",naeeym2)
  519. tecks2.BackgroundTransparency = 1
  520. tecks2.BorderSizePixel = 0
  521. tecks2.Text = ""
  522. tecks2.Font = "Legacy"
  523. tecks2.TextSize = 15
  524. tecks2.TextStrokeTransparency = 0
  525. tecks2.TextColor3 = Color3.new(1,1,1)
  526. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  527. tecks2.Size = UDim2.new(1,0,0.5,0)
  528. for i = 1,string.len(Text),1 do
  529. CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  530. tecks2.Text = string.sub(Text,1,i)
  531. wait(Timer)
  532. end
  533. wait(1)
  534. naeeym2:Destroy()
  535. end)
  536. chat()
  537. end
  538.  
  539. --//=================================\\
  540. --|| WEAPON CREATION
  541. --\\=================================//
  542.  
  543. local FACE = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Face mask", VT(1.001,1.001,1.001),false)
  544. CreateWeldOrSnapOrMotor("Weld", FACE, Head, FACE, CF(0.02,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  545. MakeForm(FACE,"Head")
  546. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.1,0.25,0.2),false)
  547. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(0.15,0.25,-0.53) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  548. MakeForm(EYE,"Ball")
  549. local top = Instance.new("Shirt")
  550. top.ShirtTemplate = "rbxassetid://269003887"
  551. top.Parent = Character
  552. top.Name = "Cloth"
  553. local bottom = Instance.new("Pants")
  554. bottom.PantsTemplate = "rbxassetid://268832352"
  555. bottom.Parent = Character
  556. bottom.Name = "Cloth"
  557. local BATON = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Baton", VT(1, 0.8, 3),false)
  558. CreateMesh("SpecialMesh", BATON, "FileMesh", "11820238", "", VT(1,1,1), VT(0,0,0))
  559. local BATONWELD = CreateWeldOrSnapOrMotor("Weld", BATON, Torso, BATON, CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  560. local A = IT("Attachment",BATON)
  561. local B = IT("Attachment",BATON)
  562. B.Position = VT(0,0,-0.4)
  563. A.Position = VT(0,0,1)
  564. local Trail = IT("Trail",BATON)
  565. Trail.Attachment0 = A
  566. Trail.Attachment1 = B
  567. Trail.Lifetime = 0.1
  568. Trail.Color = ColorSequence.new(C3(0,0,0))
  569. Trail.Transparency = NumberSequence.new(0, 1)
  570. Trail.Enabled = false
  571. Trail.Texture = "http://www.roblox.com/asset/?id=1831500579"
  572. local GUN = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  573. CreateMesh("SpecialMesh", GUN, "FileMesh", "623102664", "623102879", VT(0.01, 0.01, 0.01), VT(0,0,0))
  574. local GUNWELD = CreateWeldOrSnapOrMotor("Weld", GUN, Torso, GUN, CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  575.  
  576. for _, c in pairs(Weapon:GetChildren()) do
  577. if c.ClassName == "Part" then
  578. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  579. end
  580. end
  581.  
  582. Weapon.Parent = Character
  583.  
  584. local SKILLTEXTCOLOR = C3(1,1,1)
  585. local SKILLFONT = "Legacy"
  586. local SKILLTEXTSIZE = 4
  587.  
  588. local ATTACKSGOODCOP = {"Mouse - Warning","Q - Baton Stun","E - Cuffs"}
  589. local ATTACKSBADCOP = {"Mouse - Silence","Q - Baton Breaker","E - The Right to remain silent"}
  590. local GOODUI = {}
  591. local BADUI = {}
  592.  
  593. for i = 1, #ATTACKSGOODCOP do
  594. 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")
  595. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKSGOODCOP[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  596. SKILLTEXT.TextXAlignment = "Right"
  597. table.insert(GOODUI,SKILLTEXT)
  598. end
  599.  
  600. for i = 1, #ATTACKSBADCOP do
  601. 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")
  602. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKSBADCOP[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Skill text")
  603. SKILLTEXT.TextXAlignment = "Left"
  604. table.insert(BADUI,SKILLTEXT)
  605. end
  606.  
  607. 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")
  608. local SKILLTEXT = CreateLabel(SKILLFRAME, "[F - Switch]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  609.  
  610. --//=================================\\
  611. --|| DAMAGING
  612. --\\=================================//
  613.  
  614. function ApplyDamage(Humanoid,Damage)
  615. Damage = Damage * DAMAGEMULTIPLIER
  616. local DEAD = false
  617. if Humanoid.Health < 2000 then
  618. if Humanoid.Health - Damage > 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) then
  1448. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1449. 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)
  1450. 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)
  1451. 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)
  1452. end
  1453. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1454. ANIM = "Jump"
  1455. if ATTACK == false then
  1456. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1457. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1458. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1459. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1460. 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)
  1461. 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)
  1462. end
  1463. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1464. ANIM = "Fall"
  1465. if ATTACK == false then
  1466. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1467. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1468. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1469. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1470. 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)
  1471. 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)
  1472. end
  1473. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1474. ANIM = "Idle"
  1475. if ATTACK == false then
  1476. if MODE == "GoodCop" then
  1477. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1478. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1479. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1480. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1481. RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1482. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1483. elseif MODE == "BadCop" then
  1484. 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)
  1485. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1486. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1487. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1488. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1489. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1490. end
  1491. end
  1492. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1493. ANIM = "Walk"
  1494. if ATTACK == false then
  1495. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1496. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1497. if MODE == "GoodCop" then
  1498. 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)
  1499. 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)
  1500. elseif MODE == "BadCop" then
  1501. 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)
  1502. 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)
  1503. end
  1504. 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)
  1505. 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)
  1506. end
  1507. end
  1508. unanchor()
  1509. Humanoid.MaxHealth = 3e3
  1510. Humanoid.Health = 3e3
  1511. if Rooted == false then
  1512. Disable_Jump = false
  1513. Humanoid.WalkSpeed = Speed
  1514. elseif Rooted == true then
  1515. Disable_Jump = true
  1516. Humanoid.WalkSpeed = 0
  1517. end
  1518. for _, c in pairs(Character:GetChildren()) do
  1519. if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1520. c:remove()
  1521. end
  1522. end
  1523. sick.SoundId = "rbxassetid://259554386"
  1524. sick.Looped = true
  1525. sick.Pitch = 1
  1526. sick.Volume = 4
  1527. sick.Playing = true
  1528. if MODE == "GoodCop" then
  1529. for E = 1, #GOODUI do
  1530. GOODUI[E].TextStrokeTransparency = 0
  1531. GOODUI[E].TextTransparency = 0
  1532. end
  1533. for E = 1, #BADUI do
  1534. BADUI[E].TextStrokeTransparency = 1
  1535. BADUI[E].TextTransparency = 0.5
  1536. end
  1537. elseif MODE == "BadCop" then
  1538. for E = 1, #GOODUI do
  1539. GOODUI[E].TextStrokeTransparency = 1
  1540. GOODUI[E].TextTransparency = 0.5
  1541. end
  1542. for E = 1, #BADUI do
  1543. BADUI[E].TextStrokeTransparency = 0
  1544. BADUI[E].TextTransparency = 0
  1545. end
  1546. end
  1547. end
  1548.  
  1549. --//=================================\\
  1550. --\\=================================//
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556. --//====================================================\\--
  1557. --|| END OF SCRIPT
  1558. --\\====================================================//--
Add Comment
Please, Sign In to add comment