This is what I’m trying to test:
[lua]for k,v in pairs(player.Getall()) do
timer.Simple(1, function() v:DoSomething() end)
Here’s the problem: when the timer actually runs after a second, if there was more than one value in the k,v table, then it doesn’t know which “v” to use.
Is there any way to overcome this? You can’t store v as something because it’s a pointer…