local CoreGui = game:GetService("CoreGui")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")

-- Destroy existing UI to prevent overlapping
if CoreGui:FindFirstChild("GuessMyNumberUI") then
    CoreGui.GuessMyNumberUI:Destroy()
end

-- Create ScreenGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "GuessMyNumberUI"
ScreenGui.Parent = CoreGui
ScreenGui.Enabled = true -- Visible on startup

-- Main Frame
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 300, 0, 200)
MainFrame.Position = UDim2.new(0.5, -150, 0.5, -100)
MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
MainFrame.BorderSizePixel = 0
MainFrame.Parent = ScreenGui

local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 12)
UICorner.Parent = MainFrame

local UIStroke = Instance.new("UIStroke")
UIStroke.Color = Color3.fromRGB(60, 60, 60)
UIStroke.Thickness = 2
UIStroke.Parent = MainFrame

-- Title
local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, 0, 0, 40)
Title.BackgroundTransparency = 1
Title.Text = "Guess My Number"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 18
Title.Parent = MainFrame

-- Reveal Number Button
local RevealBtn = Instance.new("TextButton")
RevealBtn.Size = UDim2.new(0.8, 0, 0, 35)
RevealBtn.Position = UDim2.new(0.1, 0, 0.25, 0)
RevealBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 215)
RevealBtn.Text = "Reveal Number"
RevealBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
RevealBtn.Font = Enum.Font.GothamSemibold
RevealBtn.TextSize = 14
RevealBtn.AutoButtonColor = true
RevealBtn.Parent = MainFrame

local RevealCorner = Instance.new("UICorner")
RevealCorner.CornerRadius = UDim.new(0, 8)
RevealCorner.Parent = RevealBtn

-- Hint Number Button
local HintBtn = Instance.new("TextButton")
HintBtn.Size = UDim2.new(0.8, 0, 0, 35)
HintBtn.Position = UDim2.new(0.1, 0, 0.5, 0)
HintBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 85)
HintBtn.Text = "Hint Number"
HintBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
HintBtn.Font = Enum.Font.GothamSemibold
HintBtn.TextSize = 14
HintBtn.AutoButtonColor = true
HintBtn.Parent = MainFrame

local HintCorner = Instance.new("UICorner")
HintCorner.CornerRadius = UDim.new(0, 8)
HintCorner.Parent = HintBtn

-- Footer (Signature)
local Footer = Instance.new("TextLabel")
Footer.Size = UDim2.new(1, 0, 0, 30)
Footer.Position = UDim2.new(0, 0, 1, -30)
Footer.BackgroundTransparency = 1
Footer.Text = "made by me"
Footer.TextColor3 = Color3.fromRGB(150, 150, 150)
Footer.Font = Enum.Font.Gotham
Footer.TextSize = 12
Footer.Parent = MainFrame

--- Dragging Logic ---
local dragging, dragInput, dragStart, startPos

local function update(input)
    local delta = input.Position - dragStart
    MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end

MainFrame.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = true
        dragStart = input.Position
        startPos = MainFrame.Position
        
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)

MainFrame.InputChanged:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
        dragInput = input
    end
end)

UserInputService.InputChanged:Connect(function(input)
    if input == dragInput and dragging then
        update(input)
    end
end)

--- Button Functions (FireServer) ---
RevealBtn.MouseButton1Click:Connect(function()
    ReplicatedStorage.Events.Remote.UseRevealNumber:FireServer()
end)

HintBtn.MouseButton1Click:Connect(function()
    ReplicatedStorage.Events.Remote.UseHint:FireServer()
end)

--- Toggle Menu with 'M' ---
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    -- Prevent toggling if the user is typing in chat
    if not gameProcessed then
        if input.KeyCode == Enum.KeyCode.M then
            ScreenGui.Enabled = not ScreenGui.Enabled
        end
    end
end)

--- Notification ---
-- Small delay to ensure the notification works properly in executors
task.spawn(function()
    task.wait(0.5)
    pcall(function()
        StarterGui:SetCore("SendNotification", {
            Title = "Script Loaded",
            Text = "Press 'M' to hide or show the menu.",
            Duration = 7 -- Duration in seconds
        })
    end)
end)
[πŸ€”] Guess My Number Auto Reveal Number - Hint Numbers
Mobile Friendly
6,517 views
7 months ago

Auto Reveal Number - Hint Numbers

WORKING
Free

Description

Win every round in Guess My Number with this powerful script that reveals the hidden number instantly. Instead of guessing randomly, this script gives you the exact number or helpful hints, making it much easier to solve the challenge before other players.

With the Free Reveal Number and Hint Numbers features, you can quickly find the correct answer and dominate every round without wasting time guessing.

Simple, fast, and very useful for players who want to complete rounds easily.

Features

  • Reveal Number
  • Hint numbers

Related Scripts