Getting started

Make collectible coins in Roblox with BloxBot

October 6, 2026


Let's make something you can play right away: walk into a coin, watch it disappear, and see your count go up by one. This small project teaches the basic loop behind pickups in Roblox games. You can ask BloxBot to build it, then check the result yourself in Studio.

Before you start

Open a new Baseplate place in Roblox Studio and connect BloxBot. If you have not connected the two yet, use the BloxBot setup guide. Keep this first version simple: coins will reset when a play session ends. Saving them for a later visit is a separate feature.

1. Ask BloxBot to build the coin pickup

Paste this into BloxBot while your Baseplate place is open:

In my open Roblox Studio place, create a folder named Coins in Workspace and put three visible gold coin Parts near the spawn. Make them anchored, non-colliding, and touchable. Add a Coins counter that starts at 0 and appears in each player's built-in leaderboard. When a player touches an available coin, add exactly 1 to only that player's counter, hide that coin for 10 seconds, then show it again. Prevent the same touch from awarding the coin twice. Put the pickup and scoring logic on the server. Do not add saving, shops, or extra UI. Tell me which objects and scripts you created.

The Roblox coin collection tutorial uses Part.Touched, player lookup, and a temporary disabled state for each coin. Roblox's leaderboard guide explains the exact leaderstats folder name and the number value that Studio displays. The prompt asks for those behaviors without making you write the Luau first.

2. Play the result

  1. In Studio, press Play or F5. Find the counter in the player list. It should start at 0.
  2. Walk into one coin. It should disappear and your counter should become 1.
  3. Stay where it was. The count should remain 1, not jump upward from repeated touches.
  4. Wait 10 seconds. The coin should reappear. Touch it again and check that your count becomes 2.

For a stronger check, use Studio's Server & Clients test with two players. Collect a coin as player one and confirm player two's counter stays at 0. That catches a common mistake where a script updates everyone's score.

3. Fix one thing at a time

Give BloxBot the result you saw, not just “it is broken.” For example: “One touch of the left coin took my count from 0 to 3. Fix the repeated award, then test it again.” If you want to turn this into a larger game, add the coins to the course in our beginner obby tutorial after this pickup works.

Sources


Back to the guide