Fov aimbot mobile
Key RequiredUniversal

Fov aimbot mobile

Universal ScriptDOLLYNHODOLLYNHO 49.5K views 11K executesUpdated Sep 8, 2023
5.0/ 5(1 votes)
10100% Positive
Lua Script•105 lines (3179 chars)
-- Credit Dollynho --

local fov = 40
local maxDistance = 400
local maxTransparency = 0.1
local teamCheck = false

local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local Cam = game.Workspace.CurrentCamera

local FOVring = Drawing.new("Circle")
FOVring.Visible = true
FOVring.Thickness = 2
FOVring.Color = Color3.fromRGB(128, 0, 128)
FOVring.Filled = false
FOVring.Radius = fov
FOVring.Position = Cam.ViewportSize / 2

local function updateDrawings()
    local camViewportSize = Cam.ViewportSize
    FOVring.Position = camViewportSize / 2
end

local function onKeyDown(input)
    if input.KeyCode == Enum.KeyCode.Delete then
        RunService:UnbindFromRenderStep("FOVUpdate")
        FOVring:Remove()
    end
end

UserInputService.InputBegan:Connect(onKeyDown)

local function lookAt(target)
    local lookVector = (target - Cam.CFrame.Position).unit
    local newCFrame = CFrame.new(Cam.CFrame.Position, Cam.CFrame.Position + lookVector)
    Cam.CFrame = newCFrame
end

local function calculateTransparency(distance)
    local maxDistance = fov
    local transparency = (1 - (distance / maxDistance)) * maxTransparency
    return transparency
end

local function isPlayerAlive(player)
    local character = player.Character
    if character and character:FindFirstChild("Humanoid") then
        return character.Humanoid.Health > 0
    end
    return false
end

local function getClosestPlayerInFOV(trg_part)
    local nearest = nil
    local last = math.huge
    local playerMousePos = Cam.ViewportSize / 2
    local localPlayer = Players.LocalPlayer

    for i = 1, #Players:GetPlayers() do
        local player = Players:GetPlayers()[i]
        if player and player ~= localPlayer and (not teamCheck or player.Team ~= localPlayer.Team) then
            if isPlayerAlive(player) then
                local part = player.Character and player.Character:FindFirstChild(trg_part)
                if part then
                    local ePos, isVisible = Cam:WorldToViewportPoint(part.Position)
                    local distance = (Vector2.new(ePos.x, ePos.y) - playerMousePos).Magnitude

                    if distance < last and isVisible and distance < fov and distance < maxDistance then
                        last = distance
                        nearest = player
                    end
                end
            end
        end
    end

    return nearest
end

local function toggleTeamCheck()
    teamCheck = not teamCheck
end

toggleTeamCheck()
toggleTeamCheck()

RunService.RenderStepped:Connect(function()
    updateDrawings()
    local closest = getClosestPlayerInFOV("Head")
    if closest and closest.Character:FindFirstChild("Head") then
        lookAt(closest.Character.Head.Position)
    end
    
    if closest then
        local ePos, isVisible = Cam:WorldToViewportPoint(closest.Character.Head.Position)
        local distance = (Vector2.new(ePos.x, ePos.y) - (Cam.ViewportSize / 2)).Magnitude
        FOVring.Transparency = calculateTransparency(distance)
    else
        FOVring.Transparency = maxTransparency
    end
    
    wait(0.03)
end)

Features & Information

I am Brazilian credit to me

Community Comments (18)

DOLLYNHODOLLYNHOSep 8, 2023(edited)

^⁠_⁠^

DOLLYNHODOLLYNHOSep 8, 2023(edited)

O testam e dps me fala se tá bom ou ruim

GuelgamesbrGuelgamesbrSep 8, 2023(edited)

bom

GuelgamesbrGuelgamesbrSep 8, 2023(edited)

ta com dead body check?

DOLLYNHODOLLYNHOSep 8, 2023(edited)

Se eu não me engano eu coloquei só não sei se tá funcionando direito

DOLLYNHODOLLYNHOSep 8, 2023(edited)

O me da ideia para colocar

assassinalvin00assassinalvin00Sep 9, 2023(edited)

Do you have any plans to make a loadstring for your scripts?

DOLLYNHODOLLYNHOSep 9, 2023(edited)

But then it gets bad because you can't change the size of the fov and so on.

GuelgamesbrGuelgamesbrSep 10, 2023(edited)

pra ativar o team check eu deixo o "false" pra "true" certo?

DOLLYNHODOLLYNHOSep 10, 2023(edited)

true

DOLLYNHODOLLYNHOSep 10, 2023(edited)

false e para desativar

DOLLYNHODOLLYNHOSep 10, 2023(edited)

Estou sem ideia para atualizar o script

DOLLYNHODOLLYNHOSep 11, 2023(edited)

O se quer q eu atualize logo ou eu dou uma melhorada tô pensando colocar loadstring mais de um jeito que de muda as configurações

YTOPunisherYTOPunisherSep 11, 2023(edited)

@DOLLYNHO bro keep making the mobile exploitor community these scripts alot of people are using your script rn so keep this up bro🫡

DOLLYNHODOLLYNHOSep 11, 2023(edited)

Thanks

YTOPunisherYTOPunisherSep 20, 2023(edited)

Dam 8.1k views

BrowsBrowsOct 25, 2023(edited)

Hi Dolly, the script is working perfectly fine. And i was just wondering if is it possible to make the aimbot has a wallcheck? Like when there is an enemy behind a wall or u can't see the enemy, the aimbot won't work. It will only work when you can see the enemy or the enemy is facing us directly. Thank you.

davip0085davip0085Apr 25, 2024(edited)

Mano tem como adicionar wallhack me manda ele com wallcheck

More Scripts for Universal Scripts