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

How to make people in your game spawn with an outfit on?

so i've been making a game on studio and i want people to all spawn with a certain outfit. but i don't know how. does anyone know?

2 answers

✓ Accepted answer

Hey there skyfall,

Glad to know you're interested in CharacterAppearance!

Let's take a look at an example script we could use:

PlayerID = "" -- The ID of the player who everyone would like it.

game.Players.PlayerAdded:connect(function (newPlayer)
	newPlayer.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=" ..PlayerID
	newPlayer:LoadCharacter()
end)

2 comments

0

hi just asking do i do it exactly like that

0

Nice alternative method. @Skyfall106GamingMLG This answer will make the person spawning it, look like a Player of your choosing!

Glad you asked. I won't provide a script, since you didn't show effort, but I'll provide an explanation. You'd use the CharacterAdded event to detect when a Player's character spawns. After that, I recommend searching if it contains a T-Shirt, Shirt, and Pants (T-Shirt is ShirtGraphic I believe), then delete them. After deleting them, create new ones, with your own ids. That's pretty much it!

1 comment

0

Also a method. A good one if you don't want to use another player.

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