Advertisement
CerealK

Untitled

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