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

Custom Character Clothes On spawing?

I just had this idea And i wanted to accept the challenge To upgrade my scripting level, But i FAILED, Can you help me Out? I want to give my players when they join the game a custom clothes ( and also when they respawn Because it will go default as thier Avatar )

Sorry if you didn't understand my spelling ( IT'S just English is not my main ) And im not 9 years old or something, DON'T GET IT WRONG

3 comments

0

Did not work

0

do you still remember when you asked how to exploit a tycoon game

0

ye lol

1 answer

✓ Accepted answer

Hi, i'm BashGuy10. I hope i can help you!

Problem?

You want character to spawn in with custom clothes.

Fixes

Use player.CharacterAdded:Connect(function(char) and char.Shirt.ShirtTemplate = shirtid and char.Pants.PantsTemplate = pantsid

Example fix

local shirtid = 0 -- Shirt id here
local pantsid = 0 - Pants id here

game.Players.PlayerAdded:Connect(function(player)
	
	player.CharacterAdded:Connect(function(char)
		char.Shirt.ShirtTemplate = shirtid
		-- You should get it from now on
	end)
	
end)


2 comments

0

Also pls mark this as the answer if this helped.

0

Its already marked tho

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