Universal Script 📌
828 Views
500 Executions

angelonn aimbot v1

Universal Script 📌
huezoangel57
huezoangel57Published 5
11 months ago
Get an 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

aimbot

View Raw
-- Aimbot Script for Roblox con botón de abrir/cerrar menú
-- (Todo lo anterior sigue igual, solo se añadió el toggle del menú)

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

-- Variables
local targetPlayer = nil
local aiming = false
local connection = nil

-- Función para empezar a mirar a un jugador
local function startAiming(selectedPlayer)
    if aiming and targetPlayer == selectedPlayer then return end
    stopAiming()
    targetPlayer = selectedPlayer
    aiming = true
    
    connection = RunService.RenderStepped:Connect(function()
        if aiming and targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("Head") then
            local camera = workspace.CurrentCamera
            local targetPos = targetPlayer.Character.Head.Position
            camera.CFrame = CFrame.lookAt(camera.CFrame.Position, targetPos)
        else
            stopAiming()
        end
    end)
end

-- Función para parar
function stopAiming()
    if connection then
        connection:Disconnect()
        connection = nil
    end
    aiming = false
    targetPlayer = nil
end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
25
0
Bumped 11 minutes ago
Universal Script 📌
3
0
Approved 15 minutes ago
Script hub
5
0
Approved 17 minutes ago
Universal Script 📌
12
2
Approved 24 minutes ago