28.6k Views
193 Executions
Auto Unit, Upgrade and Surrender
The Battle Bricks
HeiwaijigunFirst script
3 years ago
Please login to perform these actions:Auto Unit, Upgrade and Surrender is a The Battle Bricks script for Roblox, uploaded to ScriptBlox on Apr 18, 2024.
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Toggleable auto upgrade and deploy unit one tap give up button
Updates
Script edited: Update script
Script edited: Update script
Script edited: Create script
-- Services
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local screenGui = Instance.new("ScreenGui", player.PlayerGui)
-- Unit Toggle
local unitButton = Instance.new("TextButton", screenGui)
unitButton.Size = UDim2.new(0, 100, 0, 50)
unitButton.Position = UDim2.new(1, -110, 0, 50)
unitButton.Text = "Unit"
unitButton.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
local unitRunning = false
unitButton.MouseButton1Click:Connect(function()
unitRunning = not unitRunning
if unitRunning then
unitButton.Text = "Unit (On)"
else
unitButton.Text = "Unit (Off)"
end
end)
-- Bank Toggle
local bankButton = Instance.new("TextButton", screenGui)
bankButton.Size = UDim2.new(0, 100, 0, 50)
bankButton.Position = UDim2.new(1, -110, 0, 110)
bankButton.Text = "Bank"
bankButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
local bankRunning = false
bankButton.MouseButton1Click:Connect(function()
bankRunning = not bankRunning
if bankRunning then
bankButton.Text = "Bank (On)"
else
bankButton.Text = "Bank (Off)"
end



Isn’t working because it stops auto deploying units
Either way DO NOT EXECUTE THIS SCRIPT IF YOU USE IGNITION/DETONATOR
auto deploy units will come soon
you should add an option to auto replay levels and to use the cannon aside from that this script is goated
where do i find autoexec
Do i just press direct script and then play?
Probably intentional