Tool counter
Key RequiredUniversal

Tool counter

Universal Scriptcheesedudecheese5cheesedudecheese5 15.1K views 48 executesUpdated Nov 15, 2024
Unrated
00
Lua Script•23 lines (655 chars)
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")
local LocalPlayer = Players.LocalPlayer

-- Function to count tools and send a notification
local function notifyToolCount()
    local toolCount = 0

    for _, item in ipairs(LocalPlayer.Backpack:GetChildren()) do
        if item:IsA("Tool") then
            toolCount = toolCount + 1
        end
    end

    StarterGui:SetCore("SendNotification", {
        Title = "Tool Count Update",
        Text = "You have " .. toolCount .. " tools in your backpack.",
        Duration = 5
    })
end

-- Notify the tool count when the script is executed
notifyToolCount()

Features & Information

Got this off a bot from a exploit server from discord and it only counts tools

Community Comments (2)

NDLgenNDLgenNov 15, 2024(edited)

frieza

cheesedudecheese5cheesedudecheese5Nov 16, 2024(edited)

Exactly

More Scripts for Universal Scripts