
8.4k Views
1.2k Executions
Player Inventory Checker
Universal Script 📌
Your_Local_Exploiter10 followers
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Checks all items a player has. Universal. Open source. (Feel free to skid) Updates every second. And yes, made with ChatGPT. (am too lazy to program rn)
if not game:GetService("RunService"):IsClient() then return end -- Ensure it's running on the client
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local function getPlayerInventory(player)
local inventory = {}
-- Check equipped tools
if player.Character then
for _, item in pairs(player.Character:GetChildren()) do
if item:IsA("Tool") then
table.insert(inventory, item.Name)
end
end
end
-- Check backpack tools
local backpack = player:FindFirstChild("Backpack")
if backpack then
for _, item in pairs(backpack:GetChildren()) do
if item:IsA("Tool") then
table.insert(inventory, item.Name)
end
end
end
if #inventory == 0 then
table.insert(inventory, "No Items")
end
return inventory
end
local function createOverheadGui(player)
if player == Players.LocalPlayer then return end -- Don't track yourself
local character = player.Character
if not character then return end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







