Advertisement
SekkayGod

Time stop [v1]

Feb 25th, 2024
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. -- Instances: 13 | Scripts: 1 | Modules: 0
  2. local G2L = {};
  3.  
  4. -- StarterGui.TimeStop
  5. G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
  6. G2L["1"]["IgnoreGuiInset"] = true;
  7. G2L["1"]["DisplayOrder"] = 6;
  8. G2L["1"]["AutoLocalize"] = false;
  9. G2L["1"]["ScreenInsets"] = Enum.ScreenInsets.DeviceSafeInsets;
  10. G2L["1"]["Name"] = [[TimeStop]];
  11. G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  12.  
  13. -- StarterGui.TimeStop.Toggle
  14. G2L["2"] = Instance.new("Frame", G2L["1"]);
  15. G2L["2"]["BackgroundTransparency"] = 1;
  16. G2L["2"]["Size"] = UDim2.new(1, 0, 0, 48);
  17. G2L["2"]["Position"] = UDim2.new(0, 0, 0, 10);
  18. G2L["2"]["Name"] = [[Toggle]];
  19.  
  20. -- StarterGui.TimeStop.Toggle.Layout
  21. G2L["3"] = Instance.new("UIListLayout", G2L["2"]);
  22. G2L["3"]["FillDirection"] = Enum.FillDirection.Horizontal;
  23. G2L["3"]["Name"] = [[Layout]];
  24. G2L["3"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Right;
  25. G2L["3"]["Padding"] = UDim.new(0, 12);
  26. G2L["3"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  27.  
  28. -- StarterGui.TimeStop.Toggle.TriggerPoint
  29. G2L["4"] = Instance.new("Frame", G2L["2"]);
  30. G2L["4"]["BackgroundTransparency"] = 1;
  31. G2L["4"]["LayoutOrder"] = 1;
  32. G2L["4"]["Size"] = UDim2.new(0, 44, 1, 0);
  33. G2L["4"]["Name"] = [[TriggerPoint]];
  34.  
  35. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background
  36. G2L["5"] = Instance.new("ImageButton", G2L["4"]);
  37. G2L["5"]["BackgroundColor3"] = Color3.fromRGB(33, 33, 96);
  38. G2L["5"]["AnchorPoint"] = Vector2.new(0, 0.5);
  39. G2L["5"]["Size"] = UDim2.new(0, 44, 0, 44);
  40. G2L["5"]["Name"] = [[Background]];
  41. G2L["5"]["Position"] = UDim2.new(0, 0, 0.5, 0);
  42. G2L["5"]["BackgroundTransparency"] = 0.30000001192092896;
  43.  
  44. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.UICorner
  45. G2L["6"] = Instance.new("UICorner", G2L["5"]);
  46. G2L["6"]["CornerRadius"] = UDim.new(1, 0);
  47.  
  48. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.StateOverlayRound
  49. G2L["7"] = Instance.new("Frame", G2L["5"]);
  50. G2L["7"]["ZIndex"] = 2;
  51. G2L["7"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  52. G2L["7"]["BackgroundTransparency"] = 1;
  53. G2L["7"]["Size"] = UDim2.new(1, 0, 1, 0);
  54. G2L["7"]["Name"] = [[StateOverlayRound]];
  55.  
  56. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.StateOverlayRound.UICorner
  57. G2L["8"] = Instance.new("UICorner", G2L["7"]);
  58. G2L["8"]["CornerRadius"] = UDim.new(1, 0);
  59.  
  60. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.ImageLabel
  61. G2L["9"] = Instance.new("ImageLabel", G2L["5"]);
  62. G2L["9"]["BorderSizePixel"] = 0;
  63. G2L["9"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  64. G2L["9"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  65. G2L["9"]["Size"] = UDim2.new(0, 32, 0, 32);
  66. G2L["9"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  67. G2L["9"]["BackgroundTransparency"] = 1;
  68. G2L["9"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
  69.  
  70. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.ImageLabel.TextLabel
  71. G2L["a"] = Instance.new("TextLabel", G2L["9"]);
  72. G2L["a"]["TextWrapped"] = true;
  73. G2L["a"]["BorderSizePixel"] = 0;
  74. G2L["a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  75. G2L["a"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Heavy, Enum.FontStyle.Normal);
  76. G2L["a"]["TextSize"] = 30;
  77. G2L["a"]["TextColor3"] = Color3.fromRGB(86, 86, 255);
  78. G2L["a"]["Size"] = UDim2.new(1, 0, 1, 0);
  79. G2L["a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  80. G2L["a"]["Text"] = [[T]];
  81. G2L["a"]["BackgroundTransparency"] = 1;
  82.  
  83. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.LocalScript
  84. G2L["b"] = Instance.new("LocalScript", G2L["5"]);
  85.  
  86.  
  87. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.UIStroke
  88. G2L["c"] = Instance.new("UIStroke", G2L["5"]);
  89. G2L["c"]["Color"] = Color3.fromRGB(86, 86, 255);
  90. G2L["c"]["Thickness"] = 2;
  91.  
  92. -- StarterGui.TimeStop.Toggle.Padding
  93. G2L["d"] = Instance.new("UIPadding", G2L["2"]);
  94. G2L["d"]["PaddingTop"] = UDim.new(0, 2);
  95. G2L["d"]["Name"] = [[Padding]];
  96. G2L["d"]["PaddingRight"] = UDim.new(0, 17);
  97. G2L["d"]["PaddingBottom"] = UDim.new(0, 2);
  98. G2L["d"]["PaddingLeft"] = UDim.new(0, 88);
  99.  
  100. -- StarterGui.TimeStop.Toggle.TriggerPoint.Background.LocalScript
  101. local function C_b()
  102. local script = G2L["b"];
  103. local a = false
  104. script.Parent.MouseButton1Click:Connect(function()
  105. a = not a
  106. if a then
  107. script.Parent.ImageLabel.TextLabel.Text = "S"
  108. settings():GetService("NetworkSettings").IncomingReplicationLag = 99999999999
  109. else
  110. script.Parent.ImageLabel.TextLabel.Text = "T"
  111. settings():GetService("NetworkSettings").IncomingReplicationLag = 0
  112. end
  113. end)
  114. end;
  115. task.spawn(C_b);
  116.  
  117. return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement