Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to gender script? [closed]

Asked by 8 years ago

Im making a game and i need a gender script. Like a script that will find the user's gender and place them in the right gender group.

0
Try making team only scripts the teams are boy girl or if they have a certain hat something like that. duckyo01 120 — 8y
0
I don't think it's possible, it might be but not sure. ISellCows 2 — 8y
0
It is duckyo01 120 — 8y
0
They should make that though duckyo01 120 — 8y
0
Don't automatically assign gender. BlueTaslem 18071 — 8y

Closed as Not Constructive by ChemicalHex, User#5978, and YellowoTide

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
2
Answered by
NotSoNorm 777 Moderation Voter
8 years ago

There is no way to determine a player's gender by just what they logged in through. This is because on the privacy terms, the only use for it would be to determine how the character would look when they first made their account.

But we can be smarter, can't we?

We know some things. Firstly, there are some hats directed to the female side of roblox, and some hats directed to the male side. But let's start with the beginner hat. You know what I'm talking about. The Pal hair and that girl hair that no one can think of the name of...

If we use PlayerHasAsset and check all the male hats and female hats, if the player has more male hats, assume male, vice versa.

0
I SAID THAT ABOUT THE HATS DONT STEAL MEH IDEAS duckyo01 120 — 8y
0
What is PlayerHasAsset? JADENDABOSS21 5 — 8y
0
PlayerHasAsset is a method which checks if a player owns a certain asset. In this case; a hat. Spongocardo 1991 — 8y
Ad
Log in to vote
1
Answered by 8 years ago

In my opinion, you should probably just add a gui that asks for the person's gender and they either pick male or female.