M
Description
Simulador governo brasileiro Auto Farm atualizado
GAMEUniversal
UPDATEDOct 28, 2026
ACCESSKeyless
PLATFORMDesktop
Script source Luau
-- [[ BloxScripts Risk Notice ]]
-- This script has not been verified by BloxScripts.fun. Deal with caution.
--
-- Stay safe:
-- • Never log in on unofficial Roblox sites or lookalike domains.
-- • Real Roblox links use roblox.com (check the .com ending).
-- • Treat fake Roblox login / "claim reward" pages as phishing.
-- [[ End BloxScripts Risk Notice ]]
-- KGS VIP | LOCALIZADOR DE NPCs
-- Instale como LocalScript em:
-- StarterPlayer > StarterPlayerScripts
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local anterior = playerGui:FindFirstChild("KGSTPFarm")
if anterior then
anterior:Destroy()
end
local gui = Instance.new("ScreenGui")
gui.Name = "KGSTPFarm"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local azul = Color3.fromRGB(0, 145, 255)
local fundo = Color3.fromRGB(12, 16, 27)
local function criar(class, props, parent)
local obj = Instance.new(class)
for k, v in pairs(props) do
obj[k] = v
end
obj.Parent = parent
return obj
end
local function arredondar(obj, raio)
criar("UICorner", {
CornerRadius = UDim.new(0, raio)
}, obj)
end
local botao = criar("TextButton", {
Name = "AbrirKGS",
Size = UDim2.fromOffset(60, 60),
Position = UDim2.new(0, 20, 0.5, -30),
BackgroundColor3 = fundo,
Text = "KGS",
TextColor3 = azul,
TextSize = 18,
Font = Enum.Font.GothamBold
}, gui)
arredondar(botao, 30)
criar("UIStroke", {Color = azul, Thickness = 2}, botao)
local painel = criar("Frame", {
Name = "Painel",
Size = UDim2.fromOffset(320, 310),
Position = UDim2.new(0.5, -160, 0.5, -155),
BackgroundColor3 = fundo,
Visible = false
}, gui)
arredondar(painel, 12)
criar("UIStroke", {Color = azul, Thickness = 2}, painel)
criar("TextLabel", {
Size = UDim2.new(1, -20, 0, 40),
Position = UDim2.fromOffset(10, 0),
BackgroundTransparency = 1,
Text = "KGS VIP | TP NPC",
TextColor3 = azul,
Font = Enum.Font.GothamBold,
TextSize = 18
}, painel)
local status = criar("TextLabel", {
Size = UDim2.new(1, -20, 0, 42),
Position = UDim2.fromOffset(10, 40),
BackgroundTransparency = 1,
Text = "Pronto para localizar NPCs.",
TextColor3 = Color3.new(1, 1, 1),
TextWrapped = true,
TextSize = 12
}, painel)
local function criarBotao(texto, y, cor)
local b = criar("TextButton", {
Size = UDim2.new(1, -20, 0, 42),
Position = UDim2.fromOffset(10, y),
BackgroundColor3 = cor,
Text = texto,
TextColor3 = Color3.new(1, 1, 1),
Font = Enum.Font.GothamBold,
TextSize = 12
}, painel)
arredondar(b, 7)
return b
end
local localizar = criarBotao(
"LOCALIZAR NPCs", 85, Color3.fromRGB(25, 85, 140)
)
local teleportar = criarBotao(
"TELEPORTAR PARA NPC", 135, Color3.fromRGB(25, 135, 85)
)
local proximo = criarBotao(
"PRÓXIMO NPC", 185, Color3.fromRGB(35, 75, 125)
)
local fechar = criarBotao(
"FECHAR", 235, Color3.fromRGB(120, 40, 50)
)
local npcs = {}
local indice = 1
local function obterParte(npc)
if not npc or not npc:IsA("Model") then
return nil
end
return npc:FindFirstChild("HumanoidRootPart")
or npc.PrimaryPart
or npc:FindFirstChildWhichIsA("BasePart", true)
end
local function localizarNPCs()
table.clear(npcs)
indice = 1
local pasta = Workspace:FindFirstChild("PopulacaoNPC")
if not pasta then
status.Text = "ERRO: Workspace.PopulacaoNPC não encontrada."
return false
end
for _, npc in ipairs(pasta:GetChildren()) do
if npc:IsA("Model") and npc.Name:match("^NPC%-%d+$") then
if obterParte(npc) then
table.insert(npcs, npc)
end
end
end
table.sort(npcs, function(a, b)
local na = tonumber(a.Name:match("%d+")) or 0
local nb = tonumber(b.Name:match("%d+")) or 0
return na < nb
end)
if #npcs == 0 then
status.Text = "Nenhum NPC encontrado. Confira os nomes e as peças."
return false
end
status.Text = string.format(
"%d NPCs encontrados. Selecionado: %s",
#npcs,
npcs[indice].Name
)
return true
end
local function teleportarParaSelecionado()
local npc = npcs[indice]
if not npc or not npc:IsDescendantOf(Workspace) then
status.Text = "NPC inválido. Localize novamente."
return
end
local alvo = obterParte(npc)
local personagem = player.Character
local raiz = personagem and personagem:FindFirstChild("HumanoidRootPart")
if not alvo or not raiz then
status.Text = "NPC ou personagem ainda não está disponível."
return
end
-- Teleporte local somente para teste no próprio projeto.
raiz.CFrame = alvo.CFrame * CFrame.new(0, 0, 4)
status.Text = "Teleporte de teste: " .. npc.Name
end
localizando = false
localizar.Activated:Connect(function()
localizarNPCs()
end)
teleportar.Activated:Connect(function()
teleportarParaSelecionado()
end)
proximo.Activated:Connect(function()
if #npcs == 0 then
status.Text = "Clique em LOCALIZAR NPCs primeiro."
return
end
indice = (indice % #npcs) + 1
status.Text = string.format(
"Selecionado: %s (%d/%d)",
npcs[indice].Name,
indice,
#npcs
)
end)
botao.Activated:Connect(function()
painel.Visible = not painel.Visible
end)
fechar.Activated:Connect(function()
painel.Visible = false
end)
print("[KGS VIP] Localizador carregado.")Review the source before using it. Executions count successful copies, capped at 10 per user and network per script in 24 hours.
Community discussion
0Start the conversation.


Your community, in one place