local whitelist = {
"Leoking_000",
"Monkey_0436",
"lanotherdeadl",
"vitika6606",
"Maxiging_6",
""
}
local function isWhitelisted(name)
for _, v in ipairs(whitelist) do
if [Link](v) == [Link](name) then
return true
end
end
return false
end
local Players = game:GetService("Players")
local ProximityPromptService = game:GetService("ProximityPromptService")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local player = [Link]
if not isWhitelisted([Link]) then
player:Kick("Not Whitelisted")
return
end
if _G.NexHubInstantStealLoaded then return end
_G.NexHubInstantStealLoaded = true
local pos1, pos2 = nil, nil
local beam1, beam2
local part1, part2
local targetPositions = {
[Link](-481.88, -3.79, 138.02),
[Link](-481.75, -3.79, 89.18),
[Link](-481.82, -3.79, 30.95),
[Link](-481.75, -3.79, -17.79),
[Link](-481.80, -3.79, -76.06),
[Link](-481.72, -3.79, -124.70),
[Link](-337.45, -3.85, -124.72),
[Link](-337.37, -3.85, -76.07),
[Link](-337.46, -3.79, -17.72),
[Link](-337.41, -3.79, 30.92),
[Link](-337.32, -3.79, 89.02),
[Link](-337.27, -3.79, 137.90),
[Link](-337.45, -3.79, 196.29),
[Link](-337.37, -3.79, 244.91),
[Link](-481.72, -3.79, 196.21),
[Link](-481.76, -3.79, 244.92)
}
local gui = [Link]("ScreenGui")
[Link] = "NexHubUI"
[Link] = false
[Link] = player:WaitForChild("PlayerGui")
local frame = [Link]("Frame", gui)
[Link] = [Link](220, 160)
[Link] = [Link](0.5, 0.5)
[Link] = [Link](0.5, 0.5)
frame.BackgroundColor3 = [Link](30,30,30)
[Link] = 0.15
[Link] = true
[Link] = true
[Link]("UICorner", frame).CornerRadius = [Link](0,10)
[Link]("UIStroke", frame).ApplyStrokeMode = [Link]
[Link] = [Link](50,50,50)
local title = [Link]("TextLabel", frame)
[Link] = [Link](1, -12, 0, 28)
[Link] = [Link](6, 6)
[Link] = 1
[Link] = "NexHub | INSTANT STEAL"
[Link] = [Link]
[Link] = 14
title.TextColor3 = [Link](220,220,220)
[Link] = [Link]
local status = [Link]("TextLabel", frame)
[Link] = [Link](1, -12, 0, 22)
[Link] = [Link](6, 42)
[Link] = 1
[Link] = "Waiting for Steal…"
[Link] = [Link]
[Link] = 12
status.TextColor3 = [Link](180,180,180)
[Link] = [Link]
[Link](function()
while true do
TweenService:Create(status, [Link](1.2), {TextTransparency =
0.4}):Play()
[Link](1.2)
TweenService:Create(status, [Link](1.2), {TextTransparency =
0}):Play()
[Link](1.2)
end
end)
local function makeButton(text, y)
local b = [Link]("TextButton", frame)
[Link] = [Link](1, -24, 0, 36)
[Link] = [Link](12, y)
b.BackgroundColor3 = [Link](50,50,50)
[Link] = 0.05
[Link] = text
[Link] = [Link]
[Link] = 14
b.TextColor3 = [Link](230,230,230)
[Link] = false
[Link]("UICorner", b).CornerRadius = [Link](0,6)
[Link]:Connect(function()
TweenService:Create(b, [Link](0.15), {BackgroundTransparency =
0}):Play()
end)
[Link]:Connect(function()
TweenService:Create(b, [Link](0.15), {BackgroundTransparency =
0.05}):Play()
end)
return b
end
local btn1 = makeButton("Set Position", 80)
local function pressAnim(button)
local origSize = [Link]
local origPos = [Link]
TweenService:Create(button, [Link](0.08), {
Size = [Link]([Link], [Link] - 4,
[Link], [Link] - 3),
Position = [Link]([Link], [Link] + 2,
[Link], [Link] + 1)
}):Play()
[Link](0.08)
TweenService:Create(button, [Link](0.12), {
Size = origSize,
Position = origPos
}):Play()
end
local function createBeam(position, color, index)
local char = [Link]
if not char or not char:FindFirstChild("HumanoidRootPart") then return end
local part = [Link]("Part", workspace)
[Link] = [Link](1,1,1)
[Link] = true
[Link] = false
[Link] = 1
[Link] = [Link](position)
local a0 = [Link]("Attachment", part)
local a1 = [Link]("Attachment", [Link])
local beam = [Link]("Beam", workspace)
beam.Attachment0 = a0
beam.Attachment1 = a1
beam.Width0 = 0.12
beam.Width1 = 0.12
[Link] = true
[Link] = [Link](color)
if index == 1 then
if beam1 then beam1:Destroy() end
if part1 then part1:Destroy() end
beam1, part1 = beam, part
else
if beam2 then beam2:Destroy() end
if part2 then part2:Destroy() end
beam2, part2 = beam, part
end
end
btn1.MouseButton1Click:Connect(function()
pressAnim(btn1)
local hrp = [Link] and
[Link]:FindFirstChild("HumanoidRootPart")
if hrp then
pos1 = [Link]
createBeam([Link], [Link](0,170,255), 1)
end
end)
[Link](function()
while true do
[Link](1)
local hrp = [Link] and
[Link]:FindFirstChild("HumanoidRootPart")
if hrp then
local closestDist = [Link]
local closestPos = nil
for _, v in ipairs(targetPositions) do
local dist = ([Link] - v).Magnitude
if dist < closestDist then
closestDist = dist
closestPos = v
end
end
if closestPos then
pos2 = [Link](closestPos)
createBeam([Link], [Link](255,140,0), 2)
end
end
end
end)
[Link]:Connect(function(prompt, who)
if who ~= player then return end
if [Link] ~= "Steal" and [Link] ~= "Steal" then return end
local hrp = [Link] and
[Link]:FindFirstChild("HumanoidRootPart")
if not hrp then return end
local backpack = player:FindFirstChild("Backpack")
if backpack then
local carpet = backpack:FindFirstChild("Flying Carpet")
if carpet and [Link] and
[Link]:FindFirstChild("Humanoid") then
[Link]:EquipTool(carpet)
end
end
if pos1 then [Link] = pos1 end
if pos2 then [Link](0.05); [Link] = pos2 end
end)
local discord = [Link]("TextLabel", frame)
[Link] = [Link](1,0,0,16)
[Link] = [Link](0,140)
[Link] = 1
[Link] = "[Link]/UMmhuXFcmq"
[Link] = [Link]
[Link] = 10
[Link] = [Link]
discord.TextColor3 = [Link](180,180,180)
local h = 0
[Link]:Connect(function(dt)
h = (h + dt * 0.3) % 1
discord.TextColor3 = [Link](h,1,1)
end)