I have a table with these code but can now its always show
[string "luavm"]:52: attempt to call a nil value (field 'getn')
here is my code
if IsMouseButtonPressed(1) and indexPattern < table.getn(Wpattern[indexWeapon]) or IsModifierPressed("lshift") and indexPattern < table.getn(Wpattern[indexWeapon]) then
MoveMouseRelative(Wpattern[indexWeapon][indexPattern].x*sensibility[indexWeapon]* RecoilSense, Wpattern[indexWeapon][indexPattern].y*sensibility[indexWeapon]*RecoilSense)
Sleep(delay)
indexPattern = indexPattern + 1
else