Lack of permission to set a character's name

Okay, so a short question…
I’ve asked around; people never really knew why.
Why can you not set a character’s name? (for example, you’re spawned as something and want to change the name.)

I understand that it could cause issues, but if I really wanted to change the name, I’d have to change it with code where it’s cloned or of similarity.

In my opinion, the prior task can be… tedious per say and makes me wonder why you can’t change the name of a character (even on the server side) which is already parented.

image

Example of what I did to get the final result of a name:

if Settings.CreatureName:find("Adult") then
	finalCreatureName = string.gsub(Settings.CreatureName, "Adult ", "")
elseif Settings.CreatureName:find("Juvenile") then
	finalCreatureName = string.gsub(Settings.CreatureName, "Juvenile ", "")
elseif Settings.CreatureName:find("Baby") then
	finalCreatureName = string.gsub(Settings.CreatureName, "Baby ", "")
end
1 Like

Are these characters given to players, or are they for NPCs/MOBs?

They are the player, you play as them.
I have a “growth” system set up; i use integers as keys for the 3 stages: baby, juvenile, adult.
if your value is [1-3], it’ll key in the base character then the age and set the character to be said model.
If you need further information, please ask.

Try setting the name before morphing the player, I think they disabled changing character names because of exploiters creating crude display names, there is a few ways around it though, but probably not what you want.

1 Like

That was what I had mentioned in the base post, I was asking why you have to set the model’s name before morphing. Not a question that’s required to be used, but just a sense of ease.

For example, I want to change the model’s name AFTER being spawned, but I don’t want to respawn. That’s where the error comes into play, rendering it so I’m forced to respawn the player.

yeah its to prevent exploiters from creating nasty display names, people are boycotting it but idk if it’ll change.

They couldn’t anyways, they can only edit through the client. Mind you, they can infact change the names (due to the nature of exploiting).

They change stuff on the client, it doesn’t replicate. With a few exceptions of course, being: local cframe (player’s cframe) and a few others.

depends on how your remote events are setup tbh.

If your remotes are so insecure to the fact they can edit anything regarding names, etc, you shouldn’t really be making games. Sorry, not sorry.

haha right!?

I use billboard UIs for my display names, maybe you could try something like that.
this will also allow you to change display name color and add overhead ICONS etc.

I did that in the very early stages of my games. This thread is going offtopic, if you want to talk more, you can add me on discord: Viserliz#4540

there really isn’t anything else you can do, set the name before morphing or use billboard UIs