---
title: "Aimbot | Universal Roblox Script - ScriptBlox"
description: "Aimbot for any Roblox game: a simple aimbot."
canonical_url: "https://scriptblox.com/script/Universal-Script-Aimbot-9232"
meta:
  "og:description": "Aimbot for any Roblox game: a simple aimbot."
  "og:image": "https://scriptblox.com/images/script/5701571-1699715923535.webp"
  "og:title": "Aimbot | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Aimbot for any Roblox game: a simple aimbot."
  "twitter:image": "https://scriptblox.com/images/script/5701571-1699715923535.webp"
  "twitter:title": "Aimbot | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/5701571-1699715923535.webp)

# **Aimbot**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![S3mply](https://scriptblox.com/images/photo/628d6f9c5dc60d198cf89805-1699701905762.png) [S3mply](https://scriptblox.com/u/S3mply)First script**

3 years ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

a simple aimbot.

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Update script

[View Raw](https://scriptblox.com/raw/Universal-Script-Aimbot-9232)

```
--  s3mply was here <3

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local UIS = game:GetService("UserInputService")
local Mouse = LocalPlayer:GetMouse()

local function findNearestPlayer()
    local nearestPlayer = nil
    local nearestDistance = math.huge
    
    for _, player in ipairs(Players:GetPlayers()) do
        if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
            local distance = (player.Character.HumanoidRootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
            if distance < nearestDistance and player ~= LocalPlayer then
                nearestPlayer = player
                nearestDistance = distance
            end
        end
    end
    
    return nearestPlayer
end

local function aimbot()
    local nearestPlayer = findNearestPlayer()
    
    if nearestPlayer then
        local HumanoidRootPart = nearestPlayer.Character:FindFirstChild("HumanoidRootPart")
        if HumanoidRootPart then
            local LookVector = (HumanoidRootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).Unit
            LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.lookAt(LocalPlayer.Character.HumanoidRootPart.Position, LocalPlayer.Character.HumanoidRootPart.Position + LookVector)
            
            workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position, HumanoidRootPart.Position)
            Mouse.Target = nearestPlayer.Character.HumanoidRootPart
        end
        
        if UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
            workspace.CurrentCamera.CameraSubject = nearestPlayer.Character.Humanoid


```

## **Comments **

**2**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Aimbot-9232)

![ashtonthebeebro's profile picture](https://scriptblox.com/images/user-default.webp)

[**ashtonthebeebro**](https://scriptblox.com/u/ashtonthebeebro)Lv 610 months ago

yes

1

![WTHF's profile picture](https://scriptblox.com/images/user-default.webp)

[**WTHF**](https://scriptblox.com/u/WTHF)2 years ago(edited)

129k views yet no comment

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Aimbot-9232#script","url":"https://scriptblox.com/script/Universal-Script-Aimbot-9232","name":"Aimbot","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"S3mply","url":"https://scriptblox.com/u/S3mply"},"datePublished":"2023-11-11T15:18:43.853Z","image":"https://scriptblox.com/images/script/5701571-1699715923535.webp","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Aimbot-9232#webpage","@type":"WebPage","description":"Aimbot for any Roblox game: a simple aimbot.","name":"Aimbot | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Aimbot-9232","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Aimbot-9232#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Aimbot-9232#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Aimbot-9232"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Aimbot-9232#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Aimbot","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
