I worked on making a really basic mana and stamina bar, used RemoteEvent for the exchange of the data. The scripts by themselves worked just fine but when i tried using both at the same time only 1 of them would work. The two LocalScripts are currently placed in the StarterGui. (I tried putting them into the StarterCharacterScripts but nothing changed when i did so)
I used 1 LocalScript a (Server)Script and a RemoteEvent which i put into the ReplicatedStorage for the stamina bar as well as for the mana bar and my question is what exactly i have to change here because if i remove the mana scripts the stamian scripts work as well as the other way around.
This is how it currently looks: https://imgur.com/a/HrjqGPb
(Sprint is the server part for the stamina bar)
The only thing I can say is that it is probably a problem on the side of the LocalScripts, but if anyone could help me out here I'd really appreciate it I really don't think I can find the problem on my own here.
Script Codes are in the description of the Imgur Image.
If you can't help me with these informations I probably don't need your help.
Thanks for your help.