#humanoid description problem
1 messages · Page 1 of 1 (latest)
you can edit the rougeDesc to set some of the parts (Accessories) to the playerDesc's ones
you can use HumanoidDescription:GetAccessories() to get them
oh i didnt know that existed
let me try
wait how would i add them to the rogue description
do i use applydescription again?
before you apply the description, edit it
how am i supposed to combine the two
and how does getaccessories even work isnt every accessory seperate?
i mean how do i edit it via script
i tried doing this but it didnt work
** You are now Level 5! **
Wait, whats even the context of this?
like whats happening here?
to change your character into a humanoid Desc i added when you touch a part
it puts you in a team
every team has their own character
im trying to make it so that the character inherits the original player's accessories
oh i see i see i got confused by the function name
hmmm
Have you debugged it yet though?
like does it actually work as intended?
it works, but it doesnt apply the accessories
and i dont know how to apply accessories
the thing i tried gave an error
it said argument is nil
Have you printed out playerDesc and rogueDesc ?
same i just tried it out today ill try it
what parameter is supposed to go there?? i dont get it
yeah argument 1 missing
FOR SOME REASON
when i gave it a boolean
it printed that
how does that event work
wth is going on
what hte fuck
there arent any tutorials for humanoid descriptions either
for now ill just not do the accessory thing unless someone knows what to do
all i know is that like ApplyDescription just applies Shirts, pants, Body Color, etc etc basically a replica of a character description
but ive never heard of GetAccessories
😭
Yeah they previous guy suggested it
Then read the docs
It returns an array of the accessories
rougeDesc:SetAccessories(playerDesc:GetAccessories())
character.Humanoid:ApplyDescription(rougeDesc)
SetAccessories(accessories : Array,includeRigidAccessories : boolean):()
Accepts a table that sets the accessories and related properties for an avatar.
and
GetAccessories(includeRigidAccessories : boolean):Array
Returns a table of an avatar's current accessories.
Nice thx
local playerAccessories = playerDesc:GetAccessories() this line is giving me an error
it needs a bool for includeRigidAccessories
see the docs reference for those methods (I sent above)