
5.9k Views
625 Executions
Get All Tools at any obby
Universal Script π
kobiednavarroFirst script
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
Script is made by me i guess it works on every obby sinces i only tried it on 1 game
Updates
Script edited: Create script
-- Function to get all tools in the game
local function findAllTools()
local tools = {} -- Table to store all tools
-- Loop through all descendants in the game (workspace, ReplicatedStorage, etc.)
for _, item in pairs(game:GetDescendants()) do
-- Check if the item is a Tool
if item:IsA("Tool") then
-- If it's a Tool, insert it into the tools table
table.insert(tools, item)
print("Found tool: " .. item.Name) -- Print the name of the tool to the output
end
end
return tools -- Return the list of tools
end
-- Call the function and store the result
local allTools = findAllTools()
-- Output the total number of tools found
print("Total tools found: " .. #allTools)
-- Example of giving all tools to the first player (if there's one)
local player = game.Players:GetPlayers()[1] -- Get the first player in the game
if player then
-- Move each tool to the player's backpack
for _, tool in pairs(allTools) do
tool.Parent = player.Backpack
print("Gave tool: " .. tool.Name .. " to player.")
end
else
print("No players found.")
end









Get Others to Do the Work for You, but Always Take the Creditππ½ππ½ππ½π₯π₯π₯π₯
pls fix i die and i can't use the script any more after death i can you make keep tools? @kobiednavarro
bro chatgpt
Created by ChatGPT I guess?