Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help with Custom Starter Character for certain username?

so i made a Local Script located in StarterPlayerScripts that successfully duplicated the model into StarterPlayer, but I never change into the model? Even after resetting I stay the same.

I'm trying to make it to where when the game detects a certain player, they will become the startercharacter, only them.

This is the script

	local player = game.Players.LocalPlayer
	local char = game.ReplicatedStorage.StarterCharacter
	 
	if player.Name == "bowsercow" then
	    char:Clone().Parent = game.StarterPlayer
	    end

I'm not sure how to make it to where a certain player can have their own starter character..

1 comment

0

Do not use player.Name! If you changed your username into something else, this script will malfunction and won't know that your really bowsercow from the past, use UserId too. (player.UserId == YOURUSERIDFROMTHEWEBSITEOFROBLOX), also if your planning for certain players to have their own character. Trying making a table.

1 answer

if script.Parent.Name == "YOUR NAME" then
else
	game.StarterPlayer.StarterCharacter:Destroy()
end

in a script located in startercaracterScripts

1 comment

0

Well the issue with that script is the same as my own, while the user with the correct name is in the game, everyone who joins will get the same starter character.

This discussion is preserved as it was. New answers, comments, and votes are closed.