Advertisement
SwaggerTv

Untitled

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