Hello.
I am trying to use a BoolValue created in a player when they join to check if they have claimed a room in a game I am creating. My intention is to set it to false by default, and then when a door is clicked it is changed to true to prevent them from claiming more than 1 room.
My problem is that, when the door is clicked, I get an error stating " claimedDorm is not a valid member of Player “Players.lazymarkers”" and I don’t know why. It’s the exact same name, I am sure it is in my Player instance, I have a WaitForChild involved to make sure it exists, yet it apparently doesn’t exist.
The script for the door worked perfectly fine before I added the claimedDorm check.
Example of my script:
The error:
Please help