I tried the solution to my previous problem but it's not working :/
script--
if #Obby.ObbyInfo.TempContestants.Value <= 1 then
Please help. And don't take it down as it is a different script. Thanks
I tried the solution to my previous problem but it's not working :/
script--
if #Obby.ObbyInfo.TempContestants.Value <= 1 then
Please help. And don't take it down as it is a different script. Thanks
You are getting the value from a folder which is not possible. I am assuming that you are looking to get the number of contents from the folder. To do this you will have to use #, which you already have, but # only returns the number of contents from a table and this is not a table. To turn this into a table, you need to use the :GetChildren() method. Replace the line with
if #Obby.ObbyInfo.TempContestants:GetChildren() <= 1 then
Thank you!
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
TempContestants is a folder, not a value object. Maybe you meant to refer to a value inside the folder?
there is nothing inside of the folder @mattscy. I tried removing everything at the end but the previous error shows.
What are you trying to do? If there is nothing inside the folder, Value is neither a property or a child of the folder.
O.o , mind blown