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