Character Customization

I have a script that allows me to hit buttons to make a certain value go up or down, I also have some hats that I would like to customize the character with, could someone help me with making a certain hat show up when “var” == a certain value

how about

switch(var) {
case 0: …
break;
case 1: …
break

default: …
}

Can you give me an actual coding example

look up switch statement documentation, its exactly what he’s trying to show you.

thx

I remember there’s a sample project on customization. You might want to look at it. It’s quite advanced. But you can take a look at it too, :smile: