Critter Heist

Code public on GitHub
  • Luau
  • Roblox
View source ↗

Collect critters across six zones, earn from the ones you keep, protect your base and attempt a heist on another player. This eight-player Roblox project is in development, and the public code is a curated snapshot of its server systems.

216species and mutation combinations
Illustration of a critter between two player bases, one protected by a shield
Concept illustration of collection, bases and protection. It is not a Roblox gameplay screenshot.

Collect, protect, take a chance

The collection spans 36 species and six mutations. Critters bring passive income, while zones, upgrades and timed events give players reasons to venture out. A rival can try to carry one away, but shields, distance and cooldowns decide whether the attempt is allowed.

The most interesting engineering problem begins after a successful theft. Ownership has to move between two saved player profiles exactly once, even if a server stops halfway through. Transfer records and receipts let the game recover without duplicating or losing the critter.

CollectDefendHeist

Under the hood

  1. The server decides every action that matters. Distance, cooldowns, shields and transfer state are checked on the server before any reward or change of ownership.
  2. Profiles are saved through UpdateAsync with bounded retries and backoff, and session leases stop two servers from writing the same profile.
  3. A theft writes an outgoing transfer record and a receipt for the recipient, so a crash halfway through recovers without losing or duplicating the creature.
  4. The tested snapshot passed 27 of 27 eight-player checks and 17 of 17 synthetic checks, including 100,000-roll distribution tests across all 216 creature variants.
Code on GitHub ↗

In development. The public repo is a technical snapshot, with no playable experience link.