constoutfit = newOutfit() // Sets body colors to white .body('#ffffff') // Change head color (body colors are still changed!) .head('#000000') Game.on('playerJoin', (p) => { p.on('avatarLoaded', () => { // Apply the outfit to the player p.setOutfit(outfit) }) })
This is used for setting player & bot body colors + assets.
To replicate the changes, use the setOutfit and setOutfit method(s).
Example