I am currently making a system where players can gain admin acess through a server script, I am using Adonis admin for this and I seem to have ran into a bit of a headache.
Im getting an error when tryna add people to Admin using Adonis through a server script the documentation says to do this
local Adonis = _G.Adonis
local AdminAccess = Adonis.Access("MyKey", "Admin")
AdminAccess.AddAdmin(game.Players["Bear23913"], 100)
However im getting the error Incorrect key or G_Access is disabled. but the issue is these are what the settings are in the module script
Hey there, did you try reading Adonis’s main module script contents at github? That could help you, however searching the ranking function and understanding it could take a while.
If you struggle in finding it, I’ll try to offer my help once I wake
Hiya, thanks for this but i fear you have missed the purpose of the post which may be my fault for not being clear enough, however I only want people to gain admin once a part of the script has been ran through I have omitted that part of the script from this post as currently im just doing a wait(10) and then the script to add admins through a script. I am doing this so i can get this part of the system working.