Aim
Aim
-- [ 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")
-- [ 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 {};