Advertisement
SekkayGod

a

May 11th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.27 KB | None | 0 0
  1. -- Instances: 33 | Scripts: 2 | Modules: 0
  2. local G2L = {};
  3.  
  4. -- StarterGui.TrashAltFarm
  5. G2L["1"] = Instance.new("ScreenGui", game:GetService("CoreGui"));
  6. G2L["1"]["IgnoreGuiInset"] = true;
  7. G2L["1"]["ScreenInsets"] = Enum.ScreenInsets.DeviceSafeInsets;
  8. G2L["1"]["Name"] = [[TrashAltFarm]];
  9. G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  10. G2L["1"]["ResetOnSpawn"] = false;
  11.  
  12. -- StarterGui.TrashAltFarm.Frame
  13. G2L["2"] = Instance.new("Frame", G2L["1"]);
  14. G2L["2"]["BorderSizePixel"] = 0;
  15. G2L["2"]["BackgroundColor3"] = Color3.fromRGB(45, 45, 67);
  16. G2L["2"]["Size"] = UDim2.new(0, 264, 0, 341);
  17. G2L["2"]["ClipsDescendants"] = true;
  18. G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  19. G2L["2"]["Position"] = UDim2.new(0.49938347935676575, 0, 0.02880658395588398, 0);
  20. G2L["2"]["AutomaticSize"] = Enum.AutomaticSize.XY;
  21.  
  22. -- StarterGui.TrashAltFarm.Frame.UICorner
  23. G2L["3"] = Instance.new("UICorner", G2L["2"]);
  24.  
  25.  
  26. -- StarterGui.TrashAltFarm.Frame.UIStroke
  27. G2L["4"] = Instance.new("UIStroke", G2L["2"]);
  28. G2L["4"]["Color"] = Color3.fromRGB(171, 171, 255);
  29. G2L["4"]["Thickness"] = 2;
  30.  
  31. -- StarterGui.TrashAltFarm.Frame.Main
  32. G2L["5"] = Instance.new("Frame", G2L["2"]);
  33. G2L["5"]["BorderSizePixel"] = 0;
  34. G2L["5"]["BackgroundColor3"] = Color3.fromRGB(55, 55, 82);
  35. G2L["5"]["Size"] = UDim2.new(0, 264, 0, 47);
  36. G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  37. G2L["5"]["Name"] = [[Main]];
  38.  
  39. -- StarterGui.TrashAltFarm.Frame.Main.UICorner
  40. G2L["6"] = Instance.new("UICorner", G2L["5"]);
  41.  
  42.  
  43. -- StarterGui.TrashAltFarm.Frame.Main.Cover
  44. G2L["7"] = Instance.new("Frame", G2L["5"]);
  45. G2L["7"]["BorderSizePixel"] = 0;
  46. G2L["7"]["BackgroundColor3"] = Color3.fromRGB(55, 55, 82);
  47. G2L["7"]["Size"] = UDim2.new(0, 264, 0, 11);
  48. G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  49. G2L["7"]["Position"] = UDim2.new(0, 0, 0.7659574747085571, 0);
  50. G2L["7"]["Name"] = [[Cover]];
  51.  
  52. -- StarterGui.TrashAltFarm.Frame.Main.Header
  53. G2L["8"] = Instance.new("TextLabel", G2L["5"]);
  54. G2L["8"]["BorderSizePixel"] = 0;
  55. G2L["8"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  56. G2L["8"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  57. G2L["8"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  58. G2L["8"]["TextSize"] = 17;
  59. G2L["8"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  60. G2L["8"]["Size"] = UDim2.new(0, 194, 0, 47);
  61. G2L["8"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  62. G2L["8"]["Text"] = [[PLAYERS]];
  63. G2L["8"]["Name"] = [[Header]];
  64. G2L["8"]["BackgroundTransparency"] = 1;
  65. G2L["8"]["Position"] = UDim2.new(0.049242425709962845, 0, 0, 0);
  66.  
  67. -- StarterGui.TrashAltFarm.Frame.Main.mini
  68. G2L["9"] = Instance.new("ImageButton", G2L["5"]);
  69. G2L["9"]["BorderSizePixel"] = 0;
  70. G2L["9"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  71. G2L["9"]["AnchorPoint"] = Vector2.new(0, 0.5);
  72. G2L["9"]["Size"] = UDim2.new(0, 32, 0, 32);
  73. G2L["9"]["Name"] = [[mini]];
  74. G2L["9"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  75. G2L["9"]["Position"] = UDim2.new(0.8399999737739563, 0, 0.5, 0);
  76. G2L["9"]["BackgroundTransparency"] = 1;
  77.  
  78. -- StarterGui.TrashAltFarm.Frame.Main.mini.Icon
  79. G2L["a"] = Instance.new("ImageLabel", G2L["9"]);
  80. G2L["a"]["BorderSizePixel"] = 0;
  81. G2L["a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  82. G2L["a"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  83. G2L["a"]["Image"] = [[rbxassetid://7072706663]];
  84. G2L["a"]["Size"] = UDim2.new(0.699999988079071, 0, 0.699999988079071, 0);
  85. G2L["a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  86. G2L["a"]["Name"] = [[Icon]];
  87. G2L["a"]["BackgroundTransparency"] = 1;
  88. G2L["a"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
  89.  
  90. -- StarterGui.TrashAltFarm.Frame.HPlayers
  91. G2L["b"] = Instance.new("ScrollingFrame", G2L["2"]);
  92. G2L["b"]["Active"] = true;
  93. G2L["b"]["BorderSizePixel"] = 0;
  94. G2L["b"]["CanvasSize"] = UDim2.new(0, 0, 0, 0);
  95. G2L["b"]["MidImage"] = [[]];
  96. G2L["b"]["TopImage"] = [[]];
  97. G2L["b"]["BackgroundColor3"] = Color3.fromRGB(45, 45, 67);
  98. G2L["b"]["AutomaticCanvasSize"] = Enum.AutomaticSize.Y;
  99. G2L["b"]["Size"] = UDim2.new(0, 264, 0, 256);
  100. G2L["b"]["ScrollBarImageColor3"] = Color3.fromRGB(171, 171, 255);
  101. G2L["b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  102. G2L["b"]["ScrollBarThickness"] = 0;
  103. G2L["b"]["Position"] = UDim2.new(0, 0, 0.13782991468906403, 0);
  104. G2L["b"]["Name"] = [[HPlayers]];
  105. G2L["b"]["BottomImage"] = [[]];
  106.  
  107. -- StarterGui.TrashAltFarm.Frame.HPlayers.Players
  108. G2L["c"] = Instance.new("Frame", G2L["b"]);
  109. G2L["c"]["BorderSizePixel"] = 0;
  110. G2L["c"]["BackgroundColor3"] = Color3.fromRGB(64, 64, 96);
  111. G2L["c"]["Size"] = UDim2.new(0, 202, 0, 256);
  112. G2L["c"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  113. G2L["c"]["AutomaticSize"] = Enum.AutomaticSize.Y;
  114. G2L["c"]["Name"] = [[Players]];
  115.  
  116. -- StarterGui.TrashAltFarm.Frame.HPlayers.Players.UICorner
  117. G2L["d"] = Instance.new("UICorner", G2L["c"]);
  118.  
  119.  
  120. -- StarterGui.TrashAltFarm.Frame.HPlayers.Players.UIStroke
  121. G2L["e"] = Instance.new("UIStroke", G2L["c"]);
  122. G2L["e"]["Color"] = Color3.fromRGB(112, 112, 168);
  123.  
  124. -- StarterGui.TrashAltFarm.Frame.HPlayers.Players.UIListLayout
  125. G2L["f"] = Instance.new("UIListLayout", G2L["c"]);
  126. G2L["f"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  127.  
  128. -- StarterGui.TrashAltFarm.Frame.HPlayers.Scroll
  129. G2L["10"] = Instance.new("Frame", G2L["b"]);
  130. G2L["10"]["BorderSizePixel"] = 0;
  131. G2L["10"]["BackgroundColor3"] = Color3.fromRGB(64, 64, 96);
  132. G2L["10"]["Size"] = UDim2.new(0, 42, 0, 256);
  133. G2L["10"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  134. G2L["10"]["Position"] = UDim2.new(0.8106060028076172, 0, 0, 0);
  135. G2L["10"]["AutomaticSize"] = Enum.AutomaticSize.Y;
  136. G2L["10"]["Name"] = [[Scroll]];
  137.  
  138. -- StarterGui.TrashAltFarm.Frame.HPlayers.Scroll.UIStroke
  139. G2L["11"] = Instance.new("UIStroke", G2L["10"]);
  140. G2L["11"]["Color"] = Color3.fromRGB(112, 112, 168);
  141.  
  142. -- StarterGui.TrashAltFarm.Frame.HPlayers.Scroll.UICorner
  143. G2L["12"] = Instance.new("UICorner", G2L["10"]);
  144.  
  145.  
  146. -- StarterGui.TrashAltFarm.Frame.HPlayers.Scroll.UIListLayout
  147. G2L["13"] = Instance.new("UIListLayout", G2L["10"]);
  148. G2L["13"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  149.  
  150. -- StarterGui.TrashAltFarm.Frame.HPlayers.UIPadding
  151. G2L["14"] = Instance.new("UIPadding", G2L["b"]);
  152. G2L["14"]["PaddingTop"] = UDim.new(0, 6);
  153. G2L["14"]["PaddingLeft"] = UDim.new(0, 5);
  154.  
  155. -- StarterGui.TrashAltFarm.Frame.Info
  156. G2L["15"] = Instance.new("Frame", G2L["2"]);
  157. G2L["15"]["BorderSizePixel"] = 0;
  158. G2L["15"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  159. G2L["15"]["BackgroundTransparency"] = 1;
  160. G2L["15"]["Size"] = UDim2.new(0, 264, 0, 38);
  161. G2L["15"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  162. G2L["15"]["Position"] = UDim2.new(0, 0, 0.8885630369186401, 0);
  163. G2L["15"]["Name"] = [[Info]];
  164.  
  165. -- StarterGui.TrashAltFarm.Frame.Info.Connected
  166. G2L["16"] = Instance.new("Frame", G2L["15"]);
  167. G2L["16"]["BorderSizePixel"] = 0;
  168. G2L["16"]["BackgroundColor3"] = Color3.fromRGB(255, 49, 49);
  169. G2L["16"]["Size"] = UDim2.new(0, 25, 0, 25);
  170. G2L["16"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  171. G2L["16"]["Position"] = UDim2.new(0.018939394503831863, 0, 0.15789473056793213, 0);
  172. G2L["16"]["Name"] = [[Connected]];
  173.  
  174. -- StarterGui.TrashAltFarm.Frame.Info.Connected.UICorner
  175. G2L["17"] = Instance.new("UICorner", G2L["16"]);
  176. G2L["17"]["CornerRadius"] = UDim.new(0, 7);
  177.  
  178. -- StarterGui.TrashAltFarm.Frame.Info.TextButton
  179. G2L["18"] = Instance.new("TextButton", G2L["15"]);
  180. G2L["18"]["BorderSizePixel"] = 0;
  181. G2L["18"]["BackgroundColor3"] = Color3.fromRGB(64, 64, 96);
  182. G2L["18"]["TextSize"] = 14;
  183. G2L["18"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Medium, Enum.FontStyle.Normal);
  184. G2L["18"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  185. G2L["18"]["Size"] = UDim2.new(0, 220, 0, 25);
  186. G2L["18"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  187. G2L["18"]["Text"] = [[ALT FARM]];
  188. G2L["18"]["Position"] = UDim2.new(0.13636364042758942, 0, 0.15789473056793213, 0);
  189.  
  190. -- StarterGui.TrashAltFarm.Frame.Info.TextButton.UIStroke
  191. G2L["19"] = Instance.new("UIStroke", G2L["18"]);
  192. G2L["19"]["Color"] = Color3.fromRGB(112, 112, 168);
  193. G2L["19"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  194.  
  195. -- StarterGui.TrashAltFarm.Frame.Info.TextButton.UICorner
  196. G2L["1a"] = Instance.new("UICorner", G2L["18"]);
  197. G2L["1a"]["CornerRadius"] = UDim.new(0, 6);
  198.  
  199. -- StarterGui.TrashAltFarm.Frame.Dragify
  200. G2L["1b"] = Instance.new("LocalScript", G2L["2"]);
  201. G2L["1b"]["Name"] = [[Dragify]];
  202.  
  203. -- StarterGui.TrashAltFarm.func
  204. G2L["1c"] = Instance.new("LocalScript", G2L["1"]);
  205. G2L["1c"]["Name"] = [[func]];
  206.  
  207. -- StarterGui.TrashAltFarm.func.Block
  208. G2L["1d"] = Instance.new("Frame", G2L["1c"]);
  209. G2L["1d"]["BorderSizePixel"] = 0;
  210. G2L["1d"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  211. G2L["1d"]["BackgroundTransparency"] = 1;
  212. G2L["1d"]["Size"] = UDim2.new(1, 0, 0, 37);
  213. G2L["1d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  214. G2L["1d"]["Name"] = [[Block]];
  215.  
  216. -- StarterGui.TrashAltFarm.func.Player1
  217. G2L["1e"] = Instance.new("ImageButton", G2L["1c"]);
  218. G2L["1e"]["BorderSizePixel"] = 0;
  219. G2L["1e"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  220. G2L["1e"]["Size"] = UDim2.new(0, 202, 0, 37);
  221. G2L["1e"]["Name"] = [[Player1]];
  222. G2L["1e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  223. G2L["1e"]["BackgroundTransparency"] = 1;
  224.  
  225. -- StarterGui.TrashAltFarm.func.Player1.UICorner
  226. G2L["1f"] = Instance.new("UICorner", G2L["1e"]);
  227.  
  228.  
  229. -- StarterGui.TrashAltFarm.func.Player1.username
  230. G2L["20"] = Instance.new("TextLabel", G2L["1e"]);
  231. G2L["20"]["TextTruncate"] = Enum.TextTruncate.SplitWord;
  232. G2L["20"]["BorderSizePixel"] = 0;
  233. G2L["20"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  234. G2L["20"]["TextXAlignment"] = Enum.TextXAlignment.Left;
  235. G2L["20"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Medium, Enum.FontStyle.Normal);
  236. G2L["20"]["TextSize"] = 14;
  237. G2L["20"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  238. G2L["20"]["Size"] = UDim2.new(1, 0, 1, 0);
  239. G2L["20"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  240. G2L["20"]["Text"] = "Player1 - [@Player1]";
  241. G2L["20"]["Name"] = [[username]];
  242. G2L["20"]["BackgroundTransparency"] = 1;
  243.  
  244. -- StarterGui.TrashAltFarm.func.Player1.username.UIPadding
  245. G2L["21"] = Instance.new("UIPadding", G2L["20"]);
  246. G2L["21"]["PaddingLeft"] = UDim.new(0, 12);
  247.  
  248. -- StarterGui.TrashAltFarm.Frame.Dragify
  249. local function C_1b()
  250. local script = G2L["1b"];
  251. local UserInputService = game:GetService("UserInputService")
  252.  
  253. local gui = script.Parent
  254.  
  255. local dragging
  256. local dragInput
  257. local dragStart
  258. local startPos
  259.  
  260. local function update(input)
  261. local delta = input.Position - dragStart
  262. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  263. end
  264.  
  265. gui.InputBegan:Connect(function(input)
  266. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  267. dragging = true
  268. dragStart = input.Position
  269. startPos = gui.Position
  270.  
  271. input.Changed:Connect(function()
  272. if input.UserInputState == Enum.UserInputState.End then
  273. dragging = false
  274. end
  275. end)
  276. end
  277. end)
  278.  
  279. gui.InputChanged:Connect(function(input)
  280. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  281. dragInput = input
  282. end
  283. end)
  284.  
  285. UserInputService.InputChanged:Connect(function(input)
  286. if input == dragInput and dragging then
  287. update(input)
  288. end
  289. end)
  290. end;
  291. task.spawn(C_1b);
  292.  
  293. return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement