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