XskillyX

roblox fe police

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