Void_scripter0

ARREST EM 2

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