M
Description
Simulador governo brasileiro Auto Farm apoio Dinheiro em teste!
GAMEUniversal
UPDATEDOct 29, 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 E TELEPORTE DE TESTE
-- Roblox Studio: StarterPlayer > StarterPlayerScripts
-- LocalScript
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- Evita duplicar a interface ao executar novamente.
local anterior = playerGui:FindFirstChild("KGSTPFarm")
if anterior then
anterior:Destroy()
end
local azul = Color3.fromRGB(0, 145, 255)
local fundo = Color3.fromRGB(12, 16, 27)
local gui = Instance.new("ScreenGui")
gui.Name = "KGSTPFarm"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local function criar(className, propriedades, parent)
local objeto = Instance.new(className)
for propriedade, valor in pairs(propriedades) do
objeto[propiedade] = valor
end
objeto.Parent = parent
return objeto
end
local function arredondar(objeto, raio)
criar("UICorner", {
CornerRadius = UDim.new(0, raio)
}, objeto)
end
-- Botão flutuante KGS.
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)
-- Painel principal.
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,
Font = Enum.Font.Gotham
}, 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)
)
-- Dados encontrados.
local npcs = {}
local indice = 1
-- Remove espaços e ignora diferenças entre maiúsculas e minúsculas.
local function normalizarNome(nome)
return nome:upper():gsub("%s+", "")
end
-- Aceita nomes como NPC-01, NPC - 01 e NPC 01.
local function nomeDeNPC(nome)
local normalizado = normalizarNome(nome)
return normalizado:match("^NPC%-?%d+$") ~= nil
end
-- Encontra uma peça utilizável dentro de um modelo ou pasta.
local function obterParte(objeto)
if not objeto then
return nil
end
if objeto:IsA("BasePart") then
return objeto
end
if objeto:IsA("Model") then
local raiz = objeto:FindFirstChild("HumanoidRootPart")
if raiz and raiz:IsA("BasePart") then
return raiz
end
if objeto.PrimaryPart then
return objeto.PrimaryPart
end
end
return objeto:FindFirstChildWhichIsA("BasePart", true)
end
-- Procura a pasta principal e também aceita NPCs organizados
-- em subpastas.
local function localizarNPCs()
table.clear(npcs)
indice = 1
local pasta = Workspace:FindFirstChild("PopulacaoNPC")
if not pasta then
status.Text = "Pasta PopulacaoNPC não encontrada no Workspace."
warn("[KGS VIP] Workspace.PopulacaoNPC não existe.")
return false
end
for _, objeto in ipairs(pasta:GetDescendants()) do
if (objeto:IsA("Model") or objeto:IsA("Folder"))
and nomeDeNPC(objeto.Name) then
local parte = obterParte(objeto)
if parte then
table.insert(npcs, objeto)
end
end
end
table.sort(npcs, function(a, b)
local numeroA = tonumber(a.Name:match("%d+")) or 0
local numeroB = tonumber(b.Name:match("%d+")) or 0
return numeroA < numeroB
end)
if #npcs == 0 then
status.Text =
"Nenhum NPC compatível. Confira os nomes e as peças."
warn(
"[KGS VIP] Nenhum Model ou Folder NPC numerado com peças foi encontrado."
)
return false
end
status.Text = string.format(
"%d NPC(s) encontrados. Selecionado: %s",
#npcs,
npcs[indice]:GetFullName()
)
print("[KGS VIP] Total de NPCs:", #npcs)
return true
end
-- Teleporte de teste no próprio projeto do Studio.
local function teleportarParaSelecionado()
local npc = npcs[indice]
if not npc or not npc:IsDescendantOf(Workspace) then
status.Text = "NPC indisponível. Clique em LOCALIZAR NPCs."
return
end
local alvo = obterParte(npc)
local personagem = player.Character
local raiz = personagem
and personagem:FindFirstChild("HumanoidRootPart")
if not alvo then
status.Text = "Não foi encontrada uma peça no NPC selecionado."
return
end
if not raiz then
status.Text = "Seu personagem ainda não está pronto."
return
end
raiz.CFrame = alvo.CFrame * CFrame.new(0, 0, 4)
status.Text = "Teleporte de teste: " .. npc.Name
print("[KGS VIP] Teleporte de teste:", npc:GetFullName())
end
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] Interface carregada.")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