Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not cloneref then
- return '[Nurysium] -> Security issue!'
- end
- local LocalPlayer = cloneref(game:GetService('Players')).LocalPlayer
- local HttpService = cloneref(game:GetService('HttpService'))
- local loader = setmetatable({
- _load_function = loadstring or load,
- _games = {
- [6894451805] = {
- name = 'BladeLeague',
- file = '17b6c17981b8149e53c72f5a28183323.lua'
- },
- [5750914919] = {
- name = 'Fisch',
- file = '8660176bbaa74f31f2118c61bb3a726d.lua'
- },
- },
- __init__ = function(self)
- local success, response = pcall(function()
- return game:HttpGet('https://api.luarmor.net/files/v3/loaders/' .. self._games[game.GameId].file)
- end)
- if not success then
- print("Error: " .. tostring(response)) -- Improved error reporting
- local crashlogs_path = 'Nurysium/crashlogs'
- if not isfolder('Nurysium') then
- makefolder('Nurysium')
- end
- if not isfolder(crashlogs_path) then
- makefolder(crashlogs_path)
- end
- local date = os.date('%Y-%m-%d_%H-%M-%S')
- local file_path = crashlogs_path .. '/' .. date .. '.txt'
- writefile(file_path, 'Error: ' .. tostring(response))
- print(file_path, '@ [Something went wrong, an error log was created]')
- else
- -- If successful, load and execute the file content
- local func, loadError = pcall(self._load_function(response))
- if not func then
- print("Error executing code: " .. loadError)
- end
- end
- end
- }, loader)
- loader:__init__()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement