KellanTK

Systems

Server-checked Luau for every loop: movement, stealing, hatching, saving and the shop.

Movement

  • Gun-flip controller: avatar to gun with no dropped frameGun Flip For Egg
  • PC, phone, tablet and console inputGun Flip For Egg

Core loop

  • Base stealing and locks, checked on the serverGun Flip For Egg, ASMR
  • Guardian chase with a safe-zone flashGun Flip For Egg, ASMR
  • Hatching, mutations and fusionGun Flip For Egg
  • A 22-zone corridor with speed signs per zoneGun Flip For Egg

Retention

  • Daily rewards, playtime gifts, 30-minute eventsGun Flip For Egg
  • A seven-step tutorial: arrow, one line, a counterASMR
  • Saving, global leaderboards, a timed night cycleGun Flip For Egg

Live ops

  • Game passes, dev products, rewarded adsGun Flip For Egg
  • Admin panel and server-wide announcementsGun Flip For Egg, ASMR

Real code from a live game

Two pieces of Gun Flip For Egg, trimmed for length. The server decides every steal (distance, locks, cooldowns), and rarity rolls are typed, data-driven and luck-aware.

BaseStealService.luau
onSteal = function(thief: Player, base: Model, vis: Model)
    local owner = ownerOf(base)
    if not owner or thief == owner or locked(base) or thief:GetAttribute("Flipping") == true or Eggs.IsCarrying(thief) then
        return
    end
    local ch = thief.Character
    local hrp = ch and ch:FindFirstChild("HumanoidRootPart") :: BasePart?
    local hum = ch and ch:FindFirstChildOfClass("Humanoid")
    if not hrp or not hum or hum.Health <= 0 or (hrp.Position - vis:GetPivot().Position).Magnitude > 14 then
        return
    end
    local key = thief.UserId .. ":" .. owner.UserId
    if (rerob[key] or 0) > os.clock() then
        Inventory.Notify(thief, "You just raided this base! Try again in " .. math.ceil(rerob[key] - os.clock()) .. "s.", "FFD23A")
        return
    end
    -- … then the egg moves to the thief and the owner's alarm fires