Fronthook v2
Fronthook v2
game:GetService("RunService").RenderStepped:Connect(function()
if tpKillEnabled then
tpkill()
end
end)
RunService.RenderStepped:Connect(function()
if tpKillEnabled then
tpkill()
end
end)
game:GetService("UserInputService").InputBegan:Connect(function(input,
gameProcessed)
if not gameProcessed and input.KeyCode == tpKillKey then
tpkill()
end
end)
game:GetService("UserInputService").InputBegan:Connect(function(input,
gameProcessed)
if not gameProcessed and input.KeyCode == tpKillKey then
tpkill()
end
end)
local Camera = game:GetService("Workspace").CurrentCamera
local Team_Check = {
TeamCheck = false,
Green = Color3.fromRGB(0, 255, 0),
Red = Color3.fromRGB(255, 0, 0)
}
connections[plr] = plr.CharacterAdded:Connect(function(char)
Highlight.Adornee = char
end)
end
if tracers[plr] then
for _, tracer in pairs(tracers[plr]) do
tracer.Visible = false
tracer:Remove()
end
tracers[plr] = nil
end
if names[plr] then
names[plr].Visible = false
names[plr]:Remove()
names[plr] = nil
end
if connections[plr] then
connections[plr]:Disconnect()
connections[plr] = nil
end
end
local function ESP(plr)
local library = {
blacktracer = NewLine(Settings.Tracer_Thickness * 2, black),
tracer = NewLine(Settings.Tracer_Thickness, Settings.Tracer_Color),
black = NewQuad(Settings.Box_Thickness * 2, black),
box = NewQuad(Settings.Box_Thickness, Settings.Box_Color),
healthbar = NewLine(3, black),
greenhealth = NewLine(1.5, black),
nameText = NewText(15, ColoNa)
}
if Esp then
Size(library.box)
Size(library.black)
if Names then
library.nameText.Position = Vector2.new(head.X, head.Y
- 50)
library.nameText.Text = plr.Name
library.nameText.Visible = true
else
library.nameText.Visible = false
end
if Settings.Tracers then
if Settings.Tracer_Origin == "Middle" then
library.tracer.From = camera.ViewportSize * 0.5
library.blacktracer.From = camera.ViewportSize *
0.5
elseif Settings.Tracer_Origin == "Bottom" then
library.tracer.From =
Vector2.new(camera.ViewportSize.X * 0.5, camera.ViewportSize.Y)
library.blacktracer.From =
Vector2.new(camera.ViewportSize.X * 0.5, camera.ViewportSize.Y)
end
if Settings.Tracer_FollowMouse then
library.tracer.From = Vector2.new(mouse.X, mouse.Y
+ 36)
library.blacktracer.From = Vector2.new(mouse.X,
mouse.Y + 36)
end
library.tracer.To = Vector2.new(HumPos.X, HumPos.Y +
DistanceY * 2)
library.blacktracer.To = Vector2.new(HumPos.X, HumPos.Y
+ DistanceY * 2)
end
if Team_Check.TeamCheck then
if plr.TeamColor == player.TeamColor then
Colorize(Team_Check.Green)
else
Colorize(Team_Check.Red)
end
else
library.tracer.Color = Settings.Tracer_Color
library.box.Color = Settings.Box_Color
end
if TeamColor then
Colorize(plr.TeamColor.Color)
end
Visibility(true, library)
else
Visibility(false, library)
end
else
Visibility(false, library)
end
else
Visibility(false, library)
if game.Players:FindFirstChild(plr.Name) == nil then
connection:Disconnect()
end
end
end)
end
coroutine.wrap(Updater)()
end
local settings = {
Aimbot = false,
Aiming = false,
Aimbot_AimPart = "Head",
Aimbot_TeamCheck = false,
Aimbot_Draw_FOV = true,
Aimbot_FOV_Radius = 200,
Aimbot_FOV_Color = Color3.fromRGB(255,255,255),
Aimbot_visiblecheck = false,
Aimbot_Key = Enum.KeyCode.LeftShift,
Aimbot_Onscreen = true,
Aimbot_Speed = 10
}
fovcircle.Position = Vector2.new(dwCamera.ViewportSize.X / 2,
dwCamera.ViewportSize.Y / 2)
dwRunService.RenderStepped:Connect(function()
dwCamera.CFrame =
dwCamera.CFrame:Lerp(CFrame.new(dwCamera.CFrame.Position, targetPos),
settings.Aimbot_Speed * 0.02)
elseif not settings.Aimbot_visiblecheck then
dwCamera.CFrame =
dwCamera.CFrame:Lerp(CFrame.new(dwCamera.CFrame.Position, targetPos),
settings.Aimbot_Speed * 0.02)
end
end
end
end
end)
game:GetService('RunService').Stepped:connect(function()
if aimbotting then
--MouseTests()
end
end)
for _, v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Name ~= player.Name then
coroutine.wrap(ESP)(v)
end
end
game.Players.PlayerAdded:Connect(function(newplr)
if newplr.Name ~= player.Name then
coroutine.wrap(ESP)(newplr)
end
end)
StarterGui:SetCore("SendNotification", {
Title = "fronthook edited By OG12345",
Text = "https://discord.gg/r8tk45Yprv",
Duration = 10,
})
local flySpeed = 50
local library =
loadstring(game:HttpGet('https://raw.githubusercontent.com/iceswallowpis/
criminality-ui-lib-fork/refs/heads/main/lib.lua'))()
game:GetService("UserInputService").InputBegan:Connect(function(input,
gameProcessed)
if not gameProcessed and input.KeyCode == tpKillKey then
tpKillEnabled = not tpKillEnabled
toggleTpKill:Set(tpKillEnabled)
end
end)
local slider = sector2.element('Slider', 'FOV', {default = {min = 50, max = 1500,
default = 60}}, function(v)
settings.Aimbot_FOV_Radius = v.Slider
fovcircle.Radius = v.Slider
end)
local slider2 = sector2.element('Slider', 'Aimbot Speed', {default = {min = 1, max
= 100, default = 10}}, function(v)
settings.Aimbot_Speed = v.Slider
end)
local dropdown = sector2.element('Dropdown', 'Aimbot Hotkey', {options =
{'LeftShift','LeftAlt', 'E', 'Q', '-', 'X', 'R', 'T', 'Y', 'U', 'I', 'P', 'F', 'G',
'H', 'J', 'K', 'L', 'Z', 'C', 'V', 'B', 'N', 'M', 'F12'}}, function(v)
if v.Dropdown == "LeftShift" then
settings.Aimbot_Key = Enum.KeyCode.LeftShift
elseif v.Dropdown == "LeftAlt" then
settings.Aimbot_Key = Enum.KeyCode.LeftAlt
elseif v.Dropdown == "X" then
settings.Aimbot_Key = Enum.KeyCode.X
elseif v.Dropdown == "E" then
settings.Aimbot_Key = Enum.KeyCode.E
elseif v.Dropdown == "Q" then
settings.Aimbot_Key = Enum.KeyCode.Q
elseif v.Dropdown == "F12" then
settings.Aimbot_Key = Enum.KeyCode.F12
elseif v.Dropdown == "R" then
settings.Aimbot_Key = Enum.KeyCode.R
elseif v.Dropdown == "T" then
settings.Aimbot_Key = Enum.KeyCode.T
elseif v.Dropdown == "Y" then
settings.Aimbot_Key = Enum.KeyCode.Y
elseif v.Dropdown == "U" then
settings.Aimbot_Key = Enum.KeyCode.U
elseif v.Dropdown == "I" then
settings.Aimbot_Key = Enum.KeyCode.I
elseif v.Dropdown == "P" then
settings.Aimbot_Key = Enum.KeyCode.P
elseif v.Dropdown == "F" then
settings.Aimbot_Key = Enum.KeyCode.F
elseif v.Dropdown == "G" then
settings.Aimbot_Key = Enum.KeyCode.G
elseif v.Dropdown == "H" then
settings.Aimbot_Key = Enum.KeyCode.H
elseif v.Dropdown == "J" then
settings.Aimbot_Key = Enum.KeyCode.J
elseif v.Dropdown == "K" then
settings.Aimbot_key = Enum.KeyCode.K
elseif v.dropdown == "L" then
settings.Aimbot_Key = Enum.KeyCode.L
elseif v.dropdown == "Z" then
settings.Aimbot_Key = Enum.KeyCode.Z
elseif v.Dropdown == "X" then
settings.Aimbot_Key = Enum.KeyCode.X
elseif v.dropdown == "C" then
settings.Aimbot_Key = Enum.KeyCode.C
elseif v.dropdown == "V" then
settings.Aimbot_Key = Enum.KeyCode.V
elseif v.dropdown == "B" then
settings.Aimbot_Key = Enum.KeyCode.B
elseif v.dropdown == "N" then
settings.Aimbot_Key = Enum.KeyCode.N
elseif v.dropdown == "M" then
settings.Aimbot_Key = Enum.KeyCode.M
end
end)
local dropdown2 = sector2.element('Dropdown', 'Hitbox', {options = {'-','Head',
'Torso', 'HumanoidRootPart'}}, function(v)
settings.Aimbot_AimPart = v.Dropdown
print(settings.Aimbot_AimPart)
end)
end)
local toggle5 = sector2.element('Toggle', 'Draw FOV Circle', false, function(v)
if v.Toggle == true then
fovcircle.Transparency = 1
print(1)
elseif v.Toggle == false then
fovcircle.Transparency = 0
print(0)
end
end)
local toggle2 = sector2.element('Toggle', 'Team Check', false, function(v)
settings.Aimbot_TeamCheck = v.Toggle
end)
local toggle3 = sector2.element('Toggle', 'Visibility Check', false, function(v)
settings.Aimbot_visiblecheck = v.Toggle
end)
dwUIS.InputBegan:Connect(function(inputObject,gameProcessed)
if inputObject.KeyCode == settings.Aimbot_Key then
settings.Aiming = true
end
end)
dwUIS.InputEnded:Connect(function(inputObject,gameProcessed)
if inputObject.KeyCode == settings.Aimbot_Key then
settings.Aiming = false
end
end)
end
end)