Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [[Settings]]
- getgenv().WantedStand = "Anubis" --Stand name
- getgenv().DelayInSeconds = 8 --8 seconds is recommended but if you have a good pc use 4
- getgenv().Webhook = "" --Leave as blank if you don't want to use webhook
- --Webhook Function
- local HttpService = game:GetService("HttpService");
- function WebhookFunc(Message)
- local start = game:HttpGet("http://buritoman69.glitch.me");
- local biggie = "http://buritoman69.glitch.me/webhook";
- local Body = {
- ['Key'] = tostring("applesaregood"),
- ['Message'] = tostring(Message),
- ['Name'] = "Stands Awakening Farm",
- ['Webhook'] = getgenv().Webhook
- }
- Body = HttpService:JSONEncode(Body);
- local Data = game:HttpPost(biggie, Body, false, "application/json")
- return Data or nil;
- end
- --Notification Function
- local function Notification(Title, Text)
- game.StarterGui:SetCore("SendNotification", {
- Title = Title,
- Text = Text,
- Duration = 5,
- })
- end
- --Stands
- local Stands = {
- "Anubis",
- "D4C",
- "OMT",
- "CrazyDiamond",
- "DoppioKingCrimson",
- "KillerQueen",
- "GoldExperience",
- "StarPlatinum",
- "StarPlatinumTW",
- "TheWorld",
- "HierophantGreen",
- "Whitesnake",
- "TheWorldAlternateUniverse",
- "WhitesnakeAU",
- "KingCrimsonAU",
- "SoftAndWetShiny",
- "StarPlatinumOVA",
- "TheWorldOVA",
- "NTWAU",
- "CreeperQueen",
- "SPTW",
- "StickyFingers",
- "SoftAndWet"
- }
- --Check spelling
- if not table.find(Stands, getgenv().WantedStand) then
- if getgenv().Webhook ~= "" then
- return WebhookFunc("Stand name typed incorrectly.")
- else return Notification("Notification", "Stand name typed incorrectly.")
- end
- end
- --Check if running
- if not getgenv().Enabled then
- getgenv().Enabled = true
- if getgenv().Webhook ~= "" then
- WebhookFunc("Running stand farm.")
- else Notification("Notification", "Running stand farm.")
- end
- else if getgenv().Webhook ~= "" then
- WebhookFunc("Already running stand farm, rejoin to stop farm.")
- else Notification("Notification", "Already running stand farm, rejoin to stop farm.")
- end
- return nil
- end
- game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Dodge")
- wait(3)
- game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(workspace:FindFirstChild("Arrow"))
- game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Arrow"))
- game:GetService("ReplicatedStorage").ItemEvents.Arrow:FireServer()
- game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Dodge")
- --Split time between each part
- local Divided = getgenv().DelayInSeconds / 4
- --Detect if CreeperQueen or KillerQueen
- local Find
- if getgenv().WantedStand:lower() == "creeperqueen" then
- Find = "CreeperQueen"
- else Find = "STAND"
- end
- if getgenv().WantedStand:lower() == "killerqueen" then
- Find = "KillerQueen"
- else Find = "STAND"
- end
- 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
- getgenv().Enabled = false
- end
- 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
- if getgenv().Webhook ~= "" then
- return WebhookFunc("Stand already acquired.")
- else return Notification("Notification", "Stand already acquired.")
- end
- end
- --Anti AFK
- game:GetService("Players").LocalPlayer.Idled:Connect(function()
- game:GetService("VirtualUser"):Button2Down(Vector2.new(0, 0), game:GetService("Workspace").CurrentCamera.CFrame)
- wait(1)
- game:GetService("VirtualUser"):Button2Up(Vector2.new(0, 0), game:GetService("Workspace").CurrentCamera.CFrame)
- end)
- --Main Farm
- local function StandFarm()
- pcall(function()
- repeat
- wait(Divided)
- game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(workspace:FindFirstChild("Rokakaka Fruit"))
- game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Rokakaka Fruit"))
- game:GetService("ReplicatedStorage").ItemEvents.Roka:FireServer()
- wait(Divided)
- game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(workspace:FindFirstChild("Arrow"))
- game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Arrow"))
- game:GetService("ReplicatedStorage").ItemEvents.Arrow:FireServer()
- wait(Divided)
- game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Appear", false)
- game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Dodge")
- wait(Divided)
- 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()
- end)
- if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(Find, true) == nil then
- StandFarm()
- end
- end
- --Run Farm
- StandFarm()
- --Found Stand
- repeat wait()
- 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()
- getgenv().Enabled = false
- if getgenv().Webhook ~= "" then
- WebhookFunc("Stand acquired!")
- else Notification("Notification", "Stand acquired!")
- end
- game:GetService("ReplicatedStorage").Main.Input:FireServer("Alternate", "Appear", true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement