Perth

Untitled

Nov 22nd, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. -- Decompiled with the Synapse X Luau decompiler.
  2.  
  3. local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
  4. local l__LocalPlayer__2 = game:GetService("Players").LocalPlayer;
  5. local l__Events__3 = l__ReplicatedStorage__1:WaitForChild("Events");
  6. local l__VerifyFunction__4 = l__Events__3:WaitForChild("VerifyFunction");
  7. local function u1(p1, p2, p3)
  8. return string.char((string.byte(p1) - 32 + (p3 and -p2 or p2)) % 95 + 32);
  9. end;
  10. local l__RemoteEvent__2 = l__Events__3:WaitForChild("RemoteEvent");
  11. local function u3(p4, p5, p6)
  12. local v5 = "";
  13. for v6 = 1, #p4 do
  14. if v6 <= #p4 - p5[5] or not p6 then
  15. for v7 = 0, 3 do
  16. if v6 % 4 == v7 then
  17. v5 = v5 .. u1(string.sub(p4, v6, v6), p5[v7 + 1], p6);
  18. break;
  19. end;
  20. end;
  21. end;
  22. end;
  23. if not p6 then
  24. for v8 = 1, p5[5] do
  25. v5 = v5 .. string.char(string.byte(p4) - string.byte(v8));
  26. end;
  27. end;
  28. return v5;
  29. end;
  30. local l__HttpService__4 = game:GetService("HttpService");
  31. local u5 = "";
  32. local u6 = "";
  33. local l__RemoteFunction__7 = l__Events__3:WaitForChild("RemoteFunction");
  34. u5 = l__VerifyFunction__4:InvokeServer();
  35. l__VerifyFunction__4:Destroy();
  36. local l__PlayerGui__9 = l__LocalPlayer__2:WaitForChild("PlayerGui");
  37. local l__Key__10 = l__PlayerGui__9:WaitForChild("Key");
  38. u6 = l__Key__10.Value;
  39. l__Key__10.Value = "";
  40. l__Key__10:Destroy();
  41. local v11 = {};
  42. for v12, v13 in pairs(l__ReplicatedStorage__1:WaitForChild("Packages"):GetChildren()) do
  43. if not v13:IsA("PackageLink") then
  44. if not v13:FindFirstChild("index") then
  45. error(v13.Name .. " does not include an index file. This package maybe corrupted or broken.");
  46. end;
  47. if v11[v13.Name] then
  48. error("Attempted to load two or more packages by the same name (" .. v13 .. ")");
  49. end;
  50. v11[v13.Name] = v13.index;
  51. end;
  52. end;
  53. local function u8()
  54. local v14 = {};
  55. v14.__index = v14;
  56. function v14.new()
  57. return setmetatable({}, v14);
  58. end;
  59. function v14.FireServer(p7, ...)
  60. l__RemoteEvent__2:FireServer(u3(l__HttpService__4:JSONEncode({ u5, ... }), l__HttpService__4:JSONDecode(u6)));
  61. end;
  62. function v14.InvokeServer(p8, ...)
  63. return l__RemoteFunction__7:InvokeServer(u3(l__HttpService__4:JSONEncode({ u5, ... }), l__HttpService__4:JSONDecode(u6)));
  64. end;
  65. function v14.OnEvent(p9, p10)
  66. l__RemoteEvent__2.OnClientEvent:Connect(function(p11, ...)
  67. if p10[p11] then
  68. p10[p11](...);
  69. end;
  70. end);
  71. end;
  72. function v14.OnFunction(p12, p13)
  73. function l__RemoteFunction__7.OnClientInvoke(p14, ...)
  74. if not p13[p14] then
  75. return;
  76. end;
  77. return p13[p14](...);
  78. end;
  79. end;
  80. return v14.new();
  81. end;
  82. function shared.import(...)
  83. local v15 = {};
  84. for v16, v17 in pairs({ ... }) do
  85. if v17 == "network" then
  86. table.insert(v15, v16, u8());
  87. elseif v11[v17] then
  88. table.insert(v15, v16, require(v11[v17]));
  89. else
  90. error("Attempted to import an unknown package (" .. v17 .. "), " .. debug.traceback());
  91. end;
  92. end;
  93. return unpack(v15);
  94. end;
  95. l__ReplicatedStorage__1:WaitForChild("Assets"):WaitForChild("Gui"):WaitForChild("Screen").Parent = l__PlayerGui__9;
  96. shared.import("require")("ClientHandler");
  97. shared.import = nil;
  98. script:Destroy();
  99.  
Advertisement
Add Comment
Please, Sign In to add comment