After a little help from a member on scripthelpers, I was able to get a script down that gives you things depending on a value, and I have this script right here that should give you a face if you have a value, but it doesn't, no output errors or anything, any help?
local bunchOfFaces = {
[1] = "rbxassetid://3224406211", --Face1
[2] = "rbxassetid://3224406505", --Face2
[3] = "rbxassetid://3224406817", --Face3
}
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:Connect(function(character)
local d = character:WaitForChild("Head").face
local val = player:WaitForChild("leaderstats").Face.Value
if val >= 1 then
wait(1)
if val >= #bunchOfFaces then
d.Texture = bunchOfFaces[#bunchOfFaces]
else
d.Texture = bunchOfFaces[val]
end
end
end)
end)

3 comments
I am confused
lol just replace where you assign the local d to character:WaitForChild("Head"), then change d.Texture to d.face.Texture
I see now, thank you so much, your so helpful!