The Battle Bricks
28.6k Views
193 Executions

Auto Unit, Upgrade and Surrender

The Battle Bricks
Heiwaijigun
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 yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Toggleable auto upgrade and deploy unit one tap give up button

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Create script

View Raw
-- 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


Comments

11
Log in to join the conversation. Login
C00lkidalt's profile picture
C00lkidalt1 year ago

Isn’t working because it stops auto deploying units

2
Nashirjamaludin14's profile picture
Nashirjamaludin142 years ago(edited)

Either way DO NOT EXECUTE THIS SCRIPT IF YOU USE IGNITION/DETONATOR

2
Heiwaijigun's profile picture
HeiwaijigunUploader3 years ago(edited)

auto deploy units will come soon

2
jack09nolan's profile picture
jack09nolan2 years ago(edited)

you should add an option to auto replay levels and to use the cannon aside from that this script is goated

1
margaritatelan70's profile picture
margaritatelan702 years ago(edited)

where do i find autoexec

1
bariqzachary's profile picture
bariqzachary2 years ago(edited)

Do i just press direct script and then play?

1
Nashirjamaludin14's profile picture
Nashirjamaludin142 years ago(edited)

Probably intentional

1

More The Battle Bricks scripts

See all
The Battle Bricks
50.8k
442
2 years ago
The Battle Bricks
39.9k
206
2 years ago
The Battle Bricks
22.5k
329
Bumped 11 months ago
Key System
The Battle Bricks
1.1k
1.6k
Bumped 1 day ago
The Battle Bricks
1.4k
1.7k
Bumped 2 weeks ago
The Battle Bricks
1.1k
1.6k
3 weeks ago