Key Required
GET EVERY ITEM IN THE GAME
Lua Script•10 lines (382 chars)
local function GetNamesOfChildren(Object)
local NamesOfChildren = {}
for _, Child in ipairs(Object:GetChildren()) do
game:GetService("ReplicatedStorage").GameRemotes.BuyEvent:FireServer(Child.Name)
table.insert(NamesOfChildren, Child.Name)
end
return NamesOfChildren
end
local ChildrenNames = GetNamesOfChildren(game.ReplicatedStorage.GameItems)Features & Information
GET EVERY ITEM IN THE GAME
Community Comments (0)
No comments yet for this script.
