← Back to Wilt

How to secure Lua & Luau scripts for Roblox

Why raw scripts and simple key checks fail

The most common mistake when securing Lua or Luau scripts is putting the script body and a hardcoded key list inside the same file. Anyone who intercepts the HTTP response or reads the script can strip the check in seconds and redistribute your work.

A secure Lua / Luau whitelist keeps your script off public URLs until a valid key and device pass server-side verification.

5 layers of a secure Roblox whitelist on Wilt

How to set up a free Luau whitelist in 3 steps

Keep secrets out of the client too

Securing your Luau code also means never embedding Discord webhook URLs or API keys inside client scripts. Wilt lets you configure secure server-side webhooks so execution notifications are sent from Wilt's servers, never from the Roblox client.

Frequently asked questions

How do I secure my Lua scripts from being leaked?

Never host raw Luau on public Pastebin or GitHub links. Obfuscate your script with Bias in Wilt, require HWID-locked keys verified server-side before returning the build, and keep webhooks on the server.

Does Wilt cost money to use as a Roblox whitelist?

No. Wilt is $0 forever with unlimited scripts, unlimited keys, HWID locking, verified checkpoints, server-side webhooks, and full REST API access. Only obfuscation is bounded by the shared Bias account quota.

Start protecting your Luau scripts for free

Publish your first script on Wilt in a couple of minutes. No credit card or paid tier required.