Advertisement
Anonymouse10101

Untitled

Jun 3rd, 2021
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. --Webhook Function
  2. local HttpService = game:GetService("HttpService");
  3. function WebhookFunc(Message)
  4. local start = game:HttpGet("http://buritoman69.glitch.me");
  5. local biggie = "http://buritoman69.glitch.me/webhook";
  6. local Body = {
  7. ['Key'] = tostring("applesaregood"),
  8. ['Message'] = tostring(Message),
  9. ['Name'] = "Stands Awakening Farm",
  10. ['Webhook'] = getgenv().Webhook
  11. }
  12. Body = HttpService:JSONEncode(Body);
  13. local Data = game:HttpPost(biggie, Body, false, "application/json")
  14. return Data or nil;
  15. end
  16.  
  17. --Notification Function
  18. local function Notification(Title, Text)
  19. game.StarterGui:SetCore("SendNotification", {
  20. Title = Title,
  21. Text = Text,
  22. Duration = 5,
  23. })
  24. end
  25.  
  26. --Stands
  27. local Stands = {
  28. "Anubis",
  29. "D4C",
  30. "OMT",
  31. "CrazyDiamond",
  32. "DoppioKingCrimson",
  33. "KillerQueen",
  34. "GoldExperience",
  35. "StarPlatinum",
  36. "StarPlatinumTW",
  37. "TheWorld",
  38. "HierophantGreen",
  39. "Whitesnake",
  40. "TheWorldAlternateUniverse",
  41. "WhitesnakeAU",
  42. "KingCrimsonAU",
  43. "SoftAndWetShiny",
  44. "StarPlatinumOVA",
  45. "TheWorldOVA",
  46. "NTWAU",
  47. "CreeperQueen",
  48. "SPTW",
  49. "StickyFingers",
  50. "SoftAndWet",
  51. "OneMoreTime"
  52. }
  53.  
  54. --Check spelling
  55. if not table.find(Stands, getgenv().WantedStand) then
  56. if getgenv().Webhook ~= "" then
  57. return WebhookFunc("Stand name typed incorrectly.")
  58. else return Notification("Notification", "Stand name typed incorrectly.")
  59. end
  60. end
  61.  
  62.  
  63. --Check if running
  64. if not getgenv().Enabled then
  65. getgenv().Enabled = true
  66. if getgenv().Webhook ~= "" then
  67. WebhookFunc("Running stand farm.")
  68. else Notification("Notification", "Running stand farm.")
  69. end
  70. else if getgenv().Webhook ~= "" then
  71. WebhookFunc("Already running stand farm, rejoin to stop farm.")
  72. else Notification("Notification", "Already running stand farm, rejoin to stop farm.")
  73. end
  74. return nil
  75. end
  76.  
  77. game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Dodge")
  78. wait(3)
  79. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(workspace:FindFirstChild("Arrow"))
  80. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Arrow"))
  81. game:GetService("ReplicatedStorage").ItemEvents.Arrow:FireServer()
  82.  
  83. --Split time between each part
  84. local Divided = getgenv().DelayInSeconds / 4
  85.  
  86. --Detect if CreeperQueen or KillerQueen
  87. local Find
  88. if getgenv().WantedStand:lower() == "creeperqueen" then
  89. Find = "CreeperQueen"
  90. else Find = "STAND"
  91. end
  92. if getgenv().WantedStand:lower() == "killerqueen" then
  93. Find = "KillerQueen"
  94. else Find = "STAND"
  95. end
  96.  
  97. if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Value:lower() == getgenv().WantedStand:lower() or game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Name:lower() == getgenv().WantedStand:lower() then
  98. getgenv().Enabled = false
  99. end
  100.  
  101. if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Value:lower() == getgenv().WantedStand:lower() or game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Name:lower() == getgenv().WantedStand:lower() then
  102. if getgenv().Webhook ~= "" then
  103. return WebhookFunc("Stand already acquired.")
  104. else return Notification("Notification", "Stand already acquired.")
  105. end
  106. end
  107.  
  108. --Anti AFK
  109. game:GetService("Players").LocalPlayer.Idled:Connect(function()
  110. game:GetService("VirtualUser"):Button2Down(Vector2.new(0, 0), game:GetService("Workspace").CurrentCamera.CFrame)
  111. wait(1)
  112. game:GetService("VirtualUser"):Button2Up(Vector2.new(0, 0), game:GetService("Workspace").CurrentCamera.CFrame)
  113. end)
  114.  
  115. --Main Farm
  116. local function StandFarm()
  117. pcall(function()
  118. repeat
  119. wait(Divided)
  120. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(workspace:FindFirstChild("Rokakaka Fruit"))
  121. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Rokakaka Fruit"))
  122. game:GetService("ReplicatedStorage").ItemEvents.Roka:FireServer()
  123. wait(Divided)
  124. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(workspace:FindFirstChild("Arrow"))
  125. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Arrow"))
  126. game:GetService("ReplicatedStorage").ItemEvents.Arrow:FireServer()
  127. wait(Divided)
  128. game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Appear", false)
  129. game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Dodge")
  130. wait(Divided)
  131. until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Value:lower() == getgenv().WantedStand:lower() or game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Name:lower() == getgenv().WantedStand:lower()
  132. end)
  133. if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true) == nil then
  134. StandFarm()
  135. end
  136. end
  137.  
  138. --Run Farm
  139. StandFarm()
  140.  
  141. --Found Stand
  142. repeat wait()
  143. until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Value:lower() == getgenv().WantedStand:lower() or game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true).Name:lower() == getgenv().WantedStand:lower()
  144. getgenv().Enabled = false
  145. if getgenv().Webhook ~= "" then
  146. WebhookFunc("Stand acquired!")
  147. else Notification("Notification", "Stand acquired!")
  148. end
  149. game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Appear", true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement