local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")

local Remotes = ReplicatedStorage:WaitForChild("Remotes")
local SubmitAnswer = Remotes:WaitForChild("SubmitAnswer")

local autoGuess = true
local hasGuessed = false
local currentAnswer = ""

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AutoGuesser"
screenGui.ResetOnSpawn = false
screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 50)
frame.Position = UDim2.new(0.5, -100, 0, 50)
frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
frame.BackgroundTransparency = 0.5
frame.BorderSizePixel = 0
frame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 8)
corner.Parent = frame

local statusLabel = Instance.new("TextLabel")
statusLabel.Size = UDim2.new(1, 0, 1, 0)
statusLabel.BackgroundTransparency = 1
statusLabel.Text = "Auto-Guess: ON"
statusLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
statusLabel.Font = Enum.Font.GothamBold
statusLabel.TextSize = 14
statusLabel.Parent = frame

local dragging = false
local dragStart, startPos
frame.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = frame.Position
    end
end)
frame.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = false
    end
end)
UserInputService.InputChanged:Connect(function(input)
    if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
        local delta = input.Position - dragStart
        frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
end)

UserInputService.InputBegan:Connect(function(input, processed)
    if processed then return end
    if input.KeyCode == Enum.KeyCode.G then
        autoGuess = not autoGuess
        statusLabel.Text = autoGuess and "Auto-Guess: ON" or "Auto-Guess: OFF"
        statusLabel.TextColor3 = autoGuess and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
        print("[AutoGuesser]", autoGuess and "Enabled" or "Disabled")
    end
end)

SubmitAnswer.OnClientEvent:Connect(function(success, answer)
    if not success then return end
    currentAnswer = answer
    print("[AutoGuesser] Received correct answer:", currentAnswer)
    
    if autoGuess and not hasGuessed then
        hasGuessed = true
        task.wait(1.9)
        SubmitAnswer:FireServer("Submit", currentAnswer)
        print("[AutoGuesser] Submitted answer:", currentAnswer)
        task.wait(5)
        hasGuessed = false
    end
end)


print("Press G to toggle auto-guess")
Guess the Flag! Auto farm
Mobile Friendly
1,132 views
4 months ago

Auto farm

WORKING
Free

Description

an auto guesser for Guess The Flag ๐ŸŒŽ

toggle auto guesser on and off by pressing G

Features

  • auto farm
  • auto guesser

Related Scripts