Script Features:
- Auto Farm – Do tasks quickly
The Noob Experiment Battlefront Script:
local player = game.Players.LocalPlayer
local runService = game:GetService("RunService")
local tweenService = game:GetService("TweenService")
local virtualInput = game:GetService("VirtualInputManager")
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")
local isScriptEnabled = false -- Iniciar desativado
-- Atualizar character e humanoidRootPart após a morte
player.CharacterAdded:Connect(function(newCharacter)
character = newCharacter
humanoidRootPart = character:WaitForChild("HumanoidRootPart")
humanoid = character:WaitForChild("Humanoid")
humanoidRootPart.Anchored = false
end)
-- Função para criar a GUI
local function createToggleGUI()
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "ToggleScriptGui"
screenGui.Parent = game:GetService("CoreGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 100, 0, 100)
frame.Position = UDim2.new(0, 10, 0, 10)
frame.BackgroundColor3 = Color3.new(0, 0, 0)
frame.BackgroundTransparency = 0.5
frame.Parent = screenGui
local toggleButton = Instance.new("TextButton")
toggleButton.Size = UDim2.new(0, 80, 0, 30)
toggleButton.Position = UDim2.new(0.5, -40, 0.5, -15)
toggleButton.Text = "OFF"
toggleButton.Name = "Auto Farm"
toggleButton.BackgroundColor3 = Color3.new(1, 0, 0)
toggleButton.TextColor3 = Color3.new(1, 1, 1)
toggleButton.Parent = frame
toggleButton.MouseButton1Click:Connect(function()
isScriptEnabled = not isScriptEnabled
toggleButton.Text = isScriptEnabled and "ON" or "OFF"
toggleButton.BackgroundColor3 = isScriptEnabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
humanoidRootPart.Anchored = false -- Sempre desancorar ao mudar estado
end)
end
local function getNearestEnemy()
local enemies = workspace:FindFirstChild("Enemies")
if not enemies then return nil end
local closest = nil
local shortestDistance = math.huge
for _, enemy in ipairs(enemies:GetChildren()) do
if enemy and enemy.Parent and enemy:FindFirstChild("HumanoidRootPart") then
local success, distance = pcall(function()
return (enemy.HumanoidRootPart.Position - humanoidRootPart.Position).Magnitude
end)
if success and distance < shortestDistance then
shortestDistance = distance
closest = enemy
end
end
end
return closest
end
local function addGiganticHitbox(enemy)
if enemy and enemy.Parent and enemy:FindFirstChild("HumanoidRootPart") and not enemy:FindFirstChild("Hitbox") then
local hitbox = Instance.new("Part")
hitbox.Name = "Hitbox"
hitbox.Size = Vector3.new(50, 50, 50)
hitbox.Transparency = 1
hitbox.CanCollide = false
hitbox.Anchored = false
hitbox.Massless = true
hitbox.CFrame = enemy.HumanoidRootPart.CFrame
hitbox.Parent = enemy
local weld = Instance.new("WeldConstraint")
weld.Part0 = hitbox
weld.Part1 = enemy.HumanoidRootPart
weld.Parent = hitbox
end
end
local function simulateLMB()
virtualInput:SendMouseButtonEvent(0, 0, 0, true, game, 1)
task.wait(0.05)
virtualInput:SendMouseButtonEvent(0, 0, 0, false, game, 1)
end
local function simulateAllKeys()
local keys = {"F", "T", "R", "E", "Q", "G", "H", "Y", "U", "I", "O", "P", "A", "S", "D", "W", "Z", "X", "C", "V", "B", "N", "M", "J", "K", "L"}
for _, key in ipairs(keys) do
virtualInput:SendKeyEvent(true, Enum.KeyCode[key], false, game)
task.wait(0.05)
virtualInput:SendKeyEvent(false, Enum.KeyCode[key], false, game)
end
end
-- Função para alinhar a câmera (aimbot)
local function aimAtEnemy(enemy)
if enemy and enemy.Parent and enemy:FindFirstChild("HumanoidRootPart") then
local success = pcall(function()
local camera = workspace.CurrentCamera
camera.CFrame = CFrame.new(camera.CFrame.Position, enemy.HumanoidRootPart.Position)
end)
end
end
-- Função para mover com tweening
local function moveToEnemyWithTween(target)
if target and target.Parent and target:FindFirstChild("HumanoidRootPart") then
local success = pcall(function()
local targetPos = target.HumanoidRootPart.Position
local direction = (humanoidRootPart.Position - targetPos).Unit
local goalPosition = targetPos + direction * 10
local goalCFrame = CFrame.new(goalPosition, targetPos)
local distance = (humanoidRootPart.Position - goalPosition).Magnitude
local speed = 350 -- Velocidade de 350 unidades por segundo
local tweenTime = distance / speed
local tweenInfo = TweenInfo.new(tweenTime, Enum.EasingStyle.Linear)
local tween = tweenService:Create(humanoidRootPart, tweenInfo, {CFrame = goalCFrame})
humanoidRootPart.Anchored = false -- Garantir que não está ancorado durante o movimento
tween:Play()
tween.Completed:Wait()
end)
end
end
-- Criar a GUI ao iniciar
createToggleGUI()
spawn(function()
while true do
if not isScriptEnabled then
humanoidRootPart.Anchored = false
task.wait(0.1)
continue
end
local enemies = workspace:FindFirstChild("Enemies")
if enemies then
for _, enemy in ipairs(enemies:GetChildren()) do
addGiganticHitbox(enemy)
end
end
local target = getNearestEnemy()
if target and target.Parent and target:FindFirstChild("HumanoidRootPart") then
while target and target.Parent and target:FindFirstChild("HumanoidRootPart") and isScriptEnabled do
moveToEnemyWithTween(target)
-- Ajustar câmera para o inimigo (aimbot)
aimAtEnemy(target)
local success, distance = pcall(function()
return (target.HumanoidRootPart.Position - humanoidRootPart.Position).Magnitude
end)
if success and distance <= 11 then
simulateLMB()
simulateAllKeys()
end
task.wait(0.1)
end
else
task.wait(1)
end
end
end)
How to use scripts?
Follow the steps to execute The Noob Experiment Battlefront scripts in the game easily.
- Download a Script Executor – I only recommend MacSploit, AWP.GG, Delta, Fluxus, or Codex.
- Attach the Executor – Connect the tool to the game process.
- Paste the Script – Load and execute the Lua script inside the game.
- Activate Features – Tap the execute icon to use the injected script for custom actions.
Game Details:
- Name: The Noob Experiment Battlefront
- Developer: The Noob Experiment Battlers
- Maturity: Mild
- Genre: Action
- Subgenre: Battlegrounds & Fighting
Check out our roblox scripts hub for more.