Advertisement
XZTablets

Untitled

Mar 28th, 2020
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. -- Decompiled with the Synapse X Luau decompiler.
  2.  
  3. local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
  4. local l__Players__2 = game:GetService("Players");
  5. local v3 = require(l__ReplicatedStorage__1.Network);
  6. local v4 = tick();
  7. print("Loading modules...");
  8. local l__LocalPlayer__5 = l__Players__2.LocalPlayer;
  9. local l__Main__6 = l__LocalPlayer__5:WaitForChild("PlayerGui"):WaitForChild("Main");
  10. require(l__LocalPlayer__5.PlayerGui:WaitForChild("ScreenFX").MainModule).init();
  11. local v7 = require(l__ReplicatedStorage__1.Client.Cache);
  12. local v8 = require(l__ReplicatedStorage__1.Client.Multiplier);
  13. local v9 = require(l__Main__6.SodaShop.SodaShop);
  14. local v10 = require(l__Main__6.UpgradeShop.UpgradeShop);
  15. local v11 = require(l__Main__6.Currency.Currency);
  16. local v12 = require(l__Main__6.PetWindow.PetWindow);
  17. local v13 = require(l__Main__6.RobuxShop.RobuxShop);
  18. local v14 = require(l__Main__6.BoostDisplay.BoostDisplay);
  19. local v15 = require(l__Main__6.CodeWindow.CodeWindow);
  20. local v16 = require(script.EggService);
  21. local v17 = require(script.Chests);
  22. local v18, v19 = pcall(require, script.PetHandler);
  23. local v20 = require(l__Main__6.PetAlert.MainModule);
  24. local v21 = require(l__Main__6.ProductPrompt.MainModule);
  25. v7.sync();
  26. v8.sync();
  27. pcall(v9.init, v7);
  28. pcall(v10.init, v7);
  29. pcall(v11.init, v7);
  30. pcall(v12.init, v7);
  31. pcall(v13.init, v7);
  32. pcall(v14.init, v7);
  33. pcall(v17.init, v7);
  34. pcall(v16.init, v7);
  35. print(string.format("Modules loaded. Took %.2f seconds", tick() - v4));
  36. v3:On("PetAlert", v20.Show);
  37. v3:On("GamePassPurchased", function(p1)
  38. if v20.IsVisible() and v20:GetCurrentGamePassID() == p1 then
  39. v20.Hide();
  40. end;
  41. end);
  42. v3:On("ProductPurchased", function(p2)
  43. if v21.IsVisible() and v21:GetCurrentProductID() == p2 then
  44. v21.Hide();
  45. end;
  46. end);
  47. local v22 = require(script.Islands);
  48. local v23 = workspace.Leaderboards:GetChildren();
  49. for v24 = 1, #v23 do
  50. local v25 = v23[v24];
  51. v25.Up.SurfaceGui.TextButton.MouseButton1Click:Connect(function()
  52. local l__Contents__26 = v25.Display.SurfaceGui.Contents;
  53. l__Contents__26.CanvasPosition = Vector2.new(0, math.max(l__Contents__26.CanvasPosition.Y - 350, 0));
  54. end);
  55. v25.Down.SurfaceGui.TextButton.MouseButton1Click:Connect(function()
  56. local l__Contents__27 = v25.Display.SurfaceGui.Contents;
  57. l__Contents__27.CanvasPosition = Vector2.new(0, math.min(l__Contents__27.CanvasPosition.Y + 350, l__Contents__27.CanvasSize.Y.Offset));
  58. end);
  59. end;
  60. local u1 = require(script.AnimateLoot);
  61. game:GetService("RunService").RenderStepped:Connect(function(p3)
  62. u1(p3);
  63. v16.Update();
  64. v19:Update(p3);
  65. v17:Update(p3);
  66. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement