
KeylessUniversal

-- Gui to Lua
-- Version: 3.2
-- Instances:
local ScreenGui = Instance.new("ScreenGui")
local Aimbot = Instance.new("Frame")
local TItle = Instance.new("TextLabel")
local Toggle = Instance.new("TextButton")
--Properties:
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Aimbot.Name = "Aimbot"
Aimbot.Parent = ScreenGui
Aimbot.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Aimbot.BorderColor3 = Color3.fromRGB(0, 0, 0)
Aimbot.BorderSizePixel = 0
Aimbot.Position = UDim2.new(0, 0, 0.430051804, 0)
Aimbot.Size = UDim2.new(0, 111, 0, 130)
TItle.Name = "TItle"
TItle.Parent = Aimbot
TItle.BackgroundColor3 = Color3.fromRGB(141, 141, 141)
TItle.BorderColor3 = Color3.fromRGB(0, 0, 0)
TItle.BorderSizePixel = 0
TItle.Size = UDim2.new(0, 111, 0, 35)
TItle.Font = Enum.Font.SourceSans
TItle.Text = "Aimbot"
TItle.TextColor3 = Color3.fromRGB(0, 0, 0)
TItle.TextSize = 15.000
Toggle.Name = "Toggle"
Toggle.Parent = Aimbot
Toggle.BackgroundColor3 = Color3.fromRGB(223, 223, 223)
Toggle.BorderColor3 = Color3.fromRGB(0, 0, 0)
Toggle.BorderSizePixel = 0
Toggle.Position = UDim2.new(0.0900900885, 0, 0.323076934, 0)
Toggle.Size = UDim2.new(0, 91, 0, 78)
Toggle.Font = Enum.Font.FredokaOne
Toggle.Text = "Off"
Toggle.TextColor3 = Color3.fromRGB(255, 0, 4)
Toggle.TextSize = 16.000
-- Scripts:
local function PNHLOYF_fake_script() -- Toggle.LocalScript
local script = Instance.new('LocalScript', Toggle)
-- Welcome message and set clipboard
print("Hi welcome to Exploitdev Aimbot, discord invite link have been set in your clipboard")
setclipboard("https://discord.gg/cvuqkv8xmh")
_G.aimbot = false
local camera = game.Workspace.CurrentCamera
local localplayer = game:GetService("Players").LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
if _G.aimbot == false then
_G.aimbot = true
script.Parent.TextColor3 = Color3.fromRGB(0,170,0)
script.Parent.Text = "On"
function closestplayer()
local dist = math.huge -- math.huge means a really large number, 1M+.
local target = nil --- nil means no value
for i,v in pairs (game:GetService("Players"):GetPlayers()) do
if v ~= localplayer then
if v.Character and v.Character:FindFirstChild("Head") and _G.aimbot and v.Character.Humanoid.Health > 0 then --- creating the checks
local magnitude = (v.Character.Head.Position - localplayer.Character.Head.Position).magnitude
if magnitude < dist then
dist = magnitude
target = v
end
end
end
end
return target
end
else
_G.aimbot = false
script.Parent.TextColor3 = Color3.fromRGB(255,0,0)
script.Parent.Text = "Off"
end
end)
local settings = {
keybind = Enum.UserInputType.MouseButton2
}
local UIS = game:GetService("UserInputService")
local aiming = false --- this toggle will make it so we lock on to the person when we press our keybind
UIS.InputBegan:Connect(function(inp)
if inp.UserInputType == settings.keybind then
aiming = true
end
end)
UIS.InputEnded:Connect(function(inp)
if inp.UserInputType == settings.keybind then ---- when we stop pressing the keybind it would unlock off the player
aiming = false
end
end)
game:GetService("RunService").RenderStepped:Connect(function()
if aiming then
camera.CFrame = CFrame.new(camera.CFrame.Position,closestplayer().Character.Head.Position) -- locks into the HEAD
end
end)
end
coroutine.wrap(PNHLOYF_fake_script)()



Please add teamcheck
@Cheatandcheating i may do later