-- // Налаштування (Глобальні)
_G.Coin = nil
_G.Speed = 16
_G.Jump = 50
_G.NoClip = false
_G.ClickTP = false
_G.ESP = false
local players = game:GetService("Players")
local runService = game:GetService("RunService")
local lp = players.LocalPlayer
local mouse = lp:GetMouse()
local ws = workspace
-- // Створення UI
local gui = Instance.new("ScreenGui")
local main = Instance.new("Frame")
local title = Instance.new("TextLabel")
local holder = Instance.new("ScrollingFrame")
local layout = Instance.new("UIListLayout")
gui.Name = "KevinEgHub"
pcall(function() gui.Parent = game:GetService("CoreGui") end)
if not gui.Parent then gui.Parent = lp:WaitForChild("PlayerGui") end
main.Name = "Main"
main.Parent = gui
main.BackgroundColor3 = Color3.fromRGB(35, 30, 20)
main.BorderSizePixel = 0
main.Position = UDim2.new(0.5, -110, 0.4, -180)
main.Size = UDim2.new(0, 220, 0, 380)
main.Active = true
-- Кастомний драг (UIS)
local uis = game:GetService("UserInputService")
local drag, dragInp, start, startPos
main.InputBegan:Connect(function(inp)
if inp.UserInputType == Enum.UserInputType.MouseButton1 or inp.UserInputType == Enum.UserInputType.Touch then
drag = true
start = inp.Position
startPos = main.Position
inp.Changed:Connect(function()
if inp.UserInputState == Enum.UserInputState.End then drag = false end
end)
end
end)
main.InputChanged:Connect(function(inp)
if inp.UserInputType == Enum.UserInputType.MouseMovement or inp.UserInputType == Enum.UserInputType.Touch then dragInp = inp end
end)
uis.InputChanged:Connect(function(inp)
if inp == dragInp and drag then
local delta = inp.Position - start
main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
Instance.new("UICorner", main)
title.Name = "Title"
title.Parent = main
title.BackgroundColor3 = Color3.fromRGB(50, 45, 30)
title.Size = UDim2.new(1, 0, 0, 40)
title.Font = Enum.Font.GothamBold
title.Text = "KEVIN EG! HUB"
title.TextColor3 = Color3.fromRGB(255, 200, 0)
title.TextSize = 16
Instance.new("UICorner", title)
holder.Name = "Holder"
holder.Parent = main
holder.BackgroundTransparency = 1
holder.Position = UDim2.new(0, 10, 0, 50)
holder.Size = UDim2.new(1, -20, 1, -60)
holder.CanvasSize = UDim2.new(0, 0, 0, 0)
holder.AutomaticCanvasSize = Enum.AutomaticSize.Y
holder.ScrollBarThickness = 3
layout.Parent = holder
layout.Padding = UDim.new(0, 8)
-- // Функції UI
local function makeBtn(text, color, call)
local btn = Instance.new("TextButton")
btn.Parent = holder
btn.BackgroundColor3 = color or Color3.fromRGB(55, 50, 40)
btn.Size = UDim2.new(1, 0, 0, 35)
btn.Font = Enum.Font.Gotham
btn.Text = text
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.TextSize = 14
Instance.new("UICorner", btn)
btn.MouseButton1Click:Connect(function() call(btn) end)
return btn
end
local function makeLabel(text)
local lbl = Instance.new("TextLabel")
lbl.Parent = holder
lbl.BackgroundTransparency = 1
lbl.Size = UDim2.new(1, 0, 0, 20)
lbl.Font = Enum.Font.GothamBold
lbl.Text = text
lbl.TextColor3 = Color3.fromRGB(200, 200, 200)
lbl.TextSize = 12
end
-- // Функціонал
task.spawn(function()
while task.wait(0.2) do
if _G.Coin and lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") then
local hrp = lp.Character.HumanoidRootPart
local target = nil
local dist = 2000
for _, v in pairs(ws:GetChildren()) do
if v.Name == _G.Coin and v:IsA("BasePart") then
local d = (v.Position - hrp.Position).Magnitude
if d < dist then dist = d; target = v end
end
end
if not target then
for _, f in pairs(ws:GetChildren()) do
if f:IsA("Folder") or f:IsA("Model") then
for _, v in pairs(f:GetChildren()) do
if v.Name == _G.Coin and v:IsA("BasePart") then
local d = (v.Position - hrp.Position).Magnitude
if d 0 and not p.Character:FindFirstChild("KevinESP") then
local box = Instance.new("BoxHandleAdornment")
box.Name = "KevinESP"
box.Size = Vector3.new(4, 5, 4)
box.Adornee = p.Character.HumanoidRootPart
box.AlwaysOnTop = true
box.ZIndex = 5
box.Color3 = Color3.fromRGB(255, 0, 0)
box.Transparency = 0.6
box.Parent = p.Character
end
end
end
end)
makeBtn("CLOSE MENU", Color3.fromRGB(80, 0, 0), function()
gui:Destroy()
end)