Mediakiller7Cool

Edit For kid

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