How Would i make a Admin Only StarterCharacter?

Hi!

I’m making a game and i want to make a StarterCharacter just for my friends and me.

And i already have a StarterCharacter and i don’t know how to make StarterCharacters for specific players.

Example:

Please comment any suggestions to help me!

(If your really kind maybe you can wright the code for me :wink: )

1 thing you could do is just create a table of Admins that’ll detect who to exactly search for, you can either do the Player’s Name or the Player’s UserId for better security purposes

Put your Admin Character inside ServerStorage, and clone it when it’s necessary:

local AdminCharacter = game.ServerStorage:WaitForChild("AdminCharacter")

local Players = game:GetService("Players")
local AdminList = {
    "AdminHere",
    "OtherAdminHere",
    "OwnerHere",
}

local function PlayerAdded(Player)
    Player.CharacterAdded:Connect(function(Character)

        if table.find(AdminList, Player.Name) then --This would check if the player that joined is 1 of the Admins inside the table

            local CharacterClone = AdminCharacter:Clone()
            CharacterClone.Parent = workspace
            CharacterClone:MakeJoints()

            Character = CharacterClone
        end 
    end)
end)

Players.PlayerAdded:Connect(PlayerAdded)

I’m not that all-experienced with Custom Characters but I think this would work

6 Likes

Thanks! As promised here is your reward:

You are very kind :smile:

1 Like