I realized that with admin commands, it would be difficult to tell hackers apart from admins so I came across this idea. When you open up the Server Console section of the RDC(Roblox Developer Console) in your own game, it allows you to directly code into the game. I have multiple devs with me and I want them to be able to use that function to. Is there any sort of requirement or boolean value that needs to be set so it works for them as well? I tried this but they are ROBLOXLOCKED :(
admins = {"","",""} game.Players.PlayerAdded:connect( function(Player) for i, v in pairs(admins) do if Player.Name == v then Player.Name = "xolbStudios" -- ROBLOXLOCKED Player.PlayerId = 5105679 -- also robloxlocked end end end end)
This question was asked a long time ago, but for anyone still looking for an answer today -- you can do this.
If you publish the game to be owned by a Group (a development group you create and add your team members to), then any group member with Editing permission will also be able to use the Server section of the dev console.