xXRALXx
|
  |
| Joined: 12 Mar 2008 |
| Total Posts: 153 |
|
|
| 11 Jul 2014 10:42 AM |
function onPlayerRespawned(newPlayer) local face = {23932048, 110288809, 20722130} for i, v in pairs(face) do newPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=" .. v end end
messed up code asddffds |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 11 Jul 2014 10:44 AM |
that's not random.....
local face = {23932048, 110288809, 20722130} --THESE ARE STRINGS BY THE WAY local randomface = face[math.random(1,#face)]
|
|
|
| Report Abuse |
|
|
qElite
|
  |
| Joined: 31 Dec 2007 |
| Total Posts: 410 |
|
|
| 11 Jul 2014 12:41 PM |
@OP
that's going to give your player EVERY face not randomly, do what wish said |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 12:44 PM |
function onPlayerRespawned(newPlayer) local face = {"23932048", "110288809", "20722130"} local rface = face[math.random(#face)] newPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id="..rface end |
|
|
| Report Abuse |
|
|