-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoader.lua
More file actions
42 lines (35 loc) · 1.16 KB
/
Loader.lua
File metadata and controls
42 lines (35 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
local repo = "https://raw.githubusercontent.com/NilInstances/Horizon/refs/heads/main"
local function l(o) loadstring(game:HttpGet(o))() end
if identifyexecutor then
if table.find({'JJSploit'}, ({identifyexecutor()})[1]) then
warn("Fuck you im not loading your script")
elseif table.find({'Velocity'}, ({identifyexecutor()})[1]) then -- you're welcome
local JsonWrite
JsonWrite = hookfunction(writefile, function(Event,...)
if (Event):match("%.json$") ~= nil then
warn((Event):gsub("%.json$", ".txt"),...)
return JsonWrite((Event):gsub("%.json$", ".txt"),...)
else
warn(Event,...)
return JsonWrite(Event,...)
end
end)
local JasonRead
JasonRead = hookfunction(readfile, function(Event,...)
if (Event):match("%.json$") ~= nil then
warn((Event):gsub("%.json$", ".txt"),...)
return JasonRead((Event):gsub("%.json$", ".txt"),...)
else
warn(Event,...)
return JasonRead(Event,...)
end
end)
elseif table.find({'Argon', 'Wave'}, ({identifyexecutor()})[1]) then
getgenv().setthreadidentity = nil
end
end
if game.PlaceId = "10449761463" then
l(repo.."TSB.lua")
else
l(repo.."Universal.lua")
end