Way to detect player name?

Is it possible to detect if a player has a specific name?

Yes you can (can’t remember how from the top of my brain) but what for?

Yes, if you go into the blocks option, one of the blocks is the users name.

2 Likes

ok but where is it? witch category

Please search before you post Name-linked System (difficulty 2/10)

Oops sorry I used that guide before the image purge I completely forgot.

The essentials category:

Cant use it… if you looked at it

is it detecting the players name? cuz i see it using the TRIGGERING players name

It detects the player’s name just fine. The player has to be the one to activate the block code, that’s all.

i need somthing like Player Name Do Whatever
If else Do Whatever

Yes it does, it finds the name.

What you want would just be having that block code activate due to that player triggering it.

im talking about like if my name was BOB then code would work BUT if it was anything else the code would not work

Here’s an example: (dont flag pls)


This detects the players name and if it is that name, it sends a signal

1 Like

Ok thats what i was looking for

1 Like

So this would work correct? im still kinda learning the code lol

At a quick glance it should but I’m not good at block code.
Bye for now :slight_smile:

1 Like

Just a quick question, why does “D3ath” equal 1 in two places? Is that a duplicate not needed or did you purposely do that?

Oh okay. Just remember to set the other one to have a value equal to 2 if you want the random integer thing to still work.

1 Like

yeah i did for testing! Ima add in diff things later after i get testers(Yes i have wix)

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.