In my script I have a zombies and allies table
But I have this problem, where every frame, the zombies table and the allies table keep ‘switching’ from empty to normal (so like, on first frame only the zombies table will be full even if there are allies, and on the second, the zombies table will be empty and the allies table filled, and it repeats so on)
Well… first, why do you need to send 2 tables of “zombies” and “allies” on a Heatbeat basis?
Heartbeat “iterates” pretty fast, so you are probably “clogging” the remote with those very fast calling trying to send a table that could be huge.
This entire thread is stupid…
The reason for this problem was because I was testing it using the Roblox Studio command bar, which for some reason re-runs the whole module.