For my game I want to make it so that you can spawn in with certain properties. I understand how to spawn in with certain bodycolors, but I do not understand how to spawn in with a certain transparency or particle emitter attached to you, for example. Here is what I have done so far.
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 = "rbxassetid://28257733"
local bodycolors = Instance.new("BodyColors", plr)
bodycolors.RightArmColor = BrickColor.new("Mulberry")
bodycolors.LeftArmColor = BrickColor.new("Mulberry")
bodycolors.LeftLegColor = BrickColor.new("Mulberry")
bodycolors.RightLegColor = BrickColor.new("Mulberry")
bodycolors.TorsoColor = BrickColor.new("Mulberry")
bodycolors.HeadColor = BrickColor.new("Mulberry")
local particle = script.ParticleEmitter -- How can i spawn in a particle emitter and make it so that it is anchored to the player?
particle.LockedToPart = true
print("hi")
end
end)

1 comment
I can make the Head transparent, but not the other body parts