Server exports
Set or inspect the shared blackout state from another server resource.
These exports run on the server. Start FS-Blackout before the calling resource. They are integration APIs and do not perform the player command's ACE check; enforce permissions in your own player-facing caller.
SetBlackout
local applied = exports['FS-Blackout']:SetBlackout(true)Use boolean true/false for clarity. The current implementation also accepts the strings "true"/"false" and numbers 1/0. Invalid values return false. A successful transition returns true; a newer change can cancel an in-progress transition and cause false. The call can yield during flicker.
GetBlackoutState
local enabled = exports['FS-Blackout']:GetBlackoutState()Returns a boolean representing the requested shared state. It is updated before transition flicker completes, so true does not mean every flicker has finished.