
65.3k Views
728 Executions
Roblox Script Get all the tools Universal
Universal Script 📌
ydont024Published 5
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
Roblox Script Get all tools, works in all games where tools are listed as tool, universal Script
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local tools = {}
for _, tool in ipairs(game:GetDescendants()) do
if tool:IsA("Tool") then
table.insert(tools, tool)
end
end
local screenGui = Instance.new("ScreenGui", playerGui)
local frame = Instance.new("Frame", screenGui)
frame.Size = UDim2.new(0, 290, 0, #tools * 50 + 60)
frame.Position = UDim2.new(0.5, -145, 0.5, -((#tools * 50 + 60) / 2))
frame.BackgroundColor3 = Color3.new(0, 0, 0)
frame.Active = true
frame.Draggable = true
local isMinimized = false
local toggleButton = Instance.new("TextButton", frame)
toggleButton.Size = UDim2.new(1, 0, 0, 30)
toggleButton.Position = UDim2.new(0, 0, 0, 0)
toggleButton.Text = "Minimizar"
toggleButton.TextColor3 = Color3.new(1, 1, 1)
toggleButton.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
local toolContainer = Instance.new("Frame", frame)
toolContainer.Size = UDim2.new(1, 0, 1, -30)
toolContainer.Position = UDim2.new(0, 0, 0, 30)
toolContainer.BackgroundTransparency = 1
local function toggleFrame()
if isMinimized then
toolContainer.Visible = true
frame.Size = UDim2.new(0, 290, 0, #tools * 50 + 60)
toggleButton.Text = "Minimizar"
else
toolContainer.Visible = false
frame.Size = UDim2.new(0, 290, 0, 30)








client sided
Not fe