I have no idea what this error means.
21:27:06.767 - Players.Player1.PlayerGui.LocalScript:5: bad argument #2 to 'random' (interval is empty) 21:27:06.771 - Script 'Players.Player1.PlayerGui.LocalScript', Line 5 21:27:06.774 - Stack End Script:
faces = {face1 = "http://www.roblox.com/asset/?id=162384466",face2 = "http://www.roblox.com/asset/?id=162387197",face3 = "http://www.roblox.com/asset/?id=162387541"}
h = script.Parent.Parent.Character.Head
player = game.Players.LocalPlayer
hft = h.face.Texture
rm = math.random(1,#faces)
hft = rm
I have all the asset ids right cause i -1 them all so I don't know whats going on now. Please help! Thanks!

1 comment
That is supposed to work, but don't you think it would be more efficient if you did asset = faces[rm]?