
Keyless

local UIS = game:GetService("UserInputService")
local CoreGui = game:GetService("CoreGui")
getgenv().EspActive = getgenv().EspActive or false
getgenv().CurrentBind = getgenv().CurrentBind or Enum.KeyCode.F
local activeHighlights = {}
local folderConnection = nil
local isBinding = false
-- Очистка старых GUI при перезапуске
if CoreGui:FindFirstChild("SakuraEspGui") then CoreGui.SakuraEspGui:Destroy() end
-- СОЗДАНИЕ САКУРА GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SakuraEspGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = CoreGui
-- Главный фрейм (Тема Сакуры)
local frame = Instance.new("Frame")
frame.Size = UDim2.fromOffset(210, 110)
frame.Position = UDim2.fromOffset(50, 150)
frame.BackgroundColor3 = Color3.fromRGB(40, 22, 28) -- Темно-вишневый/розовый
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 8)
corner.Parent = frame
-- Неоновый градиент Сакуры
local gradient = Instance.new("UIGradient")
gradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(50, 25, 35)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(30, 15, 20))
})
gradient.Rotation = 45
gradient.Parent = frame
-- Заголовок с цветочком
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 32)
title.BackgroundTransparency = 1
title.TextColor3 = Color3.fromRGB(255, 182, 193) -- Светло-розовый (Сакура)
title.Font = Enum.Font.FredokaOne
title.TextSize = 13
title.Text = "🌸 SAKURA ESP 🌸"
title.Parent = frame
-- Кнопка Включения/Выключения
local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0.9, 0, 0, 30)
toggleBtn.Position = UDim2.new(0.05, 0, 0.33, 0)
toggleBtn.BorderSizePixel = 0
toggleBtn.Font = Enum.Font.GothamBold
toggleBtn.TextSize = 12
toggleBtn.Parent = frame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 5)
btnCorner.Parent = toggleBtn
-- Кнопка Бинда
local bindBtn = Instance.new("TextButton")
bindBtn.Size = UDim2.new(0.9, 0, 0, 24)
bindBtn.Position = UDim2.new(0.05, 0, 0.67, 0)
bindBtn.BackgroundColor3 = Color3.fromRGB(60, 35, 45)
bindBtn.BorderSizePixel = 0
bindBtn.TextColor3 = Color3.fromRGB(255, 200, 210)
bindBtn.Font = Enum.Font.Gotham
bindBtn.TextSize = 11
bindBtn.Text = "Бинд: " .. getgenv().CurrentBind.Name
bindBtn.Parent = frame
local bindCorner = Instance.new("UICorner")
bindCorner.CornerRadius = UDim.new(0, 5)
bindCorner.Parent = bindBtn
-- УЛЬТРА ОПТИМИЗИРОВАННАЯ ЛОГИКА ESP
local function clearAllESP()
for figure, hl in pairs(activeHighlights) do
if hl then hl:Destroy() end
end
table.clear(activeHighlights)
end
local function highlightFigure(figure)
if not getgenv().EspActive or not figure or activeHighlights[figure] then return end
if figure.Name == "Figure" or figure:IsA("Model") then
local hl = Instance.new("Highlight")
hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
hl.FillColor = Color3.fromRGB(255, 105, 180) -- Насыщенный розовый (цветок сакуры)
hl.FillTransparency = 0.35
hl.OutlineColor = Color3.fromRGB(255, 255, 255) -- Белый контур для четкости
hl.OutlineTransparency = 0
hl.Adornee = figure
hl.Parent = CoreGui
activeHighlights[figure] = hl
end
end
-- Моментальный трекинг без задержек и циклов
local function scan()
local folder = workspace:FindFirstChild("ChameleonOpponent")
if not folder then return end
if getgenv().EspActive then
for _, obj in ipairs(folder:GetChildren()) do
highlightFigure(obj)
end
if not folderConnection then
folderConnection = folder.ChildAdded:Connect(highlightFigure)
end
else
clearAllESP()
if folderConnection then
folderConnection:Disconnect()
folderConnection = nil
end
end
end
local function updateUI()
if getgenv().EspActive then
toggleBtn.Text = "ESP: ВКЛЮЧЕН"
toggleBtn.BackgroundColor3 = Color3.fromRGB(219, 112, 147) -- Розовый неон
toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
else
toggleBtn.Text = "ESP: ВЫКЛЮЧЕН"
toggleBtn.BackgroundColor3 = Color3.fromRGB(80, 45, 55) -- Тусклый вишневый
toggleBtn.TextColor3 = Color3.fromRGB(180, 140, 150)
end
end
local function toggleESP()
getgenv().EspActive = not getgenv().EspActive
scan()
updateUI()
end
-- Слушаем появление папки, если раунд обновился (Оптимальный ивент вместо цикла)
workspace.ChildAdded:Connect(function(child)
if child.Name == "ChameleonOpponent" and getgenv().EspActive then
task.wait(0.05) -- Микро-пауза для инициализации папки игрой
scan()
end
end)
-- Хэндлеры кнопок интерфейса
toggleBtn.Activated:Connect(toggleESP)
bindBtn.Activated:Connect(function()
if isBinding then return end
isBinding = true
bindBtn.Text = "Нажмите клавишу..."
bindBtn.BackgroundColor3 = Color3.fromRGB(90, 50, 65)
end)
UIS.InputBegan:Connect(function(input, gpe)
if isBinding then
if input.UserInputType == Enum.UserInputType.Keyboard then
getgenv().CurrentBind = input.KeyCode
bindBtn.Text = "Бинд: " .. input.KeyCode.Name
bindBtn.BackgroundColor3 = Color3.fromRGB(60, 35, 45)
isBinding = false
end
return
end
if not gpe and input.KeyCode == getgenv().CurrentBind then
toggleESP()
end
end)
-- Инициализация при старте
scan()
updateUI()No comments yet for this script.
