Key goes missing after firing it through a RemoveEvent

Hey there everyone,

Today I was working on my game and I tried firing a table through a RemoteEvent to the server but strangely one of the key went missing. Here is a screenshot of the error:

image

The first table is the one on the client side (printed one line before firing the Event) and the second table is the server side which is printed on the very first line when its recieved. This is most likely to do with robloxs side, if theres any workaround or solution feel free to tell me.

Thanks for the help!

2 Likes

maybe because the keys have multiple data types

convert the number keys to string keys with tostring(), so it would be

["1"] = ...
["2"] = ...
["DName"] = ...
3 Likes

the first indexs are numbers so it still did the same thing

if you convert the indexes to strings then they are not numbers

mine worked
image

edit: or you could just change dname to 3

1 Like

I need them as numbers so I can loop through them though

is there any way to use both string and number in the table, because Im gonna make it so the amount of indexs will change depending on the table

1 Like

What is the full table that you passed through the remote event? if there is metamwthods attached to it those will not be transferred

Nevermind i read the post wrong :sob:

You can add a data key into the table

[“Data”] key could be where you store the numeric keys in to loop for