So I’m making a script that requires me to select a child of a scrolling frame. I’m trying to select it based on a combined string to represent the child I’m attempting to select.
The most I need to know is what in the world this is called so I can do some research on it.
local function renamePlayerFrame(plr)
frameCount += 1 --defined earlier in the script
if plr.Name ~= client.Name then --Assures we're not putting the current player into the list
local slotAddress = "slot"..tostring(frameCount) --Combines a string to the integer to get the child
scrollingFrame(slotAddress) --// The Problem \\
-- Trying to take the value of *slotAddress* and select a child of *scrollingFrame* using that value (string)
end
end
I appreciate any and all help I can get!