Gaze Basic Info V1
Key RequiredUniversal

Gaze Basic Info V1

Universal ScriptGazer_HAGazer_HA 42K views 133 executesUpdated Nov 1, 2024
5.0/ 5(2 votes)
20100% Positive
Lua Script•172 lines (5628 chars)
local gui = Instance.new("ScreenGui")
gui.Name = "GazerGui"
gui.Parent = cloneref(game.CoreGui) or game.CoreGui



    


local function message2(input)
    local replacements = {
        ["0"] = "\u{FF10}",
        ["1"] = "\u{FF11}",
        ["2"] = "\u{FF12}",
        ["3"] = "\u{FF13}",
        ["4"] = "\u{FF14}",
        ["5"] = "\u{FF15}",
        ["6"] = "\u{FF16}",
        ["7"] = "\u{FF17}",
        ["8"] = "\u{FF18}",
        ["9"] = "\u{FF19}"
    }    

    for word, replacement in pairs(replacements) do
        input = input:gsub(word, "{" .. replacement .. "}")
    end
    
    local result = ""
    local insideReplacedWord = false

    for i = 1, #input do
        local char = input:sub(i, i)

        if char == "{" then
            insideReplacedWord = true
        elseif char == "}" then
            insideReplacedWord = false
        elseif insideReplacedWord then
            result = result .. char
        elseif char == " " then
            result = result .. "\b"
        else
            result = result .. char
        end
    end

    result = result:gsub("{", ""):gsub("}", "")
    local A_1 = result
    local A_2 = "All"
    if game:GetService("TextChatService"):FindFirstChild("TextChannels") then
        game:GetService("TextChatService").TextChannels.RBXGeneral:SendAsync(A_1)
    else
        game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(A_1, A_2)
    end
end


local function INFOS(displayName)
    local player = nil
    displayName = string.lower(displayName)
    for _, plr in ipairs(game.Players:GetPlayers()) do
        local playerNameLower = string.lower(plr.Name)
        local playerDisplayNameLower = string.lower(plr.DisplayName)
        if string.find(playerNameLower, displayName, 1, true) or string.find(playerDisplayNameLower, displayName, 1, true) then
            player = plr
            break
        end
    end

    if player then

-- Now, update the main code to include the friend count in message2
local accountAge = player.AccountAge
local accountCreationDate = os.date("*t", os.time() - (accountAge * 24 * 60 * 60))
local creationDateString = string.format("%02d-%02d-%04d", accountCreationDate.month, accountCreationDate.day, accountCreationDate.year)

-- Calculate years, months, and days
local years = math.floor(accountAge / 365)
local remainingDaysAfterYears = accountAge % 365
local months = math.floor(remainingDaysAfterYears / 30)
local days = remainingDaysAfterYears % 30
local accountAgeString = string.format("%d year%s %d month%s %d day%s",
    years, years == 1 and "" or "s",
    months, months == 1 and "" or "s",
    days, days == 1 and "" or "s"
)

-- Determine Membership Type
local membershipTypeString
if player.MembershipType == Enum.MembershipType.None then
    membershipTypeString = "None"
elseif player.MembershipType == Enum.MembershipType.BuildersClub then
    membershipTypeString = "Builders Club (no longer available)"
elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
    membershipTypeString = "Turbo Builders Club (no longer available)"
elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
    membershipTypeString = "Outrageous Builders Club (no longer available)"
elseif player.MembershipType == Enum.MembershipType.Premium then
    membershipTypeString = "Premium"
else
    membershipTypeString = "Unknown"
end

-- Display the message with the additional information
message2("Player Info:\r> Display: " .. player.DisplayName ..
    "\r> User: " .. player.Name ..
    "\r> Created: " .. creationDateString ..
    "\r> Account Age: " .. accountAgeString)
    end
end


-- put your mainframe into the screengui that I have made (frame.Parent = gui) 

local GazerMain = Instance.new("Frame")
GazerMain.Size = UDim2.new(0.5, 0, 0.5, 0)
GazerMain.Position = UDim2.new(0.5, 0, 0.5, 0)
GazerMain.BackgroundColor3 = Color3.new(1, 1, 1)
GazerMain.BorderColor3 = Color3.new(0, 0, 0)
GazerMain.BorderSizePixel = 1
GazerMain.Active = true
GazerMain.BackgroundTransparency = 0 
GazerMain.Draggable = true
GazerMain.Parent = gui


local GazerTitle = Instance.new("TextLabel")
GazerTitle.Size = UDim2.new(1, 0, 0.2, 0)
GazerTitle.Position = UDim2.new(0, 0, 0, 0)
GazerTitle.BackgroundColor3 = Color3.new(0, 0, 0)
GazerTitle.BorderColor3 = Color3.new(0, 0, 0)
GazerTitle.BorderSizePixel = 1
GazerTitle.Text = "Gazer Basic Info's"
GazerTitle.TextSize = 14
GazerTitle.BackgroundTransparency = 0 
GazerTitle.TextColor3 = Color3.new(255, 255, 255)
GazerTitle.Font = Enum.Font.Bodoni
GazerTitle.Parent = GazerMain


local EnterName = Instance.new("TextBox")
EnterName.Size = UDim2.new(0.8, 0, 0.2, 0)
EnterName.Position = UDim2.new(0.1, 0, 0.3, 0)
EnterName.BackgroundColor3 = Color3.new(0, 0, 0)
EnterName.BorderColor3 = Color3.new(0, 0, 0)
EnterName.BorderSizePixel = 1
EnterName.PlaceholderText = "(displayname/username can be shorten)"
EnterName.TextColor3 = Color3.new(255, 255, 255)
EnterName.BackgroundTransparency = 0
EnterName.Font = Enum.Font.Code
EnterName.Text = ""
EnterName.TextSize = 15
EnterName.Parent = GazerMain


local INFO = Instance.new("TextButton")
INFO.Size = UDim2.new(0.3, 0, 0.2, 0)
INFO.Position = UDim2.new(0.35, 0, 0.7, 0)
INFO.BackgroundColor3 = Color3.new(0, 0, 0)
INFO.BorderColor3 = Color3.new(0, 0, 0)
INFO.BorderSizePixel = 1
INFO.Text = "Info!!"
INFO.TextSize = 14
INFO.BackgroundTransparency = 0 
INFO.TextColor3 = Color3.new(255, 255, 255)
INFO.Font = Enum.Font.Code
INFO.Parent = GazerMain

INFO.MouseButton1Click:Connect(function()
    local displayName = EnterName.Text
    INFOS(displayName)
end)

Features & Information

Make a textbox that able you to Get info by name of the player you input inside (can be shorten) And make you chat the Basic information of them. Example of the output: Player Info: > Display: John Doe > User: John Doe > Created: June 25, 2005 > Account Age: 19 years, 4 months, 7 days > Membership: Premium

Community Comments (2)

whatsanounwhatsanounNov 2, 2024(edited)

cool ig

ddorredoreddorredoreNov 10, 2024(edited)

Hey can you make no white*e one? I need this script to troll people at my favourite game "School Simulator" Pls?

More Scripts for Universal Scripts