Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit 9fb5d30

Browse files
authored
Update admin.lua
1 parent d47a276 commit 9fb5d30

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

admin.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ end
5151
commands = {
5252
help = function(...)
5353
for key, value in pairs(commands) do
54-
rconsoleprint("@@WHITE@@")
5554
rconsoleprint(key .. ',\n')
5655
end
5756
end,
@@ -253,12 +252,10 @@ commands = {
253252

254253
if joinlogsenabled then
255254
joinlogcon = Players.PlayerAdded:Connect(function(plr)
256-
rconsoleprint("@@WHITE@@")
257255
rconsoleprint("\n" .. plr.Name .. " has joined, account is " .. plr.AccountAge .. " days old!\nInput: ")
258256
end)
259257

260258
leavelogcon = Players.PlayerRemoving:Connect(function(plr)
261-
rconsoleprint("@@WHITE@@")
262259
rconsoleprint("\n" .. plr.Name .. " has left!\nInput: ")
263260
end)
264261
elseif not joinlogsenabled and joinlogcon and leavelogcon then
@@ -359,7 +356,6 @@ commands = {
359356
}
360357

361358
while task.wait() do
362-
rconsoleprint("@@WHITE@@")
363359
rconsoleprint("Input: ")
364360

365361
local args = rconsoleinput()
@@ -381,8 +377,7 @@ while task.wait() do
381377
local success = pcall(commands[command], table.unpack(tokens))
382378

383379
if success then
384-
rconsoleprint("@@GREEN@@")
385-
rconsoleprint("Executed " .. command .. " successfully!\n")
380+
rconsoleprint("Executed " .. command .. " successfully!\n", green)
386381
else
387382
rconsoleerr("An error occurred while running " .. command .. "\nPlease report this in the support server if you think this command may be bugged.\n")
388383
end

0 commit comments

Comments
 (0)