I have a server sided NPC. And I have a gun that fires bullets on the client. And then deals damage on server. But it checks the HP on the client and if 0 it will show some UI like hitmarker, +x points etc…
But the client check doesn’t seem to run. So is client not able to return read only server information in this case?
You shouldn’t do that on the client either way; you can run into a situation where the gun shows hitmarkers on the client, but the server says it’s a miss
You will need to show code to get help, how are you doing this check? Have you tried adding a breakpoint or a print statement to make sure it’s running?