#custon ban reason
1 messages · Page 1 of 1 (latest)
return function(Vargs)
local server, service = Vargs.Server, Vargs.Service
server.Commands.Ban = {
Prefix = server.Settings.Prefix; -- Prefix to use for command
Commands = {"melolban"}; -- Commands
Args = {"player", "reason"}; -- Command arguments
Description = "Example command"; -- Command Description
Hidden = true; -- Is it hidden from the command list?
Fun = false; -- Is it fun?
AdminLevel = "Players"; -- Admin level; If using settings.CustomRanks set this to the custom rank name (eg. "Baristas")
Function = function(plr,args) -- Function to run for command
server.Commands.gameban.Function = function(plr: Player, args: {string}, data: {any})
server.Admin.AddBan(args[1], "you suck".. args[2])
end
end
}
end```
thats my script but it give me an error
Edit the message "you suck" to a reason same with the kick one
I think
i just get this
alr ill wait for smbdy else