Detect what a user is wearing

[RBLX] natlee
Joined 01/04/2020
Posts 5,185
12:37 AM 01/12/2021
Hello! I have no idea how to program in javascript especially with brick hill applications and was wondering if anyone could help me with a script to detect what a user is wearing. Thanks for your time!


[Code] Chlps
Joined 12/01/2021
Posts 129
11:27 AM 03/12/2021
Game.on("playerJoin", (plr) => {
let asset = plr.assets
console.log(asset)
})


its gonna print a table which contain all the item's ID the player is currently wearing
here are some links

https://brickhill.gitlab.io/open-source/node-hill/classes/Player.html#assets
https://brickhill.gitlab.io/open-source/node-hill/interfaces/Assets.html

1