This script is supposed to give the npc I made a random face from a table of face id's. I know the problem but how can I get it to show the value of the random face instead of the index?
local faces = {22877700, 255827175, 8560971, 10907551, 209994929}
local randomFace = math.random(1,#faces)
script.Parent:WaitForChild("Head").face.Texture = "rbxassetid://"..randomFace
