Architecture & Challenge
Commissioned to build a polished pet-collecting loop with clean UI responsiveness and fair RNG compliance. Features multi-egg opening, auto-delete rarity filters, rainbow machine crafting, and cross-server auction booths.
Compliance First
Paid random items on Roblox fall under regional gambling regulations. We integrated PolicyService:GetPolicyInfoForPlayerAsync so paid egg mechanics auto-disable in restricted regions. Every purchase path is idempotent — no double grants, no lost Robux.
Engineering Highlights
- Implemented PolicyService compliance checks for paid random egg mechanics worldwide.
- Built 60 FPS spring-physics pet follower grid supporting up to 12 equipped companions.
- Added search, rarity sort, and mass-delete controls inside a lag-free scrolling inventory.
Luau Implementation Excerpt
ReplicatedStorage/Shared/PetMath.luau
Luau
local PetMath = {}
local tierBonus = if tier == "Rainbow" then 3.5 elseif tier == "Gold" then 2.0 else 1.0
return tierBonus * (1 + (level - 1) * 0.15)
end
return PetMath
Environment Gallery
Need a Custom Luau Engineering Scope?
Combine scripting, DataStore migration, and UI design into a single milestone sprint tailored to your release date.