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

How Do I Have All Characters Spawn In With A Certain Outfit? [closed]

Asked by 8 years ago

How exactly would i be able to have all players spawn in with that same hat,face,shirt,and pants? If you know the answer please do tell me and if you can please give me the script that contains all from above.Thank you for reading :)

Closed as Too Broad by Goulstem and TheHospitalDev

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 8 years ago

this isn't a request site ... but put this into a script and place it in workspace

game.Workspace.ChildAdded:connect(function(plr)
local name = plr.Name
local playerinplayers = game.Players:FindFirstChild(plr.Name)
if playerinplayers ~= nil then
playerinplayers.CanLoadCharacterAppearance = false
plr.Head.face.Texture = "" -- put the face texture here
local bodycolors = Instance.new("BodyColors", plr)
bodycolors.RightArmColor = BrickColor.new("")
bodycolors.LeftArmColor = BrickColor.new("")
bodycolors.LeftLegColor = BrickColor.new("")
bodycolors.RightLegColor = BrickColor.new("")
bodycolors.TorsoColor = BrickColor.new("")
bodycolors.HeadColor = BrickColor.new("")
-- put the colors you want in those

local shirt = Instance.new('Shirt', plr)
shirt.ShirtTemplate = ("")

local pants = Instance.new('Pants', plr)
pants.PantsTemplate = ("")

-- shirt and pants texture

local hair = game.Lighting[""]:Clone() --make sure you put the name of the hair/hat you have in Ligting in the [""]
hair.Parent = plr

local LL = game.Lighting["Left Leg"]:Clone()
LL.Parent = plr
local LA = game.Lighting["Left Arm"]:Clone()
LA.Parent = plr
local RL = game.Lighting["Right Leg"]:Clone()
RL.Parent = plr
local RA = game.Lighting["Right  Arm"]:Clone()
RA.Parent = plr
local TR = game.Lighting.Torso:Clone()
TR.Parent = plr

-- get the hair you want, and the character meshes you want and name them and put them into lighting. 


end
end)

you will need to figure out how to remove your old hat// accessory yourself, but this should work just fine for you with a little work.

Ad