"Table index is nil", why?

image

It mentions the activeBulletStats[bullet] = { part as the error, by the way. I’m indexing the table with an object because I don’t know any other method of getting unique tables for each bullet

Help!

May I see your bullet and activeBulletstats variable?

image
The ‘bullet’ variable is just an object (that is a bullet) sent from the client

Oh then, this problem is with bullet.
your bullet variable is nil.

Can I see the bullet variable code?

Sure,

WAIT-

I just realized that the server can’t see client-sided stuff :skull:

Oh, so you are parenting and setting properties of a part in client and then sharing it to server…?

Yeah, the client creates its own purely cosmetic bullet, then for some reason I sent it to the server.