Advertisement
memberhero

Good Cop Bad Cop FE Script

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