FFORGE

Tutorial · 9 min read · Updated November 2026

How to make a Roblox clicker game with AI, step by step

A clicker is the simplest loop on Roblox and the easiest to get wrong: a number goes up, upgrades make it go up faster, a rebirth resets it for a permanent multiplier. The whole game is tuning. This is the six-message sequence that builds one inside your own Studio with every number owned by the server, written for Forge and usable with any agent that can act in Studio.

Before you start

Message 1: the tap loop

Build a clicker: a large tap button on the HUD (mouse, touch and gamepad A) that fires a
Click remote at most 10 times a second. The server rate-limits, adds ClickPower from
PlayerData to leaderstats Clicks, and never trusts an amount from the client. Format numbers
with K, M, B, T suffixes, count the counter up with a tween, squash the button on press, play
a click sound with slight pitch variation, show a +N pop. Playtest, click 20 times, screenshot.

What to check: the counter counts up smoothly, the +N pops do not pile up (the juice budget caps them), and the console is clean. If the number is being added in a LocalScript, say "move the click value to the server" and continue. The prompt page for this step is Clicker core loop.

Message 2: upgrades

Add 10 upgrades in ReplicatedStorage.Config.Upgrades: five raise ClickPower, four add
Clicks per second (auto), one multiplies everything by 2 at level 1 only. Costs grow 1.15x
per level with a max level each. An Upgrades panel from the ForgeUI library shows level,
next cost and a Buy button; the server validates on BuyUpgrade. Show "Next: <cheapest
upgrade> 18/25" on the HUD bound to live values. Playtest, buy three upgrades, screenshot.

The catalog is one module read by both the UI and the server, so prices cannot drift. Geometric growth of 1.15 per level is the number that keeps small upgrades landing every few seconds early on; big tiers go up to 1.6. The first upgrade should be affordable after about five taps.

Message 3: rebirth and token shop

Add rebirth: cost = 10,000 x (1 + rebirths) ^ 1.5 Clicks. On rebirth the server resets Clicks
and upgrade levels, keeps passes and the token shop, adds 1 to a Rebirths leaderstat, grants
tokens equal to the rebirth number, and sets a permanent multiplier of 1 + 0.25 x rebirths.
A Rebirth screen previews the new multiplier and confirms in two steps. A Token shop sells
Auto Click (5 tokens), +10% per level (3 tokens, max 10) and a Pet slot (8). Playtest,
rebirth once, screenshot.

Target the first rebirth at five to eight minutes of play. If your playtest takes longer, lower the base cost. The reset, the grant and the save happen in one server function, so a disconnect mid-rebirth cannot leave a player with the multiplier and their old clicks.

Message 4: the auto-click pass

Add an Auto Click game pass (placeholder id in Config.Products with a TODO) that clicks
4 times a second server-side while the player is in the game. Check UserOwnsGamePassAsync
on join in a pcall, handle PromptGamePassPurchaseFinished so it applies immediately, show
OWNED on the HUD, and offer it as a soft card the first time a player hits 500 Clicks,
never in the first 2 minutes. Playtest with a Studio test purchase.

Auto-click is the best-selling pass in clicker games because it removes grind; Forge's game pass playbook prices it at 149 to 299 Robux. You create the pass on the Creator Dashboard and paste the id; the agent cannot do that for you. There is also a free path to auto-click through the token shop, which keeps reviews from calling it pay-to-win.

Message 5: saving

Add saving with ProfileStore (insert it from the Creator Store if missing): one module
ServerScriptService.Modules.PlayerData owns every read and write, with a template for Clicks,
ClickPower, Upgrades, Rebirths, Tokens and PurchaseIdCache, session locking, Reconcile, and
Store.Mock in Studio. Test: earn clicks, stop the playtest, start again, confirm they are back.

Turn on Game Settings ▸ Security ▸ Enable Studio Access to API Services or nothing persists. Session locking is what stops two servers from both saving a copy of the same player and duplicating tokens. If you already have a saving module, Forge keeps it and matches its API instead of adding a second one.

Message 6: mobile HUD and the first minute

Make the HUD scale-based with CoreUISafeInsets, keep the tap button out of the thumbstick
and jump zones on phones, 44 px minimum targets, gamepad selectable. Rotate the spawn to face
the tap button, add a beam to the first upgrade, and make sure the first upgrade is affordable
within 60 seconds from a fresh character. Check on the iPhone and console presets and
screenshot both.

Forge playtests on the phone and console presets before it says done. The onboarding targets from its playbook: first reward within 30 seconds, first upgrade within a minute, no purchase prompt before minute two.

What it costs

On Sonnet 5.5 this sequence runs about 1,500 to 4,000 credits ($15 to $40), depending on how many fixes the playtests catch. The $25 pack covers a lean run. A single step is 20 to 150 credits and a system like the upgrades panel 100 to 600; full ranges are on the pricing page.

Publishing checklist

  1. Create the Auto Click pass on the Creator Dashboard and paste the id into Config.Products.
  2. Playtest with Test ▸ Clients and Servers and buy the pass with the test purchase flow.
  3. Set the genre, write a description with "clicker" in the first sentence, make an icon readable at 150×150.
  4. Add a launch code (Forge's codes prompt) and publish private first, then public.

Questions

What is the difference between a clicker and an idle game?

A clicker pays per tap and the upgrades make taps worth more; an idle game pays per second whether you tap or not and adds offline earnings. Most Roblox hits are a blend: a tap loop early, auto-click and per-second generators later. Forge's idle guide covers the offline side.

Can an autoclicker cheat my game?

Not for more than a fast human can earn. The server caps clicks per second and drops extras, and the click value comes from the player's server-side data, never from the client.

How much does a clicker cost to build with AI?

The six messages below run about 1,500 to 4,000 credits ($15 to $40) on Sonnet 5.5, in the same range as an obby. Each message shows its price before you send it.

Do I need my own models or art?

No. The tap button and HUD come from Forge's UI library in the style you pick, the sounds from the Creator Store, and effects from ForgeFX. Add your own logo later with a decal id.

Related guides

Run this sequence in Forge. Sign in with Roblox, pair your Studio, paste Message 1. Trial credits, no card. Build Message 1 in Forge →