xtrey10x

DONT USE IN GPO

Jan 21st, 2023
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. local PlayerSlist2 = {}
  2. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3. if v ~= game.Players.LocalPlayer then
  4. table.insert(PlayerSlist2,v.Name)
  5. end
  6. end
  7. --values
  8. getgenv().autoplayer = true
  9.  
  10. --functions
  11. function autoplayer()
  12. while getgenv().autoplayer == true do
  13. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[NIGGER].Character.HumanoidRootPart.CFrame
  14. wait()
  15. end
  16. end
  17.  
  18. --ui lib
  19. local Library = loadstring(game:GetObjects("rbxassetid://7657867786")[1].Source)("Pepsi's UI Library") -- Pepsi's very cool library
  20. local Libraryflags = Library.flags -- a variable for the library's flags
  21. local Wait = Library.subs.Wait -- Only returns if the GUI has not been terminated. For 'while Wait() do' loops
  22. -- You can use | setclipboard(game:GetObjects("rbxassetid://7657867786")[1].Source) | to check library source for more documentation!
  23. local player = Library.LP -- Get the local player EZZ
  24.  
  25. -- Window Element
  26. local Window = Library:CreateWindow({
  27. Name = 'Player Farm Hub',
  28. Themeable = {
  29. Info = 'Discord Server: VzYTJ7Y', -- You can set it to your own discord code
  30. Credit = true, -- If you want to give Pepsi his credits or not, please do!
  31. },
  32. DefaultTheme = shared.themename or '{"__Designer.Colors.main":"4dbed9"}' -- The main color of the UI.
  33. })
  34.  
  35. -- Tab Element
  36. local meTab = Window:CreateTab({
  37. Name = 'Player Farm Hub'
  38. })
  39.  
  40. -- Section Element
  41. local Section = meTab:CreateSection({
  42. Name = 'Main',
  43. Side = 'left' -- The default side is left.
  44. })
  45. local Dropdown = Section:AddDropdown({
  46. Name = 'Select Player',
  47. Flag = "selectefffd",
  48. Multi = false,
  49. List = PlayerSlist2,
  50. Callback = function(SCARY)
  51. NIGGER = SCARY
  52. end
  53. })
  54. local Toggle = Section:AddToggle({
  55. Name = 'Start Farming',
  56. Value = false, -- Default is false
  57. Flag = 'dfg',
  58. Locked = false, -- Default is false
  59. Keybind = {
  60. Flag = 'keybiddend',
  61. Mode = 'Toggle',
  62. Value = Enum.KeyCode.F
  63. }, -- Change to any bind you want, mode can be "Dynamic" or "Hold" or "Toggle", Toggle is default.
  64.  
  65. Callback = function(Value) -- Optional
  66. getgenv().autoplayer = Value
  67. autoplayer()
  68. end
  69. })
  70.  
Add Comment
Please, Sign In to add comment