[FREE] FiveM Epilepsy Mode Script

[FREE] FiveM Epilepsy Mode Script

A simple accessibility resource that helps protect players who may be sensitive to flashing lights or rapid screen effects.

Description

This script adds an optional Epilepsy Mode for players, reducing or disabling various visual effects that could be triggering for individuals with photosensitive epilepsy.
This will help make your server more inclusive and accessible while giving players a customizable, comfortable experience.

This may also help those players with a ‘potato PC’ who experience lower performance around emergency vehicle lights.

Features

  • Toggleable epilepsy-safe mode for players (/epilepsymode)
  • Reduces flashing or high-intensity visual effects
  • Lightweight and optimized
  • Plug-and-play – no configuration required
  • Fully open-source and editable

Usage

Players can toggle Epilepsy Mode through the included event/command (/epilepsymode).
Developers can easily expand the logic to include more effects or custom restrictions.

Special Thanks

:star2: Special Thanks

:pray: EncoreRP
For providing the visualsettings.dat used in this project:

:pray: Jarrrk
For the visualsettings.dat loading logic, which this script adapts:

Download

GitHub:


Screenshot of Usage


Additional Information

This resource is free, open-source, and intended to improve accessibility for all players.
Feedback is always welcome!


Required Information

Code is accessible Yes
Subscription-based No
Lines (approximately) 93
Requirements None
Support Yes (GitHub Issues)
6 Likes

does it do it for all player or just the player who needs it?

Just the player that triggers the command, it’s all handled client side.

1 Like