Advertisement
soubrhomi

mehh

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