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()