GET EVERY ITEM IN THE GAME
Key Required

GET EVERY ITEM IN THE GAME

Another JToH RPG [RING 5 SOON]lolProplayerlollolProplayerlol 5K views 25 executesUpdated Apr 13, 2022
5.0/ 5(5 votes)
50100% Positive
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.