No, as seen in the output window screenshot, I am printing the whole StatusTable Dictionary, which should also print the BUILDING as well as the DJ key.
My only explanation is that on the server, the BUILDING key doesn’t get filled out.
Here is a part of the code where I print the dictionary. (On the client.)
Literally no more than 2 lines of code.
-- GetPrivilegeStatuses is a RemoteFunction.
local Statuses = GetPrivilegeStatuses:InvokeServer()
print(Statuses)
In just one script, I had one line of code which didn’t reference the attribute “IsAllowedToBuild”, it referenced an non-existing attribute “IdAllowedToBuild”. Is → Id
Now, I don’t know why my code didn’t at least return the BUILDING key with the value set as false, but now that I’ve changed this typo, everything works as intended now…
At first, I thought that there was a different way to make dictionaries with multiple keys, but at the end it seems all of this was caused by a typo in a different script…
Probably think that since you were returning “IdAllowedToBuild”, which is not a valid attribute but it gets a new attribute. So, pretty sure that’s the reason that it didn’t work at first which was causing it to not error in the output as well.