diff --git a/Addons/Guis/game-settings.lua b/Addons/Guis/game-settings.lua new file mode 100644 index 00000000..c01e0648 --- /dev/null +++ b/Addons/Guis/game-settings.lua @@ -0,0 +1,10 @@ +--[[ +Explosive Gaming + +This file can be used with permission but this and the credit below must remain in the file. +Contact a member of management on our discord to seek permission to use our code. +Any changes that you may make to the code are yours but that does not make the script yours. +Discord: https://discord.gg/r6dC2uK +]] +--Please Only Edit Below This Line----------------------------------------------------------- + diff --git a/Addons/load.lua b/Addons/load.lua index 11b66d23..4562beb4 100644 --- a/Addons/load.lua +++ b/Addons/load.lua @@ -30,5 +30,6 @@ require('Guis/player-list') require('Guis/tasklist') require('Guis/rank-changer') require('Guis/admin-gui') -- used with Admin/admin, requires Admin/admin +require('Guis/game-settings') -- other \ No newline at end of file diff --git a/Addons/playerRanks.lua b/Addons/playerRanks.lua index 04ca9388..85834a56 100644 --- a/Addons/playerRanks.lua +++ b/Addons/playerRanks.lua @@ -128,6 +128,10 @@ groups['User']:add_rank{ power=4 } +rank['Admin']:edit('allow',false,{ + ['game-settings']=true +}) + ranks['Member']:edit('allow',false,{ ['edit-tasklist']=true })