We’re making a Simulator/Tycoon game and I’m planning on adding some very short human noise expression from the npcs buying from your shop, and npcs includes the friends of the players ingame, so I want to know how to get the friend’s gender so i can determine whether i should use male noise or female noise for the npc
You can’t get someone’s “gender”. What I’d do is try and get information about their accessories and see if they’re feminine or not by the keywords in the name.
In my opinion, you can just ask for their gender when they first join the game as a new player then use datastore to save their choice, or you can just make that a setting so that the players can change it back and forth. Other than that, you cannot get their gender base on their userid.
how can I ask gender of someone isn’t playing the game, I’m talking about the Npc that looks exactly like the player’s friends as the customers
I was thinking abt that but it takes a bit of more work so i was hoping theres faster way to determine that
if by male and female noise you are changing pitch, you could try not classifying the npcs at all, and just play all of the noises at a pitch in between (a sort of gender neutral noise?)
if the npcs are actually saying stuff and not making hmph and huh noises well then i dont know
You’ve played Work At A Pizza Place, right? You know how they have those emotes that play sounds according to the emote or word you say in chat? You could just do sounds like those with a normal voice and then pitch them up… as far as I know, people are fine with that.
Sorry, I misunderstood your problem. I don’t think this is possible because Roblox doesn’t offer any method or API to get a player’s gender from their userid. In conclusion, there is no solution for this from my knowledge. By any chance, has any game achieved this? If so, then I can try to do more research to find what can help you.
This is impossible to do
Well, it’s possible but like – there’s absolutely no logical way to do it.
To clarify; you systematically cannot access the gender of a Roblox account.
Regardless of what you’re trying to do, getting the actual gender settings of a Roblox account is not possible. Even if it was, people can pick “Prefer not to say” or “Other.”