-
What do you want to achieve? I want to check to see if a UI object exists
-
What is the issue? Trying to do so results in an error:
(Player Name) is not a valid member of ScrollingFrame
Here’s my code:
local currentPlayerListButton = playerList[player.Name]
if currentPlayerListButton == nil then
createNewPlayerInList(player)
end
- What solutions have you tried so far? I’ve tried checking by first making this a variable, which didn’t help solve the problem.
I feel like I’m missing something really obvious lol. Thanks in advance for help.