§ How to · build with AI
How to make a Roblox game with AI
65 step-by-step guides for the systems Picoo ships in one prompt. Combat, tycoon, obby, pet system, FPS, simulator, boss fight, shop, DataStore, anti-exploit, leaderboard, daily rewards and more.
How to generate terrain and maps in Roblox
Almost every procedural Roblox terrain that comes out flat and blocky was built with the wrong API.
2 files · 185 lines · varies
weather system in Roblox
The obvious way to make rain — a huge emitter covering the map — is also the most expensive way, and it still misses the player half the time.
2 files · 190 lines · varies
ragdoll in Roblox
A ragdoll that keeps standing up is not a physics problem — the Humanoid is still trying to hold the character upright.
2 files · 145 lines · varies
particle effects in Roblox
Particles are the cheapest way to make a Roblox game look expensive, and the fastest way to make it run badly.
2 files · 175 lines · varies
character customization in Roblox
Roblox already has an API that applies an entire look in one call — most customization code is a hand-rolled version of it that handles fewer cases.
2 files · 190 lines · varies
rarity and luck system in Roblox
Rarity is the one system where a subtle bug is invisible — the wrong roll still returns an item, it just returns the wrong one slightly too often.
4 files · 1059 lines · one recipe call
teams and team spawns in Roblox
Roblox teams are linked to spawns by colour, which is elegant right up until two teams share a colour and players start spawning in the wrong base.
2 files · 165 lines · varies
an egg hatching system in Roblox
The suspense animation is the product, but the result must be decided before it starts — otherwise a disconnect at the wrong second costs a player a legendary.
2 files · 200 lines · varies
badges and achievements in Roblox
Badges are the one progression feature Roblox hosts for you — and the one where a naive loop gets you rate limited within a minute.
2 files · 180 lines · varies
notification system in Roblox
The moment two things happen at once, an unqueued notification system draws both in the same place and you lose one of them.
2 files · 150 lines · varies
clicker game in Roblox
A clicker game is a loop: earn currency, spend it on upgrades that earn faster, and rebirth for a permanent multiplier once the upgrades run out.
17 files · 5513 lines · one recipe call
main menu and loading screen in Roblox
A Roblox main menu is a ScreenGui with a title, a few buttons and a script that gives each button a job.
2 files · 38 lines · one recipe call
sprint and stamina in Roblox
Sprint is the one mechanic where the exploit and the feature are literally the same line of code.
2 files · 180 lines · varies
health bar in Roblox
A health bar reads the player's Humanoid, sizes a fill from Health divided by MaxHealth, and has to keep working after the player dies.
1 files · 210 lines · one recipe call
rebirth system in Roblox
Rebirth is a player voluntarily deleting their progress, which means it only works if they are certain what comes back.
2 files · 195 lines · varies
door system in Roblox
A door is the smallest interactive object in a game and the one most likely to end up half-open on someone else's screen.
2 files · 140 lines · varies
How to customise chat in Roblox (TextChatService)
Most Roblox chat tutorials you will find describe a system that no longer runs.
2 files · 160 lines · varies
damage system in Roblox
Two lines of Luau reduce a player's health, and they are not interchangeable — one honours spawn protection and one walks straight through it.
2 files · 175 lines · varies
How to set up lighting and atmosphere in Roblox
Lighting is the cheapest thing you can change that makes a Roblox game stop looking like a Roblox game.
1 files · 62 lines · one recipe call
custom camera in Roblox
A custom camera that snaps back to default every frame is not broken code — it is the default camera script still doing its job.
1 files · 135 lines · one recipe call
wave spawner in Roblox
Wave systems fail in two ways: the curve outruns the players a few waves in, or a single stuck enemy freezes the round forever.
3 files · 282 lines · one recipe call
coin system in Roblox
Currency is the first thing an exploiter goes for, and the client-side pickup is how they get it.
2 files · 150 lines · varies
lobby in Roblox Studio
Ask Picoo to make a lobby and it builds a hub world: a fountain plaza where players spawn, paths out to named zones, a plot for every player and pads that move them around.
12 files · 3209 lines · one recipe call
How to teleport players in Roblox
Two completely different things are called teleporting in Roblox, and using the wrong one is why players end up stuck, split up, or missing their data.
4 files · 1008 lines · one recipe call
How to animate in Roblox Studio (and what code cannot do)
No script can create a Roblox keyframe animation.
1 files · 112 lines · one recipe call
How to add sound and music in Roblox Studio
Where you parent a Sound decides whether it is 3D, global, or silent — and that is the whole bug for most "my sound doesn't work" reports.
4 files · 240 lines · one recipe call
drivable car in Roblox Studio
Almost every "Roblox car" tutorial ends the same way: the model looks right, you sit in it, and it does not move.
2 files · 123 lines · one recipe call
gun in Roblox Studio
A gun is where client trust becomes free kills: if the client reports the hit, the client decides who dies.
5 files · 144 lines · one recipe call
cooldown system in Roblox
A cooldown is the cheapest anti-exploit in Roblox and the one most often written where it cannot work: on the client.
5 files · 419 lines · one recipe call
an admin panel in Roblox Studio
An admin panel is the one system where a tutorial that looks right can hand every exploiter in your server a ban button.
3 files · 390 lines · one recipe call
an ability system with cooldowns in Roblox
Abilities are easy to fake and hard to trust: the hotbar is the visible part, but the cooldown is the part players will try to break.
5 files · 419 lines · one recipe call
Roblox combat system
A Roblox combat system needs the server to own every hit: cooldowns, stamina, the hitbox and the damage.
5 files · 1181 lines · one recipe call
Roblox sword fighting game
A Roblox sword-fighting game lives or dies on game-feel: a snappy M1 combo, a heavy attack, a block, a parry window that rewards timing, and a dash with invincibility frames.
5 files · 1181 lines · one recipe call
Roblox katana combat system (anime style)
Anime combat games — Demon Slayer-style katana fighters especially — need two things working together: a katana that actually equips in the player's hand and glows, and a combo/block/parry/dash system that feels sharp.
8 files · 1356 lines · two recipe calls
Roblox tycoon
A Roblox tycoon needs a lot of systems wired together: plots players can claim, droppers and conveyor belts, a collector that pays out, buy pads with an unlock order, rebirth, and saves that survive a server restart.
19 files · 5513 lines · one recipe call
Roblox obby
An obby is 95% geometry, which is why it fails in a way scripts do not: it looks finished and cannot be completed.
5 files · 1166 lines · one recipe call
Roblox pet system
A Roblox pet system rests on four server-side parts: a list of pets, a record of who owns which, an equip step the client cannot cheat, and a pet that follows without shoving anyone.
6 files · 1165 lines · one recipe call
Roblox FPS
A Roblox FPS needs five wired-up systems: server-authoritative hit detection, ammo + reload, weapon switching, recoil pattern, and aim down sights.
14 files · 420 lines · varies
Roblox simulator
A Roblox simulator runs on one loop: collect, earn, upgrade, rebirth, repeat.
5 files · 1158 lines · one recipe call
Roblox boss fight
A Roblox boss needs a body that holds together, a health bar players can read, a way to find and chase them, a reason to keep their distance, and a death worth watching.
1 files · 199 lines · one recipe call
Roblox shop system
A Roblox shop needs a way to open it, a window that lists what is for sale, a purchase the server checks, and an inventory that survives a rejoin.
8 files · 1259 lines · one recipe call
How to use Roblox DataStore the right way
The usual ways a Roblox game loses progress are a DataStore call with no pcall around it, a failed save that is never retried, a server that shuts down before the last save, and a game that only saves when the player leaves.
1 files · 155 lines · one recipe call
How to prevent exploits in Roblox
Roblox exploits almost always trace to client-trusted state: client-written damage, client-written currency, client-written ammo.
4 files · 160 lines · varies
Roblox leaderboard
A cross-server Roblox leaderboard needs three wired-up parts: an OrderedDataStore that ranks every player's score, a loop that publishes and reads it without burning the DataStore budget, and a board in the world that shows the top N.
2 files · 186 lines · one recipe call
Roblox daily rewards
A Roblox daily-rewards system needs three wired-up parts: a streak counter, a per-day reward table, and a save flow.
5 files · 170 lines · varies
Roblox sword fighting game
Every Roblox sword fighting game starts with the sword: a Tool that sits in the hand, a swing that plays an animation, and damage the server decides.
5 files · 139 lines · one recipe call
Roblox respawn system
A Roblox respawn system needs four pieces: death detection, a cooldown timer, spawn point selection, and a respawn UI.
4 files · 130 lines · varies
Roblox trading system
A Roblox trading system needs five pieces: a two-party UI, item slots, a lock-in confirmation, scam prevention, and careful DataStore writes.
8 files · 280 lines · varies
Roblox quest system
A Roblox quest system needs four pieces: quest definitions, progress the server tracks, a quest log where players accept and claim, and saves that survive a rejoin.
9 files · 1219 lines · one recipe call
Roblox dialogue system
A Roblox dialogue system needs four pieces: a dialogue tree, a way to start talking, reply choices, and a panel that shows each line.
8 files · 237 lines · one recipe call
Roblox inventory system
A Roblox inventory system needs four pieces: shared item definitions, stacking, actions the server checks, and saves.
9 files · 1256 lines · one recipe call
Roblox killfeed
A Roblox killfeed needs four pieces: a record of who dealt the killing blow, a corner notification UI, kill streak escalation, and weapon and team icons.
3 files · 110 lines · varies
Roblox checkpoint system
A Roblox checkpoint system needs four pieces: touch-activated checkpoints, RespawnLocation updates, progress UI, and persistent save state.
4 files · 130 lines · varies
Roblox vehicle system
A Roblox vehicle needs three pieces: a VehicleSeat that reads throttle and steer, a body welded into one assembly, and a drive loop that moves it.
2 files · 125 lines · one recipe call
Roblox currency system
A Roblox currency system needs five pieces: multiple currency types, safe add and spend operations, server-owned balances, leaderstats integration, and DataStore persistence.
4 files · 165 lines · varies
Roblox tower defense game
A Roblox tower defense game needs five pieces: tower placement, wave spawner, enemy pathing, currency drops on kill, and an upgrade UI.
11 files · 390 lines · varies
Roblox pathfinding NPC
A Roblox pathfinding NPC needs five pieces: PathfindingService waypoint generation, a state machine (idle/chase/attack), obstacle handling, stuck detection, and animation hooks.
5 files · 156 lines · varies
Roblox bow and arrow
A Roblox bow and arrow needs five pieces: draw-back charge, projectile physics with gravity, damage with falloff, headshot detection, and arrow recovery.
6 files · 190 lines · varies
Roblox magic spell system
A Roblox spell system needs spells bound to keys, a resource that limits casting, per-spell cooldowns, hits the server decides, and a hotbar that shows all of it.
7 files · 422 lines · one recipe call
Roblox day night cycle
A Roblox day night cycle needs four pieces: time of day progression, sun and moon transition, atmospheric color shifts, and event triggers (e.
3 files · 90 lines · varies
Roblox gamepass system
A Roblox gamepass system needs four pieces: an ownership check, perk delivery on character spawn, a purchase hook for instant grants, and a UI that shows which passes a player owns.
4 files · 130 lines · varies
Roblox matchmaking system
A Roblox matchmaking system needs five pieces: queue management, room creation, skill-based matching (MMR), TeleportService routing, and a queue UI.
7 files · 280 lines · varies
Roblox emote system
A Roblox emote system needs four pieces: a radial wheel UI, animation triggering, owned emote tracking, and unlock progression.
4 files · 130 lines · varies
Roblox fishing game
A Roblox fishing game needs five pieces: cast mechanics, bite RNG, a reel mini-game, rarity tiers, and inventory integration.
6 files · 220 lines · varies
Roblox mining game
A Roblox mining game needs five pieces: ore nodes, pickaxe damage, ore rarity tiers, respawn timers, and a smelting and selling flow.
7 files · 222 lines · varies