Advertisement
otorp2

lua addme()

Jun 24th, 2017
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. for i = 1,400 do MyVariableTable[i] = i + 1
  2. print(i)
  3. end
  4.  
  5.  
  6.  
  7. function addme(var1,var2,var3,var4,var5)
  8. return var1 + var2 + var3 + var4 + var5
  9. end
  10.  
  11. for i = 1, 400, 5 do
  12. local myvariables = addme(MyVariableTable[i], MyVariableTable[i+1], MyVariableTable[i+2], MyVariableTable[i+3], MyVariableTable[i+4], MyVariableTable[i+5])
  13. print(myvariables)
  14. wait(2)
  15.  
  16.  
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement