How do you make it to where only a certain person with a username can get through a barrier?

The title is the exact question.

If triggering players name = RandomPerson
Do, broadcast message on channel "open"

Replace “randomPerson” with the name
Note: it is case sensitive

Ok, but the username wouldnt be Random Person, but Thank you!

How would you change it from random person, I mean the game could have any name, right?

By using the text block you can input any name

Oh, okay.

Yes, but for A certain player to be able to walk in, im making a house for my friends.

Ooh, that makes sense!!!

And you can use the “or” logic block to input multiple names

Make sure to set the door’s scope to player!