Advertisement
yeetusFE

rea

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