I have a startercharecter in my game, but I’m trying to make it to where the owner (me) is an exception so my avatar shows instead of the premade one. Any idea where I can start to make this, cause im a little.
I think you have to get your UserID
and if it’s you then end, something like this:
--other code--
if UserID = "YOURUSERIDHERE" then return end
else
--other code--
Note this is only an example, you will have to adapt it
by the way could we see the script?
Okay I think that will work, thats all i really needed as I couldnt figure what exactly I was supposed to use. Thx
Okay so it doesnt use any scripts, it just uses the functionality where you can name a rig “StarterCharecter”, place it in StarterPlayer, and then all players will spawn with that avatar. I was just wondering if I can make it to where if your username is something specific, it will give you your normal avatar instead of the one put into StarterPlayer.
Then I think you would have to add a script that makes the player’s character become invisible and uncollidable and untouchable then make the avatar become the one you chose and at the start add what I said, other than that I don’t know sorry
Ah ok then its alright. Ill try something like that, thanks for your time!
No problem, you’re welcome
There is an alternative method where you can use :LoadCharacter and then set the player.Character property (rather than using StarterCharacter).
Do note that Players.CharacterAutoLoads must be false.
Try to have the main script to look for your username, but store the StarterCharacter in ServerStorage. When the script detects your username, put the character into StarterPlayer. Then Reset your avatar by setting your health to 0 when you join!
Wouldn’t this transform him into the character?
Isn’t that what he wanted? Or did he want something else?
He wanted HIS character to be an exception and all the others to become the other character, I think you misunderstood
Well alright, I tried. Thanks though