View difference between Paste ID: Edhc3sTP and jSuUHHU7
SHOW: | | - or go back to the newest paste.
1
-----------------------------------
2
--WATCH OUT HERE COMES THE COPPAS--
3
----------------------------------------------------------------                             --
4
----------------------------------------------------------------
5
--https://github.com/Mokiros/roblox-FE-compatibility
6
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
7
local Player,game,owner = owner,game
8
local RealPlayer = Player
9
do
10
	print("FE Compatibility code by Mokiros")
11
	local rp = RealPlayer
12
	script.Parent = rp.Character
13
	
14
	--RemoteEvent for communicating
15
	local Event = Instance.new("RemoteEvent")
16
	Event.Name = "UserInput_Event"
17
18
	--Fake event to make stuff like Mouse.KeyDown work
19
	local function fakeEvent()
20
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
21
		t.connect = t.Connect
22
		return t
23
	end
24
25
	--Creating fake input objects with fake variables
26
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
27
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
28
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
29
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
30
	end}
31
	--Merged 2 functions into one by checking amount of arguments
32
	CAS.UnbindAction = CAS.BindAction
33
34
	--This function will trigger the events that have been :Connect()'ed
35
	local function te(self,ev,...)
36
		local t = m[ev]
37
		if t and t._fakeEvent then
38
			for _,f in pairs(t.Functions) do
39
				f(...)
40
			end
41
		end
42
	end
43
	m.TrigEvent = te
44
	UIS.TrigEvent = te
45
46
	Event.OnServerEvent:Connect(function(plr,io)
47
	    if plr~=rp then return end
48
		m.Target = io.Target
49
		m.Hit = io.Hit
50
		if not io.isMouse then
51
			local b = io.UserInputState == Enum.UserInputState.Begin
52
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
53
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
54
			end
55
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
56
				return m:TrigEvent(b and "Button2Down" or "Button2Up")
57
			end
58
			for _,t in pairs(CAS.Actions) do
59
				for _,k in pairs(t.Keys) do
60
					if k==io.KeyCode then
61
						t.Function(t.Name,io.UserInputState,io)
62
					end
63
				end
64
			end
65
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
66
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
67
	    end
68
	end)
69
	Event.Parent = NLS([==[
70
	local Player = game:GetService("Players").LocalPlayer
71
	local Event = script:WaitForChild("UserInput_Event")
72
73
	local Mouse = Player:GetMouse()
74
	local UIS = game:GetService("UserInputService")
75
	local input = function(io,a)
76
		if a then return end
77
		--Since InputObject is a client-side instance, we create and pass table instead
78
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
79
	end
80
	UIS.InputBegan:Connect(input)
81
	UIS.InputEnded:Connect(input)
82
83
	local h,t
84
	--Give the server mouse data 30 times every second, but only if the values changed
85
	--If player is not moving their mouse, client won't fire events
86
	while wait(1/30) do
87
		if h~=Mouse.Hit or t~=Mouse.Target then
88
			h,t=Mouse.Hit,Mouse.Target
89
			Event:FireServer({isMouse=true,Target=t,Hit=h})
90
		end
91
	end]==],Player.Character)
92
93
	----Sandboxed game object that allows the usage of client-side methods and services
94
	--Real game object
95
	local _rg = game
96
97
	--Metatable for fake service
98
	local fsmt = {
99
		__index = function(self,k)
100
			local s = rawget(self,"_RealService")
101
			if s then
102
				return typeof(s[k])=="function"
103
				and function(_,...)return s[k](s,...)end or s[k]
104
			end
105
		end,
106
		__newindex = function(self,k,v)
107
			local s = rawget(self,"_RealService")
108
			if s then s[k]=v end
109
		end
110
	}
111
	local function FakeService(t,RealService)
112
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
113
		return setmetatable(t,fsmt)
114
	end
115
116
	--Fake game object
117
	local g = {
118
		GetService = function(self,s)
119
			return rawget(self,s) or _rg:GetService(s)
120
		end,
121
		Players = FakeService({
122
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
123
		},"Players"),
124
		UserInputService = FakeService(UIS,"UserInputService"),
125
		ContextActionService = FakeService(CAS,"ContextActionService"),
126
		RunService = FakeService({
127
			_btrs = {},
128
			RenderStepped = _rg:GetService("RunService").Heartbeat,
129
			BindToRenderStep = function(self,name,_,fun)
130
				self._btrs[name] = self.Heartbeat:Connect(fun)
131
			end,
132
			UnbindFromRenderStep = function(self,name)
133
				self._btrs[name]:Disconnect()
134
			end,
135
		},"RunService")
136
	}
137
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
138
	g.service = g.GetService
139
	FakeService(g,game)
140
	--Changing owner to fake player object to support owner:GetMouse()
141
	game,owner = g,g.Players.LocalPlayer
142
end
143
print([[
144
--Script Cop--
145
By CKbackup (Sugarie Saffron)                               
146
YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw
147
Discord: Sugarie Saffron#4705    
148
--------------------------------
149
As I've been demoted from my SB
150
Mod rank in VSB, I don't see the
151
need to hold this back any longer.
152
153
Also, if the anims look weird or
154
the weapon looks out of place,
155
it's because it's actually modeled
156
off a scaled rig with a package.
157
It looks better with the Boy
158
package.
159
--------------------------------
160
(Keys)
161
M - Mute/Play Music
162
163
Click - Baton Swing
164
(Hold) Q - Run
165
Z - Pistol
166
X - Arrest
167
168
P - Move Jail(s)
169
]])
170
171
wait(1/60)
172
Effects = { }
173
local Player = owner
174
local chara = Player.Character
175
local Humanoid = chara:FindFirstChildOfClass("Humanoid")
176
local LeftArm = chara["Left Arm"]
177
local RightArm = chara["Right Arm"]
178
local LeftLeg = chara["Left Leg"]
179
local RightLeg = chara["Right Leg"]
180
local Head = chara.Head
181
local Torso = chara.Torso
182
local RootPart = chara.HumanoidRootPart
183
local RootJoint = RootPart.RootJoint
184
local attack = false
185
local Anim = 'Idle'
186
local attacktype = 1
187
local delays = false
188
local play = true
189
local targetted = nil
190
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
191
local velocity = RootPart.Velocity.y
192
local sine = 0
193
local change = 1
194
local doe = 0
195
local Create = LoadLibrary("RbxUtility").Create
196
Humanoid.WalkSpeed = 16
197
198
199
200
Humanoid.Animator.Parent = nil
201
chara.Animate.Parent = nil
202
203
local pos = Vector3.new(0,0,-50)
204
205
local newMotor = function(part0, part1, c0, c1)
206
	local w = Create('Motor'){
207
		Parent = part0,
208
		Part0 = part0,
209
		Part1 = part1,
210
		C0 = c0,
211
		C1 = c1,
212
	}
213
	return w
214
end
215
216
function clerp(a, b, t)
217
	return a:lerp(b, t)
218
end
219
220
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
221
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
222
223
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
224
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
225
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
226
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
227
RootJoint.C1 = CFrame.new(0, 0, 0)
228
RootJoint.C0 = CFrame.new(0, 0, 0)
229
Torso.Neck.C1 = CFrame.new(0, 0, 0)
230
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
231
232
233
local rarmc1 = RW.C1
234
local larmc1 = LW.C1
235
local rlegc1 = RH.C1
236
local llegc1 = LH.C1
237
238
local resetc1 = false
239
240
function PlayAnimationFromTable(table, speed, bool)
241
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
242
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
243
	RW.C0 = clerp(RW.C0, table[3], speed) 
244
	LW.C0 = clerp(LW.C0, table[4], speed) 
245
	RH.C0 = clerp(RH.C0, table[5], speed) 
246
	LH.C0 = clerp(LH.C0, table[6], speed) 
247
	if bool == true then
248
		if resetc1 == false then
249
			resetc1 = true
250
			RootJoint.C1 = RootJoint.C1
251
			Torso.Neck.C1 = Torso.Neck.C1
252
			RW.C1 = rarmc1
253
			LW.C1 = larmc1
254
			RH.C1 = rlegc1
255
			LH.C1 = llegc1
256
		end
257
	end
258
end
259
260
261
ArtificialHB = Instance.new("BindableEvent", script)
262
ArtificialHB.Name = "Heartbeat"
263
script:WaitForChild("Heartbeat")
264
frame = 0.03333333333333
265
tf = 0
266
allowframeloss = false
267
tossremainder = false
268
lastframe = tick()
269
script.Heartbeat:Fire()
270
game:GetService("RunService").Heartbeat:connect(function(s, p)
271
  tf = tf + s
272
  if tf >= frame then
273
    if allowframeloss then
274
      script.Heartbeat:Fire()
275
      lastframe = tick()
276
    else
277
      for i = 1, math.floor(tf / frame) do
278
        script.Heartbeat:Fire()
279
      end
280
      lastframe = tick()
281
    end
282
    if tossremainder then
283
      tf = 0
284
    else
285
      tf = tf - frame * math.floor(tf / frame)
286
    end
287
  end
288
end)
289
function swait(num)
290
  if num == 0 or num == nil then
291
    ArtificialHB.Event:wait()
292
  else
293
    for i = 0, num do
294
      ArtificialHB.Event:wait()
295
    end
296
  end
297
end
298
299
function RemoveOutlines(part)
300
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
301
end
302
	
303
304
CFuncs = {	
305
	["Part"] = {
306
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
307
			local Part = Create("Part"){
308
				Parent = Parent,
309
				Reflectance = Reflectance,
310
				Transparency = Transparency,
311
				CanCollide = false,
312
				Locked = true,
313
				BrickColor = BrickColor.new(tostring(BColor)),
314
				Name = Name,
315
				Size = Size,
316
				Material = Material,
317
			}
318
			RemoveOutlines(Part)
319
			return Part
320
		end;
321
	};
322
	
323
	["Mesh"] = {
324
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
325
			local Msh = Create(Mesh){
326
				Parent = Part,
327
				Offset = OffSet,
328
				Scale = Scale,
329
			}
330
			if Mesh == "SpecialMesh" then
331
				Msh.MeshType = MeshType
332
				Msh.MeshId = MeshId
333
			end
334
			return Msh
335
		end;
336
	};
337
	
338
	["Mesh"] = {
339
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
340
			local Msh = Create(Mesh){
341
				Parent = Part,
342
				Offset = OffSet,
343
				Scale = Scale,
344
			}
345
			if Mesh == "SpecialMesh" then
346
				Msh.MeshType = MeshType
347
				Msh.MeshId = MeshId
348
			end
349
			return Msh
350
		end;
351
	};
352
	
353
	["Weld"] = {
354
		Create = function(Parent, Part0, Part1, C0, C1)
355
			local Weld = Create("Weld"){
356
				Parent = Parent,
357
				Part0 = Part0,
358
				Part1 = Part1,
359
				C0 = C0,
360
				C1 = C1,
361
			}
362
			return Weld
363
		end;
364
	};
365
	
366
	["ParticleEmitter"] = {
367
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
368
			local fp = Create("ParticleEmitter"){
369
				Parent = Parent,
370
				Color = ColorSequence.new(Color1, Color2),
371
				LightEmission = LightEmission,
372
				Size = Size,
373
				Texture = Texture,
374
				Transparency = Transparency,
375
				ZOffset = ZOffset,
376
				Acceleration = Accel,
377
				Drag = Drag,
378
				LockedToPart = LockedToPart,
379
				VelocityInheritance = VelocityInheritance,
380
				EmissionDirection = EmissionDirection,
381
				Enabled = Enabled,
382
				Lifetime = LifeTime,
383
				Rate = Rate,
384
				Rotation = Rotation,
385
				RotSpeed = RotSpeed,
386
				Speed = Speed,
387
				VelocitySpread = VelocitySpread,
388
			}
389
			return fp
390
		end;
391
	};
392
393
	CreateTemplate = {
394
	
395
	};
396
}
397
398
399
function so(id,par,pit,vol)
400
  local sou = Instance.new("Sound", par or workspace)
401
  if par == chara then
402
    sou.Parent = chara.Torso
403
  end
404
  sou.Volume = vol
405
  sou.Pitch = pit or 1
406
  sou.SoundId = "rbxassetid://" .. id
407
  sou.PlayOnRemove = true
408
  sou:Destroy()
409
end
410
411
local mus = Instance.new("Sound",Head)
412
mus.Name = "mus"
413
mus.SoundId = "rbxassetid://345868687"
414
mus.Looped = true
415
mus.Volume = 1
416
mus:Play()
417
418
New = function(Object, Parent, Name, Data)
419
	local Object = Instance.new(Object)
420
	for Index, Value in pairs(Data or {}) do
421
		Object[Index] = Value
422
	end
423
	Object.Parent = Parent
424
	Object.Name = Name
425
	return Object
426
end
427
428
local PoliceHat = New("Part",chara,"PoliceHat",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(2, 0.400000006, 1),CFrame = CFrame.new(18.3999939, 1.20000005, -23.1000061, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
429
local Mesh = New("SpecialMesh",PoliceHat,"Mesh",{Scale = Vector3.new(1.10000002, 1.20000005, 1.10000002),MeshId = "rbxassetid://1028788",TextureId = "rbxassetid://152240477",MeshType = Enum.MeshType.FileMesh,})
430
local Weld = New("ManualWeld",PoliceHat,"Weld",{Part0 = PoliceHat,Part1 = Head,C1 = CFrame.new(0, 0.700000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
431
for i, v in pairs(chara:children()) do
432
if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("BodyColors") then
433
v:Destroy()
434
elseif v.Name == "FakeHeadM" then
435
v.Ahoge.Mesh.Scale = Vector3.new()
436
elseif v.Name == "Chest" then
437
for a, b in pairs(v:children()) do
438
if b.Name ~= "Tail" then
439
b.Transparency = 1
440
end
441
end
442
end
443
end
444
local sh = Instance.new("Shirt",chara)
445
local pn = Instance.new("Pants",chara)
446
sh.ShirtTemplate = "rbxassetid://133284214"
447
pn.PantsTemplate = "rbxassetid://15224239"
448
449
450
bdefc0 = CFrame.new(.8,-1,0)*CFrame.Angles(math.rad(30),0,0)
451
gdefc0 = CFrame.new(-.8,-1,0)*CFrame.Angles(math.rad(130),0,0)
452
453
local baton = Instance.new("Part",chara)
454
baton.Name = "Baton"
455
baton.Size = Vector3.new(.2,.2,3.2)
456
baton.BrickColor = BrickColor.new("Really black")
457
baton.CanCollide = false
458
CFuncs.Mesh.Create("SpecialMesh", baton, "FileMesh", "rbxassetid://11820238", Vector3.new(), Vector3.new(1.5,1.5,1.5))
459
460
local bweld = Instance.new("Weld",baton)
461
bweld.Part0 = Torso
462
bweld.Part1 = baton
463
bweld.C0 = bdefc0
464
465
local att1 = Instance.new("Attachment",baton)
466
att1.Position = Vector3.new(-baton.Size.X/2,baton.Size.Y/2,baton.Size.Z/2)
467
local att2 = Instance.new("Attachment",baton)
468
att2.Position = Vector3.new(-baton.Size.X/2,-baton.Size.Y/2,-baton.Size.Z/2)
469
local tr1 = Instance.new("Trail",baton)
470
tr1.Color = ColorSequence.new(Color3.new(1,1,1))
471
tr1.Transparency = NumberSequence.new(0,1)
472
tr1.Lifetime = .5
473
tr1.Enabled = false
474
tr1.LightEmission = 1
475
tr1.Attachment0 = att1
476
tr1.Attachment1 = att2
477
local att3 = Instance.new("Attachment",RightLeg)
478
att3.Position = Vector3.new(0,1,0)
479
local att4 = Instance.new("Attachment",RightLeg)
480
att4.Position = Vector3.new(0,-1,0)
481
local tr2 = Instance.new("Trail",RightLeg)
482
tr2.Color = ColorSequence.new(Color3.new(1,1,1))
483
tr2.Transparency = NumberSequence.new(0,1)
484
tr2.Lifetime = .5
485
tr2.Enabled = false
486
tr2.LightEmission = 1
487
tr2.Attachment0 = att3
488
tr2.Attachment1 = att4
489
490
local gun = Instance.new("Part",chara)
491
gun.Name = "Gun"
492
gun.Size = Vector3.new(.2,.2,.2)
493
gun.BrickColor = BrickColor.new("Really black")
494
gun.CanCollide = false
495
CFuncs.Mesh.Create("SpecialMesh", gun, "FileMesh", "rbxassetid://72012879", Vector3.new(), Vector3.new(2,2,2))
496
497
local gweld = Instance.new("Weld",gun)
498
gweld.Part0 = Torso
499
gweld.Part1 = gun
500
gweld.C0 = gdefc0
501
502
function rayCast(Position, Direction, Range, Ignore)
503
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
504
end 
505
506
function mdmg(Part, Magnitude, HitType)
507
	for _, c in pairs(workspace:GetDescendants()) do
508
		local hum = c:FindFirstChildOfClass("Humanoid")
509
		if hum ~= nil then
510
			local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
511
			if head ~= nil then
512
				local targ = head.Position - Part.Position
513
				local mag = targ.magnitude
514
				if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then 
515
				if c.Name ~= chara then
516
				if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then
517
			local val = Instance.new("BoolValue",c)
518
			val.Name = "MagDmgd"
519
			local asd = Instance.new("ParticleEmitter",head)
520
			asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
521
			asd.LightEmission = .1
522
			asd.Size = NumberSequence.new(0.2)
523
			asd.Texture = "rbxassetid://771221224"
524
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 1)})
525
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
526
			asd.Transparency = bbb
527
			asd.Size = aaa
528
			asd.ZOffset = .9
529
			asd.Acceleration = Vector3.new(0, -5, 0)
530
			asd.LockedToPart = false
531
			asd.EmissionDirection = "Back"
532
			asd.Lifetime = NumberRange.new(1, 2)
533
			asd.Rate = 1000
534
			asd.Rotation = NumberRange.new(-100, 100)
535
			asd.RotSpeed = NumberRange.new(-100, 100)
536
			asd.Speed = NumberRange.new(6)
537
			asd.VelocitySpread = 10000
538
			asd.Enabled = false
539
			asd:Emit(20)
540
			game:service'Debris':AddItem(asd,3)
541
					--Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
542
				if HitType == "Blunt" then				
543
				so(386946017,head,.95,3)
544
				game:service'Debris':AddItem(val,1)
545
				elseif HitType == "Shot" then
546
				so(144884872,head,.9,3)
547
				game:service'Debris':AddItem(val,.05)	
548
				end
549
				local soaa = Instance.new("Sound",c.Head)
550
				soaa.Volume = .5
551
				local cho = math.random(1,5)
552
				if cho == 1 then
553
				soaa.SoundId = "rbxassetid://111896685"
554
				elseif cho == 2 then
555
				soaa.SoundId = "rbxassetid://535528169"
556
				elseif cho == 3 then
557
				soaa.SoundId = "rbxassetid://1080363252"
558
				elseif cho == 4 then
559
				soaa.SoundId = "rbxassetid://147758746"
560
				elseif cho == 5 then
561
				soaa.SoundId = "rbxassetid://626777433"
562
				soaa.Volume = .2
563
				soaa.TimePosition = 1
564
				end
565
				game:service'Debris':AddItem(soaa,6)
566
				soaa:Play()
567
					for i,v in pairs(c:children()) do
568
					if v:IsA("LocalScript") or v:IsA("Tool") then
569
					v:Destroy()
570
					end
571
					end
572
					hum.PlatformStand = true
573
					head.Velocity = RootPart.CFrame.lookVector*50
574
					head.RotVelocity = Vector3.new(10,0,0)
575
					chatfunc("Let that be a warning!")
576
					coroutine.wrap(function()
577
					swait(5)
578
					c:BreakJoints() end)()
579
				       else
580
					end
581
				end
582
			end
583
		end
584
	end
585
	end
586
end
587
588
--[[FindNearestTorso = function(pos)
589
	local list = (game.workspace:GetDescendants())
590
	local torso = nil
591
	local dist = 1000
592
	local temp, human, temp2 = nil, nil, nil
593
	for x = 1, #list do
594
		temp2 = list[x]
595
		if temp2.className == "Model" and temp2.Name ~= chara.Name then
596
			temp = temp2:findFirstChild("Torso")
597
			human = temp2:FindFirstChildOfClass("Humanoid")
598
			if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
599
				local dohit = true
600
				if dohit == true then
601
					torso = temp
602
					dist = (temp.Position - pos).magnitude
603
				end
604
			end
605
		end
606
	end
607
	return torso, dist
608
end]]
609
610
611
function FindNearestTorso(Position, Distance, SinglePlayer)
612
	if SinglePlayer then
613
		return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
614
	end
615
	local List = {}
616
	for i, v in pairs(workspace:GetDescendants()) do
617
		if v:IsA("Model") then
618
			if v:findFirstChild("Head") then
619
				if v ~= chara then
620
					if (v.Head.Position - Position).magnitude <= Distance then
621
						table.insert(List, v)
622
					end 
623
				end 
624
			end 
625
		end 
626
	end
627
	return List
628
end
629
630
631
--Chat Function--
632
function chatfunc(text)
633
coroutine.wrap(function()
634
if chara:FindFirstChild("TalkingBillBoard")~= nil then
635
chara:FindFirstChild("TalkingBillBoard"):destroy()
636
end
637
local naeeym2 = Instance.new("BillboardGui",chara)
638
naeeym2.Size = UDim2.new(0,100,0,40)
639
naeeym2.StudsOffset = Vector3.new(0,3,0)
640
naeeym2.Adornee = chara.Head
641
naeeym2.Name = "TalkingBillBoard"
642
local tecks2 = Instance.new("TextLabel",naeeym2)
643
tecks2.BackgroundTransparency = 1
644
tecks2.BorderSizePixel = 0
645
tecks2.Text = ""
646
tecks2.Font = "Fantasy"
647
tecks2.FontSize = "Size24"
648
tecks2.TextStrokeTransparency = 0
649
tecks2.TextColor3 = Color3.new(1,1,1)
650
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
651
tecks2.Size = UDim2.new(1,0,0.5,0)
652
for i = 1,string.len(text),1 do
653
tecks2.Text = string.sub(text,1,i)
654
swait()
655
end
656
swait(30)
657
for i = 1, 5 do
658
swait()
659
tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
660
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
661
tecks2.TextTransparency = tecks2.TextTransparency + .2
662
end
663
naeeym2:Destroy()
664
end)()
665
end
666
667
668
669
EffectModel = Create("Model"){
670
	Parent = chara,
671
	Name = "Effects",
672
}
673
674
675
Effects = {
676
	Block = {
677
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
678
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
679
			prt.Anchored = true
680
			prt.CFrame = cframe
681
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
682
			game:GetService("Debris"):AddItem(prt, 10)
683
			if Type == 1 or Type == nil then
684
				table.insert(Effects, {
685
					prt,
686
					"Block1",
687
					delay,
688
					x3,
689
					y3,
690
					z3,
691
					msh
692
				})
693
			elseif Type == 2 then
694
				table.insert(Effects, {
695
					prt,
696
					"Block2",
697
					delay,
698
					x3,
699
					y3,
700
					z3,
701
					msh
702
				})
703
			end
704
		end;
705
	};
706
707
		Cylinder = {
708
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
709
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())		
710
			prt.Anchored = true
711
			prt.CFrame = cframe
712
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
713
			game:GetService("Debris"):AddItem(prt, 10)
714
			table.insert(Effects, {
715
				prt,
716
				"Cylinder",
717
				delay,
718
				x3,
719
				y3,
720
				z3,
721
				msh
722
			})
723
		end;
724
	};
725
	Head = {
726
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
727
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
728
			prt.Anchored = true
729
			prt.CFrame = cframe
730
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
731
			game:GetService("Debris"):AddItem(prt, 10)
732
			table.insert(Effects, {
733
				prt,
734
				"Cylinder",
735
				delay,
736
				x3,
737
				y3,
738
				z3,
739
				msh
740
			})
741
		end;
742
	};
743
	
744
	Sphere = {
745
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
746
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
747
			prt.Anchored = true
748
			prt.CFrame = cframe
749
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
750
			game:GetService("Debris"):AddItem(prt, 10)
751
			table.insert(Effects, {
752
				prt,
753
				"Cylinder",
754
				delay,
755
				x3,
756
				y3,
757
				z3,
758
				msh
759
			})
760
		end;
761
	};
762
	
763
	Elect = {
764
		Create = function(cff, x, y, z)
765
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
766
			prt.Anchored = true
767
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
768
			prt.CFrame = CFrame.new(prt.Position)
769
			game:GetService("Debris"):AddItem(prt, 2)
770
			local xval = math.random() / 2
771
			local yval = math.random() / 2
772
			local zval = math.random() / 2
773
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
774
			table.insert(Effects, {
775
				prt,
776
				"Elec",
777
				0.1,
778
				x,
779
				y,
780
				z,
781
				xval,
782
				yval,
783
				zval
784
			})
785
		end;
786
787
	};
788
	
789
	Ring = {
790
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
791
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
792
			prt.Anchored = true
793
			prt.CFrame = cframe
794
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
795
			game:GetService("Debris"):AddItem(prt, 10)
796
			table.insert(Effects, {
797
				prt,
798
				"Cylinder",
799
				delay,
800
				x3,
801
				y3,
802
				z3,
803
				msh
804
			})
805
		end;
806
	};
807
808
809
	Wave = {
810
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
811
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
812
			prt.Anchored = true
813
			prt.CFrame = cframe
814
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
815
			game:GetService("Debris"):AddItem(prt, 10)
816
			table.insert(Effects, {
817
				prt,
818
				"Cylinder",
819
				delay,
820
				x3,
821
				y3,
822
				z3,
823
				msh
824
			})
825
		end;
826
	};
827
828
	Break = {
829
		Create = function(brickcolor, cframe, x1, y1, z1)
830
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
831
			prt.Anchored = true
832
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
833
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
834
			local num = math.random(10, 50) / 1000
835
			game:GetService("Debris"):AddItem(prt, 10)
836
			table.insert(Effects, {
837
				prt,
838
				"Shatter",
839
				num,
840
				prt.CFrame,
841
				math.random() - math.random(),
842
				0,
843
				math.random(50, 100) / 100
844
			})
845
		end;
846
	};
847
	
848
	Fire = {
849
		Create = function(brickcolor, cframe, x1, y1, z1, delay)
850
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
851
			prt.Anchored = true
852
			prt.CFrame = cframe
853
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
854
			game:GetService("Debris"):AddItem(prt, 10)
855
			table.insert(Effects, {
856
				prt,
857
				"Fire",
858
				delay,
859
				1,
860
				1,
861
				1,
862
				msh
863
			})
864
		end;
865
	};
866
	
867
	FireWave = {
868
		Create = function(brickcolor, cframe, x1, y1, z1)
869
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
870
			prt.Anchored = true
871
			prt.CFrame = cframe
872
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
873
			local d = Create("Decal"){
874
				Parent = prt,
875
				Texture = "rbxassetid://26356434",
876
				Face = "Top",
877
			}
878
			local d = Create("Decal"){
879
				Parent = prt,
880
				Texture = "rbxassetid://26356434",
881
				Face = "Bottom",
882
			}
883
			game:GetService("Debris"):AddItem(prt, 10)
884
			table.insert(Effects, {
885
				prt,
886
				"FireWave",
887
				1,
888
				30,
889
				math.random(400, 600) / 100,
890
				msh
891
			})
892
		end;
893
	};
894
	
895
	Lightning = {
896
		Create = function(p0, p1, tym, ofs, col, th, tra, last)
897
			local magz = (p0 - p1).magnitude
898
			local curpos = p0
899
			local trz = {
900
				-ofs,
901
				ofs
902
			}
903
			for i = 1, tym do
904
				local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
905
				local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
906
				local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
907
				li.Material = "Neon"
908
				if tym == i then
909
					local magz2 = (curpos - p1).magnitude
910
					li.Size = Vector3.new(th, th, magz2)
911
					li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
912
					table.insert(Effects, {
913
						li,
914
						"Disappear",
915
						last
916
					})
917
				else
918
					do
919
						do
920
							li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
921
							curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
922
							game.Debris:AddItem(li, 10)
923
							table.insert(Effects, {
924
								li,
925
								"Disappear",
926
								last
927
							})
928
						end
929
					end
930
				end
931
			end
932
		end
933
	};
934
935
	EffectTemplate = {
936
937
	};
938
}
939
940
941
function smek()
942
attack = true
943
bweld.Part0 = RightArm
944
bweld.C0 = CFrame.new(-.2,-2,.4)*CFrame.Angles(math.rad(90),0,math.rad(180))
945
Humanoid.WalkSpeed = 40
946
for i=0,1,.2 do
947
swait()
948
PlayAnimationFromTable({		
949
CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
950
CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
951
CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1),
952
CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012),
953
CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616),
954
CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
955
}, .3, false)
956
end
957
Humanoid.WalkSpeed = 2
958
tr1.Enabled = true
959
so(536642316,baton,1,1)
960
for i=0,1,.1 do
961
swait()
962
PlayAnimationFromTable({		
963
CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
964
CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
965
CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854),
966
CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1),
967
CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438),
968
CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511),
969
}, .3, false)
970
mdmg(baton,3,"Blunt")
971
end
972
swait(5)
973
bweld.Part0 = Torso
974
bweld.C0 = bdefc0
975
Humanoid.WalkSpeed = 16
976
tr1.Enabled = false
977
attack = false
978
end
979
980
function asmek()
981
attack = true
982
--local par
983
--coroutine.wrap(function()
984
--repeat swait() par = rayCast(RootPart.Position,Vector3.new(0,-1,0),3,chara) until par~=nil or Torso.Velocity.Y == 0
985
--tr2.Enabled = false
986
--attack = false
987
--end)()
988
--for i=0,1,.2 do
989
--swait()
990
--PlayAnimationFromTable({		
991
--CFrame.new(0, -0.0460019112, -0.0689063296, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
992
--CFrame.new(0, 1.52556431, -0.222140759, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
993
--CFrame.new(1.59158015, 0.575856388, 6.13234874e-07, 0.642787039, -0.766044974, -4.38231467e-07, 0.766045034, 0.642787039, 1.78813934e-07, 1.63912773e-07, -4.39584255e-07, 1.00000012),
994
--CFrame.new(-1.59158027, 0.575856209, 6.13234988e-07, 0.642787039, 0.766044974, 4.38231467e-07, -0.766045034, 0.642787039, 1.78813934e-07, -1.63912773e-07, -4.39584255e-07, 1.00000012),
995
--CFrame.new(0.499998927, -1.99999928, 3.81469772e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
996
--CFrame.new(-0.5, -1.41182017, 0.232474089, 1, 0, 0, 0, 0.642786622, 0.766045392, 0, -0.766045392, 0.642786622),
997
--}, .3, false)
998
--end
999
tr2.Enabled = true
1000
so(536642316,RightLeg,1,1)
1001
for i=0,1.5,.1 do
1002
swait()
1003
PlayAnimationFromTable({		
1004
CFrame.new(0, -0.11843279, 0.00109164417, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414)*CFrame.Angles(math.rad(-360*i),0,0),
1005
CFrame.new(0, 1.36002374, -0.491580963, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457),
1006
CFrame.new(1.59157825, 0.575854659, 4.30346518e-06, 0.64278698, -0.766045034, -1.0103544e-07, 0.766045094, 0.64278698, -5.36441803e-07, 5.06639481e-07, 2.98023224e-07, 1.00000012),
1007
CFrame.new(-1.59158015, 0.575855613, 2.39611677e-06, 0.64278698, 0.766045034, 1.0103544e-07, -0.766045094, 0.64278698, -5.36441803e-07, -5.06639481e-07, 2.98023224e-07, 1.00000012),
1008
CFrame.new(0.399999022, -1.92074621, -0.716740668, 1, 0, 0, 0, 0.766044736, -0.642787457, 0, 0.642787457, 0.766044736),
1009
CFrame.new(-0.5, -1.41181993, 0.232477784, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457),
1010
}, .3, false)
1011
if i >= .4 then
1012
mdmg(RightLeg,3.5,"Blunt")
1013
end
1014
end
1015
tr2.Enabled = false
1016
attack = false
1017
end
1018
1019
local shots = 7
1020
zhold = true
1021
function shoot()
1022
attack = true
1023
so(169799883,gun,1,1)
1024
for i=0,1,.1 do
1025
swait()
1026
PlayAnimationFromTable({		
1027
CFrame.new(0.0524868444, 0, -0.0110093001, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
1028
CFrame.new(-0.0421711877, 1.49999738, -0.0331315249, 0.852868021, -0.0612752885, -0.518518507, 0.17364794, 0.969846606, 0.171008661, 0.492404759, -0.235887513, 0.837791562),
1029
CFrame.new(0.611007333, -0.00932076573, -0.639356554, 0.653100669, 0.696805716, -0.296515375, -0.748181939, 0.533255994, -0.394793421, -0.116975725, 0.479687244, 0.869607329),
1030
CFrame.new(-1.29161143, -0.030067116, -0.0939707607, 0.98480773, -0.163176328, 0.0593894422, 0.173647985, 0.925416648, -0.336824149, 1.78813934e-06, 0.342019945, 0.939692736),
1031
CFrame.new(0.499998003, -2.00000095, 3.84449959e-06, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
1032
CFrame.new(-0.499998897, -2.00000095, 1.59442425e-06, 0.98480767, 0, 0.173648536, 0, 1, 0, -0.173648536, 0, 0.98480767),
1033
}, .3, false)
1034
end
1035
Humanoid.WalkSpeed = 2
1036
local ref = Instance.new("Part",chara)
1037
ref.Size = Vector3.new(0,0,0)
1038
ref.Anchored = true
1039
ref.CanCollide = false
1040
ref.Transparency = 1
1041
gweld.Part0 = RightArm
1042
gweld.C0 = CFrame.new(.1,-1.5,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-40))
1043
for i=0,1,.1 do
1044
swait()
1045
PlayAnimationFromTable({		
1046
CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1047
CFrame.new(0.0984806046, 1.48289788, -0.00301507115, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1048
CFrame.new(0.9734447, 0.943128467, -1.04116416, 0.76604414, 0.642788053, 0, 0.219846308, -0.262002349, -0.939692736, -0.604023278, 0.719846129, -0.342019886),
1049
CFrame.new(-0.516993761, 0.475136518, -0.924885869, 0, -0.499998987, 0.866025984, 0.939692736, -0.29619813, -0.171009615, 0.342019886, 0.813798308, 0.469845414),
1050
CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1051
CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1052
}, .3, false)
1053
end
1054
swait(5)
1055
repeat
1056
so(470245800,gun,1,1)
1057
ref.CFrame = Mouse.Hit
1058
mdmg(ref,3,"Shot")
1059
local hitpt = Instance.new("Part",EffectModel)
1060
hitpt.Size = Vector3.new(0,0,.3)
1061
local bf = Instance.new("BodyVelocity",hitpt)
1062
bf.P = 10000
1063
bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
1064
game:service'Debris':AddItem(bf,.1)
1065
hitpt.CFrame = gun.CFrame * CFrame.new(0,-.5,.5) * CFrame.Angles(math.rad(90),0,0)
1066
bf.Velocity = Vector3.new(0,5,0) + RootPart.CFrame.rightVector*10
1067
local hitm = Instance.new("SpecialMesh",hitpt)
1068
hitm.MeshId = "http://www.roblox.com/asset/?id=94295100"
1069
hitm.TextureId = "http://www.roblox.com/asset/?id=94287792"
1070
hitm.Scale = Vector3.new(3,3,3.5)
1071
coroutine.wrap(function()
1072
swait(120)
1073
for i = 0,1.1 do
1074
swait()
1075
hitpt.Transparency = i
1076
end
1077
hitpt:Destroy()
1078
end)()
1079
Effects.Block.Create(BrickColor.new("Bright yellow"), gun.CFrame*CFrame.new(0,.6,.3), 0,0,0,1,1,1, 0.05)
1080
shots = shots - 1
1081
for i=0,1,.2 do
1082
swait()
1083
PlayAnimationFromTable({		
1084
CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1085
CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1086
CFrame.new(0.973445654, 1.13885617, -0.660623372, 0.766044199, 0.642787933, 5.27496837e-08, 0.413175672, -0.492403269, -0.766045034, -0.492404401, 0.586824477, -0.64278698),
1087
CFrame.new(-0.516991675, 0.65931946, -0.711421967, 0, -0.499999166, 0.866025925, 0.766044796, -0.556670487, -0.321393073, 0.642787218, 0.663414717, 0.383021772),
1088
CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1089
CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1090
}, .3, false)
1091
end
1092
for i=0,1,.2 do
1093
swait()
1094
PlayAnimationFromTable({		
1095
CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1096
CFrame.new(0.0984806046, 1.48289788, -0.00301507115, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1097
CFrame.new(0.9734447, 0.943128467, -1.04116416, 0.76604414, 0.642788053, 0, 0.219846308, -0.262002349, -0.939692736, -0.604023278, 0.719846129, -0.342019886),
1098
CFrame.new(-0.516993761, 0.475136518, -0.924885869, 0, -0.499998987, 0.866025984, 0.939692736, -0.29619813, -0.171009615, 0.342019886, 0.813798308, 0.469845414),
1099
CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1100
CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1101
}, .3, false)
1102
end
1103
if shots == 0 then
1104
so(147323220,gun,1,1)
1105
for i=0,1.3,.1 do
1106
swait()
1107
PlayAnimationFromTable({		
1108
CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1109
CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1110
CFrame.new(0.973445654, 1.13885617, -0.660623372, 0.766044199, 0.642787933, 5.27496837e-08, 0.413175672, -0.492403269, -0.766045034, -0.492404401, 0.586824477, -0.64278698),
1111
CFrame.new(-1.29161143, -0.030067116, -0.0939707607, 0.98480773, -0.163176328, 0.0593894422, 0.173647985, 0.925416648, -0.336824149, 1.78813934e-06, 0.342019945, 0.939692736),
1112
CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1113
CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1114
}, .3, false)
1115
end
1116
local MagPartt = New("Part",chara,"MagPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000033, 0.399999976, 1),CFrame = CFrame.new(-9.29999638, 0.700002313, -0.200002074, 1, 0, 0, 0, 0, 1, 0, -1, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1117
MagPartt.CFrame = gun.CFrame * CFrame.new(0,-.5,-.5) * CFrame.Angles(0,0,0)
1118
coroutine.wrap(function()
1119
swait(5)
1120
MagPartt.CanCollide = true
1121
swait(120)
1122
for i = 0,1.1 do
1123
swait()
1124
MagPartt.Transparency = i
1125
end
1126
MagPartt:Destroy()
1127
end)()
1128
swait(10)
1129
local MagPart = New("Part",chara,"MagPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(.2,.4,1),CFrame = CFrame.new(-9.29999638, 0.700002313, -0.200002074, 1, 0, 0, 0, 0, 1, 0, -1, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1130
local Weld = New("ManualWeld",MagPart,"Weld",{Part0 = MagPart,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)),C1 = CFrame.new(0.200001717, -1.20000005, -0.200000286, 1, 0, 0, 0, 0, 1, 0, -1, 0),})
1131
for i=0,1.4,.2 do
1132
swait()
1133
PlayAnimationFromTable({		
1134
CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1135
CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1136
CFrame.new(0.973445654, 1.13885617, -0.660623372, 0.766044199, 0.642787933, 5.27496837e-08, 0.413175672, -0.492403269, -0.766045034, -0.492404401, 0.586824477, -0.64278698),
1137
CFrame.new(-0.516991675, 0.65931946, -0.711421967, 0, -0.499999166, 0.866025925, 0.766044796, -0.556670487, -0.321393073, 0.642787218, 0.663414717, 0.383021772),
1138
CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1139
CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1140
}, .3, false)
1141
end
1142
MagPart:Destroy()
1143
swait(5)
1144
for i=0,1,.2 do
1145
swait()
1146
PlayAnimationFromTable({		
1147
CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1148
CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1149
CFrame.new(1.16020393, 0.666379213, -0.905047119, 0.76604414, 0.604023218, 0.219846413, 0.219846308, 0.0751920938, -0.972632408, -0.604023278, 0.793411791, -0.0751917362),
1150
CFrame.new(-0.629211903, 0.930547178, -0.87133497, 0.262002915, -0.642787874, -0.71984607, -0.958213985, -0.262002975, -0.114805877, -0.114805937, 0.71984601, -0.684573948),
1151
CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1152
CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1153
}, .3, false)
1154
end
1155
so(506273075,gun,1,1)
1156
for i=0,1,.2 do
1157
swait()
1158
PlayAnimationFromTable({		
1159
CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1160
CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1161
CFrame.new(1.16020393, 0.666379213, -0.905047119, 0.76604414, 0.604023218, 0.219846413, 0.219846308, 0.0751920938, -0.972632408, -0.604023278, 0.793411791, -0.0751917362),
1162
CFrame.new(-0.629361629, 0.793605626, -0.495871037, 0.262002915, -0.642787874, -0.71984607, -0.958213985, -0.262002975, -0.114805877, -0.114805937, 0.71984601, -0.684573948),
1163
CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1164
CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1165
}, .3, false)
1166
end
1167
for i=0,1,.2 do
1168
swait()
1169
PlayAnimationFromTable({		
1170
CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1171
CFrame.new(0.0984815434, 1.48289728, -0.00301322341, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1172
CFrame.new(1.16020393, 0.666379213, -0.905047119, 0.76604414, 0.604023218, 0.219846413, 0.219846308, 0.0751920938, -0.972632408, -0.604023278, 0.793411791, -0.0751917362),
1173
CFrame.new(-0.629211903, 0.930547178, -0.87133497, 0.262002915, -0.642787874, -0.71984607, -0.958213985, -0.262002975, -0.114805877, -0.114805937, 0.71984601, -0.684573948),
1174
CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1175
CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1176
}, .3, false)
1177
end
1178
shots = 7
1179
swait(10)
1180
for i=0,1,.2 do
1181
swait()
1182
PlayAnimationFromTable({		
1183
CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
1184
CFrame.new(0.0984806046, 1.48289788, -0.00301507115, 0.984807849, 0.173648134, -3.13053391e-07, -0.171010122, 0.969846427, -0.173647895, -0.0301533248, 0.171009824, 0.984807849),
1185
CFrame.new(0.9734447, 0.943128467, -1.04116416, 0.76604414, 0.642788053, 0, 0.219846308, -0.262002349, -0.939692736, -0.604023278, 0.719846129, -0.342019886),
1186
CFrame.new(-0.516993761, 0.475136518, -0.924885869, 0, -0.499998987, 0.866025984, 0.939692736, -0.29619813, -0.171009615, 0.342019886, 0.813798308, 0.469845414),
1187
CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1188
CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
1189
}, .3, false)
1190
end
1191
end
1192
until zhold == false
1193
swait(5)
1194
ref:Destroy()
1195
so(211134014,gun,1,1)
1196
for i=0,1,.1 do
1197
swait()
1198
PlayAnimationFromTable({		
1199
CFrame.new(0.0524868444, 0, -0.0110093001, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
1200
CFrame.new(-0.0421711877, 1.49999738, -0.0331315249, 0.852868021, -0.0612752885, -0.518518507, 0.17364794, 0.969846606, 0.171008661, 0.492404759, -0.235887513, 0.837791562),
1201
CFrame.new(0.611007333, -0.00932076573, -0.639356554, 0.653100669, 0.696805716, -0.296515375, -0.748181939, 0.533255994, -0.394793421, -0.116975725, 0.479687244, 0.869607329),
1202
CFrame.new(-1.29161143, -0.030067116, -0.0939707607, 0.98480773, -0.163176328, 0.0593894422, 0.173647985, 0.925416648, -0.336824149, 1.78813934e-06, 0.342019945, 0.939692736),
1203
CFrame.new(0.499998003, -2.00000095, 3.84449959e-06, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
1204
CFrame.new(-0.499998897, -2.00000095, 1.59442425e-06, 0.98480767, 0, 0.173648536, 0, 1, 0, -0.173648536, 0, 0.98480767),
1205
}, .3, false)
1206
end
1207
gweld.Part0 = Torso
1208
gweld.C0 = gdefc0
1209
Humanoid.WalkSpeed = 16
1210
attack = false
1211
end
1212
1213
local Jails = Instance.new("Model",chara)
1214
Jails.Name = "Jails"
1215
function arrest()
1216
attack = true
1217
if Mouse.Target~= nil then
1218
local dude = Mouse.Target.Parent
1219
local ply = game:service'Players':GetPlayerFromCharacter(dude)
1220
if dude:FindFirstChildOfClass("Humanoid") then
1221
Humanoid.WalkSpeed = 0
1222
for i,v in pairs(dude:children()) do
1223
if v:IsA("LocalScript") or v:IsA("Tool") then
1224
v:Destroy()
1225
end
1226
end
1227
local haed = dude:FindFirstChild("Head")
1228
local JailCell = New("Model",Jails,"JailCell",{})
1229
local SpawnPart = New("Part",JailCell,"SpawnPart",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(-76.1000137, 3.00000596, -1.99999905, 1, 0, 0, 0, 0, 1, 0, -1, 0),Anchored = true,CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1230
local removescriptspart = New("Part",JailCell,"removescriptspart",{Transparency = 1,Transparency = 1,Size = Vector3.new(16, 9, 13),CFrame = CFrame.new(-69.5999985, 5.5000062, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1231
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(6, 9, 1),CFrame = CFrame.new(-75.0999985, 5.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1232
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(19, 1, 16),CFrame = CFrame.new(-69.5999985, 0.50000602, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1233
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-68.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1234
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1235
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 9, 16),CFrame = CFrame.new(-78.5999985, 5.5000062, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1236
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-77.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1237
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1238
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-69.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1239
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1240
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-62.3000031, 2.70000601, 0.600000381, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1241
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(-61.5, 3.10000563, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
1242
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(35, 1, 6),CFrame = CFrame.new(-69.5999985, 0.50000602, 12, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1243
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 2.50000572, 4.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1244
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.400000006, 0.400000006, 0.400000036),CFrame = CFrame.new(-61.2999992, 3.40000558, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
1245
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 5.5000062, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1246
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 16),CFrame = CFrame.new(-85.0999985, 0.50000602, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1247
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-65.8999939, 2.10000563, -4.79999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1248
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.200000003, 2.00000024),CFrame = CFrame.new(-62.1000023, 2.30000591, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1249
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.19999993, 0.600000024, 0.400000036),CFrame = CFrame.new(-65.1000061, 2.10000563, -4.19999886, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1250
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.600000143, 0.400000155),CFrame = CFrame.new(-61.3000031, 2.70000529, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1251
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-62.3000031, 2.70000505, 2.19999886, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1252
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.Granite,Size = Vector3.new(1.19999981, 0.400000036, 1.20000005),CFrame = CFrame.new(-62.1000023, 2.60000587, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
1253
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Lily white"),Material = Enum.Material.Glass,Reflectance = 1,Size = Vector3.new(2, 2.80000019, 0.200000003),CFrame = CFrame.new(-61.1999969, 5.20000648, 1.40000057, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.929412, 0.917647, 0.917647),})
1254
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Metal,Size = Vector3.new(0.599999964, 0.200000033, 0.200000003),CFrame = CFrame.new(-64.5999985, 3.70000505, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1255
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.39999998, 1.20000005, 1.39999998),CFrame = CFrame.new(-61.8000031, 1.6000061, 1.39999962, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1256
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.19999993, 0.600000024, 0.400000036),CFrame = CFrame.new(-62.9000015, 2.70000601, 1.3999958, 0, 0, -1, 0, 1, 0, 1, 0, 0),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1257
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-71.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1258
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1259
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 0.200000003, 2.00000024),CFrame = CFrame.new(-65.0999985, 1.70000601, -5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1260
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.39999998, 0.600000024, 1.39999998),CFrame = CFrame.new(-65.0999985, 1.30000627, -5.29999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1261
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-67.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1262
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1263
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-74.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1264
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1265
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-71.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1266
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1267
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(19, 1, 16),CFrame = CFrame.new(-69.5999985, 10.5000114, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1268
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.Granite,Size = Vector3.new(1.19999981, 0.400000036, 1.20000005),CFrame = CFrame.new(-65.0999985, 2.00000572, -5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
1269
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-72.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1270
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1271
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-76.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1272
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1273
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-75.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1274
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1275
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.99999976, 0.400000095, 6),CFrame = CFrame.new(-76.1000137, 2.6000061, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1276
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(2, 2.40000033, 0.400000155),CFrame = CFrame.new(-65.0999985, 3.00000525, -5.79999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1277
Part = New("Part",JailCell,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999946, 0.600000024, 1.60000014),CFrame = CFrame.new(-64.3000031, 2.10000491, -4.79999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1278
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-81.0999985, 0.50000602, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1279
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-70.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1280
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1281
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-73.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1282
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1283
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(3.99999976, 0.400000036, 8),CFrame = CFrame.new(-76.1000137, 2.20000601, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),})
1284
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 9, 16),CFrame = CFrame.new(-60.5999985, 5.5000062, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1285
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-77.5999985, 1.50000584, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1286
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1287
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(-70.5999985, 6.0000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1288
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1289
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.99999976, 0.400000095, 2),CFrame = CFrame.new(-76.1000137, 2.6000061, -5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1290
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 4.50000572, 2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1291
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 3.50000572, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1292
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 1.50000584, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1293
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 7.5000062, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1294
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 6.5000062, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1295
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 9.50000572, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1296
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 3, 1),CFrame = CFrame.new(-81.0999985, 2.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1297
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-81.0999985, 0.50000602, 7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1298
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 3, 21),CFrame = CFrame.new(-86.5999985, 2.50000596, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1299
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 8.50000572, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1300
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(6, 9, 1),CFrame = CFrame.new(-64.0999985, 5.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1301
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(5, 3, 1),CFrame = CFrame.new(-69.5999985, 2.50000572, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1302
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(5, 2, 1),CFrame = CFrame.new(-69.5999985, 9.00000572, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1303
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-81.0999985, 10.5000114, -3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1304
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-62.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1305
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1306
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-74.5999985, 1.50000584, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1307
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1308
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-74.5999985, 1.50000584, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1309
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1310
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-77.5999985, 1.50000584, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1311
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1312
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-69.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1313
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1314
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-66.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1315
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1316
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-67.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1317
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1318
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-65.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1319
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1320
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-68.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1321
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1322
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-64.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1323
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1324
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-63.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1325
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1326
Part = New("Part",JailCell,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1, 9, 1),CFrame = CFrame.new(-61.5999985, 5.5000062, 8.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1327
Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
1328
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 6.5000062, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1329
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 2.50000572, 4.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1330
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 10.5000114, -3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1331
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 4.50000572, 2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1332
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 3.50000572, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1333
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 8.50000572, -1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1334
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 9.50000572, -2.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1335
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 16),CFrame = CFrame.new(-54.0999985, 0.50000602, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1336
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-58.0999985, 0.50000602, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1337
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 5.5000062, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1338
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 3),CFrame = CFrame.new(-58.0999985, 0.50000602, 7.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1339
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 7.5000062, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1340
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 1, 1),CFrame = CFrame.new(-58.0999985, 1.50000584, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1341
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(1, 3, 21),CFrame = CFrame.new(-52.5999985, 2.50000596, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1342
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(4, 3, 1),CFrame = CFrame.new(-58.0999985, 2.5000062, -6.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1343
Part = New("Part",JailCell,"Part",{Material = Enum.Material.Concrete,Size = Vector3.new(35, 3, 1),CFrame = CFrame.new(-69.5999985, 2.50000596, 14.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1344
JailCell:MoveTo(pos)
1345
removescriptspart.Touched:connect(function(hit)
1346
if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= chara then
1347
for i,v in pairs(hit.Parent:children()) do
1348
if v:IsA("LocalScript") or v:IsA("Tool") then
1349
v:Destroy()
1350
end
1351
end
1352
end
1353
end)
1354
    for _, v in pairs(chara:children()) do
1355
      if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
1356
        do
1357
          local p = v:clone()
1358
          p.Name = "trail"
1359
          p.Parent = workspace
1360
          p.Transparency = 0.5
1361
          p.Anchored = true
1362
          p.BrickColor = BrickColor.White()
1363
          p.Material = "Neon"
1364
          p:BreakJoints()
1365
          p.CanCollide = false
1366
		  if v == chara.Head then
1367
		  for a, b in pairs(p:children()) do
1368
		  if b:IsA("Sound") then
1369
		  b:Destroy()
1370
		  end
1371
		  end
1372
		  end
1373
          coroutine.resume(coroutine.create(function()
1374
            for i = 1, 50 do
1375
              swait()
1376
              p.Transparency = i / 50
1377
            end
1378
            p:Destroy()
1379
          end))
1380
        end
1381
      end
1382
      if v.className == "Accessory" then
1383
      end
1384
end
1385
so(1055279036,Torso,1,3)
1386
if haed~=nil then
1387
haed.Anchored = true
1388
Head.CFrame = haed.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(180),0)
1389
end
1390
for i=0,1,.1 do
1391
swait()
1392
PlayAnimationFromTable({		
1393
CFrame.new(0.174721688, 0, -0.147934705, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388),
1394
CFrame.new(3.35276127e-06, 1.44895828, -0.0894558877, 0.939692616, 3.12924385e-07, -0.342020482, 0.0593909845, 0.98480773, 0.163176119, 0.336824477, -0.173648328, 0.925416529),
1395
CFrame.new(1.5, 0.499998093, -0.40000084, 0.939692676, -0.342020601, 0, 0, 0, -1, 0.342020601, 0.939692676, 0),
1396
CFrame.new(-1.52924228, 0.286380947, -3.51718177e-06, 0.939692855, 0.342019916, 2.08616257e-07, -0.342019856, 0.939692736, -1.5155652e-07, -2.08616257e-07, 8.94069672e-08, 1.00000024),
1397
CFrame.new(0.499998987, -2.00000095, -1.14738941e-06, 0.939692676, 0, -0.342020601, 0, 1, 0, 0.342020601, 0, 0.939692676),
1398
CFrame.new(-0.499998212, -2.00000095, 1.90734909e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
1399
}, .3, false)
1400
end
1401
chatfunc("You are under arrest! Now face your sentence!")
1402
swait(50)
1403
				local soaa = Instance.new("Sound",haed)
1404
				soaa.Volume = 1
1405
				local cho = math.random(1,5)
1406
				if cho == 1 then
1407
				soaa.SoundId = "rbxassetid://111896685"
1408
				elseif cho == 2 then
1409
				soaa.SoundId = "rbxassetid://535528169"
1410
				elseif cho == 3 then
1411
				soaa.SoundId = "rbxassetid://1080363252"
1412
				elseif cho == 4 then
1413
				soaa.SoundId = "rbxassetid://147758746"
1414
				elseif cho == 5 then
1415
				soaa.SoundId = "rbxassetid://626777433"
1416
				soaa.Volume = .3
1417
				soaa.TimePosition = 1
1418
				end
1419
				game:service'Debris':AddItem(soaa,6)
1420
				soaa:Play()
1421
if haed~=nil then
1422
haed.Anchored = false
1423
end
1424
Humanoid.WalkSpeed = 16
1425
local jc = JailCell
1426
if ply~=nil then
1427
local p = ply
1428
coroutine.wrap(function()
1429
while true do
1430
swait()
1431
if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc ~= nil then
1432
if (p.Character:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then
1433
p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
1434
end
1435
elseif p==nil then
1436
jc:Destroy()
1437
break
1438
elseif jc==nil then
1439
break
1440
end
1441
end
1442
end)()
1443
coroutine.wrap(function()
1444
while true do
1445
swait()
1446
if p~=nil and p.Character ~= nil then
1447
for i,v in pairs(p.Character:children()) do
1448
if v:IsA("LocalScript") or v:IsA("Tool") then
1449
if v:IsA("LocalScript") then
1450
v.Disabled = true
1451
end
1452
v:Destroy()
1453
end
1454
end
1455
end
1456
end
1457
end)()
1458
p.CharacterAdded:connect(function()
1459
if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc~=nil then
1460
p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
1461
end
1462
end)
1463
elseif ply == nil then
1464
coroutine.wrap(function()
1465
local ch = dude
1466
while true do
1467
swait()
1468
if ch ~= nil and ch:FindFirstChild("Head") and jc~=nil and jc:FindFirstChild("SpawnPart")~=nil then
1469
if (ch:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then
1470
ch:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
1471
end
1472
elseif ch.Parent==nil then
1473
jc:Destroy()
1474
break
1475
elseif jc.Parent==nil then
1476
break
1477
end
1478
end
1479
end)()
1480
end
1481
end
1482
end
1483
attack = false
1484
end
1485
1486
1487
qhold = false
1488
justsprinted = false
1489
function sprint()
1490
attack = true
1491
--print("supurinto?")
1492
--justsprinted = true
1493
--coroutine.wrap(function()
1494
--swait(10)
1495
--justsprinted = false
1496
--end)()
1497
repeat
1498
swait()
1499
PlayAnimationFromTable({		
1500
CFrame.new(-2.4138464e-07, 0.123327732, -0.188363045, 1, -4.38293796e-07, 1.20420327e-06, 0, 0.939692736, 0.342019886, -1.28148622e-06, -0.342019916, 0.939692736) * CFrame.new(0, 0- .08 * math.cos((sine/2.5)), 0),
1501
CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
1502
CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, -.6 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0), 
1503
CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, .6 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), 
1504
CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), 
1505
CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0), 
1506
}, .3, false)
1507
Humanoid.WalkSpeed = 40
1508
until qhold == false or Torso.Velocity == Vector3.new(0,0,0)
1509
--print'sutoppu'
1510
Humanoid.WalkSpeed = 16
1511
attack = false
1512
end
1513
1514
1515
function movejails()
1516
pos = Mouse.Hit.p
1517
for i,v in pairs(Jails:children()) do
1518
swait(5)
1519
v:MoveTo(pos)
1520
end
1521
end
1522
1523
Mouse.Button1Down:connect(function()
1524
	if attack == false then
1525
	if Anim == "Jump" or Anim == "Fall" then
1526
	asmek()
1527
	else
1528
	smek()
1529
	end
1530
	end
1531
end)
1532
1533
local sprintt = 0
1534
1535
1536
Mouse.KeyDown:connect(function(k)
1537
	k = k:lower()
1538
	if k=='m' then
1539
	if mus.IsPlaying == true then
1540
	mus:Stop()
1541
	elseif mus.IsPaused == true then
1542
	mus:Play()
1543
	end
1544
	end
1545
	if attack == false then
1546
	if k == 'q' then
1547
	qhold = true
1548
	sprint()
1549
	elseif k == 'x' then
1550
	arrest()
1551
	elseif k == 'z' then
1552
	zhold = true
1553
	shoot()
1554
	elseif k == 'p' then
1555
	movejails()
1556
	end
1557
	end
1558
end)
1559
1560
1561
Mouse.KeyUp:connect(function(k)
1562
	k = k:lower()
1563
	if k == 'q' then
1564
	qhold = false
1565
	elseif k == 'z' then
1566
	zhold = false
1567
	end
1568
end)
1569
1570
1571
coroutine.wrap(function()
1572
while 1 do
1573
swait()
1574
if doe <= 360 then
1575
	doe = doe + 2
1576
else
1577
	doe = 0
1578
end
1579
end
1580
end)()
1581
while true do
1582
	swait()
1583
	for i, v in pairs(chara:GetChildren()) do
1584
		if v:IsA("Part") then
1585
			v.Material = "SmoothPlastic"
1586
		elseif v:IsA("Accessory") then
1587
			v:WaitForChild("Handle").Material = "SmoothPlastic"
1588
		end
1589
	end
1590
while true do
1591
swait()
1592
	if sprintt >= 1 then
1593
	sprintt = sprintt - 1
1594
	end
1595
	
1596
	if Head:FindFirstChild("mus")==nil then
1597
	mus = Instance.new("Sound",Head)
1598
	mus.Name = "mus"
1599
	mus.SoundId = "rbxassetid://345868687"
1600
	mus.Looped = true
1601
	mus.Volume = 1
1602
	mus:Play()
1603
	end
1604
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1605
	velocity = RootPart.Velocity.y
1606
	sine = sine + change
1607
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
1608
		if RootPart.Velocity.y > 1 and hit == nil then 
1609
			Anim = "Jump"
1610
			if attack == false then
1611
		PlayAnimationFromTable({
1612
CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
1613
CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855),
1614
CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012),
1615
CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012),
1616
CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
1617
CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
1618
		}, .3, false)
1619
					end
1620
		elseif RootPart.Velocity.y < -1 and hit == nil then 
1621
			Anim = "Fall"
1622
			if attack == false then
1623
		PlayAnimationFromTable({
1624
CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
1625
CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
1626
CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012),
1627
CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012),
1628
CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
1629
CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
1630
		}, .3, false)
1631
					end
1632
		elseif Torsovelocity < 1 and hit ~= nil then
1633
			Anim = "Idle"
1634
			if attack == false then
1635
				change = 1
1636
		PlayAnimationFromTable({
1637
CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0),
1638
CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
1639
CFrame.new(0.89930898, -0.180769742, 0.30436784, 0.766043901, 0.642788172, 8.56792951e-07, -0.556670964, 0.663412929, 0.500000715, 0.321393967, -0.383022994, 0.866024971),
1640
CFrame.new(-0.899309754, -0.180769712, 0.304367989, 0.766043901, -0.642788172, -8.56792951e-07, 0.556670964, 0.663412929, 0.500000715, -0.321393967, -0.383022994, 0.866024971),
1641
CFrame.new(0.5, -1.99999893, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
1642
CFrame.new(-0.5, -1.99999893, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
1643
		}, .3, false)
1644
			end
1645
		elseif Torsovelocity > 2 and hit ~= nil then
1646
			Anim = "Walk"
1647
			if attack == false then
1648
		PlayAnimationFromTable({		
1649
CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 3.5), 0) * CFrame.Angles(0, 0, 0), 
1650
CFrame.new(-2.09923631e-14, 1.48262846, -0.0984891504, 1, -1.42108547e-14, 0, 0, 0.984807491, 0.173649743, 0, -0.173649758, 0.984807491),
1651
CFrame.new(0.89930898, -0.180769742, 0.30436784, 0.766043901, 0.642788172, 8.56792951e-07, -0.556670964, 0.663412929, 0.500000715, 0.321393967, -0.383022994, 0.866024971),
1652
CFrame.new(-0.899309754, -0.180769712, 0.304367989, 0.766043901, -0.642788172, -8.56792951e-07, 0.556670964, 0.663412929, 0.500000715, -0.321393967, -0.383022994, 0.866024971),
1653
CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 5)), 0, 0), 
1654
CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 5)), 0, 0), 
1655
		}, .3, false)
1656
			end
1657
		end
1658
	if 0 < #Effects then
1659
		for e = 1, #Effects do
1660
			if Effects[e] ~= nil then
1661
				local Thing = Effects[e]
1662
				if Thing ~= nil then
1663
					local Part = Thing[1]
1664
					local Mode = Thing[2]
1665
					local Delay = Thing[3]
1666
					local IncX = Thing[4]
1667
					local IncY = Thing[5]
1668
					local IncZ = Thing[6]
1669
					if Thing[2] == "Shoot" then
1670
						local Look = Thing[1]
1671
						local move = 30
1672
						if Thing[8] == 3 then
1673
							move = 10
1674
						end
1675
						local hit, pos = rayCast(Thing[4], Thing[1], move, m)
1676
						if Thing[10] ~= nil then
1677
							da = pos
1678
							cf2 = CFrame.new(Thing[4], Thing[10].Position)
1679
							cfa = CFrame.new(Thing[4], pos)
1680
							tehCF = cfa:lerp(cf2, 0.2)
1681
							Thing[1] = tehCF.lookVector
1682
						end
1683
						local mag = (Thing[4] - pos).magnitude
1684
						Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
1685
						if Thing[8] == 2 then
1686
							Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
1687
						end
1688
						Thing[4] = Thing[4] + Look * move
1689
						Thing[3] = Thing[3] - 1
1690
						if 2 < Thing[5] then
1691
							Thing[5] = Thing[5] - 0.3
1692
							Thing[6] = Thing[6] - 0.3
1693
						end
1694
						if hit ~= nil then
1695
							Thing[3] = 0
1696
							if Thing[8] == 1 or Thing[8] == 3 then
1697
								Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
1698
							else
1699
								if Thing[8] == 2 then
1700
									Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
1701
									if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
1702
										ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
1703
										ref.Anchored = true
1704
										ref.CFrame = CFrame.new(pos)
1705
										CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
1706
										game:GetService("Debris"):AddItem(ref, 0.2)
1707
										Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
1708
										Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
1709
										MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
1710
									end
1711
								end
1712
							end
1713
							ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
1714
							ref.Anchored = true
1715
							ref.CFrame = CFrame.new(pos)
1716
							Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
1717
							game:GetService("Debris"):AddItem(ref, 1)
1718
						end
1719
						if Thing[3] <= 0 then
1720
							table.remove(Effects, e)
1721
						end
1722
					end
1723
					do
1724
						do
1725
							if Thing[2] == "FireWave" then
1726
								if Thing[3] <= Thing[4] then
1727
									Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
1728
									Thing[3] = Thing[3] + 1
1729
									Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
1730
								else
1731
									Part.Parent = nil
1732
									table.remove(Effects, e)
1733
								end
1734
							end
1735
							if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
1736
								if Thing[1].Transparency <= 1 then
1737
									if Thing[2] == "Block1" then
1738
										Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1739
										Mesh = Thing[7]
1740
										Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1741
										Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1742
									else
1743
										if Thing[2] == "Block2" then
1744
											Thing[1].CFrame = Thing[1].CFrame
1745
											Mesh = Thing[7]
1746
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1747
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1748
										else
1749
											if Thing[2] == "Fire" then
1750
												Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
1751
												Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1752
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1753
											else
1754
												if Thing[2] == "Cylinder" then
1755
													Mesh = Thing[7]
1756
													Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1757
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1758
												else
1759
													if Thing[2] == "Blood" then
1760
														Mesh = Thing[7]
1761
														Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
1762
														Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1763
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1764
													else
1765
														if Thing[2] == "Elec" then
1766
															Mesh = Thing[10]
1767
															Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1768
															Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1769
														else
1770
															if Thing[2] == "Disappear" then
1771
																Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1772
															else
1773
																if Thing[2] == "Shatter" then
1774
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1775
														Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1776
														Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1777
														Thing[6] = Thing[6] + Thing[5]
1778
																end
1779
															end
1780
														end
1781
													end
1782
												end
1783
											end
1784
										end
1785
									end
1786
								else
1787
									Part.Parent = nil
1788
									table.remove(Effects, e)
1789
								end
1790
							end
1791
						end
1792
					end
1793
				end
1794
			end
1795
		end
1796
	end
1797
end
1798
end