SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | - | local Player = game:service'Players'.localPlayer |
| 39 | + | |
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | - | local Mouse = Player:GetMouse() |
| 42 | + | if io.isMouse then |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ----------------------------------- | |
| 87 | --WATCH OUT HERE COMES THE COPPAS-- | |
| 88 | ---------------------------------------------------------------- | |
| 89 | --By CKbackup (Sugarie Saffron) -- | |
| 90 | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- | |
| 91 | --Discord: Sugarie Saffron#4705 -- | |
| 92 | ---------------------------------------------------------------- | |
| 93 | ||
| 94 | print([[ | |
| 95 | --Script Cop-- | |
| 96 | By CKbackup (Sugarie Saffron) | |
| 97 | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw | |
| 98 | Discord: Sugarie Saffron#4705 | |
| 99 | -------------------------------- | |
| 100 | As I've been demoted from my SB | |
| 101 | Mod rank in VSB, I don't see the | |
| 102 | need to hold this back any longer. | |
| 103 | ||
| 104 | Also, if the anims look weird or | |
| 105 | the weapon looks out of place, | |
| 106 | it's because it's actually modeled | |
| 107 | off a scaled rig with a package. | |
| 108 | It looks better with the Boy | |
| 109 | package. | |
| 110 | -------------------------------- | |
| 111 | (Keys) | |
| 112 | M - Mute/Play Music | |
| 113 | ||
| 114 | Click - Baton Swing | |
| 115 | (Hold) Q - Run | |
| 116 | Z - Pistol | |
| 117 | X - Arrest | |
| 118 | ||
| 119 | P - Move Jail(s) | |
| 120 | ]]) | |
| 121 | ||
| 122 | wait(1/60) | |
| 123 | Effects = { }
| |
| 124 | local Player = owner | |
| 125 | local chara = Player.Character | |
| 126 | local Humanoid = chara:FindFirstChildOfClass("Humanoid")
| |
| 127 | local LeftArm = chara["Left Arm"] | |
| 128 | local RightArm = chara["Right Arm"] | |
| 129 | local LeftLeg = chara["Left Leg"] | |
| 130 | local RightLeg = chara["Right Leg"] | |
| 131 | local Head = chara.Head | |
| 132 | local Torso = chara.Torso | |
| 133 | local RootPart = chara.HumanoidRootPart | |
| 134 | local RootJoint = RootPart.RootJoint | |
| 135 | local attack = false | |
| 136 | local Anim = 'Idle' | |
| 137 | local attacktype = 1 | |
| 138 | local delays = false | |
| 139 | local play = true | |
| 140 | local targetted = nil | |
| 141 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 142 | local velocity = RootPart.Velocity.y | |
| 143 | local sine = 0 | |
| 144 | local change = 1 | |
| 145 | local doe = 0 | |
| 146 | local Create = LoadLibrary("RbxUtility").Create
| |
| 147 | Humanoid.WalkSpeed = 16 | |
| 148 | ||
| 149 | ||
| 150 | ||
| 151 | Humanoid.Animator.Parent = nil | |
| 152 | chara.Animate.Parent = nil | |
| 153 | ||
| 154 | local pos = Vector3.new(0,0,-50) | |
| 155 | ||
| 156 | local newMotor = function(part0, part1, c0, c1) | |
| 157 | local w = Create('Motor'){
| |
| 158 | Parent = part0, | |
| 159 | Part0 = part0, | |
| 160 | Part1 = part1, | |
| 161 | C0 = c0, | |
| 162 | C1 = c1, | |
| 163 | } | |
| 164 | return w | |
| 165 | end | |
| 166 | ||
| 167 | function clerp(a, b, t) | |
| 168 | return a:lerp(b, t) | |
| 169 | end | |
| 170 | ||
| 171 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 172 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 173 | ||
| 174 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 175 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 176 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 177 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 178 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 179 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 180 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 181 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 182 | ||
| 183 | ||
| 184 | local rarmc1 = RW.C1 | |
| 185 | local larmc1 = LW.C1 | |
| 186 | local rlegc1 = RH.C1 | |
| 187 | local llegc1 = LH.C1 | |
| 188 | ||
| 189 | local resetc1 = false | |
| 190 | ||
| 191 | function PlayAnimationFromTable(table, speed, bool) | |
| 192 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 193 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 194 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 195 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 196 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 197 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 198 | if bool == true then | |
| 199 | if resetc1 == false then | |
| 200 | resetc1 = true | |
| 201 | RootJoint.C1 = RootJoint.C1 | |
| 202 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 203 | RW.C1 = rarmc1 | |
| 204 | LW.C1 = larmc1 | |
| 205 | RH.C1 = rlegc1 | |
| 206 | LH.C1 = llegc1 | |
| 207 | end | |
| 208 | end | |
| 209 | end | |
| 210 | ||
| 211 | ||
| 212 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 213 | ArtificialHB.Name = "Heartbeat" | |
| 214 | script:WaitForChild("Heartbeat")
| |
| 215 | frame = 0.03333333333333 | |
| 216 | tf = 0 | |
| 217 | allowframeloss = false | |
| 218 | tossremainder = false | |
| 219 | lastframe = tick() | |
| 220 | script.Heartbeat:Fire() | |
| 221 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 222 | tf = tf + s | |
| 223 | if tf >= frame then | |
| 224 | if allowframeloss then | |
| 225 | script.Heartbeat:Fire() | |
| 226 | lastframe = tick() | |
| 227 | else | |
| 228 | for i = 1, math.floor(tf / frame) do | |
| 229 | script.Heartbeat:Fire() | |
| 230 | end | |
| 231 | lastframe = tick() | |
| 232 | end | |
| 233 | if tossremainder then | |
| 234 | tf = 0 | |
| 235 | else | |
| 236 | tf = tf - frame * math.floor(tf / frame) | |
| 237 | end | |
| 238 | end | |
| 239 | end) | |
| 240 | function swait(num) | |
| 241 | if num == 0 or num == nil then | |
| 242 | ArtificialHB.Event:wait() | |
| 243 | else | |
| 244 | for i = 0, num do | |
| 245 | ArtificialHB.Event:wait() | |
| 246 | end | |
| 247 | end | |
| 248 | end | |
| 249 | ||
| 250 | function RemoveOutlines(part) | |
| 251 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 252 | end | |
| 253 | ||
| 254 | ||
| 255 | CFuncs = {
| |
| 256 | ["Part"] = {
| |
| 257 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 258 | local Part = Create("Part"){
| |
| 259 | Parent = Parent, | |
| 260 | Reflectance = Reflectance, | |
| 261 | Transparency = Transparency, | |
| 262 | CanCollide = false, | |
| 263 | Locked = true, | |
| 264 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 265 | Name = Name, | |
| 266 | Size = Size, | |
| 267 | Material = Material, | |
| 268 | } | |
| 269 | RemoveOutlines(Part) | |
| 270 | return Part | |
| 271 | end; | |
| 272 | }; | |
| 273 | ||
| 274 | ["Mesh"] = {
| |
| 275 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 276 | local Msh = Create(Mesh){
| |
| 277 | Parent = Part, | |
| 278 | Offset = OffSet, | |
| 279 | Scale = Scale, | |
| 280 | - | mus.SoundId = "rbxassetid://345868687" |
| 280 | + | |
| 281 | if Mesh == "SpecialMesh" then | |
| 282 | - | mus.Volume = 1 |
| 282 | + | |
| 283 | Msh.MeshId = MeshId | |
| 284 | end | |
| 285 | return Msh | |
| 286 | end; | |
| 287 | }; | |
| 288 | ||
| 289 | ["Mesh"] = {
| |
| 290 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 291 | local Msh = Create(Mesh){
| |
| 292 | Parent = Part, | |
| 293 | Offset = OffSet, | |
| 294 | Scale = Scale, | |
| 295 | } | |
| 296 | if Mesh == "SpecialMesh" then | |
| 297 | Msh.MeshType = MeshType | |
| 298 | Msh.MeshId = MeshId | |
| 299 | end | |
| 300 | return Msh | |
| 301 | end; | |
| 302 | }; | |
| 303 | ||
| 304 | ["Weld"] = {
| |
| 305 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 306 | local Weld = Create("Weld"){
| |
| 307 | Parent = Parent, | |
| 308 | Part0 = Part0, | |
| 309 | Part1 = Part1, | |
| 310 | C0 = C0, | |
| 311 | C1 = C1, | |
| 312 | } | |
| 313 | - | sh.ShirtTemplate = "rbxassetid://133284214" |
| 313 | + | |
| 314 | - | pn.PantsTemplate = "rbxassetid://15224239" |
| 314 | + | |
| 315 | }; | |
| 316 | ||
| 317 | ["ParticleEmitter"] = {
| |
| 318 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 319 | local fp = Create("ParticleEmitter"){
| |
| 320 | Parent = Parent, | |
| 321 | Color = ColorSequence.new(Color1, Color2), | |
| 322 | LightEmission = LightEmission, | |
| 323 | Size = Size, | |
| 324 | Texture = Texture, | |
| 325 | Transparency = Transparency, | |
| 326 | ZOffset = ZOffset, | |
| 327 | Acceleration = Accel, | |
| 328 | Drag = Drag, | |
| 329 | LockedToPart = LockedToPart, | |
| 330 | VelocityInheritance = VelocityInheritance, | |
| 331 | EmissionDirection = EmissionDirection, | |
| 332 | Enabled = Enabled, | |
| 333 | Lifetime = LifeTime, | |
| 334 | Rate = Rate, | |
| 335 | Rotation = Rotation, | |
| 336 | RotSpeed = RotSpeed, | |
| 337 | Speed = Speed, | |
| 338 | VelocitySpread = VelocitySpread, | |
| 339 | } | |
| 340 | return fp | |
| 341 | end; | |
| 342 | }; | |
| 343 | ||
| 344 | CreateTemplate = {
| |
| 345 | ||
| 346 | }; | |
| 347 | } | |
| 348 | ||
| 349 | ||
| 350 | function so(id,par,pit,vol) | |
| 351 | local sou = Instance.new("Sound", par or workspace)
| |
| 352 | if par == chara then | |
| 353 | sou.Parent = chara.Torso | |
| 354 | end | |
| 355 | sou.Volume = vol | |
| 356 | sou.Pitch = pit or 1 | |
| 357 | sou.SoundId = "rbxassetid://" .. id | |
| 358 | sou.PlayOnRemove = true | |
| 359 | sou:Destroy() | |
| 360 | end | |
| 361 | ||
| 362 | local mus = Instance.new("Sound",Head)
| |
| 363 | mus.Name = "mus" | |
| 364 | mus.SoundId = "rbxassetid://1382488262" | |
| 365 | mus.Looped = true | |
| 366 | mus.Volume = 10 | |
| 367 | mus:Play() | |
| 368 | ||
| 369 | New = function(Object, Parent, Name, Data) | |
| 370 | local Object = Instance.new(Object) | |
| 371 | for Index, Value in pairs(Data or {}) do
| |
| 372 | Object[Index] = Value | |
| 373 | end | |
| 374 | Object.Parent = Parent | |
| 375 | Object.Name = Name | |
| 376 | return Object | |
| 377 | end | |
| 378 | ||
| 379 | 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),})
| |
| 380 | 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,})
| |
| 381 | 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),})
| |
| 382 | for i, v in pairs(chara:children()) do | |
| 383 | if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("BodyColors") then
| |
| 384 | v:Destroy() | |
| 385 | elseif v.Name == "FakeHeadM" then | |
| 386 | v.Ahoge.Mesh.Scale = Vector3.new() | |
| 387 | elseif v.Name == "Chest" then | |
| 388 | for a, b in pairs(v:children()) do | |
| 389 | if b.Name ~= "Tail" then | |
| 390 | b.Transparency = 1 | |
| 391 | end | |
| 392 | end | |
| 393 | end | |
| 394 | end | |
| 395 | local sh = Instance.new("Shirt",chara)
| |
| 396 | local pn = Instance.new("Pants",chara)
| |
| 397 | sh.ShirtTemplate = "rbxassetid://676428254" | |
| 398 | pn.PantsTemplate = "rbxassetid://676428351" | |
| 399 | ||
| 400 | ||
| 401 | bdefc0 = CFrame.new(.8,-1,0)*CFrame.Angles(math.rad(30),0,0) | |
| 402 | gdefc0 = CFrame.new(-.8,-1,0)*CFrame.Angles(math.rad(130),0,0) | |
| 403 | ||
| 404 | ||
| 405 | ||
| 406 | function killmortal(dude,faws) | |
| 407 | local hah = dude:FindFirstChildOfClass("Humanoid")
| |
| 408 | if hah and dude:FindFirstChild("Debawns")==nil and dude.Name ~= "Salvo_Starly" and dude.Name ~= "NoobyGames12" and dude.Name ~= "CKbackup" and dude.Name ~= "Nebula_Zorua" then
| |
| 409 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
| |
| 410 | if torsy then | |
| 411 | local val = Instance.new("BoolValue",dude)
| |
| 412 | val.Name = "Debawns" | |
| 413 | game:service'Debris':AddItem(val,2) | |
| 414 | torsy.Velocity = RootPart.CFrame.lookVector*faws | |
| 415 | coroutine.wrap(function() | |
| 416 | for nn=1,math.random(4,6) do | |
| 417 | local bl = Instance.new("Part",dude)
| |
| 418 | bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
| 419 | local randd = math.random(6,20)/10 | |
| 420 | bl.Size = Vector3.new(randd,.2,randd) | |
| 421 | bl.BrickColor = BrickColor.new("Maroon")
| |
| 422 | bl.Material = "Granite" | |
| 423 | local clm = Instance.new("CylinderMesh",bl)
| |
| 424 | coroutine.wrap(function() | |
| 425 | swait(120) | |
| 426 | for i=0,1,.01 do | |
| 427 | clm.Scale = Vector3.new(1-i,1-i,1-i) | |
| 428 | swait() | |
| 429 | end | |
| 430 | bl:Destroy() | |
| 431 | end)() | |
| 432 | end | |
| 433 | end)() | |
| 434 | end | |
| 435 | hah:TakeDamage(math.random(30,35)) | |
| 436 | end | |
| 437 | end | |
| 438 | ||
| 439 | function createrainbow(part,size,trans,life,face,speed,accel,velsp,lock,name) | |
| 440 | local fira = Instance.new("ParticleEmitter",part)
| |
| 441 | fira.Name = name | |
| 442 | - | chatfunc("Let that be a warning!")
|
| 442 | + | fira.Color = ColorSequence.new(Color3.new(0,0,0)) |
| 443 | fira.Size = size | |
| 444 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
| 445 | fira.Transparency = trans | |
| 446 | fira.Lifetime = life | |
| 447 | fira.EmissionDirection = face | |
| 448 | fira.Rate = 10000 | |
| 449 | fira.RotSpeed = NumberRange.new(100) | |
| 450 | fira.Rotation = NumberRange.new(0,360) | |
| 451 | fira.Speed = speed | |
| 452 | fira.VelocitySpread = velsp | |
| 453 | fira.Acceleration = accel | |
| 454 | fira.LockedToPart = lock | |
| 455 | return fira | |
| 456 | end | |
| 457 | ||
| 458 | Wings = New("Model",chara,"Wings",{})
| |
| 459 | MainPart = New("Part",Wings,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(67.400032, 1.00001299, -47.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 460 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = Torso,})
| |
| 461 | Wing1Part = New("Part",Wings,"Wing1Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.2041626, 2.02130413, -46.7787056, 0.866025448, 0.35355404, 0.35355413, -0.353553772, 0.933016062, -0.0669873655, -0.353553891, -0.0669873059, 0.933015943),})
| |
| 462 | createrainbow(Wing1Part,NumberSequence.new(.5,1),NumberSequence.new(0),NumberRange.new(1),"Back",NumberRange.new(5),Vector3.new(0,10,0),0,true,"Firea") | |
| 463 | Weld = New("ManualWeld",Wing1Part,"Weld",{Part0 = Wing1Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, -0.353553772, -0.353553891, 0.35355404, 0.933016062, -0.0669873059, 0.35355413, -0.0669873655, 0.933015943),C1 = CFrame.new(0.804130554, 1.02129114, 0.52129364, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 464 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.433013618, 0.250000477, 0.353553772, 0.176777452, -0.918561935, 0.353553891, 0.883886695, 0.306187093),})
| |
| 465 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
| 466 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.433013618, 0.176777452, 0.883886695, 0.250000477, -0.918561935, 0.306187093),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 467 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.482963979, 0.12940979, 0.353553772, 0.408495188, -0.841509461, 0.353553891, 0.774522126, 0.524520695),})
| |
| 468 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
| 469 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.482963979, 0.408495188, 0.774522126, 0.12940979, -0.841509461, 0.524520695),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 470 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.500001192, 3.06954462e-12, 0.353553772, 0.612374902, -0.707109571, 0.353553891, 0.61237514, 0.707109332),})
| |
| 471 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
| 472 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.500001192, 0.612374902, 0.61237514, 3.06954462e-12, -0.707109571, 0.707109332),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 473 | ||
| 474 | local baton = Instance.new("Part",chara)
| |
| 475 | baton.Name = "Baton" | |
| 476 | baton.Size = Vector3.new(.2,.2,3.2) | |
| 477 | baton.BrickColor = BrickColor.new("Really black")
| |
| 478 | baton.CanCollide = false | |
| 479 | CFuncs.Mesh.Create("SpecialMesh", baton, "FileMesh", "rbxassetid://11820238", Vector3.new(), Vector3.new(1.5,1.5,1.5))
| |
| 480 | ||
| 481 | local bweld = Instance.new("Weld",baton)
| |
| 482 | bweld.Part0 = Torso | |
| 483 | bweld.Part1 = baton | |
| 484 | bweld.C0 = bdefc0 | |
| 485 | ||
| 486 | local att1 = Instance.new("Attachment",baton)
| |
| 487 | att1.Position = Vector3.new(-baton.Size.X/2,baton.Size.Y/2,baton.Size.Z/2) | |
| 488 | local att2 = Instance.new("Attachment",baton)
| |
| 489 | att2.Position = Vector3.new(-baton.Size.X/2,-baton.Size.Y/2,-baton.Size.Z/2) | |
| 490 | local tr1 = Instance.new("Trail",baton)
| |
| 491 | tr1.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 492 | tr1.Transparency = NumberSequence.new(0,1) | |
| 493 | tr1.Lifetime = .5 | |
| 494 | tr1.Enabled = false | |
| 495 | tr1.LightEmission = 1 | |
| 496 | tr1.Attachment0 = att1 | |
| 497 | tr1.Attachment1 = att2 | |
| 498 | local att3 = Instance.new("Attachment",RightLeg)
| |
| 499 | att3.Position = Vector3.new(0,1,0) | |
| 500 | local att4 = Instance.new("Attachment",RightLeg)
| |
| 501 | att4.Position = Vector3.new(0,-1,0) | |
| 502 | local tr2 = Instance.new("Trail",RightLeg)
| |
| 503 | tr2.Color = ColorSequence.new(Color3.new(1,1,1)) | |
| 504 | tr2.Transparency = NumberSequence.new(0,1) | |
| 505 | tr2.Lifetime = .5 | |
| 506 | tr2.Enabled = false | |
| 507 | tr2.LightEmission = 1 | |
| 508 | tr2.Attachment0 = att3 | |
| 509 | tr2.Attachment1 = att4 | |
| 510 | ||
| 511 | local gun = Instance.new("Part",chara)
| |
| 512 | gun.Name = "Gun" | |
| 513 | gun.Size = Vector3.new(.2,.2,.2) | |
| 514 | gun.BrickColor = BrickColor.new("Really black")
| |
| 515 | gun.CanCollide = false | |
| 516 | CFuncs.Mesh.Create("SpecialMesh", gun, "FileMesh", "rbxassetid://72012879", Vector3.new(), Vector3.new(2,2,2))
| |
| 517 | ||
| 518 | local gweld = Instance.new("Weld",gun)
| |
| 519 | gweld.Part0 = Torso | |
| 520 | gweld.Part1 = gun | |
| 521 | gweld.C0 = gdefc0 | |
| 522 | ||
| 523 | function rayCast(Position, Direction, Range, Ignore) | |
| 524 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 525 | end | |
| 526 | ||
| 527 | function mdmg(Part, Magnitude, HitType) | |
| 528 | for _, c in pairs(workspace:GetDescendants()) do | |
| 529 | local hum = c:FindFirstChildOfClass("Humanoid")
| |
| 530 | if hum ~= nil then | |
| 531 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
| |
| 532 | if head ~= nil then | |
| 533 | local targ = head.Position - Part.Position | |
| 534 | local mag = targ.magnitude | |
| 535 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then
| |
| 536 | if c.Name ~= chara then | |
| 537 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
| 538 | local val = Instance.new("BoolValue",c)
| |
| 539 | val.Name = "MagDmgd" | |
| 540 | local asd = Instance.new("ParticleEmitter",head)
| |
| 541 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 542 | asd.LightEmission = .1 | |
| 543 | asd.Size = NumberSequence.new(0.2) | |
| 544 | asd.Texture = "rbxassetid://771221224" | |
| 545 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 1)})
| |
| 546 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 547 | asd.Transparency = bbb | |
| 548 | asd.Size = aaa | |
| 549 | asd.ZOffset = .9 | |
| 550 | asd.Acceleration = Vector3.new(0, -5, 0) | |
| 551 | asd.LockedToPart = false | |
| 552 | asd.EmissionDirection = "Back" | |
| 553 | asd.Lifetime = NumberRange.new(1, 2) | |
| 554 | asd.Rate = 1000 | |
| 555 | asd.Rotation = NumberRange.new(-100, 100) | |
| 556 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 557 | asd.Speed = NumberRange.new(6) | |
| 558 | asd.VelocitySpread = 10000 | |
| 559 | asd.Enabled = false | |
| 560 | asd:Emit(20) | |
| 561 | game:service'Debris':AddItem(asd,3) | |
| 562 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 563 | if HitType == "Blunt" then | |
| 564 | so(386946017,head,.95,3) | |
| 565 | game:service'Debris':AddItem(val,1) | |
| 566 | elseif HitType == "Shot" then | |
| 567 | so(144884872,head,.9,3) | |
| 568 | game:service'Debris':AddItem(val,.05) | |
| 569 | end | |
| 570 | local soaa = Instance.new("Sound",c.Head)
| |
| 571 | soaa.Volume = .5 | |
| 572 | local cho = math.random(1,5) | |
| 573 | if cho == 1 then | |
| 574 | soaa.SoundId = "rbxassetid://111896685" | |
| 575 | elseif cho == 2 then | |
| 576 | soaa.SoundId = "rbxassetid://535528169" | |
| 577 | elseif cho == 3 then | |
| 578 | soaa.SoundId = "rbxassetid://1080363252" | |
| 579 | elseif cho == 4 then | |
| 580 | soaa.SoundId = "rbxassetid://147758746" | |
| 581 | elseif cho == 5 then | |
| 582 | soaa.SoundId = "rbxassetid://626777433" | |
| 583 | soaa.Volume = .2 | |
| 584 | soaa.TimePosition = 1 | |
| 585 | end | |
| 586 | game:service'Debris':AddItem(soaa,6) | |
| 587 | soaa:Play() | |
| 588 | for i,v in pairs(c:children()) do | |
| 589 | if v:IsA("LocalScript") or v:IsA("Tool") then
| |
| 590 | v:Destroy() | |
| 591 | end | |
| 592 | end | |
| 593 | hum.PlatformStand = true | |
| 594 | head.Velocity = RootPart.CFrame.lookVector*50 | |
| 595 | head.RotVelocity = Vector3.new(10,0,0) | |
| 596 | chatfunc("HOW ABOUT THIS?!")
| |
| 597 | coroutine.wrap(function() | |
| 598 | swait(5) | |
| 599 | c:BreakJoints() end)() | |
| 600 | else | |
| 601 | end | |
| 602 | end | |
| 603 | end | |
| 604 | end | |
| 605 | end | |
| 606 | end | |
| 607 | end | |
| 608 | ||
| 609 | --[[FindNearestTorso = function(pos) | |
| 610 | local list = (game.workspace:GetDescendants()) | |
| 611 | local torso = nil | |
| 612 | local dist = 1000 | |
| 613 | local temp, human, temp2 = nil, nil, nil | |
| 614 | for x = 1, #list do | |
| 615 | temp2 = list[x] | |
| 616 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
| 617 | temp = temp2:findFirstChild("Torso")
| |
| 618 | human = temp2:FindFirstChildOfClass("Humanoid")
| |
| 619 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 620 | local dohit = true | |
| 621 | if dohit == true then | |
| 622 | torso = temp | |
| 623 | dist = (temp.Position - pos).magnitude | |
| 624 | end | |
| 625 | end | |
| 626 | end | |
| 627 | end | |
| 628 | return torso, dist | |
| 629 | end]] | |
| 630 | ||
| 631 | ||
| 632 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 633 | if SinglePlayer then | |
| 634 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
| 635 | end | |
| 636 | local List = {}
| |
| 637 | for i, v in pairs(workspace:GetDescendants()) do | |
| 638 | if v:IsA("Model") then
| |
| 639 | if v:findFirstChild("Head") then
| |
| 640 | if v ~= chara then | |
| 641 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 642 | table.insert(List, v) | |
| 643 | end | |
| 644 | end | |
| 645 | end | |
| 646 | end | |
| 647 | end | |
| 648 | return List | |
| 649 | end | |
| 650 | ||
| 651 | ||
| 652 | --Chat Function-- | |
| 653 | function chatfunc(text) | |
| 654 | coroutine.wrap(function() | |
| 655 | if chara:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 656 | chara:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 657 | end | |
| 658 | local naeeym2 = Instance.new("BillboardGui",chara)
| |
| 659 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 660 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 661 | naeeym2.Adornee = chara.Head | |
| 662 | naeeym2.Name = "TalkingBillBoard" | |
| 663 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 664 | tecks2.BackgroundTransparency = 1 | |
| 665 | tecks2.BorderSizePixel = 0 | |
| 666 | tecks2.Text = "" | |
| 667 | tecks2.Font = "Fantasy" | |
| 668 | tecks2.FontSize = "Size24" | |
| 669 | tecks2.TextStrokeTransparency = 0 | |
| 670 | tecks2.TextColor3 = Color3.new(1,1,1) | |
| 671 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 672 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 673 | for i = 1,string.len(text),1 do | |
| 674 | tecks2.Text = string.sub(text,1,i) | |
| 675 | swait() | |
| 676 | end | |
| 677 | swait(30) | |
| 678 | for i = 1, 5 do | |
| 679 | swait() | |
| 680 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 681 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 682 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 683 | end | |
| 684 | naeeym2:Destroy() | |
| 685 | end)() | |
| 686 | end | |
| 687 | ||
| 688 | ||
| 689 | ||
| 690 | EffectModel = Create("Model"){
| |
| 691 | Parent = chara, | |
| 692 | Name = "Effects", | |
| 693 | } | |
| 694 | ||
| 695 | ||
| 696 | Effects = {
| |
| 697 | Block = {
| |
| 698 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 699 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 700 | prt.Anchored = true | |
| 701 | prt.CFrame = cframe | |
| 702 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 703 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 704 | if Type == 1 or Type == nil then | |
| 705 | table.insert(Effects, {
| |
| 706 | prt, | |
| 707 | "Block1", | |
| 708 | delay, | |
| 709 | x3, | |
| 710 | y3, | |
| 711 | z3, | |
| 712 | msh | |
| 713 | }) | |
| 714 | elseif Type == 2 then | |
| 715 | table.insert(Effects, {
| |
| 716 | prt, | |
| 717 | "Block2", | |
| 718 | delay, | |
| 719 | x3, | |
| 720 | y3, | |
| 721 | z3, | |
| 722 | msh | |
| 723 | }) | |
| 724 | end | |
| 725 | end; | |
| 726 | }; | |
| 727 | ||
| 728 | Cylinder = {
| |
| 729 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 730 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 731 | prt.Anchored = true | |
| 732 | prt.CFrame = cframe | |
| 733 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 734 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 735 | table.insert(Effects, {
| |
| 736 | prt, | |
| 737 | "Cylinder", | |
| 738 | delay, | |
| 739 | x3, | |
| 740 | y3, | |
| 741 | z3, | |
| 742 | msh | |
| 743 | }) | |
| 744 | end; | |
| 745 | }; | |
| 746 | Head = {
| |
| 747 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 748 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 749 | prt.Anchored = true | |
| 750 | prt.CFrame = cframe | |
| 751 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 752 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 753 | table.insert(Effects, {
| |
| 754 | prt, | |
| 755 | "Cylinder", | |
| 756 | delay, | |
| 757 | x3, | |
| 758 | y3, | |
| 759 | z3, | |
| 760 | msh | |
| 761 | }) | |
| 762 | end; | |
| 763 | }; | |
| 764 | ||
| 765 | Sphere = {
| |
| 766 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 767 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 768 | prt.Anchored = true | |
| 769 | prt.CFrame = cframe | |
| 770 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 771 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 772 | table.insert(Effects, {
| |
| 773 | prt, | |
| 774 | "Cylinder", | |
| 775 | delay, | |
| 776 | x3, | |
| 777 | y3, | |
| 778 | z3, | |
| 779 | msh | |
| 780 | }) | |
| 781 | end; | |
| 782 | }; | |
| 783 | ||
| 784 | Elect = {
| |
| 785 | Create = function(cff, x, y, z) | |
| 786 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 787 | prt.Anchored = true | |
| 788 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 789 | prt.CFrame = CFrame.new(prt.Position) | |
| 790 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 791 | local xval = math.random() / 2 | |
| 792 | local yval = math.random() / 2 | |
| 793 | local zval = math.random() / 2 | |
| 794 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 795 | table.insert(Effects, {
| |
| 796 | prt, | |
| 797 | "Elec", | |
| 798 | 0.1, | |
| 799 | x, | |
| 800 | y, | |
| 801 | z, | |
| 802 | xval, | |
| 803 | yval, | |
| 804 | zval | |
| 805 | }) | |
| 806 | end; | |
| 807 | ||
| 808 | }; | |
| 809 | ||
| 810 | Ring = {
| |
| 811 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 812 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 813 | prt.Anchored = true | |
| 814 | prt.CFrame = cframe | |
| 815 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 816 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 817 | table.insert(Effects, {
| |
| 818 | prt, | |
| 819 | "Cylinder", | |
| 820 | delay, | |
| 821 | x3, | |
| 822 | y3, | |
| 823 | z3, | |
| 824 | msh | |
| 825 | }) | |
| 826 | end; | |
| 827 | }; | |
| 828 | ||
| 829 | ||
| 830 | Wave = {
| |
| 831 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 832 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 833 | prt.Anchored = true | |
| 834 | prt.CFrame = cframe | |
| 835 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 836 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 837 | table.insert(Effects, {
| |
| 838 | prt, | |
| 839 | "Cylinder", | |
| 840 | delay, | |
| 841 | x3, | |
| 842 | y3, | |
| 843 | z3, | |
| 844 | msh | |
| 845 | }) | |
| 846 | end; | |
| 847 | }; | |
| 848 | ||
| 849 | Break = {
| |
| 850 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 851 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 852 | prt.Anchored = true | |
| 853 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 854 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 855 | local num = math.random(10, 50) / 1000 | |
| 856 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 857 | table.insert(Effects, {
| |
| 858 | prt, | |
| 859 | "Shatter", | |
| 860 | num, | |
| 861 | prt.CFrame, | |
| 862 | math.random() - math.random(), | |
| 863 | 0, | |
| 864 | math.random(50, 100) / 100 | |
| 865 | }) | |
| 866 | end; | |
| 867 | }; | |
| 868 | ||
| 869 | Fire = {
| |
| 870 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 871 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 872 | prt.Anchored = true | |
| 873 | prt.CFrame = cframe | |
| 874 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 875 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 876 | table.insert(Effects, {
| |
| 877 | prt, | |
| 878 | "Fire", | |
| 879 | delay, | |
| 880 | 1, | |
| 881 | 1, | |
| 882 | 1, | |
| 883 | msh | |
| 884 | }) | |
| 885 | end; | |
| 886 | }; | |
| 887 | ||
| 888 | FireWave = {
| |
| 889 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 890 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 891 | prt.Anchored = true | |
| 892 | prt.CFrame = cframe | |
| 893 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 894 | local d = Create("Decal"){
| |
| 895 | Parent = prt, | |
| 896 | Texture = "rbxassetid://26356434", | |
| 897 | Face = "Top", | |
| 898 | } | |
| 899 | local d = Create("Decal"){
| |
| 900 | Parent = prt, | |
| 901 | Texture = "rbxassetid://26356434", | |
| 902 | Face = "Bottom", | |
| 903 | } | |
| 904 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 905 | table.insert(Effects, {
| |
| 906 | prt, | |
| 907 | "FireWave", | |
| 908 | 1, | |
| 909 | 30, | |
| 910 | math.random(400, 600) / 100, | |
| 911 | msh | |
| 912 | }) | |
| 913 | end; | |
| 914 | }; | |
| 915 | ||
| 916 | Lightning = {
| |
| 917 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 918 | local magz = (p0 - p1).magnitude | |
| 919 | local curpos = p0 | |
| 920 | local trz = {
| |
| 921 | -ofs, | |
| 922 | ofs | |
| 923 | } | |
| 924 | for i = 1, tym do | |
| 925 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 926 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 927 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 928 | li.Material = "Neon" | |
| 929 | if tym == i then | |
| 930 | local magz2 = (curpos - p1).magnitude | |
| 931 | li.Size = Vector3.new(th, th, magz2) | |
| 932 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 933 | table.insert(Effects, {
| |
| 934 | li, | |
| 935 | "Disappear", | |
| 936 | last | |
| 937 | }) | |
| 938 | else | |
| 939 | do | |
| 940 | do | |
| 941 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 942 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 943 | game.Debris:AddItem(li, 10) | |
| 944 | table.insert(Effects, {
| |
| 945 | li, | |
| 946 | "Disappear", | |
| 947 | last | |
| 948 | }) | |
| 949 | end | |
| 950 | end | |
| 951 | end | |
| 952 | end | |
| 953 | end | |
| 954 | }; | |
| 955 | ||
| 956 | EffectTemplate = {
| |
| 957 | ||
| 958 | }; | |
| 959 | } | |
| 960 | ||
| 961 | ||
| 962 | function smek() | |
| 963 | attack = true | |
| 964 | bweld.Part0 = RightArm | |
| 965 | bweld.C0 = CFrame.new(-.2,-2,.4)*CFrame.Angles(math.rad(90),0,math.rad(180)) | |
| 966 | Humanoid.WalkSpeed = 40 | |
| 967 | for i=0,1,.2 do | |
| 968 | swait() | |
| 969 | PlayAnimationFromTable({
| |
| 970 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
| 971 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
| 972 | 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), | |
| 973 | 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), | |
| 974 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
| 975 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
| 976 | }, .3, false) | |
| 977 | end | |
| 978 | Humanoid.WalkSpeed = 2 | |
| 979 | tr1.Enabled = true | |
| 980 | so(536642316,baton,1,1) | |
| 981 | for i=0,1,.1 do | |
| 982 | swait() | |
| 983 | PlayAnimationFromTable({
| |
| 984 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 985 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 986 | 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), | |
| 987 | 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), | |
| 988 | 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), | |
| 989 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
| 990 | }, .3, false) | |
| 991 | mdmg(baton,3,"Blunt") | |
| 992 | end | |
| 993 | swait(5) | |
| 994 | bweld.Part0 = Torso | |
| 995 | bweld.C0 = bdefc0 | |
| 996 | Humanoid.WalkSpeed = 16 | |
| 997 | tr1.Enabled = false | |
| 998 | attack = false | |
| 999 | end | |
| 1000 | ||
| 1001 | function asmek() | |
| 1002 | attack = true | |
| 1003 | --local par | |
| 1004 | --coroutine.wrap(function() | |
| 1005 | --repeat swait() par = rayCast(RootPart.Position,Vector3.new(0,-1,0),3,chara) until par~=nil or Torso.Velocity.Y == 0 | |
| 1006 | --tr2.Enabled = false | |
| 1007 | --attack = false | |
| 1008 | --end)() | |
| 1009 | --for i=0,1,.2 do | |
| 1010 | --swait() | |
| 1011 | --PlayAnimationFromTable({
| |
| 1012 | --CFrame.new(0, -0.0460019112, -0.0689063296, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 1013 | --CFrame.new(0, 1.52556431, -0.222140759, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
| 1014 | --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), | |
| 1015 | --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), | |
| 1016 | --CFrame.new(0.499998927, -1.99999928, 3.81469772e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 1017 | --CFrame.new(-0.5, -1.41182017, 0.232474089, 1, 0, 0, 0, 0.642786622, 0.766045392, 0, -0.766045392, 0.642786622), | |
| 1018 | --}, .3, false) | |
| 1019 | --end | |
| 1020 | tr2.Enabled = true | |
| 1021 | so(536642316,RightLeg,1,1) | |
| 1022 | for i=0,1.5,.1 do | |
| 1023 | swait() | |
| 1024 | PlayAnimationFromTable({
| |
| 1025 | 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), | |
| 1026 | CFrame.new(0, 1.36002374, -0.491580963, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457), | |
| 1027 | 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), | |
| 1028 | 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), | |
| 1029 | CFrame.new(0.399999022, -1.92074621, -0.716740668, 1, 0, 0, 0, 0.766044736, -0.642787457, 0, 0.642787457, 0.766044736), | |
| 1030 | CFrame.new(-0.5, -1.41181993, 0.232477784, 1, 0, 0, 0, 0.642787457, 0.766044736, 0, -0.766044736, 0.642787457), | |
| 1031 | }, .3, false) | |
| 1032 | if i >= .4 then | |
| 1033 | mdmg(RightLeg,3.5,"Blunt") | |
| 1034 | end | |
| 1035 | end | |
| 1036 | tr2.Enabled = false | |
| 1037 | attack = false | |
| 1038 | end | |
| 1039 | ||
| 1040 | local shots = 7 | |
| 1041 | zhold = true | |
| 1042 | function shoot() | |
| 1043 | attack = true | |
| 1044 | so(169799883,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 | Humanoid.WalkSpeed = 2 | |
| 1057 | local ref = Instance.new("Part",chara)
| |
| 1058 | ref.Size = Vector3.new(0,0,0) | |
| 1059 | ref.Anchored = true | |
| 1060 | ref.CanCollide = false | |
| 1061 | ref.Transparency = 1 | |
| 1062 | gweld.Part0 = RightArm | |
| 1063 | gweld.C0 = CFrame.new(.1,-1.5,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-40)) | |
| 1064 | for i=0,1,.1 do | |
| 1065 | swait() | |
| 1066 | PlayAnimationFromTable({
| |
| 1067 | CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1068 | 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), | |
| 1069 | 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), | |
| 1070 | 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), | |
| 1071 | CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1072 | CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1073 | }, .3, false) | |
| 1074 | end | |
| 1075 | swait(5) | |
| 1076 | repeat | |
| 1077 | so(470245800,gun,1,1) | |
| 1078 | ref.CFrame = Mouse.Hit | |
| 1079 | mdmg(ref,3,"Shot") | |
| 1080 | local hitpt = Instance.new("Part",EffectModel)
| |
| 1081 | hitpt.Size = Vector3.new(0,0,.3) | |
| 1082 | local bf = Instance.new("BodyVelocity",hitpt)
| |
| 1083 | bf.P = 10000 | |
| 1084 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
| 1085 | game:service'Debris':AddItem(bf,.1) | |
| 1086 | hitpt.CFrame = gun.CFrame * CFrame.new(0,-.5,.5) * CFrame.Angles(math.rad(90),0,0) | |
| 1087 | bf.Velocity = Vector3.new(0,5,0) + RootPart.CFrame.rightVector*10 | |
| 1088 | local hitm = Instance.new("SpecialMesh",hitpt)
| |
| 1089 | hitm.MeshId = "http://www.roblox.com/asset/?id=94295100" | |
| 1090 | hitm.TextureId = "http://www.roblox.com/asset/?id=94287792" | |
| 1091 | hitm.Scale = Vector3.new(3,3,3.5) | |
| 1092 | coroutine.wrap(function() | |
| 1093 | swait(120) | |
| 1094 | for i = 0,1.1 do | |
| 1095 | swait() | |
| 1096 | hitpt.Transparency = i | |
| 1097 | end | |
| 1098 | hitpt:Destroy() | |
| 1099 | end)() | |
| 1100 | Effects.Block.Create(BrickColor.new("Bright yellow"), gun.CFrame*CFrame.new(0,.6,.3), 0,0,0,1,1,1, 0.05)
| |
| 1101 | shots = shots - 1 | |
| 1102 | for i=0,1,.2 do | |
| 1103 | swait() | |
| 1104 | PlayAnimationFromTable({
| |
| 1105 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1106 | 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), | |
| 1107 | 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), | |
| 1108 | 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), | |
| 1109 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1110 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1111 | }, .3, false) | |
| 1112 | end | |
| 1113 | for i=0,1,.2 do | |
| 1114 | swait() | |
| 1115 | PlayAnimationFromTable({
| |
| 1116 | CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1117 | 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), | |
| 1118 | 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), | |
| 1119 | 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), | |
| 1120 | CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1121 | CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1122 | }, .3, false) | |
| 1123 | end | |
| 1124 | if shots == 0 then | |
| 1125 | so(147323220,gun,1,1) | |
| 1126 | for i=0,1.3,.1 do | |
| 1127 | swait() | |
| 1128 | PlayAnimationFromTable({
| |
| 1129 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1130 | 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), | |
| 1131 | 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), | |
| 1132 | 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), | |
| 1133 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1134 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1135 | }, .3, false) | |
| 1136 | end | |
| 1137 | 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),})
| |
| 1138 | MagPartt.CFrame = gun.CFrame * CFrame.new(0,-.5,-.5) * CFrame.Angles(0,0,0) | |
| 1139 | coroutine.wrap(function() | |
| 1140 | swait(5) | |
| 1141 | MagPartt.CanCollide = true | |
| 1142 | swait(120) | |
| 1143 | for i = 0,1.1 do | |
| 1144 | swait() | |
| 1145 | MagPartt.Transparency = i | |
| 1146 | end | |
| 1147 | MagPartt:Destroy() | |
| 1148 | end)() | |
| 1149 | swait(10) | |
| 1150 | 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),})
| |
| 1151 | 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),})
| |
| 1152 | for i=0,1.4,.2 do | |
| 1153 | swait() | |
| 1154 | PlayAnimationFromTable({
| |
| 1155 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1156 | 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), | |
| 1157 | 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), | |
| 1158 | 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), | |
| 1159 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1160 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1161 | }, .3, false) | |
| 1162 | end | |
| 1163 | MagPart:Destroy() | |
| 1164 | swait(5) | |
| 1165 | for i=0,1,.2 do | |
| 1166 | swait() | |
| 1167 | PlayAnimationFromTable({
| |
| 1168 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1169 | 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), | |
| 1170 | 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), | |
| 1171 | 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), | |
| 1172 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1173 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1174 | }, .3, false) | |
| 1175 | end | |
| 1176 | so(506273075,gun,1,1) | |
| 1177 | for i=0,1,.2 do | |
| 1178 | swait() | |
| 1179 | PlayAnimationFromTable({
| |
| 1180 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1181 | 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), | |
| 1182 | 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), | |
| 1183 | 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), | |
| 1184 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1185 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1186 | }, .3, false) | |
| 1187 | end | |
| 1188 | for i=0,1,.2 do | |
| 1189 | swait() | |
| 1190 | PlayAnimationFromTable({
| |
| 1191 | CFrame.new(0, -0.0301530343, -0.171007201, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1192 | 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), | |
| 1193 | 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), | |
| 1194 | 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), | |
| 1195 | CFrame.new(0.499999523, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1196 | CFrame.new(-0.500000954, -1.99999809, -1.84774399e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1197 | }, .3, false) | |
| 1198 | end | |
| 1199 | shots = 7 | |
| 1200 | swait(10) | |
| 1201 | for i=0,1,.2 do | |
| 1202 | swait() | |
| 1203 | PlayAnimationFromTable({
| |
| 1204 | CFrame.new(0, -0.0301527902, -0.171009317, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1205 | 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), | |
| 1206 | 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), | |
| 1207 | 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), | |
| 1208 | CFrame.new(0.5, -1.72638702, -0.751741886, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1209 | CFrame.new(-0.500000238, -1.99999905, 5.96046164e-08, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1210 | }, .3, false) | |
| 1211 | end | |
| 1212 | end | |
| 1213 | until zhold == false | |
| 1214 | swait(5) | |
| 1215 | ref:Destroy() | |
| 1216 | so(211134014,gun,1,1) | |
| 1217 | for i=0,1,.1 do | |
| 1218 | swait() | |
| 1219 | PlayAnimationFromTable({
| |
| 1220 | CFrame.new(0.0524868444, 0, -0.0110093001, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698), | |
| 1221 | 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), | |
| 1222 | 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), | |
| 1223 | 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), | |
| 1224 | CFrame.new(0.499998003, -2.00000095, 3.84449959e-06, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698), | |
| 1225 | CFrame.new(-0.499998897, -2.00000095, 1.59442425e-06, 0.98480767, 0, 0.173648536, 0, 1, 0, -0.173648536, 0, 0.98480767), | |
| 1226 | }, .3, false) | |
| 1227 | end | |
| 1228 | gweld.Part0 = Torso | |
| 1229 | gweld.C0 = gdefc0 | |
| 1230 | Humanoid.WalkSpeed = 16 | |
| 1231 | attack = false | |
| 1232 | end | |
| 1233 | ||
| 1234 | function therip() | |
| 1235 | attack = true | |
| 1236 | Humanoid.WalkSpeed = 2 | |
| 1237 | local grab = nil | |
| 1238 | local torsy = nil | |
| 1239 | local hum = nil | |
| 1240 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1241 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
| |
| 1242 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1243 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1244 | grab = v | |
| 1245 | end | |
| 1246 | end | |
| 1247 | if grab ~= nil and torsy ~= nil then | |
| 1248 | so(200632136, RootPart, .8, 1) | |
| 1249 | for i = 0,1.5,0.1 do | |
| 1250 | swait() | |
| 1251 | PlayAnimationFromTable({
| |
| 1252 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1253 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1254 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
| 1255 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1256 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1257 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1258 | }, .3, false) | |
| 1259 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1260 | torsy.Velocity = Vector3.new() | |
| 1261 | end | |
| 1262 | so(240429615, torsy, 1, 1) | |
| 1263 | for i = 0, 1.5, 0.1 do | |
| 1264 | swait() | |
| 1265 | PlayAnimationFromTable({
| |
| 1266 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1267 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
| 1268 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
| 1269 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1270 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1271 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1272 | }, .3, false) | |
| 1273 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1274 | torsy.Velocity = Vector3.new() | |
| 1275 | end | |
| 1276 | for i = 0, 3, 0.1 do | |
| 1277 | swait() | |
| 1278 | PlayAnimationFromTable({
| |
| 1279 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1280 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 1281 | CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
| 1282 | CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
| 1283 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1284 | CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1285 | }, .3, false) | |
| 1286 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,math.rad(90)),.3) | |
| 1287 | hum.PlatformStand = true | |
| 1288 | torsy.Velocity = Vector3.new() | |
| 1289 | end | |
| 1290 | so(206082327,torsy,1,5) | |
| 1291 | if hum.RigType == Enum.HumanoidRigType.R6 then | |
| 1292 | local lleg = grab:FindFirstChild("Left Leg")
| |
| 1293 | local rleg = grab:FindFirstChild("Right Leg")
| |
| 1294 | local mad = Instance.new("Model",workspace)
| |
| 1295 | Instance.new("Humanoid",mad).Health = 0
| |
| 1296 | mad.Humanoid.MaxHealth = 0 | |
| 1297 | if grab:FindFirstChildOfClass("Pants") then grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad end
| |
| 1298 | killmortal(grab,0) | |
| 1299 | coroutine.wrap(function() | |
| 1300 | swait(4) | |
| 1301 | torsy.Velocity = RootPart.CFrame.rightVector*-30 | |
| 1302 | lleg.Parent = mad | |
| 1303 | rleg.Parent = mad | |
| 1304 | lleg.CanCollide = true | |
| 1305 | rleg.CanCollide = true | |
| 1306 | lleg:BreakJoints() | |
| 1307 | rleg:BreakJoints() | |
| 1308 | lleg.Velocity = RootPart.CFrame.rightVector*30 | |
| 1309 | rleg.Velocity = RootPart.CFrame.rightVector*30 | |
| 1310 | local bledp = Instance.new("Part",mad)
| |
| 1311 | bledp.Size = Vector3.new(0,0,0) | |
| 1312 | bledp.Transparency = 1 | |
| 1313 | bledp.CanCollide = false | |
| 1314 | local blpe = blpemit:Clone() | |
| 1315 | blpe.Parent = bledp | |
| 1316 | blpe.EmissionDirection = "Top" | |
| 1317 | blpe.VelocitySpread = 20 | |
| 1318 | local bledp2 = bledp:Clone() | |
| 1319 | bledp2.Parent = mad | |
| 1320 | local blape = bledp:Clone() | |
| 1321 | blape.Parent = mad | |
| 1322 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1323 | blape.Size = Vector3.new(1.5,0,0) | |
| 1324 | local bledw = Instance.new("Weld",bledp)
| |
| 1325 | bledw.Part0 = lleg | |
| 1326 | bledw.Part1 = bledp | |
| 1327 | bledw.C0 = CFrame.new(0,1,0) | |
| 1328 | local bledw2 = Instance.new("Weld",blape)
| |
| 1329 | bledw2.Part0 = torsy | |
| 1330 | bledw2.Part1 = blape | |
| 1331 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1332 | local bledw3 = Instance.new("Weld",bledp2)
| |
| 1333 | bledw.Part0 = rleg | |
| 1334 | bledw.Part1 = bledp2 | |
| 1335 | bledw.C0 = CFrame.new(0,1,0) | |
| 1336 | game:service'Debris':AddItem(mad,15) | |
| 1337 | end)() | |
| 1338 | elseif hum.RigType == Enum.HumanoidRigType.R15 then | |
| 1339 | local hip = grab:FindFirstChild("LowerTorso")
| |
| 1340 | local lleg = grab:FindFirstChild("LeftUpperLeg")
| |
| 1341 | local rleg = grab:FindFirstChild("RightUpperLeg")
| |
| 1342 | --for i,v in pairs(grab:children()) do | |
| 1343 | --if v:IsA("BasePart") then blpemit:Clone().Parent = v end
| |
| 1344 | --end | |
| 1345 | killmortal(grab,0) | |
| 1346 | coroutine.wrap(function() | |
| 1347 | swait(2) | |
| 1348 | hip:Destroy() | |
| 1349 | torsy.Velocity = RootPart.CFrame.rightVector*-60 | |
| 1350 | lleg.Velocity = RootPart.CFrame.rightVector*60 | |
| 1351 | rleg.Velocity = RootPart.CFrame.rightVector*60 | |
| 1352 | local bledp = Instance.new("Part",torsy.Parent)
| |
| 1353 | bledp.Size = Vector3.new(0,0,0) | |
| 1354 | bledp.Transparency = 1 | |
| 1355 | bledp.CanCollide = false | |
| 1356 | local blpe = blpemit:Clone() | |
| 1357 | blpe.Parent = bledp | |
| 1358 | blpe.EmissionDirection = "Top" | |
| 1359 | blpe.VelocitySpread = 20 | |
| 1360 | local bledp2 = bledp:Clone() | |
| 1361 | bledp2.Parent = torsy.Parent | |
| 1362 | local blape = bledp:Clone() | |
| 1363 | blape.Parent = torsy.Parent | |
| 1364 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1365 | blape.Size = Vector3.new(1.5,0,0) | |
| 1366 | local bledw = Instance.new("Weld",bledp)
| |
| 1367 | bledw.Part0 = lleg | |
| 1368 | bledw.Part1 = bledp | |
| 1369 | bledw.C0 = CFrame.new(0,1,0) | |
| 1370 | local bledw2 = Instance.new("Weld",blape)
| |
| 1371 | bledw2.Part0 = torsy | |
| 1372 | bledw2.Part1 = blape | |
| 1373 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1374 | local bledw3 = Instance.new("Weld",bledp2)
| |
| 1375 | bledw.Part0 = rleg | |
| 1376 | bledw.Part1 = bledp2 | |
| 1377 | bledw.C0 = CFrame.new(0,1,0) | |
| 1378 | end)() | |
| 1379 | --hip:BreakJoints() | |
| 1380 | --hip.Velocity = RootPart.CFrame.rightVector*-30 | |
| 1381 | end | |
| 1382 | for i = 0, 2, 0.1 do | |
| 1383 | swait() | |
| 1384 | PlayAnimationFromTable({
| |
| 1385 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1386 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 1387 | CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
| 1388 | CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
| 1389 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1390 | CFrame.new(-0.499995321, -1.99999988, -2.78651714e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1391 | }, .3, false) | |
| 1392 | end | |
| 1393 | end | |
| 1394 | attack = false | |
| 1395 | Humanoid.WalkSpeed = 8 | |
| 1396 | end | |
| 1397 | ||
| 1398 | local Jails = Instance.new("Model",chara)
| |
| 1399 | Jails.Name = "Jails" | |
| 1400 | function arrest() | |
| 1401 | attack = true | |
| 1402 | if Mouse.Target~= nil then | |
| 1403 | local dude = Mouse.Target.Parent | |
| 1404 | local ply = game:service'Players':GetPlayerFromCharacter(dude) | |
| 1405 | if dude:FindFirstChildOfClass("Humanoid") then
| |
| 1406 | Humanoid.WalkSpeed = 0 | |
| 1407 | for i,v in pairs(dude:children()) do | |
| 1408 | if v:IsA("LocalScript") or v:IsA("Tool") then
| |
| 1409 | v:Destroy() | |
| 1410 | end | |
| 1411 | end | |
| 1412 | local haed = dude:FindFirstChild("Head")
| |
| 1413 | local JailCell = New("Model",Jails,"JailCell",{})
| |
| 1414 | 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,})
| |
| 1415 | 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,})
| |
| 1416 | 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,})
| |
| 1417 | - | arrest() |
| 1417 | + | |
| 1418 | 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),})
| |
| 1419 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1420 | 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,})
| |
| 1421 | 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),})
| |
| 1422 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1423 | 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),})
| |
| 1424 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1425 | 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,})
| |
| 1426 | 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),})
| |
| 1427 | 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,})
| |
| 1428 | 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,})
| |
| 1429 | 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),})
| |
| 1430 | 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,})
| |
| 1431 | 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,})
| |
| 1432 | 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,})
| |
| 1433 | 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,})
| |
| 1434 | 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,})
| |
| 1435 | 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,})
| |
| 1436 | 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,})
| |
| 1437 | 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),})
| |
| 1438 | 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),})
| |
| 1439 | 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),})
| |
| 1440 | 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,})
| |
| 1441 | 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,})
| |
| 1442 | 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),})
| |
| 1443 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1444 | 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,})
| |
| 1445 | 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,})
| |
| 1446 | 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),})
| |
| 1447 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1448 | 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),})
| |
| 1449 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1450 | 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),})
| |
| 1451 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1452 | 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,})
| |
| 1453 | 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),})
| |
| 1454 | 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),})
| |
| 1455 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1456 | 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),})
| |
| 1457 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1458 | 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),})
| |
| 1459 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1460 | 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,})
| |
| 1461 | 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,})
| |
| 1462 | 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,})
| |
| 1463 | 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,})
| |
| 1464 | 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),})
| |
| 1465 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1466 | 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),})
| |
| 1467 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1468 | 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),})
| |
| 1469 | 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,})
| |
| 1470 | 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),})
| |
| 1471 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1472 | 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),})
| |
| 1473 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1474 | 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),})
| |
| 1475 | 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,})
| |
| 1476 | 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,})
| |
| 1477 | 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,})
| |
| 1478 | 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,})
| |
| 1479 | 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,})
| |
| 1480 | 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,})
| |
| 1481 | 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,})
| |
| 1482 | 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,})
| |
| 1483 | 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,})
| |
| 1484 | 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,})
| |
| 1485 | 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,})
| |
| 1486 | 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,})
| |
| 1487 | 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,})
| |
| 1488 | 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,})
| |
| 1489 | 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),})
| |
| 1490 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1491 | 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),})
| |
| 1492 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1493 | 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),})
| |
| 1494 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1495 | 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),})
| |
| 1496 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1497 | 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),})
| |
| 1498 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1499 | 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),})
| |
| 1500 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1501 | 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),})
| |
| 1502 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1503 | 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),})
| |
| 1504 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1505 | 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),})
| |
| 1506 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1507 | 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),})
| |
| 1508 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1509 | 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),})
| |
| 1510 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1511 | 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),})
| |
| 1512 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 1, 0.5),})
| |
| 1513 | 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,})
| |
| 1514 | 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,})
| |
| 1515 | 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,})
| |
| 1516 | 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,})
| |
| 1517 | 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,})
| |
| 1518 | 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,})
| |
| 1519 | 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,})
| |
| 1520 | 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,})
| |
| 1521 | 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,})
| |
| 1522 | 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,})
| |
| 1523 | 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,})
| |
| 1524 | 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,})
| |
| 1525 | 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,})
| |
| 1526 | 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,})
| |
| 1527 | 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,})
| |
| 1528 | 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,})
| |
| 1529 | JailCell:MoveTo(pos) | |
| 1530 | removescriptspart.Touched:connect(function(hit) | |
| 1531 | if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= chara then
| |
| 1532 | for i,v in pairs(hit.Parent:children()) do | |
| 1533 | if v:IsA("LocalScript") or v:IsA("Tool") then
| |
| 1534 | v:Destroy() | |
| 1535 | end | |
| 1536 | end | |
| 1537 | end | |
| 1538 | end) | |
| 1539 | for _, v in pairs(chara:children()) do | |
| 1540 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
| |
| 1541 | do | |
| 1542 | local p = v:clone() | |
| 1543 | p.Name = "trail" | |
| 1544 | p.Parent = workspace | |
| 1545 | p.Transparency = 0.5 | |
| 1546 | p.Anchored = true | |
| 1547 | p.BrickColor = BrickColor.White() | |
| 1548 | p.Material = "Neon" | |
| 1549 | p:BreakJoints() | |
| 1550 | p.CanCollide = false | |
| 1551 | if v == chara.Head then | |
| 1552 | for a, b in pairs(p:children()) do | |
| 1553 | if b:IsA("Sound") then
| |
| 1554 | b:Destroy() | |
| 1555 | end | |
| 1556 | end | |
| 1557 | end | |
| 1558 | coroutine.resume(coroutine.create(function() | |
| 1559 | for i = 1, 50 do | |
| 1560 | swait() | |
| 1561 | p.Transparency = i / 50 | |
| 1562 | end | |
| 1563 | p:Destroy() | |
| 1564 | end)) | |
| 1565 | end | |
| 1566 | end | |
| 1567 | if v.className == "Accessory" then | |
| 1568 | end | |
| 1569 | end | |
| 1570 | so(1055279036,Torso,1,3) | |
| 1571 | if haed~=nil then | |
| 1572 | haed.Anchored = true | |
| 1573 | Head.CFrame = haed.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(180),0) | |
| 1574 | end | |
| 1575 | for i=0,1,.1 do | |
| 1576 | swait() | |
| 1577 | PlayAnimationFromTable({
| |
| 1578 | CFrame.new(0.174721688, 0, -0.147934705, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1579 | 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), | |
| 1580 | CFrame.new(1.5, 0.499998093, -0.40000084, 0.939692676, -0.342020601, 0, 0, 0, -1, 0.342020601, 0.939692676, 0), | |
| 1581 | 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), | |
| 1582 | CFrame.new(0.499998987, -2.00000095, -1.14738941e-06, 0.939692676, 0, -0.342020601, 0, 1, 0, 0.342020601, 0, 0.939692676), | |
| 1583 | CFrame.new(-0.499998212, -2.00000095, 1.90734909e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1584 | }, .3, false) | |
| 1585 | end | |
| 1586 | chatfunc("You are under arrest! Now face your sentence!")
| |
| 1587 | swait(50) | |
| 1588 | local soaa = Instance.new("Sound",haed)
| |
| 1589 | soaa.Volume = 1 | |
| 1590 | local cho = math.random(1,5) | |
| 1591 | if cho == 1 then | |
| 1592 | soaa.SoundId = "rbxassetid://111896685" | |
| 1593 | elseif cho == 2 then | |
| 1594 | soaa.SoundId = "rbxassetid://535528169" | |
| 1595 | elseif cho == 3 then | |
| 1596 | soaa.SoundId = "rbxassetid://1080363252" | |
| 1597 | elseif cho == 4 then | |
| 1598 | soaa.SoundId = "rbxassetid://147758746" | |
| 1599 | elseif cho == 5 then | |
| 1600 | soaa.SoundId = "rbxassetid://626777433" | |
| 1601 | soaa.Volume = .3 | |
| 1602 | soaa.TimePosition = 1 | |
| 1603 | end | |
| 1604 | game:service'Debris':AddItem(soaa,6) | |
| 1605 | soaa:Play() | |
| 1606 | if haed~=nil then | |
| 1607 | haed.Anchored = false | |
| 1608 | end | |
| 1609 | Humanoid.WalkSpeed = 16 | |
| 1610 | local jc = JailCell | |
| 1611 | if ply~=nil then | |
| 1612 | local p = ply | |
| 1613 | coroutine.wrap(function() | |
| 1614 | while true do | |
| 1615 | swait() | |
| 1616 | if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc ~= nil then
| |
| 1617 | if (p.Character:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then
| |
| 1618 | p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
| |
| 1619 | end | |
| 1620 | elseif p==nil then | |
| 1621 | jc:Destroy() | |
| 1622 | break | |
| 1623 | elseif jc==nil then | |
| 1624 | break | |
| 1625 | end | |
| 1626 | end | |
| 1627 | end)() | |
| 1628 | coroutine.wrap(function() | |
| 1629 | while true do | |
| 1630 | swait() | |
| 1631 | if p~=nil and p.Character ~= nil then | |
| 1632 | for i,v in pairs(p.Character:children()) do | |
| 1633 | if v:IsA("LocalScript") or v:IsA("Tool") then
| |
| 1634 | if v:IsA("LocalScript") then
| |
| 1635 | v.Disabled = true | |
| 1636 | end | |
| 1637 | v:Destroy() | |
| 1638 | end | |
| 1639 | end | |
| 1640 | end | |
| 1641 | end | |
| 1642 | end)() | |
| 1643 | p.CharacterAdded:connect(function() | |
| 1644 | if p~=nil and p.Character ~= nil and p.Character:FindFirstChild("Head") and jc~=nil then
| |
| 1645 | p.Character:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
| |
| 1646 | end | |
| 1647 | end) | |
| 1648 | elseif ply == nil then | |
| 1649 | coroutine.wrap(function() | |
| 1650 | local ch = dude | |
| 1651 | while true do | |
| 1652 | swait() | |
| 1653 | if ch ~= nil and ch:FindFirstChild("Head") and jc~=nil and jc:FindFirstChild("SpawnPart")~=nil then
| |
| 1654 | if (ch:FindFirstChild("Head").Position - removescriptspart.Position).magnitude >= 10 then
| |
| 1655 | ch:FindFirstChild("Head").CFrame = SpawnPart.CFrame*CFrame.new(0,2,0)
| |
| 1656 | end | |
| 1657 | elseif ch.Parent==nil then | |
| 1658 | jc:Destroy() | |
| 1659 | break | |
| 1660 | elseif jc.Parent==nil then | |
| 1661 | break | |
| 1662 | end | |
| 1663 | end | |
| 1664 | end)() | |
| 1665 | end | |
| 1666 | end | |
| 1667 | end | |
| 1668 | attack = false | |
| 1669 | end | |
| 1670 | ||
| 1671 | ||
| 1672 | qhold = false | |
| 1673 | justsprinted = false | |
| 1674 | function sprint() | |
| 1675 | attack = true | |
| 1676 | --print("supurinto?")
| |
| 1677 | --justsprinted = true | |
| 1678 | --coroutine.wrap(function() | |
| 1679 | --swait(10) | |
| 1680 | --justsprinted = false | |
| 1681 | --end)() | |
| 1682 | repeat | |
| 1683 | swait() | |
| 1684 | PlayAnimationFromTable({
| |
| 1685 | 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), | |
| 1686 | CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1687 | 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), | |
| 1688 | 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), | |
| 1689 | 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), | |
| 1690 | 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), | |
| 1691 | }, .3, false) | |
| 1692 | Humanoid.WalkSpeed = 40 | |
| 1693 | until qhold == false or Torso.Velocity == Vector3.new(0,0,0) | |
| 1694 | --print'sutoppu' | |
| 1695 | Humanoid.WalkSpeed = 16 | |
| 1696 | attack = false | |
| 1697 | end | |
| 1698 | ||
| 1699 | ||
| 1700 | function movejails() | |
| 1701 | pos = Mouse.Hit.p | |
| 1702 | for i,v in pairs(Jails:children()) do | |
| 1703 | swait(5) | |
| 1704 | v:MoveTo(pos) | |
| 1705 | end | |
| 1706 | end | |
| 1707 | ||
| 1708 | Mouse.Button1Down:connect(function() | |
| 1709 | if attack == false then | |
| 1710 | if Anim == "Jump" or Anim == "Fall" then | |
| 1711 | asmek() | |
| 1712 | else | |
| 1713 | smek() | |
| 1714 | end | |
| 1715 | end | |
| 1716 | end) | |
| 1717 | ||
| 1718 | local sprintt = 0 | |
| 1719 | ||
| 1720 | ||
| 1721 | Mouse.KeyDown:connect(function(k) | |
| 1722 | k = k:lower() | |
| 1723 | if k=='m' then | |
| 1724 | if mus.IsPlaying == true then | |
| 1725 | mus:Stop() | |
| 1726 | elseif mus.IsPaused == true then | |
| 1727 | mus:Play() | |
| 1728 | end | |
| 1729 | end | |
| 1730 | if attack == false then | |
| 1731 | if k == 'q' then | |
| 1732 | qhold = true | |
| 1733 | sprint() | |
| 1734 | elseif k == 'x' then | |
| 1735 | arrest() | |
| 1736 | elseif k == 'v' then | |
| 1737 | therip() | |
| 1738 | elseif k == 'z' then | |
| 1739 | zhold = true | |
| 1740 | shoot() | |
| 1741 | elseif k == 'p' then | |
| 1742 | movejails() | |
| 1743 | end | |
| 1744 | end | |
| 1745 | end) | |
| 1746 | ||
| 1747 | ||
| 1748 | Mouse.KeyUp:connect(function(k) | |
| 1749 | k = k:lower() | |
| 1750 | if k == 'q' then | |
| 1751 | qhold = false | |
| 1752 | elseif k == 'z' then | |
| 1753 | zhold = false | |
| 1754 | end | |
| 1755 | end) | |
| 1756 | ||
| 1757 | ||
| 1758 | coroutine.wrap(function() | |
| 1759 | while 1 do | |
| 1760 | swait() | |
| 1761 | if doe <= 360 then | |
| 1762 | doe = doe + 2 | |
| 1763 | else | |
| 1764 | doe = 0 | |
| 1765 | end | |
| 1766 | end | |
| 1767 | end)() | |
| 1768 | while true do | |
| 1769 | swait() | |
| 1770 | for i, v in pairs(chara:GetChildren()) do | |
| 1771 | if v:IsA("Part") then
| |
| 1772 | v.Material = "SmoothPlastic" | |
| 1773 | elseif v:IsA("Accessory") then
| |
| 1774 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1775 | end | |
| 1776 | end | |
| 1777 | while true do | |
| 1778 | swait() | |
| 1779 | if sprintt >= 1 then | |
| 1780 | sprintt = sprintt - 1 | |
| 1781 | end | |
| 1782 | ||
| 1783 | if Head:FindFirstChild("mus")==nil then
| |
| 1784 | mus = Instance.new("Sound",Head)
| |
| 1785 | mus.Name = "mus" | |
| 1786 | mus.SoundId = "rbxassetid://345868687" | |
| 1787 | mus.Looped = true | |
| 1788 | mus.Volume = 1 | |
| 1789 | mus:Play() | |
| 1790 | end | |
| 1791 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1792 | velocity = RootPart.Velocity.y | |
| 1793 | sine = sine + change | |
| 1794 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
| 1795 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1796 | Anim = "Jump" | |
| 1797 | if attack == false then | |
| 1798 | PlayAnimationFromTable({
| |
| 1799 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 1800 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
| 1801 | 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), | |
| 1802 | 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), | |
| 1803 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 1804 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
| 1805 | }, .3, false) | |
| 1806 | end | |
| 1807 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1808 | Anim = "Fall" | |
| 1809 | if attack == false then | |
| 1810 | PlayAnimationFromTable({
| |
| 1811 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
| 1812 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 1813 | 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), | |
| 1814 | 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), | |
| 1815 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 1816 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 1817 | }, .3, false) | |
| 1818 | end | |
| 1819 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1820 | Anim = "Idle" | |
| 1821 | if attack == false then | |
| 1822 | change = 1 | |
| 1823 | PlayAnimationFromTable({
| |
| 1824 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
| 1825 | CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1826 | 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), | |
| 1827 | 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), | |
| 1828 | 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), | |
| 1829 | 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), | |
| 1830 | }, .3, false) | |
| 1831 | end | |
| 1832 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1833 | Anim = "Walk" | |
| 1834 | if attack == false then | |
| 1835 | PlayAnimationFromTable({
| |
| 1836 | 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), | |
| 1837 | CFrame.new(-2.09923631e-14, 1.48262846, -0.0984891504, 1, -1.42108547e-14, 0, 0, 0.984807491, 0.173649743, 0, -0.173649758, 0.984807491), | |
| 1838 | 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), | |
| 1839 | 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), | |
| 1840 | 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), | |
| 1841 | 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), | |
| 1842 | }, .3, false) | |
| 1843 | end | |
| 1844 | end | |
| 1845 | if 0 < #Effects then | |
| 1846 | for e = 1, #Effects do | |
| 1847 | if Effects[e] ~= nil then | |
| 1848 | local Thing = Effects[e] | |
| 1849 | if Thing ~= nil then | |
| 1850 | local Part = Thing[1] | |
| 1851 | local Mode = Thing[2] | |
| 1852 | local Delay = Thing[3] | |
| 1853 | local IncX = Thing[4] | |
| 1854 | local IncY = Thing[5] | |
| 1855 | local IncZ = Thing[6] | |
| 1856 | if Thing[2] == "Shoot" then | |
| 1857 | local Look = Thing[1] | |
| 1858 | local move = 30 | |
| 1859 | if Thing[8] == 3 then | |
| 1860 | move = 10 | |
| 1861 | end | |
| 1862 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 1863 | if Thing[10] ~= nil then | |
| 1864 | da = pos | |
| 1865 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 1866 | cfa = CFrame.new(Thing[4], pos) | |
| 1867 | tehCF = cfa:lerp(cf2, 0.2) | |
| 1868 | Thing[1] = tehCF.lookVector | |
| 1869 | end | |
| 1870 | local mag = (Thing[4] - pos).magnitude | |
| 1871 | 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) | |
| 1872 | if Thing[8] == 2 then | |
| 1873 | 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) | |
| 1874 | end | |
| 1875 | Thing[4] = Thing[4] + Look * move | |
| 1876 | Thing[3] = Thing[3] - 1 | |
| 1877 | if 2 < Thing[5] then | |
| 1878 | Thing[5] = Thing[5] - 0.3 | |
| 1879 | Thing[6] = Thing[6] - 0.3 | |
| 1880 | end | |
| 1881 | if hit ~= nil then | |
| 1882 | Thing[3] = 0 | |
| 1883 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 1884 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1885 | else | |
| 1886 | if Thing[8] == 2 then | |
| 1887 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1888 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
| |
| 1889 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1890 | ref.Anchored = true | |
| 1891 | ref.CFrame = CFrame.new(pos) | |
| 1892 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 1893 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 1894 | 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) | |
| 1895 | 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)
| |
| 1896 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 1897 | end | |
| 1898 | end | |
| 1899 | end | |
| 1900 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1901 | ref.Anchored = true | |
| 1902 | ref.CFrame = CFrame.new(pos) | |
| 1903 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 1904 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 1905 | end | |
| 1906 | if Thing[3] <= 0 then | |
| 1907 | table.remove(Effects, e) | |
| 1908 | end | |
| 1909 | end | |
| 1910 | do | |
| 1911 | do | |
| 1912 | if Thing[2] == "FireWave" then | |
| 1913 | if Thing[3] <= Thing[4] then | |
| 1914 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 1915 | Thing[3] = Thing[3] + 1 | |
| 1916 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 1917 | else | |
| 1918 | Part.Parent = nil | |
| 1919 | table.remove(Effects, e) | |
| 1920 | end | |
| 1921 | end | |
| 1922 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 1923 | if Thing[1].Transparency <= 1 then | |
| 1924 | if Thing[2] == "Block1" then | |
| 1925 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1926 | Mesh = Thing[7] | |
| 1927 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1928 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1929 | else | |
| 1930 | if Thing[2] == "Block2" then | |
| 1931 | Thing[1].CFrame = Thing[1].CFrame | |
| 1932 | Mesh = Thing[7] | |
| 1933 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1934 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1935 | else | |
| 1936 | if Thing[2] == "Fire" then | |
| 1937 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1938 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1939 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1940 | else | |
| 1941 | if Thing[2] == "Cylinder" then | |
| 1942 | Mesh = Thing[7] | |
| 1943 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1944 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1945 | else | |
| 1946 | if Thing[2] == "Blood" then | |
| 1947 | Mesh = Thing[7] | |
| 1948 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 1949 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1950 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1951 | else | |
| 1952 | if Thing[2] == "Elec" then | |
| 1953 | Mesh = Thing[10] | |
| 1954 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1955 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1956 | else | |
| 1957 | if Thing[2] == "Disappear" then | |
| 1958 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1959 | else | |
| 1960 | if Thing[2] == "Shatter" then | |
| 1961 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1962 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1963 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1964 | Thing[6] = Thing[6] + Thing[5] | |
| 1965 | end | |
| 1966 | end | |
| 1967 | end | |
| 1968 | end | |
| 1969 | end | |
| 1970 | end | |
| 1971 | end | |
| 1972 | end | |
| 1973 | else | |
| 1974 | Part.Parent = nil | |
| 1975 | table.remove(Effects, e) | |
| 1976 | end | |
| 1977 | end | |
| 1978 | end | |
| 1979 | end | |
| 1980 | end | |
| 1981 | end | |
| 1982 | end | |
| 1983 | end | |
| 1984 | end | |
| 1985 | end |