When it says
target, I assume it means a target string a la ULib targeting. So instead of a list of
parameters like you're passing, you would use a comma-separated list.
You would also need to set the second parameter,
enable_keywords, to
true for ULib targeting to be enabled. So, an example would be:
-- Gets all users below admin
local belowAdmin = ULib.getUsers("!%admin", true)
-- Gets all users in the admin group **ONLY**
local admins = ULib.getUsers("#admin", true)
-- Gets all of owner, moderator, admin
local staff = ULib.getUsers("#owner, #moderator, #admin", true)
-- Gets everyone but the current user
local everyoneButMe = ULib.getUsers("!^", true)
-- Gets everyone but the given player (serverside?, untested)
local everyoneButUser = ULib.getUsers("!^", true, player.GetAll()[1])
Note how the targets are
comma-separated inside the string, not passed as separate parameters. ULib handles this itself.