Added after 1 hour 42 minutes
if GetPlayerResource(1, k1) >= res1{k1+1} thenIt seems there's an error here. "attempt to call table value," or something like that. How can I fix it? (I need an array, there are many components).
New here? I'm Roha — want a quick tour?
if GetPlayerResource(1, k1) >= res1{k1+1} then