Advertisement
ItzInfern

bad cop / good cop

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