I Have A Function That Is Suppose To Run Through Every Available Lobby In A Game
It's A LocalScript. Here Is The Function
local function ReturnDungeon(owner) for i,v in pairs(game.ReplicatedStorage.Lobbies:GetChildren()) do if v.Owner.Value == owner then return v end end end
However When This Function Is Run, This Does Not Return Anything
I've Checked All The Values Involved And They Are All Correct, I've Done Multiple Debugs, They Haven't Been Helpful
This Function Not Returning Anything Is Literally Breaking The Game. I Need To Know What I've Done Wrong As I Can't See It Myself.