So yeah, the title explains it all. There are no errors in the output, the decal just turns transparent. Is there any way to possibly fix this?
Code:
char = owner.Character while true do wait() char.Head.face.Texture = 'http://www.roblox.com/asset/?id=5459977771' wait(0.1) char.Head.face.Texture = 'http://www.roblox.com/asset/?id=5459978526' wait(0.1) char.Head.face.Texture = 'http://www.roblox.com/asset/?id=5459979229' wait(0.1) char.Head.face.Texture = 'http://www.roblox.com/asset/?id=5459979885' wait(0.1) char.Head.face.Texture = 'http://www.roblox.com/asset/?id=5459980498' wait(0.1) char.Head.face.Texture = 'http://www.roblox.com/asset/?id=5459986107' wait(0.1) char.Head.face.Texture = 'http://www.roblox.com/asset/?id=5459986829' end
Just use a Different Method!
ROBLOX will be ROBLOX, which means that it will be wonky. So when changing decals, and updating them to a new asset, you usually have to go one below or one above with the numbers. However, do not do this at all costs. This method is ineffective as it will return other images constantly, only on rare occasion will it return the desired image.
A better solution would be to load in the textures on the character's face, as a child of the script, or somewhere else where the texture will be there. Once it is loaded in, and parented of the character's face, manipulate the textures with a property, (usually 'enabled', 'visible', or 'transparency') and once one of them is visible, make the others invisible. Then, you can make another visible and the rest invisible. I will say you will accumulate a lot of code, loops may help, but this is the general idea of what to do.
Hope this helps, leave a comment if you run into anything, and happy coding! :D