Last Tested: October 2026 | Two real scripts here, and neither one needs a key.
In Command An Army you lead a squad of soldiers in big team battles. One side attacks and the other side defends. Matches and daily quests pay you in gems, and gems buy summons for better troops. A 4-star troop can take up to 400 summons, so the grind gets slow.
That is why people come looking for a script. The two below join matches and send your troops in for you. Neither one needs a key, and you can read every line.
Command An Army AFK Farm Script
Script 1 KEYLESSCAA AFK FARM
Auto Join MatchAuto Join TeamAuto Attack OrderAnti AFK
loadstring(game:HttpGet("https://pastebin.com/raw/YRq49iu4"))()
Select all the text above, copy it, then paste it into your executor.
Command An Army Auto Team Join Script
Script 2 KEYLESSAUTO TEAM JOIN
Pick Attackers or DefendersPick Troop SlotAuto Spawn TroopsSpeed SliderHide Menu With K
loadstring(game:HttpGet("https://raw.githubusercontent.com/Toru67/rblx/refs/heads/main/script"))()
Select all the text above, copy it, then paste it into your executor.
The AFK Farm script has one button. It joins the match that is going on, picks a team, and then tells your troops to attack again and again. It also stops the game from kicking you for standing still.
The Auto Team Join script is for full servers. Pick Attackers or Defenders and a troop slot from 1 to 3. It keeps asking to join that team until a spot opens, then spawns your troops. Press K to hide the menu.
The Game Has Its Own AFK Server
Before you run a script, try the free option. Command An Army has an AFK Server. Use the AFK pedestal in the lobby or the button on the left of your screen. The game then sends you to a quiet server made for farming gems.
Every 2 minutes you get a roll. Most rolls give 20 gems, and a few give 100, 250 or even 500. On average that works out to about 28 gems a roll, or 840 gems an hour. That is enough for 16 summons, and it can never get you banned.
So when is a script worth it?
The AFK Server only gives gems and, once in a while, a skill crystal. A script plays real matches for you instead. Pick the AFK Server if gems are all you want.
Why the Rest Do Not Make the Cut
Sixteen different scripts claim to work on this game right now. Five sit behind a key wall. Three are scrambled on purpose, so nobody can read what they do. Three more load from sites we do not trust.
That leaves three odd ones. One points to a site that has shut down. One shows two menus, but the buttons only change their own label and do nothing in the game. The last one is not a script at all. It is a “free bot” you have to download.
A real script is never a download
A script is just a line of text you paste into an executor. Some pages offer a Command An Army hack or bot as a file to download. Do not download or open those files. If a page asks you to, close it.
What that leaves you with
Two scripts you can read line by line. Neither one needs a key, and neither one sends anything out of the game.
How to Use a Command An Army Script
2
Open the game and finish the tutorial first.
3
Copy one loadstring above. Take all of it, right to the last bracket.
4
Paste it into the executor and press Execute.
5
No key box will show up. A small menu opens. Press its start button.
6
Use a spare alt account rather than your main. Getting caught can end in a ban.

About Command An Army
Command An Army is a free team battle game from Fight, Fight, Fight!, a group with about 1.1 million members. Up to 12 players join a server. You pick a class, lead your troops and try to take or hold the capture points.
It came out in June 2026 and has passed 55 million visits. About 38,000 people play at once, and 95 percent of the votes are a thumbs up. The newest update added Mongol troops.
The Command An Army wiki lists every troop, map and rank. The Command An Army codes page has free gems and skill crystals.
The addresses on this page were checked in October 2026 and each returned a file. We do not run them on a live account. They are not made or backed by the game’s studio. Using them breaks the Roblox Terms of Service and can cost you the account, so use a spare one rather than your main.