here is an in-depth description of it:
Cart is my table that is full of nothing but object values.
Im trying to print out each of the object value’s object names.
so for example
ObjectVal1.Value = “Model1”
ObjectVal2.Value = “Model2”
what i want is to print out objectval 1 and 2’s values name.
So i want this to show up in the console:
Model1
Model2
NOT
Model1 Model2
Btw, this is for a shop. thats why my table is called “cart”. its like a cart in online shops so you cna buy bulks of items.
nothing working… im kinda curious (because its getting cart from an event) if cart isint even a table… liek if im not sending the table right… lemem check
just checked, the sending script sends a table… the reciving script GETS a EMPTY table???/
i checked, the table being sent has stuff in it… so idk why its empty on the other side
If your sending the table from a localScript to a serverScript make sure in the recieving end to get (_, yourtable) because when you fire a remote event from a local script it will always pass through the player aswell.
what is the table consisting of? If you send a table of instances (INCLUDING ObjectValues) these NEED to exist on the Server as well, or they will be nil on the server.