Universal Script 📌
2.8k Views
7 Executions

Criminaility script

Universal Script 📌
zeyukiii
zeyukiiiFirst script
4 years 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

lock on to people lol

View Raw
-- Aimbot by Zeyukii
local lowest = 100
local AimbotRange = 500
 
if not game.Players.LocalPlayer.Character then repeat wait() until game.Players.LocalPlayer.Character end
RunService = game:GetService("RunService")
InputService = game:GetService("UserInputService")
AutoLock = function (position)
 
local NearestPlayer = nil
local ViewportSize = game.Workspace.CurrentCamera.ViewportSize
 
for i,v in pairs(game.Players:GetPlayers()) do
if v and v.Character and v~= game.Players.LocalPlayer and v.Character.Humanoid.Health > 0 then
local point = v.Character.PrimaryPart.Position
local offset, onScreen = game.Workspace.CurrentCamera:WorldToScreenPoint(point)
local offsetX, offsetY= offset.X, offset.Y
local viewportX, viewportY = ViewportSize.X, ViewportSize.Y
local dist = math.sqrt(((viewportX/2) - offsetX)^2 + ((viewportY/2) - offsetY)^2)
local distance = (v.Character.PrimaryPart.Position - position).Magnitude
if distance < lowest and dist <= AimbotRange then
NearestPlayer = v.Character
end
end
end
return NearestPlayer
end
 
function KeyHandler(Input,GameProcessed,Started)
if Input.UserInputType == Enum.UserInputType.MouseButton2 and not GameProcessed then
if Started then
Attacking = AutoLock(game.Players.LocalPlayer.Character.PrimaryPart.Position)
else
Attacking = nil
end
end
end
InputService.InputBegan:connect(function(inputObject, gameProcessedEvent)
KeyHandler(inputObject, gameProcessedEvent,true)
end)


Comments

1
Log in to join the conversation. Login
zeyukiii's profile picture
zeyukiiiUploader4 years ago(edited)

change local aimbot range if you wnat it to be great

1

More universal scripts

See all
Universal Script 📌
22
0
Approved 16 minutes ago
Key System
Universal Script 📌
9.8k
60.7k
Bumped 31 minutes ago
Key System
Universal Script 📌
3.9k
10.4k
Bumped 32 minutes ago
Script hub
272.6k
884.6k
Bumped 50 minutes ago
Key System

Script hub

#16 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features