#How Do I Unsync HUD?

1 messages · Page 1 of 1 (latest)

verbal basin
#

I Am Making A PvP Game And In It I Need To Make A Currency Counter Using HUD (Room Level HUD To Be Specific) And I Am Not Using Progression Set Up, Can Anyone Help Me?

ruby pulsar
#

It should already be u synced if your gunning it locally

thick osprey
verbal basin
thick osprey
#

that value is local

verbal basin
thick osprey
#

Can you explain more on that then? Saying it’s synced when by default it isn’t doesn’t help much

verbal basin
thick osprey
verbal basin
#

@thick osprey

#

that system is meant to show the ammount of currency a player has on the hud

thick osprey
#

Could you explain to me what that bottom system is doing please?

verbal basin
#

i know it messes up CPU but ima fix it

thick osprey
#

Alright, so the issue here is that player joined event fires for everyone, now that’s not the problem, but what the real problem is you are using a for each on all players and using that to get the balance of those players and it is displaying their data, not yours

thick osprey
#

The “currency get balance” connect that the the 2nd chip in your “enable” system, DO NOT use the for each and the get all players chip, you do not need them

#

Now just connect the set value to the get balance like you did before

#

that’s it

verbal basin
#

1 sec

thick osprey
#

Saves you 3 chips and fixes your problem

ruby pulsar
thick osprey
#

you only update it when you need to update it, as in if it has changed

ruby pulsar
#

Is there a event to check one a currency changes

verbal basin
ruby pulsar
thick osprey
ruby pulsar
verbal basin
thick osprey
#

There are several ways, none are efficient though

#

long story short, room currency is bad

verbal basin
thick osprey
#

if you want to have it always update, you Will need a system to constantly check their balance

verbal basin
thick osprey
#

Hold on

#

you’re using room HUD element right?

ruby pulsar
#

Can you not put out the currency get balance to a 30 hz then use a into them check one the variable changes update the ui

verbal basin
thick osprey
#

What element is it set to?

#

like display element

verbal basin
thick osprey
#

do you want it like that? Because if you set it to “inventory slot 1,2 or 3” you can set it’s display type to “inventory item” > Room Currency > your currency

And it will automatically update itself whenever your currency changes

#

So you don’t even need to make an auto updater

verbal basin
#

not rly

thick osprey
#

then you’ll just need to make a system that constantly checks your balance

thick osprey
#

yeah but that’s really it, your initial issue of the value being synced should be fixed

#

have a friend join you or something and test it out

verbal basin