Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fix these uncooperative LocalScripts ?

Asked by 6 years ago
Edited 6 years ago

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.

0
I suggest you post the code User#19524 175 — 6y
0
Don't ask all scripts. Automatic yes. User#19524 175 — 6y
0
You should post the code here though. User#19524 175 — 6y
0
Use Code Blocks pls SBlankthorn 329 — 6y
0
for what reason Asrzybo 0 — 6y

Answer this question