I have been working on a certain system that requires the function to check the player if they have multiple variables.
And, I have this placebo code showing my current way of doing so:
local Player = game.Players.LocalPlayer if Player:FindFirstChild("Value1") and Player:FindFirstChild("Value2") and Player:FindFirstChild("Value3") then print("Values found") end
However, this is very chaotic and can get very inconvenient the more I add.
I’d like to know the best way I could organize this, so it isn’t so chaotic?