K0_zzy
(Nord_VPN)
#1
As said in the title, I have issues getting tagged instances with collection service on the client
the tags are already present,
for _, v in game:GetService("CollectionService"):GetTagged("test") do
print(v)
end
nothing get’s printed in the output, if anyone can find a fix please respond.
0786ideal
(ideal)
#2
probably tags aren’t replicated, try using names or attributes or tables
K0_zzy
(Nord_VPN)
#3
What you mean is that you can’t get tags on the client?
Tags do replicate to clients through the server.
When do you run this code? Likely, the tagged items are not loaded on the client by then.
1 Like
Is it tagged in studio or does it get tagged by script? Can you add a task.wait and see if it prins anything then?
K0_zzy
(Nord_VPN)
#6
I have tagged them manually inside of studio.
K0_zzy
(Nord_VPN)
#7
I thought that tags loaded at the same time on client / server
Nothing is ever instant between a client and a server. There is always latency between the two.
But since you’re in the studio, it should be instant (in theory). So you just need to debug it. When does this code run? Where is the script located?
1 Like