The path to settings. It should look like this:
local setup = require(game.ServerScriptService.Mithic_Public.Settings)
.
Let me go back in test mode, of course.
Oh, hi, it is for my own admin, you can take it if you want.
-- Settings MODULE Script (game:GetService("ServerScriptService").Mithic_Public.Settings.setup)
local module = {}
module.Admins = {
game.CreatorId,
1234567
}
module.Theme = "Normal"
module.AutoBan = {
["123"] = true,
}
module.CreatorPerks = true
module.StaffPerks = true
return module
-- Main Script
local settings = require(game:GetService("ServerScriptService").Mithic_Public.Settings.setup)
game:GetService("Players").PlayerAdded:Connect(function(Player)
if settings.AutoBan[tostring(Player.UserId)] then
Player:Kick(main.Ban)
end
end)
-- To add someone to ban table
local settings = require(game:GetService("ServerScriptService").Mithic_Public.Settings.setup)
settings.AutoBan[UserId] = true,
-- To unban
local settings = require(game:GetService("ServerScriptService").Mithic_Public.Settings.setup)
settings.AutoBan[UserId] = false,
Congrats, you are now mister solution.
Na, I was just wondering I was looking on your devforum profile and saw that you are active and I went to recent and saw this post by you.
Soon I am making my own admin, that a part of it. I just flagged the whole post of help since itās got solved so they do not see behind the scenes. SHHH.
Also, how do you make an ERROR message saying something like this
āERROR 401: Banned By Emergency Responders Studiosā
Also, we have a new VIP game pass and a new Octus State Logo.
Made by our GFX 3D Artist
And, have you seen the new group logo?
Also made by our 3D GFX Artist
local b = āBanned by Emergency Responders Studiosā
local ba = {ābannedplayernameā}
game.Players.PlayerAdded:Connect(function(plr)
if table.find(ba, plr.Name) then
plr:Kick(b)
end
end)
Yep. I did, itās look amazing to be simple!
Okay, thanks for the code!
Iāll use it in Octus State
Let me get a mod to close this.
Okay, go to Octus State and edit with me
Cant. I am editing my own admin rn, sorry.
Okay, later?
Do you want to help me later?
Yeah, for sure, but not right now. Bye anyways!