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

Random name generator HELP!!?

Asked by 6 years ago

I made the title eye catching on purpose, anyway I plan on making a coin game and you have these eleven fantasy names for everyone and it only gives you it once so you don't end up having the same name as someone. "Why not just let people type an rp name?" Because I'm making the game have a feature where when you kill a player or clone yourself you capture a soul and say if my name was Arisol Xonea and I cloned myself I would capture the clones soul and make a "Arisol Spirit" which would be a ghost version of myself and it would be like an ally so not only would I have to get a auto generated name I would also have to get the similar looks as my customised character

0
Scripting Helpers is a place to get support when you run into problems while programming, not a place to request that someone makes a feature for you. vanilla_wizard 336 — 6y
1
Use a table with the desired names. Then grab one of those names randomly by using math.random and give it to the player. xPolarium 1388 — 6y
0
you can't change the name of a player object with a script, so maybe use a billboard gui and disable chat theking48989987 2147 — 6y
0
i've always wanted to try this :D i was gonna do a baseball sim game on Roblox with this kind of thing DeceptiveCaster 3761 — 6y

1 answer

Log in to vote
-3
Answered by
Tizzel40 243 Moderation Voter
6 years ago

you could use this little formula I created then just replace it with the actual player's name.

local names = {"bill", "hana","jane","max","timmie","charlie"}

--game.Players.PlayerAdded:Connect(function(plr)

local pickname = name[math.random(#names)]   --"#name" just means "number of names" I think


0
names[math.random(1, #names)]. #name literally means the # (number) of indexes in the provided array variable. Fifkee 2017 — 6y
Ad

Answer this question