StarzoZero

Roblox FE Good Cop Bad Cop v2

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