You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a Roblox admin system, which therefore uses Luau. Therefore make sure to optimise for Luau – generally, using task.wait() instead of wait(), and interpolated strings instead of concatenation.
Copy file name to clipboardExpand all lines: Loader/Config/Settings.luau
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ settings.CommandFeedback = false -- Should players be notified when commands wi
291
291
settings.CrossServerCommands=true-- Are commands which affect more than one server enabled?
292
292
settings.ChatCommands=true-- If false you will not be able to run commands via the chat; Instead, you MUST use the console or you will be unable to run commands
293
293
settings.CreatorPowers=true-- Gives me creator-level admin; This is strictly used for debugging; I can't debug without full access to the script
294
-
settings.CodeExecution=true-- Enables the use of code execution in Adonis; Scripting related (such as ;s) and a few other commands require this
294
+
settings.CodeExecution=false-- Enables the use of code execution in Adonis. Scripting related (such as ;s) and a few other commands require this
295
295
settings.SilentCommandDenials=false-- If true, there will be no differences between the error messages shown when a user enters an invalid command and when they have insufficient permissions for the command
296
296
settings.OverrideChatCallbacks=true-- If the TextChatService ShouldDeliverCallbacks of all channels are overridden by Adonis on load. Required for slowmode. Mutes use a CanSend method to mute when this is set to false.
Copy file name to clipboardExpand all lines: Loader/Loader/Loader.server.luau
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -201,14 +201,17 @@ else
201
201
warn(`Failed to load Adonis MainModule {moduleId} due to {module}! If this does not work please purchase the Adonis MainModule to your inventory. Using backup method...`)
202
202
yxpcall(function()
203
203
module=loadModuleAsset(moduleId)
204
+
success=true
204
205
end, function(reason)
205
206
warn(`Failed to load Adonis mainmodule {moduleId} via :LoadAsset() method due to {reason}! Loading the backup MainModule...`)
206
207
yxpcall(function()
207
208
module=assert(require(data.Backup), "Backup module returned invalid values!")
209
+
success=true
208
210
end, function(reason)
209
211
warn(`Failed to load Adonis backup MainModule {data.Backup} due to {reason}! If this does not work please purchase the Adonis backup MainModule to your inventory. Using backup method...`)
210
212
yxpcall(function()
211
213
module=loadModuleAsset(data.Backup)
214
+
success=true
212
215
end, function(reason)
213
216
module=nil
214
217
warn(`FATAL ERROR! Failed to load Adonis backup MainModule {moduleId} via :LoadAsset() method due to {reason}! Adonis can't be booted up! Please contact the Adonis helpers immediately and add both the regular MainModule and the backup MainModule to your user&group inventory!`)
@@ -217,7 +220,7 @@ else
217
220
end)
218
221
end
219
222
220
-
localresponse=assert(module, "FATAL ERROR! Adonis bootstrap function is missing!")(data)
223
+
localresponse=assert(successandmodule, "FATAL ERROR! Adonis bootstrap function is missing!")(data)
221
224
222
225
ifresponse=="SUCCESS"then
223
226
ifdata.Settingsanddata.Settings.HideScriptandnotdata.DebugModeandnotRunService:IsStudio() then
tempDecal.Texture="rbxasset://textures/face.png"-- Its a local asset and it's probably likely to never get removed, so it will never fail to load, unless the users PC is corrupted
321
+
tempDecal.Texture="rbxasset://textures/face.png"-- It's a local asset and it's likely to never get removed, so it will never fail to load, unless the user's PC is corrupted
319
322
localcoreUrls=getCoreUrls()
320
323
321
324
ifnot (service.GuiService.MenuIsOpenorservice.ContentProvider.RequestQueueSize>=50orPlayer:GetNetworkPing() *1000>=750) then
@@ -337,14 +340,14 @@ return function(Vargs)
337
340
end
338
341
339
342
hasDetected=true
340
-
Detected("Kick", "Disallowed content URL detected in CoreGui")
343
+
Detected("Kick", "Disallowed content URL detected in CoreGui: "..url)
341
344
end
342
345
end)
343
346
344
347
tempDecal:Destroy()
345
348
task.wait(6)
346
-
ifnotactivatedthen-- // Checks for anti-coregui detetection bypasses
0 commit comments