Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Decompiled with the Synapse X Luau decompiler.
- local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
- local l__LocalPlayer__2 = game:GetService("Players").LocalPlayer;
- local l__Events__3 = l__ReplicatedStorage__1:WaitForChild("Events");
- local l__VerifyFunction__4 = l__Events__3:WaitForChild("VerifyFunction");
- local function u1(p1, p2, p3)
- return string.char((string.byte(p1) - 32 + (p3 and -p2 or p2)) % 95 + 32);
- end;
- local l__RemoteEvent__2 = l__Events__3:WaitForChild("RemoteEvent");
- local function u3(p4, p5, p6)
- local v5 = "";
- for v6 = 1, #p4 do
- if v6 <= #p4 - p5[5] or not p6 then
- for v7 = 0, 3 do
- if v6 % 4 == v7 then
- v5 = v5 .. u1(string.sub(p4, v6, v6), p5[v7 + 1], p6);
- break;
- end;
- end;
- end;
- end;
- if not p6 then
- for v8 = 1, p5[5] do
- v5 = v5 .. string.char(string.byte(p4) - string.byte(v8));
- end;
- end;
- return v5;
- end;
- local l__HttpService__4 = game:GetService("HttpService");
- local u5 = "";
- local u6 = "";
- local l__RemoteFunction__7 = l__Events__3:WaitForChild("RemoteFunction");
- u5 = l__VerifyFunction__4:InvokeServer();
- l__VerifyFunction__4:Destroy();
- local l__PlayerGui__9 = l__LocalPlayer__2:WaitForChild("PlayerGui");
- local l__Key__10 = l__PlayerGui__9:WaitForChild("Key");
- u6 = l__Key__10.Value;
- l__Key__10.Value = "";
- l__Key__10:Destroy();
- local v11 = {};
- for v12, v13 in pairs(l__ReplicatedStorage__1:WaitForChild("Packages"):GetChildren()) do
- if not v13:IsA("PackageLink") then
- if not v13:FindFirstChild("index") then
- error(v13.Name .. " does not include an index file. This package maybe corrupted or broken.");
- end;
- if v11[v13.Name] then
- error("Attempted to load two or more packages by the same name (" .. v13 .. ")");
- end;
- v11[v13.Name] = v13.index;
- end;
- end;
- local function u8()
- local v14 = {};
- v14.__index = v14;
- function v14.new()
- return setmetatable({}, v14);
- end;
- function v14.FireServer(p7, ...)
- l__RemoteEvent__2:FireServer(u3(l__HttpService__4:JSONEncode({ u5, ... }), l__HttpService__4:JSONDecode(u6)));
- end;
- function v14.InvokeServer(p8, ...)
- return l__RemoteFunction__7:InvokeServer(u3(l__HttpService__4:JSONEncode({ u5, ... }), l__HttpService__4:JSONDecode(u6)));
- end;
- function v14.OnEvent(p9, p10)
- l__RemoteEvent__2.OnClientEvent:Connect(function(p11, ...)
- if p10[p11] then
- p10[p11](...);
- end;
- end);
- end;
- function v14.OnFunction(p12, p13)
- function l__RemoteFunction__7.OnClientInvoke(p14, ...)
- if not p13[p14] then
- return;
- end;
- return p13[p14](...);
- end;
- end;
- return v14.new();
- end;
- function shared.import(...)
- local v15 = {};
- for v16, v17 in pairs({ ... }) do
- if v17 == "network" then
- table.insert(v15, v16, u8());
- elseif v11[v17] then
- table.insert(v15, v16, require(v11[v17]));
- else
- error("Attempted to import an unknown package (" .. v17 .. "), " .. debug.traceback());
- end;
- end;
- return unpack(v15);
- end;
- l__ReplicatedStorage__1:WaitForChild("Assets"):WaitForChild("Gui"):WaitForChild("Screen").Parent = l__PlayerGui__9;
- shared.import("require")("ClientHandler");
- shared.import = nil;
- script:Destroy();
Advertisement
Add Comment
Please, Sign In to add comment