
84.0k Views
5 Executions
SafeCall Open Source
Universal Script 📌
NolanzPublished 10
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Look at the end of the script, for: local URL = "https://example.com/" (you know, and replace it with your url) Ofc, I made it, so if anyone improves it or anything, credit me (pls)
local SafeCall = {}
SafeCall.Defaults = {
RetryCount = 2,
RetryDelay = 1,
YieldInterval = 0.03
}
SafeCall.Errors = {
InvalidURL = "Invalid URL provided",
Aborted = "Execution aborted",
Suspicious = "Suspicious content detected",
FetchFailed = "Failed to fetch script",
ExecutionFailed = "Script execution failed"
}
SafeCall.AntiVirus = {
DetectionLog = {},
QuarantineFolder = "AntiVirusQuarantine",
LogDetection = function(self, url, reason)
table.insert(self.DetectionLog, {
Timestamp = os.time(),
URL = url,
Reason = reason
})
warn("⚠️ Suspicious script detected and blocked from: " .. url)
warn("Reason: " .. reason)
end,
QuarantineScript = function(self, url, content)
if not isfolder(self.QuarantineFolder) then
makefolder(self.QuarantineFolder)
end
local fileName = self.QuarantineFolder .. "/" .. game:GetService("HttpService"):GenerateGUID(false) .. ".lua"
writefile(fileName, content)
print("🔒 Suspicious script quarantined: " .. fileName)
end,
ScanWorkspace = function(self)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







