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