Professional Documents
Culture Documents
-- [ Services ] --
local Services = setmetatable({}, {__index = function(Self, Index)
local NewService = game.GetService(game, Index)
if NewService then
Self[Index] = NewService
end
return NewService
end})
-- [ Modules ] --
local UserInterface =
loadstring(game:HttpGet("https://raw.githubusercontent.com/icuck/collection-
dump/main/AbstractUI", true))()
local Drawing =
loadstring(game:HttpGet("https://raw.githubusercontent.com/iHavoc101/Genesis-
Studios/main/Modules/DrawingAPI.lua", true))()
-- [ LocalPlayer ] --
local LocalPlayer = Services.Players.LocalPlayer
local Camera = workspace.CurrentCamera
-- [ Raycast Parameters ] --
local RaycastParameters = RaycastParams.new()
RaycastParameters.IgnoreWater = true
RaycastParameters.FilterType = Enum.RaycastFilterType.Blacklist
RaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
-- // Variables \\ --
-- [ Info ] --
local Info = {
SilentAIMEnabled = false;
TriggeredEnabled = false;
ArmsCheckEnabled = true;
TeamWhitelist = "";
FieldOfView = 250;
}
-- [ Interface ] --
local FOVCircle = Drawing.new("Circle", {
Thickness = 2.5,
Color = Color3.fromRGB(200, 200, 200),
NumSides = 25,
Radius = _G.FOV
})
-- [ Weapons ] --
local Weapons = {
"Remington 870";
"AK-47";
"M9";
"M4A1";
"Hammer";
"Crude Knife";
}
-- [ Metatable ] --
local RawMetatable = getrawmetatable(game)
local __NameCall = RawMetatable.__namecall
local __Index = RawMetatable.__index
-- // Functions \\ --
local function ValidCharacter(Character)
return Character and (Character.FindFirstChildWhichIsA(Character, "Humanoid")
and Character.FindFirstChildWhichIsA(Character, "Humanoid").Health ~= 0) or false
end
-- [ Raycast ] --
RaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
-- [ Obstructed ] --
return false
end
local MousePosition =
Services.UserInputService.GetMouseLocation(Services.UserInputService)
for i, v in ipairs(Services.Players.GetPlayers(Services.Players)) do
if v ~= LocalPlayer and (v.Team ~= LocalPlayer.Team and tostring(v.Team) ~=
Info.TeamWhitelist) and ValidCharacter(v.Character) then
if Info.ArmsCheckEnabled and (v.Team == Services.Teams.Inmates and
IsArmed(v) == false) then
continue
end
local Humanoid =
LocalPlayer.Character.FindFirstChildWhichIsA(LocalPlayer.Character, "Humanoid")
Humanoid.EquipTool(Humanoid, Tool)
else
local Tool = LocalPlayer.Backpack.FindFirstChild(LocalPlayer.Backpack,
"Remington 870")
local Humanoid =
LocalPlayer.Character.FindFirstChildWhichIsA(LocalPlayer.Character, "Humanoid")
Humanoid.EquipTool(Humanoid, Tool)
end
end
for i = 1, BulletCount do
BulletTable[i] = {
Cframe = CFrame.new(),
Distance = math.huge
}
end
for i = 1, ShotCount do
ShootEvent:FireServer(BulletTable, Gun)
if time() - StartTime > 5 then
break
end
end
end
-- // User Interface \\ --
-- [ Window ] --
local Window = UserInterface.new("Confinement X", UDim2.new(0, 420, 0, 420))
-- [ Assists ] --
Window:Divider("Assists")
-- [ Rage ] --
Window:Divider("Rage")
Window:Button("Kill All", "Kills everyone in-game", function()
local GunScript = (LocalPlayer.Backpack:FindFirstChild("GunInterface", true) or
LocalPlayer.Character:FindFirstChild("GunInterface", true))
if GunScript then
for i,v in ipairs(game.Players:GetPlayers()) do
if v ~= LocalPlayer then
local BulletInfo = {
[1] = {
["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337,
2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
["Distance"] = 3.2524313926697,
["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988,
0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965,
-0.00965694897, 0.0629036576),
["Hit"] = v.Character.Head
},
[2] = {
["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337,
2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
["Distance"] = 3.2699294090271,
["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506,
0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299,
0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
["Hit"] = v.Character.Head
},
[3] = {
["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337,
2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
["Distance"] = 3.1665518283844,
["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371,
0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805,
0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
["Hit"] = v.Character.Head
},
[4] = {
["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337,
2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
["Distance"] = 3.3218522071838,
["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707,
0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118,
0.993119001, -0.0140019981, 0.116269611),
["Hit"] = v.Character.Head
},
[5] = {
["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337,
2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
["Distance"] = 3.222757101059,
["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035,
0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967,
-0.00639375951, 0.0513620302),
["Hit"] = v.Character.Head
}
}
Services.ReplicatedStorage.ShootEvent:FireServer(BulletInfo,
GunScript.Parent)
Services.ReplicatedStorage.ShootEvent:FireServer(BulletInfo,
GunScript.Parent)
end
end
else
ToolTip.update("No gun found!")
end
end)
-- [ Miscellaneous ] --
Window:Divider("Miscellaneous")
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington
870"].ITEMPICKUP)
if HasSWAT then
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEM
PICKUP)
end
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-
47"].ITEMPICKUP)
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPI
CKUP)
if HasSWAT then
workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.clothes["Riot
Police"].ITEMPICKUP)
end
end)
-- [ Credits ] --
Window:Divider("Credits")
-- // Metatable \\ --
setreadonly(RawMetatable, false)
setreadonly(RawMetatable, true)
-- // Event Listeners \\ --
Services.RunService.RenderStepped:Connect(function()
if Info.SilentAIMEnabled == true then
-- FOV --
FOVCircle.Visible = true
FOVCircle.Radius = Info.FieldOfView
FOVCircle.Position = Services.UserInputService:GetMouseLocation()
-- Target --
local Closest, Position = ClosestPlayerToCursor(Info.FieldOfView)
if Closest then
Target.PointA = Vector2.new(Position.X - 25, Position.Y + 25)
Target.PointB = Vector2.new(Position.X + 25, Position.Y + 25)
Target.PointC = Vector2.new(Position.X, Position.Y - 25)
if Info.TriggeredEnabled and not
Services.UserInputService:IsKeyDown(Enum.KeyCode.G) then
mouse1click()
end
end
Target.Visible = Closest ~= nil
else
FOVCircle.Visible = false
Target.Visible = false
end
end)
LocalPlayer.Chatted:Connect(function(Message)
if string.find(Message:lower(), "-lag") then
local GunScript = (LocalPlayer.Backpack:FindFirstChild("GunInterface", true)
or LocalPlayer.Character:FindFirstChild("GunInterface", true))
if GunScript then
ToolTip.update("Lagging...")
Crash(GunScript.Parent, 100, 10)
ToolTip.update("Lagged!")
else
ToolTip.update("Error: No gun found!")
end
end
end)
-- // KeyBinds \\ --
Services.UserInputService.InputBegan:Connect(function(Input, GameProcessed)
if _G.ArrestAssist == false or GameProcessed or
LocalPlayer.Character:FindFirstChild("Handcuffs") == nil then
return
end
-- // Actions \\ --
LocalPlayer.PlayerGui.Home.fadeFrame.Visible = false
return {};