SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --By Rufus14, i dont want to fight with admins, so everyone enjoy family friendly version of cop |
| 1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | - | script.Parent = game.Players.LocalPlayer.PlayerGui |
| 3 | + | do |
| 4 | - | mouse = game.Players.LocalPlayer:GetMouse() |
| 4 | + | print("FE Compatibility code by Mokiros")
|
| 5 | - | game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) |
| 5 | + | script.Parent = Player.Character |
| 6 | - | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
|
| 6 | + | |
| 7 | --RemoteEvent for communicating | |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | - | v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor |
| 31 | + | t.Function(...) |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | - | textfag.Text = "Script By Rufus14" |
| 36 | + | |
| 37 | - | wait(2) |
| 37 | + | Event.OnServerEvent:Connect(function(plr,io) |
| 38 | - | textfag.Text = "This is family friendly version, ok?" |
| 38 | + | if plr~=Player then return end |
| 39 | - | wait(2) |
| 39 | + | if io.isMouse then |
| 40 | - | textfag.Text = game.Players.LocalPlayer.Character.Name.." the Anti-Skid Cop" |
| 40 | + | m.Target = io.Target |
| 41 | - | local music = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
|
| 41 | + | m.Hit = io.Hit |
| 42 | else | |
| 43 | - | music.SoundId = "rbxassetid://258802733" |
| 43 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | - | alert = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
|
| 48 | + | for _,k in pairs(t.Keys) do |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | - | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 17 |
| 51 | + | end |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | ||
| 84 | script.Parent = owner.PlayerGui | |
| 85 | owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
| 86 | local txtfag = Instance.new("BillboardGui", owner.Character.Head)
| |
| 87 | txtfag.Adornee = suckadick | |
| 88 | txtfag.Name = "kys nigga" | |
| 89 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
| 90 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
| 91 | local textfag = Instance.new("TextLabel", txtfag)
| |
| 92 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
| 93 | textfag.FontSize = "Size8" | |
| 94 | textfag.TextScaled = true | |
| 95 | textfag.TextTransparency = 0 | |
| 96 | textfag.BackgroundTransparency = 1 | |
| 97 | textfag.TextTransparency = 0 | |
| 98 | textfag.TextStrokeTransparency = 0 | |
| 99 | textfag.Font = "SourceSans" | |
| 100 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
| 101 | v = Instance.new("Part")
| |
| 102 | v.Name = "ColorBrick" | |
| 103 | v.Parent = part | |
| 104 | v.FormFactor = "Symmetric" | |
| 105 | v.Anchored = true | |
| 106 | v.CanCollide = false | |
| 107 | v.BottomSurface = "Smooth" | |
| 108 | v.TopSurface = "Smooth" | |
| 109 | v.Size = Vector3.new(10, 5, 3) | |
| 110 | v.Transparency = 0.7 | |
| 111 | v.BrickColor = owner.Character.Torso.BrickColor | |
| 112 | v.Transparency = 1 | |
| 113 | textfag.TextColor3 = v.BrickColor.Color | |
| 114 | textfag.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 115 | v.Shape = "Block" | |
| 116 | textfag.Text = owner.Character.Name.." the Anti-Skid Cop" | |
| 117 | local music = Instance.new("Sound", owner.Character.Head)
| |
| 118 | music.Volume = 7 | |
| 119 | music.SoundId = "rbxassetid://752427379" | |
| 120 | music.PlaybackSpeed = 1 | |
| 121 | music:Play() | |
| 122 | music.Looped = true | |
| 123 | music.Name = "Boi, its family friendly now, ok?" | |
| 124 | alert = Instance.new("Sound", owner.Character.Head)
| |
| 125 | alert.Volume = 10 | |
| 126 | alert.SoundId = "rbxassetid://1011639456" | |
| 127 | owner.Character.Humanoid.WalkSpeed = 17 | |
| 128 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 129 | function sandbox(var,func) | |
| 130 | local env = getfenv(func) | |
| 131 | local newenv = setmetatable({},{
| |
| 132 | __index = function(self,k) | |
| 133 | if k=="script" then | |
| 134 | return var | |
| 135 | else | |
| 136 | return env[k] | |
| 137 | end | |
| 138 | end, | |
| 139 | }) | |
| 140 | setfenv(func,newenv) | |
| 141 | return func | |
| 142 | end | |
| 143 | cors = {}
| |
| 144 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 145 | Model0 = Instance.new("Model")
| |
| 146 | Part1 = Instance.new("Part")
| |
| 147 | Part2 = Instance.new("Part")
| |
| 148 | Part3 = Instance.new("Part")
| |
| 149 | Part4 = Instance.new("Part")
| |
| 150 | Part5 = Instance.new("Part")
| |
| 151 | Part6 = Instance.new("Part")
| |
| 152 | Part7 = Instance.new("Part")
| |
| 153 | Part8 = Instance.new("Part")
| |
| 154 | Part9 = Instance.new("Part")
| |
| 155 | Part10 = Instance.new("Part")
| |
| 156 | Part11 = Instance.new("Part")
| |
| 157 | SurfaceGui12 = Instance.new("SurfaceGui")
| |
| 158 | TextLabel13 = Instance.new("TextLabel")
| |
| 159 | Part14 = Instance.new("Part")
| |
| 160 | Part15 = Instance.new("Part")
| |
| 161 | Part16 = Instance.new("Part")
| |
| 162 | Part17 = Instance.new("Part")
| |
| 163 | Part18 = Instance.new("Part")
| |
| 164 | Part19 = Instance.new("Part")
| |
| 165 | Part20 = Instance.new("Part")
| |
| 166 | Part21 = Instance.new("Part")
| |
| 167 | Part22 = Instance.new("Part")
| |
| 168 | Part23 = Instance.new("Part")
| |
| 169 | Part24 = Instance.new("Part")
| |
| 170 | Part25 = Instance.new("Part")
| |
| 171 | Part26 = Instance.new("Part")
| |
| 172 | Part27 = Instance.new("Part")
| |
| 173 | Part28 = Instance.new("Part")
| |
| 174 | Part29 = Instance.new("Part")
| |
| 175 | Part30 = Instance.new("Part")
| |
| 176 | Part31 = Instance.new("Part")
| |
| 177 | Model0.Name = "Cage made in: USA" | |
| 178 | Model0.Parent = mas | |
| 179 | Part1.Parent = Model0 | |
| 180 | Part1.Size = Vector3.new(47.2700005, 0.0500000007, 43.0499954) | |
| 181 | Part1.CFrame = CFrame.new(4.84311581, 0.0250000004, -146.123688, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 182 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 183 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 184 | Part1.Position = Vector3.new(4.84311581, 0.0250000004, -146.123688) | |
| 185 | Part2.Parent = Model0 | |
| 186 | Part2.Material = Enum.Material.Glass | |
| 187 | Part2.BrickColor = BrickColor.new("Dirt brown")
| |
| 188 | Part2.Transparency = 0.60000002384186 | |
| 189 | Part2.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 190 | Part2.CFrame = CFrame.new(13.5710411, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 191 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
| 192 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
| 193 | Part2.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 194 | Part2.Position = Vector3.new(13.5710411, 9.77999973, -125.828674) | |
| 195 | Part2.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 196 | Part3.Parent = Model0 | |
| 197 | Part3.Material = Enum.Material.Glass | |
| 198 | Part3.BrickColor = BrickColor.new("Dirt brown")
| |
| 199 | Part3.Transparency = 0.60000002384186 | |
| 200 | Part3.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 201 | Part3.CFrame = CFrame.new(5.77168941, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 202 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
| 203 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
| 204 | Part3.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 205 | Part3.Position = Vector3.new(5.77168941, 9.77999973, -125.828674) | |
| 206 | Part3.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 207 | Part4.Parent = Model0 | |
| 208 | Part4.Material = Enum.Material.Glass | |
| 209 | Part4.BrickColor = BrickColor.new("Dirt brown")
| |
| 210 | Part4.Transparency = 0.60000002384186 | |
| 211 | Part4.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 212 | Part4.CFrame = CFrame.new(-10.4467468, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 213 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
| 214 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
| 215 | Part4.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 216 | Part4.Position = Vector3.new(-10.4467468, 9.77999973, -125.828674) | |
| 217 | Part4.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 218 | Part5.Parent = Model0 | |
| 219 | Part5.Material = Enum.Material.Glass | |
| 220 | Part5.BrickColor = BrickColor.new("Dirt brown")
| |
| 221 | Part5.Transparency = 0.60000002384186 | |
| 222 | Part5.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 223 | Part5.CFrame = CFrame.new(-6.42777252, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 224 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
| 225 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
| 226 | Part5.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 227 | Part5.Position = Vector3.new(-6.42777252, 9.77999973, -125.828674) | |
| 228 | Part5.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 229 | Part6.Parent = Model0 | |
| 230 | Part6.Material = Enum.Material.Glass | |
| 231 | Part6.BrickColor = BrickColor.new("Dirt brown")
| |
| 232 | Part6.Transparency = 0.60000002384186 | |
| 233 | Part6.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 234 | Part6.CFrame = CFrame.new(-4.45135212, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 235 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
| 236 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
| 237 | Part6.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 238 | Part6.Position = Vector3.new(-4.45135212, 9.77999973, -125.828674) | |
| 239 | Part6.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 240 | Part7.Parent = Model0 | |
| 241 | Part7.Material = Enum.Material.Glass | |
| 242 | Part7.BrickColor = BrickColor.new("Dirt brown")
| |
| 243 | Part7.Transparency = 0.60000002384186 | |
| 244 | Part7.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 245 | Part7.CFrame = CFrame.new(-8.45885181, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 246 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
| 247 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
| 248 | Part7.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 249 | Part7.Position = Vector3.new(-8.45885181, 9.77999973, -125.828674) | |
| 250 | Part7.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 251 | Part8.Parent = Model0 | |
| 252 | Part8.Size = Vector3.new(1.73000002, 19.9200039, 43.0499954) | |
| 253 | Part8.CFrame = CFrame.new(-17.9268837, 9.96000195, -146.123688, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 254 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
| 255 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
| 256 | Part8.Position = Vector3.new(-17.9268837, 9.96000195, -146.123688) | |
| 257 | Part9.Parent = Model0 | |
| 258 | Part9.Size = Vector3.new(1.64999998, 20.2000008, 43.0499954) | |
| 259 | Part9.CFrame = CFrame.new(27.6531181, 10.1000004, -146.123688, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 260 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
| 261 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
| 262 | Part9.Position = Vector3.new(27.6531181, 10.1000004, -146.123688) | |
| 263 | Part10.Parent = Model0 | |
| 264 | Part10.Size = Vector3.new(47.2700005, 1.91000092, 43.0499954) | |
| 265 | Part10.CFrame = CFrame.new(4.84311581, 20.305006, -146.123688, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 266 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
| 267 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
| 268 | Part10.Position = Vector3.new(4.84311581, 20.305006, -146.123688) | |
| 269 | Part11.Name = "wall" | |
| 270 | Part11.Parent = Model0 | |
| 271 | Part11.Size = Vector3.new(47.2700005, 20.8199997, 0.499995023) | |
| 272 | Part11.CFrame = CFrame.new(4.84311581, 10.4099998, -167.398682, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 273 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
| 274 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
| 275 | Part11.Position = Vector3.new(4.84311581, 10.4099998, -167.398682) | |
| 276 | SurfaceGui12.Parent = Part11 | |
| 277 | SurfaceGui12.Face = Enum.NormalId.Back | |
| 278 | TextLabel13.Parent = SurfaceGui12 | |
| 279 | TextLabel13.Transparency = 1 | |
| 280 | TextLabel13.Size = UDim2.new(1, 0, 1, 0) | |
| 281 | TextLabel13.Text = "u are a skid lol" | |
| 282 | TextLabel13.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 283 | TextLabel13.BackgroundTransparency = 1 | |
| 284 | TextLabel13.Font = Enum.Font.SourceSans | |
| 285 | TextLabel13.FontSize = Enum.FontSize.Size14 | |
| 286 | TextLabel13.TextScaled = true | |
| 287 | TextLabel13.TextWrapped = true | |
| 288 | Part14.Parent = Model0 | |
| 289 | Part14.Material = Enum.Material.Glass | |
| 290 | Part14.BrickColor = BrickColor.new("Dirt brown")
| |
| 291 | Part14.Transparency = 1 | |
| 292 | Part14.Size = Vector3.new(45.0499916, 19.5599995, 2.4599998) | |
| 293 | Part14.CFrame = CFrame.new(4.59112835, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 294 | Part14.BottomSurface = Enum.SurfaceType.Smooth | |
| 295 | Part14.TopSurface = Enum.SurfaceType.Smooth | |
| 296 | Part14.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 297 | Part14.Position = Vector3.new(4.59112835, 9.77999973, -125.828674) | |
| 298 | Part14.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 299 | Part15.Parent = Model0 | |
| 300 | Part15.Material = Enum.Material.Glass | |
| 301 | Part15.BrickColor = BrickColor.new("Dirt brown")
| |
| 302 | Part15.Transparency = 0.60000002384186 | |
| 303 | Part15.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 304 | Part15.CFrame = CFrame.new(11.3973522, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 305 | Part15.BottomSurface = Enum.SurfaceType.Smooth | |
| 306 | Part15.TopSurface = Enum.SurfaceType.Smooth | |
| 307 | Part15.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 308 | Part15.Position = Vector3.new(11.3973522, 9.77999973, -125.828674) | |
| 309 | Part15.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 310 | Part16.Parent = Model0 | |
| 311 | Part16.Material = Enum.Material.Glass | |
| 312 | Part16.BrickColor = BrickColor.new("Dirt brown")
| |
| 313 | Part16.Transparency = 0.60000002384186 | |
| 314 | Part16.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 315 | Part16.CFrame = CFrame.new(21.5248566, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 316 | Part16.BottomSurface = Enum.SurfaceType.Smooth | |
| 317 | Part16.TopSurface = Enum.SurfaceType.Smooth | |
| 318 | Part16.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 319 | Part16.Position = Vector3.new(21.5248566, 9.77999973, -125.828674) | |
| 320 | Part16.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 321 | Part17.Parent = Model0 | |
| 322 | Part17.Material = Enum.Material.Glass | |
| 323 | Part17.BrickColor = BrickColor.new("Dirt brown")
| |
| 324 | Part17.Transparency = 0.60000002384186 | |
| 325 | Part17.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 326 | Part17.CFrame = CFrame.new(3.67004967, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 327 | Part17.BottomSurface = Enum.SurfaceType.Smooth | |
| 328 | Part17.TopSurface = Enum.SurfaceType.Smooth | |
| 329 | Part17.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 330 | Part17.Position = Vector3.new(3.67004967, 9.77999973, -125.828674) | |
| 331 | Part17.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 332 | Part18.Parent = Model0 | |
| 333 | Part18.Material = Enum.Material.Glass | |
| 334 | Part18.BrickColor = BrickColor.new("Dirt brown")
| |
| 335 | Part18.Transparency = 0.60000002384186 | |
| 336 | Part18.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 337 | Part18.CFrame = CFrame.new(-0.491317272, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 338 | Part18.BottomSurface = Enum.SurfaceType.Smooth | |
| 339 | Part18.TopSurface = Enum.SurfaceType.Smooth | |
| 340 | Part18.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 341 | Part18.Position = Vector3.new(-0.491317272, 9.77999973, -125.828674) | |
| 342 | Part18.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 343 | Part19.Parent = Model0 | |
| 344 | Part19.Material = Enum.Material.Glass | |
| 345 | Part19.BrickColor = BrickColor.new("Dirt brown")
| |
| 346 | Part19.Transparency = 0.60000002384186 | |
| 347 | Part19.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 348 | Part19.CFrame = CFrame.new(-12.5608559, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 349 | Part19.BottomSurface = Enum.SurfaceType.Smooth | |
| 350 | Part19.TopSurface = Enum.SurfaceType.Smooth | |
| 351 | Part19.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 352 | Part19.Position = Vector3.new(-12.5608559, 9.77999973, -125.828674) | |
| 353 | Part19.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 354 | Part20.Parent = Model0 | |
| 355 | Part20.Material = Enum.Material.Glass | |
| 356 | Part20.BrickColor = BrickColor.new("Dirt brown")
| |
| 357 | Part20.Transparency = 0.60000002384186 | |
| 358 | Part20.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 359 | Part20.CFrame = CFrame.new(19.5271378, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 360 | Part20.BottomSurface = Enum.SurfaceType.Smooth | |
| 361 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
| 362 | Part20.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 363 | Part20.Position = Vector3.new(19.5271378, 9.77999973, -125.828674) | |
| 364 | Part20.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 365 | Part21.Parent = Model0 | |
| 366 | Part21.Material = Enum.Material.Glass | |
| 367 | Part21.BrickColor = BrickColor.new("Dirt brown")
| |
| 368 | Part21.Transparency = 0.60000002384186 | |
| 369 | Part21.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 370 | Part21.CFrame = CFrame.new(23.8515377, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 371 | Part21.BottomSurface = Enum.SurfaceType.Smooth | |
| 372 | Part21.TopSurface = Enum.SurfaceType.Smooth | |
| 373 | Part21.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 374 | Part21.Position = Vector3.new(23.8515377, 9.77999973, -125.828674) | |
| 375 | Part21.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 376 | Part22.Parent = Model0 | |
| 377 | Part22.Material = Enum.Material.Glass | |
| 378 | Part22.BrickColor = BrickColor.new("Dirt brown")
| |
| 379 | Part22.Transparency = 0.60000002384186 | |
| 380 | Part22.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 381 | Part22.CFrame = CFrame.new(17.6356087, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 382 | Part22.BottomSurface = Enum.SurfaceType.Smooth | |
| 383 | Part22.TopSurface = Enum.SurfaceType.Smooth | |
| 384 | Part22.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 385 | Part22.Position = Vector3.new(17.6356087, 9.77999973, -125.828674) | |
| 386 | Part22.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 387 | Part23.Parent = Model0 | |
| 388 | Part23.Material = Enum.Material.Glass | |
| 389 | Part23.BrickColor = BrickColor.new("Dirt brown")
| |
| 390 | Part23.Transparency = 0.60000002384186 | |
| 391 | Part23.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 392 | Part23.CFrame = CFrame.new(9.30171013, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 393 | Part23.BottomSurface = Enum.SurfaceType.Smooth | |
| 394 | Part23.TopSurface = Enum.SurfaceType.Smooth | |
| 395 | Part23.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 396 | Part23.Position = Vector3.new(9.30171013, 9.77999973, -125.828674) | |
| 397 | Part23.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 398 | Part24.Parent = Model0 | |
| 399 | Part24.Material = Enum.Material.Glass | |
| 400 | Part24.BrickColor = BrickColor.new("Dirt brown")
| |
| 401 | Part24.Transparency = 0.60000002384186 | |
| 402 | Part24.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 403 | Part24.CFrame = CFrame.new(-14.5114193, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 404 | Part24.BottomSurface = Enum.SurfaceType.Smooth | |
| 405 | Part24.TopSurface = Enum.SurfaceType.Smooth | |
| 406 | Part24.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 407 | Part24.Position = Vector3.new(-14.5114193, 9.77999973, -125.828674) | |
| 408 | Part24.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 409 | Part25.Parent = Model0 | |
| 410 | Part25.Material = Enum.Material.Glass | |
| 411 | - | v.Parent = game:GetService("Players").LocalPlayer.Character
|
| 411 | + | |
| 412 | Part25.Transparency = 0.60000002384186 | |
| 413 | Part25.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 414 | Part25.CFrame = CFrame.new(1.60006809, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 415 | Part25.BottomSurface = Enum.SurfaceType.Smooth | |
| 416 | Part25.TopSurface = Enum.SurfaceType.Smooth | |
| 417 | Part25.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 418 | Part25.Position = Vector3.new(1.60006809, 9.77999973, -125.828674) | |
| 419 | Part25.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 420 | Part26.Parent = Model0 | |
| 421 | Part26.Material = Enum.Material.Glass | |
| 422 | Part26.BrickColor = BrickColor.new("Dirt brown")
| |
| 423 | Part26.Transparency = 0.60000002384186 | |
| 424 | Part26.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 425 | - | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do |
| 425 | + | |
| 426 | Part26.BottomSurface = Enum.SurfaceType.Smooth | |
| 427 | Part26.TopSurface = Enum.SurfaceType.Smooth | |
| 428 | Part26.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 429 | Part26.Position = Vector3.new(7.55406761, 9.77999973, -125.828674) | |
| 430 | Part26.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 431 | Part27.Parent = Model0 | |
| 432 | Part27.Material = Enum.Material.Glass | |
| 433 | Part27.BrickColor = BrickColor.new("Dirt brown")
| |
| 434 | Part27.Transparency = 0.60000002384186 | |
| 435 | Part27.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 436 | Part27.CFrame = CFrame.new(25.8261185, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 437 | Part27.BottomSurface = Enum.SurfaceType.Smooth | |
| 438 | Part27.TopSurface = Enum.SurfaceType.Smooth | |
| 439 | Part27.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 440 | Part27.Position = Vector3.new(25.8261185, 9.77999973, -125.828674) | |
| 441 | Part27.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 442 | Part28.Parent = Model0 | |
| 443 | Part28.Material = Enum.Material.Glass | |
| 444 | Part28.BrickColor = BrickColor.new("Dirt brown")
| |
| 445 | Part28.Transparency = 0.60000002384186 | |
| 446 | Part28.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 447 | Part28.CFrame = CFrame.new(25.8261185, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 448 | Part28.BottomSurface = Enum.SurfaceType.Smooth | |
| 449 | Part28.TopSurface = Enum.SurfaceType.Smooth | |
| 450 | Part28.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 451 | Part28.Position = Vector3.new(25.8261185, 9.77999973, -125.828674) | |
| 452 | Part28.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 453 | Part29.Parent = Model0 | |
| 454 | Part29.Material = Enum.Material.Glass | |
| 455 | Part29.BrickColor = BrickColor.new("Dirt brown")
| |
| 456 | Part29.Transparency = 0.60000002384186 | |
| 457 | Part29.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 458 | Part29.CFrame = CFrame.new(15.5452538, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 459 | Part29.BottomSurface = Enum.SurfaceType.Smooth | |
| 460 | Part29.TopSurface = Enum.SurfaceType.Smooth | |
| 461 | Part29.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 462 | Part29.Position = Vector3.new(15.5452538, 9.77999973, -125.828674) | |
| 463 | Part29.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 464 | Part30.Parent = Model0 | |
| 465 | Part30.Material = Enum.Material.Glass | |
| 466 | Part30.BrickColor = BrickColor.new("Dirt brown")
| |
| 467 | Part30.Transparency = 0.60000002384186 | |
| 468 | - | v.Parent = game:GetService("Players").LocalPlayer.Character
|
| 468 | + | |
| 469 | Part30.CFrame = CFrame.new(-2.50907612, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 470 | Part30.BottomSurface = Enum.SurfaceType.Smooth | |
| 471 | Part30.TopSurface = Enum.SurfaceType.Smooth | |
| 472 | Part30.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 473 | Part30.Position = Vector3.new(-2.50907612, 9.77999973, -125.828674) | |
| 474 | Part30.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 475 | Part31.Parent = Model0 | |
| 476 | Part31.Material = Enum.Material.Glass | |
| 477 | Part31.BrickColor = BrickColor.new("Dirt brown")
| |
| 478 | Part31.Transparency = 0.60000002384186 | |
| 479 | Part31.Size = Vector3.new(1.04000008, 19.5599995, 2.4599998) | |
| 480 | Part31.CFrame = CFrame.new(-16.5557938, 9.77999973, -125.828674, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 481 | Part31.BottomSurface = Enum.SurfaceType.Smooth | |
| 482 | Part31.TopSurface = Enum.SurfaceType.Smooth | |
| 483 | Part31.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 484 | Part31.Position = Vector3.new(-16.5557938, 9.77999973, -125.828674) | |
| 485 | Part31.Color = Color3.new(0.239216, 0.239216, 0.243137) | |
| 486 | for i,v in pairs(mas:GetChildren()) do | |
| 487 | v.Parent = owner.Character | |
| 488 | pcall(function() v:MakeJoints() end) | |
| 489 | end | |
| 490 | mas:Destroy() | |
| 491 | for i,v in pairs(cors) do | |
| 492 | spawn(function() | |
| 493 | pcall(v) | |
| 494 | end) | |
| 495 | end | |
| 496 | for i,v in pairs(Model0:GetChildren()) do | |
| 497 | if v.ClassName == "Part" then | |
| 498 | v.Anchored = true | |
| 499 | end | |
| 500 | end | |
| 501 | for i,v in pairs(owner.Character:GetChildren()) do | |
| 502 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
| 503 | v:destroy() | |
| 504 | end | |
| 505 | end | |
| 506 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 507 | function sandbox(var,func) | |
| 508 | local env = getfenv(func) | |
| 509 | local newenv = setmetatable({},{
| |
| 510 | __index = function(self,k) | |
| 511 | if k=="script" then | |
| 512 | return var | |
| 513 | else | |
| 514 | return env[k] | |
| 515 | end | |
| 516 | - | weldofcap.Part0 = game.Players.LocalPlayer.Character.Head |
| 516 | + | |
| 517 | }) | |
| 518 | setfenv(func,newenv) | |
| 519 | return func | |
| 520 | end | |
| 521 | cors = {}
| |
| 522 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 523 | Part0hat = Instance.new("Part")
| |
| 524 | SpecialMesh1 = Instance.new("SpecialMesh")
| |
| 525 | Part0hat.Name = "Police Cap" | |
| 526 | Part0hat.Parent = mas | |
| 527 | Part0hat.Rotation = Vector3.new(0, -90, 0) | |
| 528 | Part0hat.Anchored = false | |
| 529 | Part0hat.FormFactor = Enum.FormFactor.Plate | |
| 530 | Part0hat.Size = Vector3.new(2, 0.400000006, 1) | |
| 531 | Part0hat.CFrame = CFrame.new(-6.5, 0.599538267, -62, 0, 0, -1, 0, 1, -0, 1, 0, -0) | |
| 532 | Part0hat.BottomSurface = Enum.SurfaceType.Weld | |
| 533 | Part0hat.TopSurface = Enum.SurfaceType.Smooth | |
| 534 | Part0hat.Position = Vector3.new(-6.5, 0.599538267, -62) | |
| 535 | Part0hat.Orientation = Vector3.new(0, -90, 0) | |
| 536 | SpecialMesh1.Parent = Part0hat | |
| 537 | SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1028788" | |
| 538 | SpecialMesh1.Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002) | |
| 539 | SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=1028787" | |
| 540 | SpecialMesh1.VertexColor = Vector3.new(2, 1, 1) | |
| 541 | SpecialMesh1.MeshType = Enum.MeshType.FileMesh | |
| 542 | - | game:GetService("RunService").RenderStepped:connect(lol)
|
| 542 | + | |
| 543 | for i,v in pairs(mas:GetChildren()) do | |
| 544 | v.Parent = owner.Character | |
| 545 | pcall(function() v:MakeJoints() end) | |
| 546 | end | |
| 547 | mas:Destroy() | |
| 548 | for i,v in pairs(cors) do | |
| 549 | spawn(function() | |
| 550 | pcall(v) | |
| 551 | - | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() |
| 551 | + | |
| 552 | - | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
|
| 552 | + | |
| 553 | - | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso |
| 553 | + | |
| 554 | - | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] |
| 554 | + | |
| 555 | local env = getfenv(func) | |
| 556 | local newenv = setmetatable({},{
| |
| 557 | __index = function(self,k) | |
| 558 | if k=="script" then | |
| 559 | return var | |
| 560 | else | |
| 561 | return env[k] | |
| 562 | end | |
| 563 | end, | |
| 564 | }) | |
| 565 | setfenv(func,newenv) | |
| 566 | return func | |
| 567 | end | |
| 568 | cors = {}
| |
| 569 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 570 | Part0e = Instance.new("Part")
| |
| 571 | Part0e.Name = "pos" | |
| 572 | Part0e.Parent = mas | |
| 573 | Part0e.Anchored = true | |
| 574 | Part0e.Transparency = 1 | |
| 575 | Part0e.CanCollide = false | |
| 576 | Part0e.Size = Vector3.new(4, 1, 2) | |
| 577 | Part0e.CFrame = CFrame.new(4.841, 0.5, -120.804) | |
| 578 | Part0e.BottomSurface = Enum.SurfaceType.Smooth | |
| 579 | Part0e.TopSurface = Enum.SurfaceType.Smooth | |
| 580 | for i,v in pairs(mas:GetChildren()) do | |
| 581 | v.Parent = workspace | |
| 582 | pcall(function() v:MakeJoints() end) | |
| 583 | end | |
| 584 | mas:Destroy() | |
| 585 | for i,v in pairs(cors) do | |
| 586 | spawn(function() | |
| 587 | pcall(v) | |
| 588 | - | v.Parent = game:GetService("Players").LocalPlayer.Character
|
| 588 | + | |
| 589 | end | |
| 590 | Part0e.Parent = Model0 | |
| 591 | local weldofcap = Instance.new("Weld", Part0hat)
| |
| 592 | weldofcap.Part0 = owner.Character.Head | |
| 593 | weldofcap.Part1 = Part0hat | |
| 594 | weldofcap.C0 = CFrame.new(0,0.5,0) | |
| 595 | -- Objects | |
| 596 | ||
| 597 | local SurfaceGui = Instance.new("SurfaceGui")
| |
| 598 | - | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 |
| 598 | + | |
| 599 | - | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 |
| 599 | + | |
| 600 | -- Properties | |
| 601 | ||
| 602 | SurfaceGui.Parent = Part11 | |
| 603 | SurfaceGui.Face = Enum.NormalId.Back | |
| 604 | - | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:lerp(CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,humanoid.Parent.Torso.Position),i) |
| 604 | + | |
| 605 | - | --humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,game.Players.LocalPlayer.Character.Torso.Position),i) |
| 605 | + | |
| 606 | - | game:GetService("RunService").RenderStepped:wait()
|
| 606 | + | |
| 607 | TextLabel.BackgroundTransparency = 1 | |
| 608 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 609 | TextLabel.Font = Enum.Font.SourceSans | |
| 610 | TextLabel.FontSize = Enum.FontSize.Size14 | |
| 611 | TextLabel.Text = "u are a skid lol" | |
| 612 | TextLabel.TextScaled = true | |
| 613 | - | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:lerp(CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position,humanoid.Parent.Torso.Position),i) |
| 613 | + | |
| 614 | - | humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,game.Players.LocalPlayer.Character.Torso.Position),i) |
| 614 | + | |
| 615 | - | game:GetService("RunService").RenderStepped:wait()
|
| 615 | + | |
| 616 | TextLabel.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255)) | |
| 617 | end | |
| 618 | jailedbois = {}
| |
| 619 | - | game:GetService("RunService").RenderStepped:wait()
|
| 619 | + | |
| 620 | using = false | |
| 621 | function clicked() | |
| 622 | local humanoid = mouse.Target.Parent:findFirstChildOfClass("Humanoid")
| |
| 623 | if humanoid and not using and canjail then | |
| 624 | if humanoid.Parent.Name ~= "Rufus14" or humanoid.Parent.Name ~= "alexion9581" then | |
| 625 | using = true | |
| 626 | local lhandclone = owner.Character.Torso["Left Shoulder"]:Clone() | |
| 627 | local lhandweld = Instance.new("Weld", owner.Character.Torso)
| |
| 628 | lhandweld.Part0 = owner.Character.Torso | |
| 629 | lhandweld.Part1 = owner.Character["Left Arm"] | |
| 630 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
| 631 | - | textfag.Text = game.Players.LocalPlayer.Character.Name.." the Anti-Skid Cop" |
| 631 | + | |
| 632 | - | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 20 |
| 632 | + | |
| 633 | - | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 80 |
| 633 | + | |
| 634 | humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
| 635 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
| 636 | if v.ClassName == "LocalScript" or v.ClassName == "Script" then | |
| 637 | v:Remove() | |
| 638 | end | |
| 639 | end | |
| 640 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 641 | function sandbox(var,func) | |
| 642 | local env = getfenv(func) | |
| 643 | local newenv = setmetatable({},{
| |
| 644 | __index = function(self,k) | |
| 645 | if k=="script" then | |
| 646 | - | game:GetService("RunService").RenderStepped:wait()
|
| 646 | + | |
| 647 | else | |
| 648 | return env[k] | |
| 649 | - | --to.CFrame = CFrame.new(to.Position,game.Players.LocalPlayer.Character.Jailol.GlassDoor.Position) |
| 649 | + | |
| 650 | end, | |
| 651 | }) | |
| 652 | setfenv(func,newenv) | |
| 653 | - | lhandclone.Parent = game.Players.LocalPlayer.Character.Torso |
| 653 | + | |
| 654 | end | |
| 655 | cors = {}
| |
| 656 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 657 | - | game:GetService("RunService").RenderStepped:wait()
|
| 657 | + | |
| 658 | Sound0.Name = "crybabi" | |
| 659 | Sound0.Parent = mas | |
| 660 | Sound0.SoundId = "rbxassetid://553084572" | |
| 661 | Sound0.Volume = 10 | |
| 662 | for i,v in pairs(mas:GetChildren()) do | |
| 663 | v.Parent = owner.Character | |
| 664 | pcall(function() v:MakeJoints() end) | |
| 665 | end | |
| 666 | mas:Destroy() | |
| 667 | for i,v in pairs(cors) do | |
| 668 | spawn(function() | |
| 669 | pcall(v) | |
| 670 | end) | |
| 671 | end | |
| 672 | humanoid.Name = "ContentCOPP'D" | |
| 673 | owner.Character.Humanoid.WalkSpeed = 0 | |
| 674 | owner.Character.Humanoid.JumpPower = 0 | |
| 675 | alert:Play() | |
| 676 | music.Volume = 5 | |
| 677 | textfag.Text = "HEY!" | |
| 678 | for i = 0,1 , 0.05 do | |
| 679 | owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(CFrame.new(owner.Character.HumanoidRootPart.Position,humanoid.Parent.Torso.Position),i) | |
| 680 | --humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Torso.Position),i) | |
| 681 | wait() | |
| 682 | end | |
| 683 | wait(0.5) | |
| 684 | humanoid.WalkSpeed = 0 | |
| 685 | humanoid.JumpPower = 0 | |
| 686 | textfag.Text = "Stop!" | |
| 687 | for i = 0,1 , 0.05 do | |
| 688 | owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(CFrame.new(owner.Character.HumanoidRootPart.Position,humanoid.Parent.Torso.Position),i) | |
| 689 | humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame:lerp(CFrame.new(humanoid.Parent.Torso.Position,owner.Character.Torso.Position),i) | |
| 690 | wait() | |
| 691 | end | |
| 692 | for i = 0,1 , 0.08 do | |
| 693 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.436240673, -0.959949374, 1, -5.23747954e-22, -2.65673535e-22, -2.65673535e-22, 3.13253081e-22, -1, 5.23747954e-22, 1, 3.13253081e-22),i) | |
| 694 | wait() | |
| 695 | end | |
| 696 | local he = humanoid.Parent.Head | |
| 697 | local to = humanoid.Parent.Torso | |
| 698 | wait(1) | |
| 699 | textfag.Text = "You are arrested by Anti-Skid police!" | |
| 700 | wait(2) | |
| 701 | textfag.Text = "BECAUSE YOU ARE ABUSING SCRIPTS!" | |
| 702 | wait(2) | |
| 703 | Sound0:Play() | |
| 704 | local path = game:GetService("PathfindingService"):ComputeRawPathAsync(humanoid.Parent.Torso.Position,Part0e.Position,200)
| |
| 705 | local go = path:GetPointCoordinates() | |
| 706 | textfag.Text = owner.Character.Name.." the Anti-Skid Cop" | |
| 707 | owner.Character.Humanoid.WalkSpeed = 20 | |
| 708 | - | for i,v in pairs(game.Players:GetChildren()) do |
| 708 | + | owner.Character.Humanoid.JumpPower = 80 |
| 709 | for i = 1, #go do | |
| 710 | local pos = Instance.new("Part", humanoid.Parent)
| |
| 711 | pos.Name = "GoTo1" | |
| 712 | pos.TopSurface = "Smooth" | |
| 713 | pos.BottomSurface = "Smooth" | |
| 714 | pos.Transparency = 1 | |
| 715 | pos.CanCollide = false | |
| 716 | pos.Size = Vector3.new(0.4,0.4,0.4) | |
| 717 | pos.Anchored = true | |
| 718 | pos.Position = go[i] + Vector3.new(0,2.8,0) | |
| 719 | for i = 0,0.5 , 0.04 do | |
| 720 | to.CFrame = to.CFrame:lerp(pos.CFrame,i) | |
| 721 | wait() | |
| 722 | end | |
| 723 | pos:destroy() | |
| 724 | --to.CFrame = CFrame.new(to.Position,owner.Character.Jailol.GlassDoor.Position) | |
| 725 | end | |
| 726 | using = false | |
| 727 | lhandweld:destroy() | |
| 728 | lhandclone.Parent = owner.Character.Torso | |
| 729 | to.Anchored = true | |
| 730 | for i = 0,1 , 0.03 do | |
| 731 | to.CFrame = Part11.CFrame * CFrame.new(0,0,7) | |
| 732 | wait() | |
| 733 | end | |
| 734 | local isinjail = Instance.new("BoolValue", he.Parent)
| |
| 735 | isinjail.Name = "injail" | |
| 736 | donttp:destroy() | |
| 737 | local torposit = to.CFrame | |
| 738 | local txtfage = Instance.new("BillboardGui", he)
| |
| 739 | txtfage.Adornee = oboi | |
| 740 | txtfage.Name = "time" | |
| 741 | txtfage.Size = UDim2.new(2, 0, 1.2, 0) | |
| 742 | txtfage.StudsOffset = Vector3.new(-5, 3, 0) | |
| 743 | local textfag = Instance.new("TextLabel", txtfage)
| |
| 744 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
| 745 | textfag.FontSize = "Size8" | |
| 746 | textfag.TextScaled = true | |
| 747 | textfag.TextTransparency = 0 | |
| 748 | textfag.BackgroundTransparency = 1 | |
| 749 | textfag.TextTransparency = 0 | |
| 750 | textfag.TextStrokeTransparency = 0 | |
| 751 | textfag.Font = "SourceSans" | |
| 752 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
| 753 | v = Instance.new("Part")
| |
| 754 | v.Name = "ColorBrick" | |
| 755 | v.Parent = part | |
| 756 | v.FormFactor = "Symmetric" | |
| 757 | v.Anchored = true | |
| 758 | v.CanCollide = false | |
| 759 | v.BottomSurface = "Smooth" | |
| 760 | v.TopSurface = "Smooth" | |
| 761 | v.Size = Vector3.new(10, 5, 3) | |
| 762 | v.Transparency = 0.7 | |
| 763 | v.BrickColor = to.BrickColor | |
| 764 | v.Transparency = 1 | |
| 765 | textfag.TextColor3 = v.BrickColor.Color | |
| 766 | textfag.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 767 | v.Shape = "Block" | |
| 768 | local numberfag = Instance.new("NumberValue", txtfage)
| |
| 769 | numberfag.Name = "TimeValue" | |
| 770 | numberfag.Value = math.random(500,1000) | |
| 771 | textfag.Text = humanoid.Parent.Name.." (Time: "..numberfag.Value..")" | |
| 772 | to.Anchored = false | |
| 773 | humanoid.WalkSpeed = 16 | |
| 774 | humanoid.JumpPower = 80 | |
| 775 | wait(2) | |
| 776 | donttp:destroy() | |
| 777 | to.CFrame = torposit | |
| 778 | end | |
| 779 | end | |
| 780 | end | |
| 781 | mouse.Button1Down:connect(clicked) | |
| 782 | while true do | |
| 783 | for i,v in pairs(owner:GetChildren()) do | |
| 784 | if v.Character then | |
| 785 | for i = 1,#jailedbois do | |
| 786 | if v.Character.Name == jailedbois[i] then | |
| 787 | if not v.Character:findFirstChild("DontTp") then
| |
| 788 | if not v.Character:findFirstChild("injail") then
| |
| 789 | - | music.Parent = game.Players.LocalPlayer.Character.Head |
| 789 | + | |
| 790 | local isinjail = Instance.new("BoolValue", v.Character)
| |
| 791 | isinjail.Name = "injail" | |
| 792 | - | alert.Parent = game.Players.LocalPlayer.Character.Head |
| 792 | + | |
| 793 | local txtfage = Instance.new("BillboardGui", v.Character.Head)
| |
| 794 | txtfage.Adornee = oboi | |
| 795 | txtfage.Name = "time" | |
| 796 | txtfage.Size = UDim2.new(2, 0, 1.2, 0) | |
| 797 | txtfage.StudsOffset = Vector3.new(-5, 3, 0) | |
| 798 | local textfag = Instance.new("TextLabel", txtfage)
| |
| 799 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
| 800 | textfag.FontSize = "Size8" | |
| 801 | textfag.TextScaled = true | |
| 802 | textfag.TextTransparency = 0 | |
| 803 | textfag.BackgroundTransparency = 1 | |
| 804 | textfag.TextTransparency = 0 | |
| 805 | textfag.TextStrokeTransparency = 0 | |
| 806 | textfag.Font = "SourceSans" | |
| 807 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
| 808 | e = Instance.new("Part")
| |
| 809 | e.Name = "ColorBrick" | |
| 810 | e.Parent = v.Character | |
| 811 | e.FormFactor = "Symmetric" | |
| 812 | e.Anchored = true | |
| 813 | e.CanCollide = false | |
| 814 | e.BottomSurface = "Smooth" | |
| 815 | e.TopSurface = "Smooth" | |
| 816 | e.Size = Vector3.new(10, 5, 3) | |
| 817 | e.Transparency = 0.7 | |
| 818 | e.BrickColor = v.Character.Torso.BrickColor | |
| 819 | e.Transparency = 1 | |
| 820 | textfag.TextColor3 = e.BrickColor.Color | |
| 821 | textfag.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 822 | e.Shape = "Block" | |
| 823 | local numberfag = Instance.new("NumberValue", txtfage)
| |
| 824 | numberfag.Name = "TimeValue" | |
| 825 | numberfag.Value = math.random(500,1000) | |
| 826 | textfag.Text = v.Character.Name.." (Time: "..numberfag.Value..")" | |
| 827 | end | |
| 828 | end | |
| 829 | end | |
| 830 | end | |
| 831 | end | |
| 832 | if v.Character:findFirstChild("Head") then
| |
| 833 | local timebillboard = v.Character.Head:findFirstChild("time")
| |
| 834 | if timebillboard then | |
| 835 | local timetxt = timebillboard:findFirstChild("TimeValue")
| |
| 836 | if timetxt then | |
| 837 | for q,w in pairs(v.Character:GetChildren()) do | |
| 838 | if w.ClassName == "LocalScript" or w.ClassName == "Script" then | |
| 839 | w:Remove() | |
| 840 | end | |
| 841 | end | |
| 842 | timetxt.Value = timetxt.Value - 1 | |
| 843 | timebillboard.TextLabel.Text = v.Character.Name.." (Time: "..timetxt.Value..")" | |
| 844 | end | |
| 845 | if timetxt.Value < 1 then | |
| 846 | v.Character.Torso.CFrame = Part0e.CFrame * CFrame.new(0,3.5,0) | |
| 847 | timebillboard:destroy() | |
| 848 | local humm = v.Character:findFirstChildOfClass("Humanoid")
| |
| 849 | for i,v in pairs(jailedbois) do | |
| 850 | if v == humm.Parent.Name then | |
| 851 | table.remove(jailedbois, i) | |
| 852 | end | |
| 853 | end | |
| 854 | if humm then | |
| 855 | humm.Name = "Humanoid" | |
| 856 | humm:SetStateEnabled(Enum.HumanoidStateType.Dead, true) | |
| 857 | end | |
| 858 | end | |
| 859 | end | |
| 860 | end | |
| 861 | end | |
| 862 | end | |
| 863 | if music.Parent == nil then | |
| 864 | music.Parent = owner.Character.Head | |
| 865 | end | |
| 866 | if alert.Parent == nil then | |
| 867 | alert.Parent = owner.Character.Head | |
| 868 | end | |
| 869 | wait(1) | |
| 870 | end |