Advertisement
MegumuSenpai

Stand Upright | Item Farm

Jun 27th, 2020
17,682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. -- Credits - if u remove u wack
  2. local library = loadstring(game:HttpGetAsync("https://pastebin.com/raw/HYcfs6KC"))()
  3. local w = library:CreateWindow('Megumu / egg salad')
  4. w:Toggle('Enabled', {flag = "enabled"})
  5. w:Box('Speed', {
  6. flag = "speed";
  7. type = 'number';
  8. }, function()
  9. end)
  10.  
  11. -- Variable
  12. local player = game.Players.LocalPlayer
  13.  
  14. -- Remove All Seats
  15. local shit = workspace:GetDescendants()
  16. for i = 1, #shit do local v = shit[i]
  17. if v:IsA("Seat") then
  18. v:Destroy()
  19. end
  20. end
  21.  
  22. -- Get Stuff
  23. function get()
  24. local close
  25. local dist = math.huge
  26. for _,v in pairs(workspace["[DROPS]"]:GetChildren()) do
  27. if v:FindFirstChild("Handle") and player.Character:FindFirstChild("HumanoidRootPart") then
  28. local newDist = player:DistanceFromCharacter(v.Handle.Position)
  29. if newDist < dist then
  30. close = v.Handle
  31. dist = newDist
  32. end
  33. end
  34. end
  35. for _,v in pairs(workspace:GetChildren()) do
  36. if v:FindFirstChild("Handle") and player.Character:FindFirstChild("HumanoidRootPart") then
  37. local newDist = player:DistanceFromCharacter(v.Handle.Position)
  38. if newDist < dist then
  39. close = v.Handle
  40. dist = newDist
  41. end
  42. end
  43. end
  44. return close
  45. end
  46.  
  47. -- NoClip
  48. game:GetService("RunService").RenderStepped:Connect(function()
  49. if w.flags.enabled then
  50. player.Character.Humanoid:ChangeState(11)
  51. end
  52. end)
  53.  
  54. -- Skeet
  55. while true do
  56. if w.flags.enabled then
  57. local egg = get()
  58. if typeof(egg) == "Instance" then
  59. local speed = w.flags.speed
  60. pcall(function()
  61. game:GetService("TweenService"):Create(player.Character.HumanoidRootPart, TweenInfo.new(player:DistanceFromCharacter(egg.Position)/speed, Enum.EasingStyle.Linear), {CFrame = egg.CFrame}):Play()
  62. wait(player:DistanceFromCharacter(egg.Position)/speed)
  63. end)
  64. end
  65. end
  66. wait(.25)
  67. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement