Project 03 · Solo developer · 2020 – 2023
MMORPG
A multiplayer action RPG on Roblox that I started in high school and built completely alone: the server code, the save system, the combat, the enemies, the map, and the weapons and animations.
Built on Roblox in Luau. Two open-source pieces: ProfileService for session-locked saves and buildthomas's rain effect. Everything else is mine.

Counts come from the game file itself, excluding Roblox's built-in scripts, the two libraries above and duplicate copies.
Saves that can't be duplicated
The classic way to break an RPG is to open it on two servers at once and trade an item to yourself. Each player's save is locked to one server: if it opens somewhere else, the first server releases it and the player is moved, so progress can never fork.
- The save template is reconciled on every load, so new fields reach old players without a migration.
- It also logs log-in count and total play time.
- Saving is blocked until the profile has fully loaded (CanSave), so a slow load can't overwrite real progress with zeros.
local function PlayerAdded(player) local profile = GameProfileStore:LoadProfileAsync(tostring(player.UserId)) if profile then profile:AddUserId(player.UserId) -- GDPR compliance profile:Reconcile() -- fill in fields added since profile:ListenToRelease(function() Profiles[player] = nil -- the profile was loaded on another server: player:Kick("Profile is already loaded on another Server.") end) if player:IsDescendantOf(Players) then OnPostProfileLoad(player, profile) Profiles[player] = profile else profile:Release() -- left before it finished loading end else player:Kick("Failed to Load Data") end end
Real-time melee combat
Four weapons, each with its own animations, effects and finishers, plus movement built for fighting: dash, double jump, sprint and a stamina bar that grows with your level.
What's in a fight
- Fists, Katana, Buster Sword, Cursed Flame Katana, each with a 3-hit combo and its own knockback.
- A charged punch that ragdolls the target: the body's joints are swapped for ball-socket physics for 4 seconds, then restored.
- Ultimates: a ground shockwave with a ring of rocks, and a "dark matter" charge that builds while held.
- Hit reactions: a target flinches when one hit takes more than 10% of its remaining health; blocked sword hits spark and clang.
- Kill credit tags the last attacker, who gets the XP, cash and kill count.
Blocking that rewards timing
A fresh block stops 90% of the damage, then weakens by 5% every 0.2 s you keep holding it, bottoming out at 40% after two seconds. Turtling stops working, so well-timed blocks matter.
Five enemies, one curve
Players and enemies share one health formula, so a level means the same thing on both sides. Level-ups pay cash, heal 30% of missing health and raise max health and stamina; leftover XP rolls into the next level.
max health = ⌊(25 · level)1.1⌋ + 150 · XP to next level = 25 · (level + 1)
How an enemy thinks
Every 0.1 s each enemy looks for the nearest player within 30 studs. It equips its weapon and closes in, faces the player and swings when within 7, then waits out a 1.3 s cooldown. Out of range, it sheathes the weapon and stands down.
Spawner folders in the map decide where each type appears. When one dies it drops XP and cash, and the same spawner brings it back 60 s later.

A world that keeps moving
Quests
Quests are plain data: a title, a target enemy, how many to defeat, and the XP and cash reward. Taking one at the quest board marks those enemies with trackers, and progress is saved, so a quest survives leaving and rejoining.
Shop & inventory
Weapons are data too (price and damage), bought from a shop UI and shown in the inventory with live 3D previews of the item and your character.

Day, night & storms
A full day lasts 37.5 minutes. Brightness, ambient light and shadow softness follow cosine curves, and the sky tint blends through a 24-hour color table, which gives the gold dawns and dusks in the strip below.
Storms roll in on their own: about a 1-in-200 chance every 5 s, a minute of clouds thickening, around six minutes of rain, then at least a 5-minute break.
Built piece by piece
No asset packs for the world: 87 custom meshes, 845 solid-modeled unions and 58 animations, from the weapons to the map itself. (The Thug enemies wear stand-in avatars.)




What I'd do differently
Rereading this code years later is the clearest picture of how I've grown as an engineer.
Never trust the client with numbers
The client told the server how much damage a hit did, so a cheater could edit it. Today the server would compute every hit. It's the same rule I now build Ora on: the AI suggests, deterministic code decides.
Events over polling
Quest tracking scanned enemy folders in loops. Now I'd fire an event when an enemy dies and let the quest system listen, which is less work for the server and has fewer edge cases.
One module, not 46 copies
Each enemy carried its own copy of its scripts, 46 duplicates in all. A shared module would have made every fix a one-line change instead of a hunt.
Try it yourself
The game is still live on Roblox.
Play on Roblox