What Discord API are you using?

Assuming you’re using Badger Discord API and not the outdated discord_perms script, you’ll have to use my modification of this script or someone elses GitHub - asciidude/fax-revive: FAX Revive script fixed up by implementing Badger Discord API

After, go into server.lua and add role IDs to the bypassRoles table