So on my game I want to make a gender selection. Practically I want it so a player when they join they have the choice of a girl or boy. I don't have a script because I haven't found anyways I could do it. Please help!
COMMUNITY QUESTION
How do I make a gender selection?
1 answer
Put two image buttons in each, and maybe save the data in a folder inside the player object. Use remote events to do this. Like, for example, in a local script put this:
local RS = game:GetService("ReplicatedStorage")
local event = RS:WaitForChild("RemoteEvent")
script.Parent.MouseButton1Click:Connect(function()
--This is the boy button
event:FireServer("Boy")
end)
Server code:
local RS = game:GetService("ReplicatedStorage")
local event = RS:WaitForChild("RemoteEvent")
event.OnServerEvent:Connect(function(player,gender)
game.Players.player.Stats.Gender.Value = gender
end)
Hope this helped!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You can always watch scripting tutorials on YouTube. To be honest I would've never been scripting if it wasnt for YouTube.
This is not a request site. We will not help you unless you have tried to solve your problem yourself. You cannot ask us to write entire scripts for you, this is not the purpose of this site