Subscribe & turn on post notifications 🔔 for the latest Roblox Exploits:D: #Roblox #RoadTo1K #BloxPieceIf you have any questions.
PLAYER = game.Players.LocalPlayer
CC = game.Workspace.CurrentCamera
ENABLED = false
_G.ESP_BIND = 52
local PLAYERS = {}
local DISTANCES = {}
if v ~= PLAYER then
end
for i, v in pairs(PLAYERS) do
if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
local AIM = v.Character:FindFirstChild(_G.AIM_AT)
local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
local DIFF = math.floor((POS - AIM.Position).magnitude)
PLAYER_HOLD[v.Name .. i].dist = DISTANCE
PLAYER_HOLD[v.Name .. i].diff = DIFF
end
elseif _G.FREE_FOR_ALL true then
local AIM = v.Character:FindFirstChild(_G.AIM_AT)
local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
local DIFF = math.floor((POS - AIM.Position).magnitude)
PLAYER_HOLD[v.Name .. i].dist = DISTANCE
PLAYER_HOLD[v.Name .. i].diff = DIFF
end
end
if unpack(DISTANCES) nil then
end
local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
return false
if v.diff L_DISTANCE then
end
return false
GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
GUI_MAIN.Name = 'AIMBOT'
GUI_TARGET.Size = UDim2.new(0,200,0,30)
GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
GUI_TARGET.TextColor3 = Color3.new(1,1,1)
GUI_TARGET.TextWrapped = true
GUI_TARGET.Font = 'SourceSansBold'
GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
GUI_AIM_AT.TextWrapped = true
GUI_AIM_AT.Font = 'SourceSansBold'
local TRACK = false
function CREATE(BASE, TEAM)
local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
ESP_MAIN.Name = 'ESP'
ESP_MAIN.AlwaysOnTop = true
ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
ESP_DOT.Name = 'DOT'
ESP_DOT.BackgroundColor = BrickColor.new('Bright red')
ESP_DOT.BorderSizePixel = 0
ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
ESP_DOT.ZIndex = 10
ESP_NAME.Name = 'NAME'
ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
ESP_NAME.BorderSizePixel = 0
ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
ESP_NAME.ZIndex = 10
ESP_NAME.FontSize = 'Size14'
ESP_NAME.TextColor = BrickColor.new('Bright red')
for _,v in pairs(PLAYER.PlayerGui:children()) do
if v.Name 'ESP' and v:IsA('BillboardGui') then
end
end
function FIND()
TRACK = true
while wait() do
CLEAR()
if v.Character and v.Character:FindFirstChild('Head') then
if v.TeamColor ~= PLAYER.TeamColor then
CREATE(v.Character.Head, true)
end
if v.Character:FindFirstChild('Head') then
end
end
end
wait(1)
end
MOUSE.KeyDown:connect(function(KEY)
if KEY _G.BIND then
end
KEY = KEY:lower():byte()
ENABLED = false
end)
MOUSE.KeyDown:connect(function(KEY)
if KEY _G.ESP_BIND then
FIND()
print('ESP : ON')
wait()
TRACK = false
print('ESP : OFF')
end
if KEY _G.CHANGE_AIM then
_G.AIM_AT = 'Torso'
elseif _G.AIM_AT 'Torso' then
GUI_AIM_AT.Text = 'AIMING : HEAD'
end
game:GetService('RunService').RenderStepped:connect(function()
local TARGET = GetNearestPlayerToMouse()
local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
GUI_TARGET.Text = 'AIMBOT : OFF'
end
wait()
FIND()
until ESP_ENABLED false
_G.FREE_FOR_ALL = true
_G.ESP_BIND = 52 -- LEFT ALT