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

How do I make a player Spawn with an Outfit?

Asked by 10 years ago

Hey guys, I really need some help here. I can't seem to figure out how to make a Player who has Joined my game spawn with a Specific outfit. Such as ROBLOX hats, pants, shirts, T-shirts.

I would really like to have a Step-by-step simple answer, as I am rather new to the scripting world. Make it simple. If you can give a direct code answer, and make the areas I can add/change bold/italic or something, that would be great. I just really need help.

Thanks for the help and advice, please answer. Thanks guys, xxfurryfox.

1 answer

Log in to vote
0
Answered by 10 years ago
game.Players.PlayerAdded:conncet(function(player)
player.CharacterAdded:connect(function(character)
getall = character:GetChildren()
for i = 1, #getall do
if getall[I].IsA("Shirt") or getall[I].IsA("Pants") then
getall[I]:Remove()
end
end
wait(2)
local givepants = Instance.new("Pants")
local giveshirt = Instance.new("Shirt")
givepants.Parent = character
givepants.PantsTemplate = --Asset Here.
giveshirt.Parent = character
giveshirt.ShirtTemplate = --Asset Here.
end)
end)

it Should Work!

0
Wait, so under what do I put this script? Like...under starterpack, ScreenGUI, what? xxfurryfox 0 — 10y
0
Where ever you want but i recommend to game.Workspace vincius0000 0 — 10y
Ad

Answer this question