Key System Overview
The Key System provides access control to your WindUI window. When enabled, users must enter a valid key before accessing the interface. This is useful for restricting access to premium, admin-only, or exclusive scripts.
Basic Usage
The KeySystem must be located inside the Window configuration table passed to WindUI:CreateWindow()
Parameters
Name
Examples
Simple Key Validation
Multiple Valid Keys
With Key Link
With Thumbnail
Save Key Behavior
When SaveKey is enabled:
- User enters key in the dialog
- Key is validated using
KeyValidator - If valid, key is saved to
[Folder]/[player.Name].key - On future runs, saved key is loaded and validated automatically
Deprecated: Key Property
The old Key property is deprecated. Use KeyValidator instead:
Related
- Window Configuration - Other CreateWindow options
- Notification - Show validation feedback