I have a folder inside the player called "Trails", the folder contains some bool values. Named 'OwnsRedTrail' and 'OwnsBlueTrail'.
What do I want?
I want to check that, if the player has any of those 2 bool values set to true, then I want to show the frame. If both of the values are set to false, then I don't want to show the frame.
What have I tried?
Well, I have tried the following approach:
local Player = game.Players.LocalPlayer
while true do
for i, trail in pairs(Player.Trails:GetChildren()) do
if trail.Value == true then
script.Parent.Visible = true
else
script.Parent.Visible = false
end
end
wait(2)
end
But the above script is checking if all the bool values are set to true or false. I want to check that if ANY of the values is set to true. No matter it is the ''OwnsRedTrail' or 'OwnsBlueTrail'..
Thanks for any help

1 comment
Thank You. Your explanation was logical.