If my title sounds confusing, here’s my concept: Each player has another player displayed on their HUD. The goal is for them to kill this player while not getting killed them-self. I’m stuck on actually assigning who kills who.
Here is what I’ve got so far, however this just sets playing[k].killing to a nil value:
function SetKilling() playing = shuffleArray(playing) for k, v in pairs(playing) do playing[k].killing = playing[k+1] end end
I’ve checked, and playing contains what it should. If you do need to see any more code, just say and I’ll edit this post and put it in.