Invalid table key type used when using DSS

So yeah, this is my code:

-- Removed for reasons!

But it errors at the line 44, as I showed.
If anyone of you can explain what’s wrong?

This is a bot I made for claiming ranks.

try

rankDSS:SetAsync(tostring(player.UserId), TABLE)

the keys can only be a string.

1 Like

It sadly didn’t help…
Any other suggestions?