Initialize
Initializing and Starting Light Reflector
First, require Light Reflector by creating a LocalScript in a client service such as StarterPlayerScripts.
Your script should look similar to the accompanying sample below:
handler.client.luau
Second, init the module.
handler.client.luau
Third, configure the settings during runtime by calling lightreflector.config.applyOverrides().
Note: You can also modify BASE_CONFIG in the config module before runtime; however, it is not recommended since you would have to change every modified value when you upgrade Light Reflector to a newer version.
handler.client.luau
Fourth, start the module.
handler.client.luau
A completed sample can be found at examples/vehicle-reflector-handler.client.luau!