I'm attempting to clear a table inside a function, but every-time I do, it either says I can't insert into the table because it's nil or it just adds the same record over and over again without clearing it.
Methods I have tried
Table = nil
^ is the one that says I can't insert into the table because it's nil
Table = {}
^ Doesn't clear the table, just keeps the records
