Zedox Development
FreeScripts

Codes Kit: Promo Rewards

Promo codes with one-time rewards, expiry dates, saved redemptions and a panel that works on phones.

The Redeem a code panel after a code was claimed1 / 3
The Redeem a code panel after a code was claimed
  • The Redeem a code panel after a code was claimed
  • Codes panel in game: a code typed in and the reward claimed
  • The same code a second time: the panel says it was already used

What it does

Add promo codes to your game. A player opens the codes panel, types a code like WELCOME and gets the reward. Each player can use each code once, a code can expire on a date you pick, and capitals or extra spaces don't matter.

You decide what a code gives. The kit calls your OnRedeem function and only marks the code as used when your function returns true, so a reward that fails never burns the code. The server checks every request and slows down players who keep guessing.

Used codes are saved per player in a DataStore. With Studio API access off it keeps them in memory and prints one warning, so you can test right away. If you use our Safe Save module, the README shows how to keep used codes inside that profile instead.

Setup

  1. Move the server, shared and client folders to the services named in the README.
  2. Replace the sample entries in Config with your codes and reward names.
  3. Register CodesKit.OnRedeem in a server script and return true after granting the reward.
  4. Enable Studio API access when testing persistent redemptions.

What is included

  • CodesKit server API with OnRedeem, SetStorage and Start
  • Pure Core module for matching, expiry, used-once rules and rate limiting
  • Config module with sample codes and documented settings
  • Code-built mouse, touch and gamepad UI with no image ids
  • One server-controlled RemoteFunction
  • DataStore persistence with Studio memory fallback
  • Optional Safe Save profile adapter example
  • Lune specifications for the pure redemption logic
  • README with setup, API and reward examples
Marketplace

More from Zedox Development

Browse the marketplace
Safe Save: feature list next to the module tree

Roblox · Scripts

Safe Save

Zedox DevelopmentFree