SHOW:
|
|
- or go back to the newest paste.
1 | - | ----------------------------------- |
1 | + | --void Script bbuilder fe script converter V2 |
2 | - | --WATCH OUT HERE COMES THE COPPAS-- |
2 | + | |
3 | - | ---------------------------------------------------------------- |
3 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
4 | - | --By CKbackup (Sugarie Saffron) -- |
4 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
5 | - | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- |
5 | + | local RealPlayer = Player |
6 | - | --Discord: Sugarie Saffron#4705 -- |
6 | + | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end |
7 | - | ---------------------------------------------------------------- |
7 | + | |
8 | (Keys) | |
9 | - | print([[ |
9 | + | |
10 | - | --Script Cop-- |
10 | + | |
11 | - | By CKbackup (Sugarie Saffron) |
11 | + | |
12 | - | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw |
12 | + | |
13 | - | Discord: Sugarie Saffron#4705 |
13 | + | |
14 | - | -------------------------------- |
14 | + | |
15 | - | As I've been demoted from my SB |
15 | + | |
16 | - | Mod rank in VSB, I don't see the |
16 | + | |
17 | - | need to hold this back any longer. |
17 | + | |
18 | ||
19 | - | Also, if the anims look weird or |
19 | + | |
20 | - | the weapon looks out of place, |
20 | + | |
21 | - | it's because it's actually modeled |
21 | + | |
22 | - | off a scaled rig with a package. |
22 | + | |
23 | - | It looks better with the Boy |
23 | + | |
24 | - | package. |
24 | + | |
25 | - | -------------------------------- |
25 | + | |
26 | local RightArm = chara["Right Arm"] | |
27 | local LeftLeg = chara["Left Leg"] | |
28 | local RightLeg = chara["Right Leg"] | |
29 | local Head = chara.Head | |
30 | local Torso = chara.Torso | |
31 | local RootPart = chara.HumanoidRootPart | |
32 | local RootJoint = RootPart.RootJoint | |
33 | local attack = false | |
34 | local Anim = 'Idle' | |
35 | local attacktype = 1 | |
36 | local delays = false | |
37 | local play = true | |
38 | local targetted = nil | |
39 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
40 | local velocity = RootPart.Velocity.y | |
41 | local sine = 0 | |
42 | local change = 1 | |
43 | local doe = 0 | |
44 | local Create = LoadLibrary("RbxUtility").Create | |
45 | Humanoid.WalkSpeed = 16 | |
46 | ||
47 | ||
48 | ||
49 | Humanoid.Animator.Parent = nil | |
50 | chara.Animate.Parent = nil | |
51 | ||
52 | local pos = Vector3.new(0,0,-50) | |
53 | ||
54 | local newMotor = function(part0, part1, c0, c1) | |
55 | local w = Create('Motor'){ | |
56 | Parent = part0, | |
57 | Part0 = part0, | |
58 | Part1 = part1, | |
59 | C0 = c0, | |
60 | C1 = c1, | |
61 | } | |
62 | return w | |
63 | end | |
64 | ||
65 | function clerp(a, b, t) | |
66 | return a:lerp(b, t) | |
67 | end | |
68 | ||
69 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
70 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
71 | ||
72 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
73 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
74 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
75 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
76 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
77 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
78 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
79 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
80 | ||
81 | ||
82 | local rarmc1 = RW.C1 | |
83 | local larmc1 = LW.C1 | |
84 | local rlegc1 = RH.C1 | |
85 | local llegc1 = LH.C1 | |
86 | ||
87 | local resetc1 = false | |
88 | ||
89 | function PlayAnimationFromTable(table, speed, bool) | |
90 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
91 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
92 | RW.C0 = clerp(RW.C0, table[3], speed) | |
93 | LW.C0 = clerp(LW.C0, table[4], speed) | |
94 | RH.C0 = clerp(RH.C0, table[5], speed) | |
95 | LH.C0 = clerp(LH.C0, table[6], speed) | |
96 | if bool == true then | |
97 | if resetc1 == false then | |
98 | resetc1 = true | |
99 | RootJoint.C1 = RootJoint.C1 | |
100 | Torso.Neck.C1 = Torso.Neck.C1 | |
101 | RW.C1 = rarmc1 | |
102 | LW.C1 = larmc1 | |
103 | RH.C1 = rlegc1 | |
104 | LH.C1 = llegc1 | |
105 | end | |
106 | end | |
107 | end | |
108 | ||
109 | ||
110 | ArtificialHB = Instance.new("BindableEvent", script) | |
111 | ArtificialHB.Name = "Heartbeat" | |
112 | script:WaitForChild("Heartbeat") | |
113 | frame = 0.03333333333333 | |
114 | tf = 0 | |
115 | allowframeloss = false | |
116 | tossremainder = false | |
117 | lastframe = tick() | |
118 | script.Heartbeat:Fire() | |
119 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
120 | tf = tf + s | |
121 | if tf >= frame then | |
122 | if allowframeloss then | |
123 | script.Heartbeat:Fire() | |
124 | lastframe = tick() | |
125 | else | |
126 | for i = 1, math.floor(tf / frame) do | |
127 | script.Heartbeat:Fire() | |
128 | end | |
129 | lastframe = tick() | |
130 | end | |
131 | if tossremainder then | |
132 | tf = 0 | |
133 | else | |
134 | tf = tf - frame * math.floor(tf / frame) | |
135 | end | |
136 | end | |
137 | end) | |
138 | function swait(num) | |
139 | if num == 0 or num == nil then | |
140 | ArtificialHB.Event:wait() | |
141 | else | |
142 | for i = 0, num do | |
143 | ArtificialHB.Event:wait() | |
144 | end | |
145 | end | |
146 | end | |
147 | ||
148 | function RemoveOutlines(part) | |
149 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
150 | end | |
151 | ||
152 | ||
153 | CFuncs = { | |
154 | ["Part"] = { | |
155 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
156 | local Part = Create("Part"){ | |
157 | Parent = Parent, | |
158 | Reflectance = Reflectance, | |
159 | Transparency = Transparency, | |
160 | CanCollide = false, | |
161 | Locked = true, | |
162 | BrickColor = BrickColor.new(tostring(BColor)), | |
163 | Name = Name, | |
164 | Size = Size, | |
165 | Material = Material, | |
166 | } | |
167 | RemoveOutlines(Part) | |
168 | return Part | |
169 | end; | |
170 | }; | |
171 | ||
172 | ["Mesh"] = { | |
173 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
174 | local Msh = Create(Mesh){ | |
175 | Parent = Part, | |
176 | Offset = OffSet, | |
177 | Scale = Scale, | |
178 | } | |
179 | if Mesh == "SpecialMesh" then | |
180 | Msh.MeshType = MeshType | |
181 | Msh.MeshId = MeshId | |
182 | end | |
183 | return Msh | |
184 | end; | |
185 | }; | |
186 | ||
187 | ["Mesh"] = { | |
188 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
189 | local Msh = Create(Mesh){ | |
190 | Parent = Part, | |
191 | Offset = OffSet, | |
192 | Scale = Scale, | |
193 | } | |
194 | if Mesh == "SpecialMesh" then | |
195 | Msh.MeshType = MeshType | |
196 | Msh.MeshId = MeshId | |
197 | end | |
198 | return Msh | |
199 | end; | |
200 | }; | |
201 | ||
202 | ["Weld"] = { | |
203 | Create = function(Parent, Part0, Part1, C0, C1) | |
204 | local Weld = Create("Weld"){ | |
205 | Parent = Parent, | |
206 | Part0 = Part0, | |
207 | Part1 = Part1, | |
208 | C0 = C0, | |
209 | C1 = C1, | |
210 | } | |
211 | return Weld | |
212 | end; | |
213 | }; | |
214 | ||
215 | ["ParticleEmitter"] = { | |
216 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
217 | local fp = Create("ParticleEmitter"){ | |
218 | Parent = Parent, | |
219 | Color = ColorSequence.new(Color1, Color2), | |
220 | LightEmission = LightEmission, | |
221 | Size = Size, | |
222 | Texture = Texture, | |
223 | Transparency = Transparency, | |
224 | ZOffset = ZOffset, | |
225 | Acceleration = Accel, | |
226 | Drag = Drag, | |
227 | LockedToPart = LockedToPart, | |
228 | VelocityInheritance = VelocityInheritance, | |
229 | EmissionDirection = EmissionDirection, | |
230 | Enabled = Enabled, | |
231 | Lifetime = LifeTime, | |
232 | Rate = Rate, | |
233 | Rotation = Rotation, | |
234 | RotSpeed = RotSpeed, | |
235 | Speed = Speed, | |
236 | VelocitySpread = VelocitySpread, | |
237 | } | |
238 | return fp | |
239 | end; | |
240 | }; | |
241 | ||
242 | CreateTemplate = { | |
243 | ||
244 | }; | |
245 | } | |
246 | ||
247 | ||
248 | function so(id,par,pit,vol) | |
249 | local sou = Instance.new("Sound", par or workspace) | |
250 | if par == chara then | |
251 | sou.Parent = chara.Torso | |
252 | end | |
253 | sou.Volume = vol | |
254 | sou.Pitch = pit or 1 | |
255 | sou.SoundId = "rbxassetid://" .. id | |
256 | sou.PlayOnRemove = true | |
257 | sou:Destroy() | |
258 | end | |
259 | ||
260 | local mus = Instance.new("Sound",Head) | |
261 | mus.Name = "mus" | |
262 | mus.SoundId = "rbxassetid://345868687" | |
263 | mus.Looped = true | |
264 | mus.Volume = 1 | |
265 | mus:Play() | |
266 | ||
267 | New = function(Object, Parent, Name, Data) | |
268 | local Object = Instance.new(Object) | |
269 | for Index, Value in pairs(Data or {}) do | |
270 | Object[Index] = Value | |
271 | end | |
272 | Object.Parent = Parent | |
273 | Object.Name = Name | |
274 | return Object | |
275 | end | |
276 | ||
277 | 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),}) | |
278 | 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,}) | |
279 | 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),}) | |
280 | for i, v in pairs(chara:children()) do | |
281 | if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("BodyColors") then | |
282 | v:Destroy() | |
283 | elseif v.Name == "FakeHeadM" then | |
284 | v.Ahoge.Mesh.Scale = Vector3.new() | |
285 | elseif v.Name == "Chest" then | |
286 | for a, b in pairs(v:children()) do | |
287 | if b.Name ~= "Tail" then | |
288 | b.Transparency = 1 | |
289 | end | |
290 | end | |
291 | end | |
292 | end | |
293 | local sh = Instance.new("Shirt",chara) | |
294 | local pn = Instance.new("Pants",chara) | |
295 | sh.ShirtTemplate = "rbxassetid://133284214" | |
296 | pn.PantsTemplate = "rbxassetid://15224239" | |
297 | ||
298 | ||
299 | bdefc0 = CFrame.new(.8,-1,0)*CFrame.Angles(math.rad(30),0,0) | |
300 | gdefc0 = CFrame.new(-.8,-1,0)*CFrame.Angles(math.rad(130),0,0) | |
301 | ||
302 | local baton = Instance.new("Part",chara) | |
303 | baton.Name = "Baton" | |
304 | baton.Size = Vector3.new(.2,.2,3.2) | |
305 | baton.BrickColor = BrickColor.new("Really black") | |
306 | baton.CanCollide = false | |
307 | CFuncs.Mesh.Create("SpecialMesh", baton, "FileMesh", "rbxassetid://11820238", Vector3.new(), Vector3.new(1.5,1.5,1.5)) | |
308 | ||
309 | local bweld = Instance.new("Weld",baton) | |
310 | bweld.Part0 = Torso | |
311 | bweld.Part1 = baton | |
312 | bweld.C0 = bdefc0 | |
313 | ||
314 | local att1 = Instance.new("Attachment",baton) | |
315 | att1.Position = Vector3.new(-baton.Size.X/2,baton.Size.Y/2,baton.Size.Z/2) | |
316 | local att2 = Instance.new("Attachment",baton) | |
317 | att2.Position = Vector3.new(-baton.Size.X/2,-baton.Size.Y/2,-baton.Size.Z/2) | |
318 | local tr1 = Instance.new("Trail",baton) | |
319 | tr1.Color = ColorSequence.new(Color3.new(1,1,1)) | |
320 | tr1.Transparency = NumberSequence.new(0,1) | |
321 | tr1.Lifetime = .5 | |
322 | tr1.Enabled = false | |
323 | tr1.LightEmission = 1 | |
324 | tr1.Attachment0 = att1 | |
325 | tr1.Attachment1 = att2 | |
326 | local att3 = Instance.new("Attachment",RightLeg) | |
327 | att3.Position = Vector3.new(0,1,0) | |
328 | local att4 = Instance.new("Attachment",RightLeg) | |
329 | att4.Position = Vector3.new(0,-1,0) | |
330 | local tr2 = Instance.new("Trail",RightLeg) | |
331 | tr2.Color = ColorSequence.new(Color3.new(1,1,1)) | |
332 | tr2.Transparency = NumberSequence.new(0,1) | |
333 | tr2.Lifetime = .5 | |
334 | tr2.Enabled = false | |
335 | tr2.LightEmission = 1 | |
336 | tr2.Attachment0 = att3 | |
337 | tr2.Attachment1 = att4 | |
338 | ||
339 | local gun = Instance.new("Part",chara) | |
340 | gun.Name = "Gun" | |
341 | gun.Size = Vector3.new(.2,.2,.2) | |
342 | gun.BrickColor = BrickColor.new("Really black") | |
343 | gun.CanCollide = false | |
344 | CFuncs.Mesh.Create("SpecialMesh", gun, "FileMesh", "rbxassetid://72012879", Vector3.new(), Vector3.new(2,2,2)) | |
345 | ||
346 | local gweld = Instance.new("Weld",gun) | |
347 | gweld.Part0 = Torso | |
348 | gweld.Part1 = gun | |
349 | gweld.C0 = gdefc0 | |
350 | ||
351 | function rayCast(Position, Direction, Range, Ignore) | |
352 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
353 | end | |
354 | ||
355 | function mdmg(Part, Magnitude, HitType) | |
356 | for _, c in pairs(workspace:GetDescendants()) do | |
357 | local hum = c:FindFirstChildOfClass("Humanoid") | |
358 | if hum ~= nil then | |
359 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
360 | if head ~= nil then | |
361 | local targ = head.Position - Part.Position | |
362 | local mag = targ.magnitude | |
363 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then | |
364 | if c.Name ~= chara then | |
365 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
366 | local val = Instance.new("BoolValue",c) | |
367 | val.Name = "MagDmgd" | |
368 | local asd = Instance.new("ParticleEmitter",head) | |
369 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
370 | asd.LightEmission = .1 | |
371 | asd.Size = NumberSequence.new(0.2) | |
372 | asd.Texture = "rbxassetid://771221224" | |
373 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 1)}) | |
374 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
375 | asd.Transparency = bbb | |
376 | asd.Size = aaa | |
377 | asd.ZOffset = .9 | |
378 | asd.Acceleration = Vector3.new(0, -5, 0) | |
379 | asd.LockedToPart = false | |
380 | asd.EmissionDirection = "Back" | |
381 | asd.Lifetime = NumberRange.new(1, 2) | |
382 | asd.Rate = 1000 | |
383 | asd.Rotation = NumberRange.new(-100, 100) | |
384 | asd.RotSpeed = NumberRange.new(-100, 100) | |
385 | asd.Speed = NumberRange.new(6) | |
386 | asd.VelocitySpread = 10000 | |
387 | asd.Enabled = false | |
388 | asd:Emit(20) | |
389 | game:service'Debris':AddItem(asd,3) | |
390 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
391 | if HitType == "Blunt" then | |
392 | so(386946017,head,.95,3) | |
393 | game:service'Debris':AddItem(val,1) | |
394 | elseif HitType == "Shot" then | |
395 | so(144884872,head,.9,3) | |
396 | game:service'Debris':AddItem(val,.05) | |
397 | end | |
398 | local soaa = Instance.new("Sound",c.Head) | |
399 | soaa.Volume = .5 | |
400 | local cho = math.random(1,5) | |
401 | if cho == 1 then | |
402 | soaa.SoundId = "rbxassetid://111896685" | |
403 | elseif cho == 2 then | |
404 | soaa.SoundId = "rbxassetid://535528169" | |
405 | elseif cho == 3 then | |
406 | soaa.SoundId = "rbxassetid://1080363252" | |
407 | elseif cho == 4 then | |
408 | soaa.SoundId = "rbxassetid://147758746" | |
409 | elseif cho == 5 then | |
410 | soaa.SoundId = "rbxassetid://626777433" | |
411 | soaa.Volume = .2 | |
412 | soaa.TimePosition = 1 | |
413 | end | |
414 | game:service'Debris':AddItem(soaa,6) | |
415 | soaa:Play() | |
416 | for i,v in pairs(c:children()) do | |
417 | if v:IsA("LocalScript") or v:IsA("Tool") then | |
418 | v:Destroy() | |
419 | end | |
420 | end | |
421 | hum.PlatformStand = true | |
422 | head.Velocity = RootPart.CFrame.lookVector*50 | |
423 | head.RotVelocity = Vector3.new(10,0,0) | |
424 | chatfunc("Let that be a warning!") | |
425 | coroutine.wrap(function() | |
426 | swait(5) | |
427 | c:BreakJoints() end)() | |
428 | else | |
429 | end | |
430 | end | |
431 | end | |
432 | end | |
433 | end | |
434 | end | |
435 | end | |
436 | ||
437 | --[[FindNearestTorso = function(pos) | |
438 | local list = (game.workspace:GetDescendants()) | |
439 | local torso = nil | |
440 | local dist = 1000 | |
441 | local temp, human, temp2 = nil, nil, nil | |
442 | for x = 1, #list do | |
443 | temp2 = list[x] | |
444 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
445 | temp = temp2:findFirstChild("Torso") | |
446 | human = temp2:FindFirstChildOfClass("Humanoid") | |
447 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
448 | local dohit = true | |
449 | if dohit == true then | |
450 | torso = temp | |
451 | dist = (temp.Position - pos).magnitude | |
452 | end | |
453 | end | |
454 | end | |
455 | end | |
456 | return torso, dist | |
457 | end]] | |
458 | ||
459 | ||
460 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
461 | if SinglePlayer then | |
462 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
463 | end | |
464 | local List = {} | |
465 | for i, v in pairs(workspace:GetDescendants()) do | |
466 | if v:IsA("Model") then | |
467 | if v:findFirstChild("Head") then | |
468 | if v ~= chara then | |
469 | if (v.Head.Position - Position).magnitude <= Distance then | |
470 | table.insert(List, v) | |
471 | end | |
472 | end | |
473 | end | |
474 | end | |
475 | end | |
476 | return List | |
477 | end | |
478 | ||
479 | ||
480 | --Chat Function-- | |
481 | function chatfunc(text) | |
482 | coroutine.wrap(function() | |
483 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
484 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
485 | end | |
486 | local naeeym2 = Instance.new("BillboardGui",chara) | |
487 | naeeym2.Size = UDim2.new(0,100,0,40) | |
488 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
489 | naeeym2.Adornee = chara.Head | |
490 | naeeym2.Name = "TalkingBillBoard" | |
491 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
492 | tecks2.BackgroundTransparency = 1 | |
493 | tecks2.BorderSizePixel = 0 | |
494 | tecks2.Text = "" | |
495 | tecks2.Font = "Fantasy" | |
496 | tecks2.FontSize = "Size24" | |
497 | tecks2.TextStrokeTransparency = 0 | |
498 | tecks2.TextColor3 = Color3.new(1,1,1) | |
499 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
500 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
501 | for i = 1,string.len(text),1 do | |
502 | tecks2.Text = string.sub(text,1,i) | |
503 | swait() | |
504 | end | |
505 | swait(30) | |
506 | for i = 1, 5 do | |
507 | swait() | |
508 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
509 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
510 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
511 | end | |
512 | naeeym2:Destroy() | |
513 | end)() | |
514 | end | |
515 | ||
516 | ||
517 | ||
518 | EffectModel = Create("Model"){ | |
519 | Parent = chara, | |
520 | Name = "Effects", | |
521 | } | |
522 | ||
523 | ||
524 | Effects = { | |
525 | Block = { | |
526 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
527 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
528 | prt.Anchored = true | |
529 | prt.CFrame = cframe | |
530 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
531 | game:GetService("Debris"):AddItem(prt, 10) | |
532 | if Type == 1 or Type == nil then | |
533 | table.insert(Effects, { | |
534 | prt, | |
535 | "Block1", | |
536 | delay, | |
537 | x3, | |
538 | y3, | |
539 | z3, | |
540 | msh | |
541 | }) | |
542 | elseif Type == 2 then | |
543 | table.insert(Effects, { | |
544 | prt, | |
545 | "Block2", | |
546 | delay, | |
547 | x3, | |
548 | y3, | |
549 | z3, | |
550 | msh | |
551 | }) | |
552 | end | |
553 | end; | |
554 | }; | |
555 | ||
556 | Cylinder = { | |
557 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
558 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
559 | prt.Anchored = true | |
560 | prt.CFrame = cframe | |
561 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
562 | game:GetService("Debris"):AddItem(prt, 10) | |
563 | table.insert(Effects, { | |
564 | prt, | |
565 | "Cylinder", | |
566 | delay, | |
567 | x3, | |
568 | y3, | |
569 | z3, | |
570 | msh | |
571 | }) | |
572 | end; | |
573 | }; | |
574 | Head = { | |
575 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
576 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
577 | prt.Anchored = true | |
578 | prt.CFrame = cframe | |
579 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
580 | game:GetService("Debris"):AddItem(prt, 10) | |
581 | table.insert(Effects, { | |
582 | prt, | |
583 | "Cylinder", | |
584 | delay, | |
585 | x3, | |
586 | y3, | |
587 | z3, | |
588 | msh | |
589 | }) | |
590 | end; | |
591 | }; | |
592 | ||
593 | Sphere = { | |
594 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
595 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
596 | prt.Anchored = true | |
597 | prt.CFrame = cframe | |
598 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
599 | game:GetService("Debris"):AddItem(prt, 10) | |
600 | table.insert(Effects, { | |
601 | prt, | |
602 | "Cylinder", | |
603 | delay, | |
604 | x3, | |
605 | y3, | |
606 | z3, | |
607 | msh | |
608 | }) | |
609 | end; | |
610 | }; | |
611 | ||
612 | Elect = { | |
613 | Create = function(cff, x, y, z) | |
614 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
615 | prt.Anchored = true | |
616 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
617 | prt.CFrame = CFrame.new(prt.Position) | |
618 | game:GetService("Debris"):AddItem(prt, 2) | |
619 | local xval = math.random() / 2 | |
620 | local yval = math.random() / 2 | |
621 | local zval = math.random() / 2 | |
622 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
623 | table.insert(Effects, { | |
624 | prt, | |
625 | "Elec", | |
626 | 0.1, | |
627 | x, | |
628 | y, | |
629 | z, | |
630 | xval, | |
631 | yval, | |
632 | zval | |
633 | }) | |
634 | end; | |
635 | ||
636 | }; | |
637 | ||
638 | Ring = { | |
639 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
640 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
641 | prt.Anchored = true | |
642 | prt.CFrame = cframe | |
643 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
644 | game:GetService("Debris"):AddItem(prt, 10) | |
645 | table.insert(Effects, { | |
646 | prt, | |
647 | "Cylinder", | |
648 | delay, | |
649 | x3, | |
650 | y3, | |
651 | z3, | |
652 | msh | |
653 | }) | |
654 | end; | |
655 | }; | |
656 | ||
657 | ||
658 | Wave = { | |
659 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
660 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
661 | prt.Anchored = true | |
662 | prt.CFrame = cframe | |
663 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
664 | game:GetService("Debris"):AddItem(prt, 10) | |
665 | table.insert(Effects, { | |
666 | prt, | |
667 | "Cylinder", | |
668 | delay, | |
669 | x3, | |
670 | y3, | |
671 | z3, | |
672 | msh | |
673 | }) | |
674 | end; | |
675 | }; | |
676 | ||
677 | Break = { | |
678 | Create = function(brickcolor, cframe, x1, y1, z1) | |
679 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
680 | prt.Anchored = true | |
681 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
682 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
683 | local num = math.random(10, 50) / 1000 | |
684 | game:GetService("Debris"):AddItem(prt, 10) | |
685 | table.insert(Effects, { | |
686 | prt, | |
687 | "Shatter", | |
688 | num, | |
689 | prt.CFrame, | |
690 | math.random() - math.random(), | |
691 | 0, | |
692 | math.random(50, 100) / 100 | |
693 | }) | |
694 | end; | |
695 | }; | |
696 | ||
697 | Fire = { | |
698 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
699 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
700 | prt.Anchored = true | |
701 | prt.CFrame = cframe | |
702 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
703 | game:GetService("Debris"):AddItem(prt, 10) | |
704 | table.insert(Effects, { | |
705 | prt, | |
706 | "Fire", | |
707 | delay, | |
708 | 1, | |
709 | 1, | |
710 | 1, | |
711 | msh | |
712 | }) | |
713 | end; | |
714 | }; | |
715 | ||
716 | FireWave = { | |
717 | Create = function(brickcolor, cframe, x1, y1, z1) | |
718 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
719 | prt.Anchored = true | |
720 | prt.CFrame = cframe | |
721 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
722 | local d = Create("Decal"){ | |
723 | Parent = prt, | |
724 | Texture = "rbxassetid://26356434", | |
725 | Face = "Top", | |
726 | } | |
727 | local d = Create("Decal"){ | |
728 | Parent = prt, | |
729 | Texture = "rbxassetid://26356434", | |
730 | Face = "Bottom", | |
731 | } | |
732 | game:GetService("Debris"):AddItem(prt, 10) | |
733 | table.insert(Effects, { | |
734 | prt, | |
735 | "FireWave", | |
736 | 1, | |
737 | 30, | |
738 | math.random(400, 600) / 100, | |
739 | msh | |
740 | }) | |
741 | end; | |
742 | }; | |
743 | ||
744 | Lightning = { | |
745 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
746 | local magz = (p0 - p1).magnitude | |
747 | local curpos = p0 | |
748 | local trz = { | |
749 | -ofs, | |
750 | ofs | |
751 | } | |
752 | for i = 1, tym do | |
753 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
754 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
755 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
756 | li.Material = "Neon" | |
757 | if tym == i then | |
758 | local magz2 = (curpos - p1).magnitude | |
759 | li.Size = Vector3.new(th, th, magz2) | |
760 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
761 | table.insert(Effects, { | |
762 | li, | |
763 | "Disappear", | |
764 | last | |
765 | }) | |
766 | else | |
767 | do | |
768 | do | |
769 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
770 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
771 | game.Debris:AddItem(li, 10) | |
772 | table.insert(Effects, { | |
773 | li, | |
774 | "Disappear", | |
775 | last | |
776 | }) | |
777 | end | |
778 | end | |
779 | end | |
780 | end | |
781 | end | |
782 | }; | |
783 | ||
784 | EffectTemplate = { | |
785 | ||
786 | }; | |
787 | } | |
788 | ||
789 | ||
790 | function smek() | |
791 | attack = true | |
792 | bweld.Part0 = RightArm | |
793 | bweld.C0 = CFrame.new(-.2,-2,.4)*CFrame.Angles(math.rad(90),0,math.rad(180)) | |
794 | Humanoid.WalkSpeed = 40 | |
795 | for i=0,1,.2 do | |
796 | swait() | |
797 | PlayAnimationFromTable({ | |
798 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
799 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
800 | 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), | |
801 | 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), | |
802 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
803 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
804 | }, .3, false) | |
805 | end | |
806 | Humanoid.WalkSpeed = 2 | |
807 | tr1.Enabled = true | |
808 | so(536642316,baton,1,1) | |
809 | for i=0,1,.1 do | |
810 | swait() | |
811 | PlayAnimationFromTable({ | |
812 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
813 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
814 | 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), | |
815 | 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), | |
816 | 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), | |
817 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
818 | }, .3, false) | |
819 | mdmg(baton,3,"Blunt") | |
820 | end | |
821 | swait(5) | |
822 | bweld.Part0 = Torso | |
823 | bweld.C0 = bdefc0 | |
824 | Humanoid.WalkSpeed = 16 | |
825 | tr1.Enabled = false | |
826 | attack = false | |
827 | end | |
828 | ||
829 | function asmek() | |
830 | attack = true | |
831 | --local par | |
832 | --coroutine.wrap(function() | |
833 | --repeat swait() par = rayCast(RootPart.Position,Vector3.new(0,-1,0),3,chara) until par~=nil or Torso.Velocity.Y == 0 | |
834 | --tr2.Enabled = false | |
835 | --attack = false | |
836 | --end)() | |
837 | --for i=0,1,.2 do | |
838 | --swait() | |
839 | --PlayAnimationFromTable({ | |
840 | --CFrame.new(0, -0.0460019112, -0.0689063296, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
841 | --CFrame.new(0, 1.52556431, -0.222140759, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
842 | --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), | |
843 | --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), | |
844 | --CFrame.new(0.499998927, -1.99999928, 3.81469772e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
845 | --CFrame.new(-0.5, -1.41182017, 0.232474089, 1, 0, 0, 0, 0.642786622, 0.766045392, 0, -0.766045392, 0.642786622), | |
846 | --}, .3, false) | |
847 | --end | |
848 | tr2.Enabled = true | |
849 | so(536642316,RightLeg,1,1) | |
850 | for i=0,1.5,.1 do | |
851 | swait() | |
852 | PlayAnimationFromTable({ | |
853 | 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), | |
854 | CFrame.new(0, 1.36002374, -0.491580963, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457), | |
855 | 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), | |
856 | 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), | |
857 | CFrame.new(0.399999022, -1.92074621, -0.716740668, 1, 0, 0, 0, 0.766044736, -0.642787457, 0, 0.642787457, 0.766044736), | |
858 | CFrame.new(-0.5, -1.41181993, 0.232477784, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457), | |
859 | }, .3, false) | |
860 | if i >= .4 then | |
861 | mdmg(RightLeg,3.5,"Blunt") | |
862 | end | |
863 | end | |
864 | tr2.Enabled = false | |
865 | attack = false | |
866 | end | |
867 | ||
868 | local shots = 7 | |
869 | zhold = true | |
870 | function shoot() | |
871 | attack = true | |
872 | so(169799883,gun,1,1) | |
873 | for i=0,1,.1 do | |
874 | swait() | |
875 | PlayAnimationFromTable({ | |
876 | CFrame.new(0.0524868444, 0, -0.0110093001, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698), | |
877 | 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), | |
878 | 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), | |
879 | 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), | |
880 | CFrame.new(0.499998003, -2.00000095, 3.84449959e-06, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698), | |
881 | CFrame.new(-0.499998897, -2.00000095, 1.59442425e-06, 0.98480767, 0, 0.173648536, 0, 1, 0, -0.173648536, 0, 0.98480767), | |
882 | }, .3, false) | |
883 | end | |
884 | Humanoid.WalkSpeed = 2 | |
885 | local ref = Instance.new("Part",chara) | |
886 | ref.Size = Vector3.new(0,0,0) | |
887 | ref.Anchored = true | |
888 | ref.CanCollide = false | |
889 | ref.Transparency = 1 | |
890 | gweld.Part0 = RightArm | |
891 | gweld.C0 = CFrame.new(.1,-1.5,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-40)) | |
892 | for i=0,1,.1 do | |
893 | swait() | |
894 | PlayAnimationFromTable({ | |
895 | CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
896 | 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), | |
897 | 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), | |
898 | 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), | |
899 | CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
900 | CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
901 | }, .3, false) | |
902 | end | |
903 | swait(5) | |
904 | repeat | |
905 | so(470245800,gun,1,1) | |
906 | ref.CFrame = Mouse.Hit | |
907 | mdmg(ref,3,"Shot") | |
908 | local hitpt = Instance.new("Part",EffectModel) | |
909 | hitpt.Size = Vector3.new(0,0,.3) | |
910 | local bf = Instance.new("BodyVelocity",hitpt) | |
911 | bf.P = 10000 | |
912 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
913 | game:service'Debris':AddItem(bf,.1) | |
914 | hitpt.CFrame = gun.CFrame * CFrame.new(0,-.5,.5) * CFrame.Angles(math.rad(90),0,0) | |
915 | bf.Velocity = Vector3.new(0,5,0) + RootPart.CFrame.rightVector*10 | |
916 | local hitm = Instance.new("SpecialMesh",hitpt) | |
917 | hitm.MeshId = "http://www.roblox.com/asset/?id=94295100" | |
918 | hitm.TextureId = "http://www.roblox.com/asset/?id=94287792" | |
919 | hitm.Scale = Vector3.new(3,3,3.5) | |
920 | coroutine.wrap(function() | |
921 | swait(120) | |
922 | for i = 0,1.1 do | |
923 | swait() | |
924 | hitpt.Transparency = i | |
925 | end | |
926 | hitpt:Destroy() | |
927 | end)() | |
928 | Effects.Block.Create(BrickColor.new("Bright yellow"), gun.CFrame*CFrame.new(0,.6,.3), 0,0,0,1,1,1, 0.05) | |
929 | shots = shots - 1 | |
930 | for i=0,1,.2 do | |
931 | swait() | |
932 | PlayAnimationFromTable({ | |
933 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
934 | 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), | |
935 | 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), | |
936 | 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), | |
937 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
938 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
939 | }, .3, false) | |
940 | end | |
941 | for i=0,1,.2 do | |
942 | swait() | |
943 | PlayAnimationFromTable({ | |
944 | CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
945 | 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), | |
946 | 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), | |
947 | 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), | |
948 | CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
949 | CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
950 | }, .3, false) | |
951 | end | |
952 | if shots == 0 then | |
953 | so(147323220,gun,1,1) | |
954 | for i=0,1.3,.1 do | |
955 | swait() | |
956 | PlayAnimationFromTable({ | |
957 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
958 | 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), | |
959 | 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), | |
960 | 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), | |
961 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
962 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
963 | }, .3, false) | |
964 | end | |
965 | 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),}) | |
966 | MagPartt.CFrame = gun.CFrame * CFrame.new(0,-.5,-.5) * CFrame.Angles(0,0,0) | |
967 | coroutine.wrap(function() | |
968 | swait(5) | |
969 | MagPartt.CanCollide = true | |
970 | swait(120) | |
971 | for i = 0,1.1 do | |
972 | swait() | |
973 | MagPartt.Transparency = i | |
974 | end | |
975 | MagPartt:Destroy() | |
976 | end)() | |
977 | swait(10) | |
978 | 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),}) | |
979 | 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),}) | |
980 | for i=0,1.4,.2 do | |
981 | swait() | |
982 | PlayAnimationFromTable({ | |
983 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
984 | 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), | |
985 | 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), | |
986 | 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), | |
987 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
988 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
989 | }, .3, false) | |
990 | end | |
991 | MagPart:Destroy() | |
992 | swait(5) | |
993 | for i=0,1,.2 do | |
994 | swait() | |
995 | PlayAnimationFromTable({ | |
996 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
997 | 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), | |
998 | 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), | |
999 | 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), | |
1000 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1001 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1002 | }, .3, false) | |
1003 | end | |
1004 | so(506273075,gun,1,1) | |
1005 | for i=0,1,.2 do | |
1006 | swait() | |
1007 | PlayAnimationFromTable({ | |
1008 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1009 | 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), | |
1010 | 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), | |
1011 | 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), | |
1012 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1013 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1014 | }, .3, false) | |
1015 | end | |
1016 | for i=0,1,.2 do | |
1017 | swait() | |
1018 | PlayAnimationFromTable({ | |
1019 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1020 | 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), | |
1021 | 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), | |
1022 | 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), | |
1023 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1024 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1025 | }, .3, false) | |
1026 | end | |
1027 | shots = 7 | |
1028 | swait(10) | |
1029 | for i=0,1,.2 do | |
1030 | swait() | |
1031 | PlayAnimationFromTable({ | |
1032 | CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1033 | 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), | |
1034 | 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), | |
1035 | 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), | |
1036 | CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1037 | CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1038 | }, .3, false) | |
1039 | end | |
1040 | end | |
1041 | until zhold == false | |
1042 | swait(5) | |
1043 | ref:Destroy() | |
1044 | so(211134014,gun,1,1) | |
1045 | for i=0,1,.1 do | |
1046 | swait() | |
1047 | PlayAnimationFromTable({ | |
1048 | CFrame.new(0.0524868444, 0, -0.0110093001, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698), | |
1049 | 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), | |
1050 | 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), | |
1051 | 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), | |
1052 | CFrame.new(0.499998003, -2.00000095, 3.84449959e-06, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698), | |
1053 | CFrame.new(-0.499998897, -2.00000095, 1.59442425e-06, 0.98480767, 0, 0.173648536, 0, 1, 0, -0.173648536, 0, 0.98480767), | |
1054 | }, .3, false) | |
1055 | end | |
1056 | gweld.Part0 = Torso | |
1057 | gweld.C0 = gdefc0 | |
1058 | Humanoid.WalkSpeed = 16 | |
1059 | attack = false | |
1060 | end | |
1061 | ||
1062 | local Jails = Instance.new("Model",chara) | |
1063 | Jails.Name = "Jails" | |
1064 | function arrest() | |
1065 | attack = true | |
1066 | if Mouse.Target~= nil then | |
1067 | local dude = Mouse.Target.Parent | |
1068 | local ply = game:service'Players':GetPlayerFromCharacter(dude) | |
1069 | if dude:FindFirstChildOfClass("Humanoid") then | |
1070 | Humanoid.WalkSpeed = 0 | |
1071 | for i,v in pairs(dude:children()) do | |
1072 | if v:IsA("LocalScript") or v:IsA("Tool") then | |
1073 | v:Destroy() | |
1074 | end | |
1075 | end | |
1076 | local haed = dude:FindFirstChild("Head") | |
1077 | local JailCell = New("Model",Jails,"JailCell",{}) | |
1078 | 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,}) | |
1079 | 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,}) | |
1080 | 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,}) | |
1081 | 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,}) | |
1082 | 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),}) | |
1083 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1084 | 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,}) | |
1085 | 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),}) | |
1086 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1087 | 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),}) | |
1088 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1089 | 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,}) | |
1090 | 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),}) | |
1091 | 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,}) | |
1092 | 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,}) | |
1093 | 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),}) | |
1094 | 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,}) | |
1095 | 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,}) | |
1096 | 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,}) | |
1097 | 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,}) | |
1098 | 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,}) | |
1099 | 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,}) | |
1100 | 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,}) | |
1101 | 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),}) | |
1102 | 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),}) | |
1103 | 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),}) | |
1104 | 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,}) | |
1105 | 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,}) | |
1106 | 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),}) | |
1107 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1108 | 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,}) | |
1109 | 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,}) | |
1110 | 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),}) | |
1111 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1112 | 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),}) | |
1113 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1114 | 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),}) | |
1115 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1116 | 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,}) | |
1117 | 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),}) | |
1118 | 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),}) | |
1119 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1120 | 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),}) | |
1121 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1122 | 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),}) | |
1123 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1124 | 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,}) | |
1125 | 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,}) | |
1126 | 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,}) | |
1127 | 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,}) | |
1128 | 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),}) | |
1129 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1130 | 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),}) | |
1131 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1132 | 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),}) | |
1133 | 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,}) | |
1134 | 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),}) | |
1135 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1136 | 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),}) | |
1137 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1138 | 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),}) | |
1139 | 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,}) | |
1140 | 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,}) | |
1141 | 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,}) | |
1142 | 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,}) | |
1143 | 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,}) | |
1144 | 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,}) | |
1145 | 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,}) | |
1146 | 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,}) | |
1147 | 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,}) | |
1148 | 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,}) | |
1149 | 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,}) | |
1150 | 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,}) | |
1151 | 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,}) | |
1152 | 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,}) | |
1153 | 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),}) | |
1154 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1155 | 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),}) | |
1156 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1157 | 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),}) | |
1158 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1159 | 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),}) | |
1160 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1161 | 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),}) | |
1162 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1163 | 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),}) | |
1164 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1165 | 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),}) | |
1166 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1167 | 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),}) | |
1168 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1169 | 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),}) | |
1170 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1171 | 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),}) | |
1172 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1173 | 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),}) | |
1174 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1175 | 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),}) | |
1176 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),}) | |
1177 | 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,}) | |
1178 | 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,}) | |
1179 | 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,}) | |
1180 | 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,}) | |
1181 | 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,}) | |
1182 | 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,}) | |
1183 | 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,}) | |
1184 | 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,}) | |
1185 | 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,}) | |
1186 | 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,}) | |
1187 | 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,}) | |
1188 | 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,}) | |
1189 | 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,}) | |
1190 | 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,}) | |
1191 | 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,}) | |
1192 | 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,}) | |
1193 | JailCell:MoveTo(pos) | |
1194 | removescriptspart.Touched:connect(function(hit) | |
1195 | if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= chara then | |
1196 | for i,v in pairs(hit.Parent:children()) do | |
1197 | if v:IsA("LocalScript") or v:IsA("Tool") then | |
1198 | v:Destroy() | |
1199 | end | |
1200 | end | |
1201 | end | |
1202 | end) | |
1203 | for _, v in pairs(chara:children()) do | |
1204 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1205 | do | |
1206 | local p = v:clone() | |
1207 | p.Name = "trail" | |
1208 | p.Parent = workspace | |
1209 | p.Transparency = 0.5 | |
1210 | p.Anchored = true | |
1211 | p.BrickColor = BrickColor.White() | |
1212 | p.Material = "Neon" | |
1213 | p:BreakJoints() | |
1214 | p.CanCollide = false | |
1215 | if v == chara.Head then | |
1216 | for a, b in pairs(p:children()) do | |
1217 | if b:IsA("Sound") then | |
1218 | b:Destroy() | |
1219 | end | |
1220 | end | |
1221 | end | |
1222 | coroutine.resume(coroutine.create(function() | |
1223 | for i = 1, 50 do | |
1224 | swait() | |
1225 | p.Transparency = i / 50 | |
1226 | end | |
1227 | p:Destroy() | |
1228 | end)) | |
1229 | end | |
1230 | end | |
1231 | if v.className == "Accessory" then | |
1232 | end | |
1233 | end | |
1234 | so(1055279036,Torso,1,3) | |
1235 | if haed~=nil then | |
1236 | haed.Anchored = true | |
1237 | Head.CFrame = haed.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(180),0) | |
1238 | end | |
1239 | for i=0,1,.1 do | |
1240 | swait() | |
1241 | PlayAnimationFromTable({ | |
1242 | CFrame.new(0.174721688, 0, -0.147934705, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1243 | 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), | |
1244 | CFrame.new(1.5, 0.499998093, -0.40000084, 0.939692676, -0.342020601, 0, 0, 0, -1, 0.342020601, 0.939692676, 0), | |
1245 | 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), | |
1246 | CFrame.new(0.499998987, -2.00000095, -1.14738941e-06, 0.939692676, 0, -0.342020601, 0, 1, 0, 0.342020601, 0, 0.939692676), | |
1247 | CFrame.new(-0.499998212, -2.00000095, 1.90734909e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1248 | }, .3, false) | |
1249 | end | |
1250 | chatfunc("You are under arrest! Now face your sentence!") | |
1251 | swait(50) | |
1252 | local soaa = Instance.new("Sound",haed) | |
1253 | soaa.Volume = 1 | |
1254 | local cho = math.random(1,5) | |
1255 | if cho == 1 then | |
1256 | soaa.SoundId = "rbxassetid://111896685" | |
1257 | elseif cho == 2 then | |
1258 | soaa.SoundId = "rbxassetid://535528169" | |
1259 | elseif cho == 3 then | |
1260 | soaa.SoundId = "rbxassetid://1080363252" | |
1261 | elseif cho == 4 then | |
1262 | soaa.SoundId = "rbxassetid://147758746" | |
1263 | elseif cho == 5 then | |
1264 | soaa.SoundId = "rbxassetid://626777433" | |
1265 | soaa.Volume = .3 | |
1266 | soaa.TimePosition = 1 | |
1267 | end | |
1268 | game:service'Debris':AddItem(soaa,6) | |
1269 | soaa:Play() | |
1270 | if haed~=nil then | |
1271 | haed.Anchored = false | |
1272 | end | |
1273 | Humanoid.WalkSpeed = 16 | |
1274 | local jc = JailCell | |
1275 | if ply~=nil then | |
1276 | local p = ply | |
1277 | coroutine.wrap(function() | |
1278 | while true do | |
1279 | swait() | |
1280 | if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc ~= nil then | |
1281 | if (p.Character:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then | |
1282 | p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0) | |
1283 | end | |
1284 | elseif p==nil then | |
1285 | jc:Destroy() | |
1286 | break | |
1287 | elseif jc==nil then | |
1288 | break | |
1289 | end | |
1290 | end | |
1291 | end)() | |
1292 | coroutine.wrap(function() | |
1293 | while true do | |
1294 | swait() | |
1295 | if p~=nil and p.Character ~= nil then | |
1296 | for i,v in pairs(p.Character:children()) do | |
1297 | if v:IsA("LocalScript") or v:IsA("Tool") then | |
1298 | if v:IsA("LocalScript") then | |
1299 | v.Disabled = true | |
1300 | end | |
1301 | v:Destroy() | |
1302 | end | |
1303 | end | |
1304 | end | |
1305 | end | |
1306 | end)() | |
1307 | p.CharacterAdded:connect(function() | |
1308 | if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc~=nil then | |
1309 | p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0) | |
1310 | end | |
1311 | end) | |
1312 | elseif ply == nil then | |
1313 | coroutine.wrap(function() | |
1314 | local ch = dude | |
1315 | while true do | |
1316 | swait() | |
1317 | if ch ~= nil and ch:FindFirstChild("Head") and jc~=nil and jc:FindFirstChild("SpawnPart")~=nil then | |
1318 | if (ch:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then | |
1319 | ch:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0) | |
1320 | end | |
1321 | elseif ch.Parent==nil then | |
1322 | jc:Destroy() | |
1323 | break | |
1324 | elseif jc.Parent==nil then | |
1325 | break | |
1326 | end | |
1327 | end | |
1328 | end)() | |
1329 | end | |
1330 | end | |
1331 | end | |
1332 | attack = false | |
1333 | end | |
1334 | ||
1335 | ||
1336 | qhold = false | |
1337 | justsprinted = false | |
1338 | function sprint() | |
1339 | attack = true | |
1340 | --print("supurinto?") | |
1341 | --justsprinted = true | |
1342 | --coroutine.wrap(function() | |
1343 | --swait(10) | |
1344 | --justsprinted = false | |
1345 | --end)() | |
1346 | repeat | |
1347 | swait() | |
1348 | PlayAnimationFromTable({ | |
1349 | 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), | |
1350 | CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1351 | 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), | |
1352 | 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), | |
1353 | 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), | |
1354 | 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), | |
1355 | }, .3, false) | |
1356 | Humanoid.WalkSpeed = 40 | |
1357 | until qhold == false or Torso.Velocity == Vector3.new(0,0,0) | |
1358 | --print'sutoppu' | |
1359 | Humanoid.WalkSpeed = 16 | |
1360 | attack = false | |
1361 | end | |
1362 | ||
1363 | ||
1364 | function movejails() | |
1365 | pos = Mouse.Hit.p | |
1366 | for i,v in pairs(Jails:children()) do | |
1367 | swait(5) | |
1368 | v:MoveTo(pos) | |
1369 | end | |
1370 | end | |
1371 | ||
1372 | Mouse.Button1Down:connect(function() | |
1373 | if attack == false then | |
1374 | if Anim == "Jump" or Anim == "Fall" then | |
1375 | asmek() | |
1376 | else | |
1377 | smek() | |
1378 | end | |
1379 | end | |
1380 | end) | |
1381 | ||
1382 | local sprintt = 0 | |
1383 | ||
1384 | ||
1385 | Mouse.KeyDown:connect(function(k) | |
1386 | k = k:lower() | |
1387 | if k=='m' then | |
1388 | if mus.IsPlaying == true then | |
1389 | mus:Stop() | |
1390 | elseif mus.IsPaused == true then | |
1391 | mus:Play() | |
1392 | end | |
1393 | end | |
1394 | if attack == false then | |
1395 | if k == 'q' then | |
1396 | qhold = true | |
1397 | sprint() | |
1398 | elseif k == 'x' then | |
1399 | arrest() | |
1400 | elseif k == 'z' then | |
1401 | zhold = true | |
1402 | shoot() | |
1403 | elseif k == 'p' then | |
1404 | movejails() | |
1405 | end | |
1406 | end | |
1407 | end) | |
1408 | ||
1409 | ||
1410 | Mouse.KeyUp:connect(function(k) | |
1411 | k = k:lower() | |
1412 | if k == 'q' then | |
1413 | qhold = false | |
1414 | elseif k == 'z' then | |
1415 | zhold = false | |
1416 | end | |
1417 | end) | |
1418 | ||
1419 | ||
1420 | coroutine.wrap(function() | |
1421 | while 1 do | |
1422 | swait() | |
1423 | if doe <= 360 then | |
1424 | doe = doe + 2 | |
1425 | else | |
1426 | doe = 0 | |
1427 | end | |
1428 | end | |
1429 | end)() | |
1430 | while true do | |
1431 | swait() | |
1432 | for i, v in pairs(chara:GetChildren()) do | |
1433 | if v:IsA("Part") then | |
1434 | v.Material = "SmoothPlastic" | |
1435 | elseif v:IsA("Accessory") then | |
1436 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1437 | end | |
1438 | end | |
1439 | while true do | |
1440 | swait() | |
1441 | if sprintt >= 1 then | |
1442 | sprintt = sprintt - 1 | |
1443 | end | |
1444 | ||
1445 | if Head:FindFirstChild("mus")==nil then | |
1446 | mus = Instance.new("Sound",Head) | |
1447 | mus.Name = "mus" | |
1448 | mus.SoundId = "rbxassetid://345868687" | |
1449 | mus.Looped = true | |
1450 | mus.Volume = 1 | |
1451 | mus:Play() | |
1452 | end | |
1453 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1454 | velocity = RootPart.Velocity.y | |
1455 | sine = sine + change | |
1456 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
1457 | if RootPart.Velocity.y > 1 and hit == nil then | |
1458 | Anim = "Jump" | |
1459 | if attack == false then | |
1460 | PlayAnimationFromTable({ | |
1461 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
1462 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
1463 | 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), | |
1464 | 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), | |
1465 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
1466 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
1467 | }, .3, false) | |
1468 | end | |
1469 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1470 | Anim = "Fall" | |
1471 | if attack == false then | |
1472 | PlayAnimationFromTable({ | |
1473 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
1474 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
1475 | 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), | |
1476 | 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), | |
1477 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
1478 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
1479 | }, .3, false) | |
1480 | end | |
1481 | elseif Torsovelocity < 1 and hit ~= nil then | |
1482 | Anim = "Idle" | |
1483 | if attack == false then | |
1484 | change = 1 | |
1485 | PlayAnimationFromTable({ | |
1486 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
1487 | CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1488 | 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), | |
1489 | 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), | |
1490 | 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), | |
1491 | 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), | |
1492 | }, .3, false) | |
1493 | end | |
1494 | elseif Torsovelocity > 2 and hit ~= nil then | |
1495 | Anim = "Walk" | |
1496 | if attack == false then | |
1497 | PlayAnimationFromTable({ | |
1498 | 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), | |
1499 | CFrame.new(-2.09923631e-14, 1.48262846, -0.0984891504, 1, -1.42108547e-14, 0, 0, 0.984807491, 0.173649743, 0, -0.173649758, 0.984807491), | |
1500 | 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), | |
1501 | 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), | |
1502 | 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), | |
1503 | 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), | |
1504 | }, .3, false) | |
1505 | end | |
1506 | end | |
1507 | if 0 < #Effects then | |
1508 | for e = 1, #Effects do | |
1509 | if Effects[e] ~= nil then | |
1510 | local Thing = Effects[e] | |
1511 | if Thing ~= nil then | |
1512 | local Part = Thing[1] | |
1513 | local Mode = Thing[2] | |
1514 | local Delay = Thing[3] | |
1515 | local IncX = Thing[4] | |
1516 | local IncY = Thing[5] | |
1517 | local IncZ = Thing[6] | |
1518 | if Thing[2] == "Shoot" then | |
1519 | local Look = Thing[1] | |
1520 | local move = 30 | |
1521 | if Thing[8] == 3 then | |
1522 | move = 10 | |
1523 | end | |
1524 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1525 | if Thing[10] ~= nil then | |
1526 | da = pos | |
1527 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1528 | cfa = CFrame.new(Thing[4], pos) | |
1529 | tehCF = cfa:lerp(cf2, 0.2) | |
1530 | Thing[1] = tehCF.lookVector | |
1531 | end | |
1532 | local mag = (Thing[4] - pos).magnitude | |
1533 | 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) | |
1534 | if Thing[8] == 2 then | |
1535 | 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) | |
1536 | end | |
1537 | Thing[4] = Thing[4] + Look * move | |
1538 | Thing[3] = Thing[3] - 1 | |
1539 | if 2 < Thing[5] then | |
1540 | Thing[5] = Thing[5] - 0.3 | |
1541 | Thing[6] = Thing[6] - 0.3 | |
1542 | end | |
1543 | if hit ~= nil then | |
1544 | Thing[3] = 0 | |
1545 | if Thing[8] == 1 or Thing[8] == 3 then | |
1546 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1547 | else | |
1548 | if Thing[8] == 2 then | |
1549 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1550 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then | |
1551 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1552 | ref.Anchored = true | |
1553 | ref.CFrame = CFrame.new(pos) | |
1554 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1555 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1556 | 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) | |
1557 | 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) | |
1558 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1559 | end | |
1560 | end | |
1561 | end | |
1562 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1563 | ref.Anchored = true | |
1564 | ref.CFrame = CFrame.new(pos) | |
1565 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1566 | game:GetService("Debris"):AddItem(ref, 1) | |
1567 | end | |
1568 | if Thing[3] <= 0 then | |
1569 | table.remove(Effects, e) | |
1570 | end | |
1571 | end | |
1572 | do | |
1573 | do | |
1574 | if Thing[2] == "FireWave" then | |
1575 | if Thing[3] <= Thing[4] then | |
1576 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1577 | Thing[3] = Thing[3] + 1 | |
1578 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1579 | else | |
1580 | Part.Parent = nil | |
1581 | table.remove(Effects, e) | |
1582 | end | |
1583 | end | |
1584 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1585 | if Thing[1].Transparency <= 1 then | |
1586 | if Thing[2] == "Block1" then | |
1587 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1588 | Mesh = Thing[7] | |
1589 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1590 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1591 | else | |
1592 | if Thing[2] == "Block2" then | |
1593 | Thing[1].CFrame = Thing[1].CFrame | |
1594 | Mesh = Thing[7] | |
1595 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1596 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1597 | else | |
1598 | if Thing[2] == "Fire" then | |
1599 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1600 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1601 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1602 | else | |
1603 | if Thing[2] == "Cylinder" then | |
1604 | Mesh = Thing[7] | |
1605 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1606 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1607 | else | |
1608 | if Thing[2] == "Blood" then | |
1609 | Mesh = Thing[7] | |
1610 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1611 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1612 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1613 | else | |
1614 | if Thing[2] == "Elec" then | |
1615 | Mesh = Thing[10] | |
1616 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1617 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1618 | else | |
1619 | if Thing[2] == "Disappear" then | |
1620 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1621 | else | |
1622 | if Thing[2] == "Shatter" then | |
1623 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1624 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1625 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1626 | Thing[6] = Thing[6] + Thing[5] | |
1627 | end | |
1628 | end | |
1629 | end | |
1630 | end | |
1631 | end | |
1632 | end | |
1633 | end | |
1634 | end | |
1635 | else | |
1636 | Part.Parent = nil | |
1637 | table.remove(Effects, e) | |
1638 | end | |
1639 | end | |
1640 | end | |
1641 | end | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | end | |
1647 | end |