Universal Script πŸ“Œ
84.0k Views
18 Executions

SafeCall Open Source

Universal Script πŸ“Œ
Nolanz
NolanzPublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No 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)

Updates

  1. Script edited: Create script

View Raw
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

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
33.1k
298.2k
Bumped 2 hours ago
Script hub
23.6k
5.2k
Bumped 2 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
213
596
Bumped 2 hours ago
Universal Script πŸ“Œ
1.6k
30.3k
Bumped 2 hours ago
Script hub
4.1M
558.8k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
29.1k
Bumped 3 hours ago
Key System
Script hub
14.0k
28.6k
Bumped 5 hours ago