I’ve been working on my own project recently, a text-based roleplay game with an immersive character creator. I looked at some other similar games (After the Flash by Chadthecreator, Pine Ridge by the Trite community) and came to the conclusion that I need a way for people to be able to change the texture of their hats.
I set up a system that works well, but upon testing the feature with some friends, I realized there was an issue. Sometimes, users input a decal ID instead of a texture ID, which usually should be fine since Roblox automatically turns the decal into a texture, but here thats not the case.
The code sends the ID the player requested to the server, which puts it in the texture property of the specific hat the player requested, but the ID, if it’s a decal ID, isn’t automatically changed to a texture id, it will just stay as the decal ID, which causes the hat to turn grey.
What can I do to fix this?