In this script I'm working on; if you click a button it'll insert content from another table into an empty table, and if you click another button it should delete the content from the previously empty table. But an error message would appear saying, "Players.KatsuneSniper.PlayerGui.StartGui.main:207: bad argument #2 to 'remove' (number expected, got Object)"
for i = 1, #currentcam do
table.remove(currentcam, currentcam[1])
end

4 comments
You have to give it the table number position.
http://wiki.roblox.com/index.php?title=Global_namespace/Table_manipulation#table.remove
Thanks
Np.