Check Players IP

Hey i want to have a few testers for my game(already decided) but the beta testers have to give me theirs ip so i can make write that in a code so they are the only people who can use it

but how can i make like the client check theirs ip adress and if the ipadress is the same as i defined they can enter

i searched around a bit but seems to not find it

Try this: