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

Help with Custom Starter Character for certain username?

Asked by 5 years ago

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..

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. cherrythetree 130 — 5y

1 answer

Log in to vote
0
Answered by
gloveshun 119
5 years ago
if script.Parent.Name == "YOUR NAME" then
else
    game.StarterPlayer.StarterCharacter:Destroy()
end

in a script located in startercaracterScripts

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. bowsercow 20 — 5y
Ad

Answer this question