local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local Container = Instance.new("ScrollingFrame")
local UIListLayout = Instance.new("UIListLayout")
ScreenGui.Name = "KevinHub"
ScreenGui.Parent = game:GetService("CoreGui")
ScreenGui.ResetOnSpawn = false
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
MainFrame.BorderSizePixel = 0
MainFrame.Position = UDim2.new(0.5, -110, 0.4, -150)
MainFrame.Size = UDim2.new(0, 220, 0, 350)
MainFrame.Active = true
MainFrame.Draggable = true
local Corner = Instance.new("UICorner")
Corner.CornerRadius = UDim.new(0, 10)
Corner.Parent = MainFrame
Title.Name = "Title"
Title.Parent = MainFrame
Title.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Title.Size = UDim2.new(1, 0, 0, 40)
Title.Font = Enum.Font.GothamBold
Title.Text = "KEVIN VOXELS HUB"
Title.TextColor3 = Color3.fromRGB(0, 255, 150)
Title.TextSize = 16
local TitleCorner = Instance.new("UICorner")
TitleCorner.Parent = Title
Container.Name = "Container"
Container.Parent = MainFrame
Container.BackgroundTransparency = 1
Container.Position = UDim2.new(0, 10, 0, 50)
Container.Size = UDim2.new(1, -20, 1, -60)
Container.CanvasSize = UDim2.new(0, 0, 0, 1000)
Container.ScrollBarThickness = 3
UIListLayout.Parent = Container
UIListLayout.Padding = UDim.new(0, 8)
local LP = game.Players.LocalPlayer
local CAS = game:GetService("ContextActionService")
local RS = game:GetService("RunService")
local Farming = false
local SelectedOre = "CoalOre"
local KillTarget = nil
local NoClipEnabled = false
_G.Kill = false
local function AddButton(text, color, callback)
local btn = Instance.new("TextButton")
btn.Parent = Container
btn.BackgroundColor3 = color or Color3.fromRGB(45, 45, 45)
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
local bCorner = Instance.new("UICorner")
bCorner.CornerRadius = UDim.new(0, 6)
bCorner.Parent = btn
btn.MouseButton1Click:Connect(callback)
return btn
end
local function AddLabel(text)
local lbl = Instance.new("TextLabel")
lbl.Parent = Container
lbl.BackgroundTransparency = 1
lbl.Size = UDim2.new(1, 0, 0, 20)
lbl.Font = Enum.Font.GothamBold
lbl.Text = text:upper()
lbl.TextColor3 = Color3.fromRGB(150, 150, 150)
lbl.TextSize = 12
end
local function farm(name)
while Farming do
local target = nil
local dist = math.huge
for _, v in pairs(game.Workspace:GetDescendants()) do
if v.Name == name and v:IsA("BasePart") then
if LP.Character and LP.Character:FindFirstChild("HumanoidRootPart") then
local d = (v.Position - LP.Character.HumanoidRootPart.Position).Magnitude
if d 0 then
KillTarget = targets[math.random(1, #targets)]
Title.Text = "Target: " .. KillTarget.Name
end
end)
AddButton("Kill Target", Color3.fromRGB(200, 0, 0), function()
if KillTarget and KillTarget.Character then
_G.Kill = true
task.spawn(function()
while _G.Kill do
if KillTarget and KillTarget.Character and LP.Character then
local tRoot = KillTarget.Character:FindFirstChild("HumanoidRootPart")
local myRoot = LP.Character:FindFirstChild("HumanoidRootPart")
if tRoot and myRoot then
myRoot.CFrame = tRoot.CFrame * CFrame.new(0, 0, 3)
CAS:CallFunction("Mine", Enum.UserInputState.Begin, nil)
end
end
task.wait(0.1)
end
end)
end
end)
AddButton("Stop Combat", nil, function()
_G.Kill = false
CAS:CallFunction("Mine", Enum.UserInputState.End, nil)
end)