Gun Ammo Amount Problem

I don’t understand what you mean? CurrentAmmo should’ve already changed and passed in the new value.

Do you mind providing a repo file?

ok here is the base text: 0/0


when i join it is like this:
image

I think this is because the script only makes the parent visable which makes the text visable. But because we are changing the text when the value CHANGES, we would have to make it show before it changes, but idk how to do that lol

The main issue is that it seems like something is conflicting with the way you’re trying to set it.

Like I said before if I could get this in a model to be able to assist you better, It’s hard to debug when im just staring at code and unable to physically manipulate it to get it working again.

EDIT: After receiving the model, and looking at the code + testing it in an isolated environment, it seems it works perfectly fine and there’s an issue with the experience the player is editing in. I don’t understand what the issue might be unless they have multiple guns that are trying to edit the same UI for whatever reason.

1 Like