Appearance
K.AntiCheat
Functions
K.AntiCheat.Enable
lua
K.AntiCheat.Enable(options: { [string]: any }?)Turns the checks on. Every option is optional; see the top of this file.
K.AntiCheat.Allow
lua
K.AntiCheat.Allow(player: Player, seconds: number)Lets a player move unusually for seconds (use it after your own teleports or launches).
K.AntiCheat.Exempt
lua
K.AntiCheat.Exempt(player: Player, isExempt: boolean)Turns every movement check off (true) or on again (false) for one player.
K.AntiCheat.Strikes
lua
K.AntiCheat.Strikes(player: Player): numberStrikes the player has collected within StrikeWindow.
K.AntiCheat.Limit
lua
K.AntiCheat.Limit(currency: string, options: { PerMinute: number })Caps how much of a currency a player can gain per minute (shop purchases and admin gifts don't count). Gains past the cap are refused and flagged as "Economy". Works even without Enable.
Events
K.AntiCheat.Detected
Fires with (player, kind, details) for every detection.
Generated from
src/Corode/AntiCheat.luau.
