#i am making a battle grounds game with a ult bar and it is bugging

35 messages · Page 1 of 1 (latest)

ebon vector
#

script for it

#

im tryna to say is when Player A attacks they should get +2% on ult bar not player B player b's Bar stays the same

lime venture
#

are you saying that both players are getting the +2%, but only the attacker is meant to get the +2%?

ebon vector
#

The person getting attacked is getting 2% but I want the person who is attacking get 2%

lime venture
#

oh so its working the wrong way around basically?

ebon vector
#

Yes

lime venture
#

okay i might be misunderstanding but for player B, is their bar actually raised by +2% or is it only for player A that it seems player to gets +2% ? this is a local script ?

ebon vector
#

?

ebon vector
#

Not player B not the one getting attacked

lime venture
#

and this is server side or local script? sorry ahh

ebon vector
#

Local script

#

For screening

#

Screengui

#

?

lime venture
#

hmm this might be above my paygrade sweat, so bare with me, i do have some questions.. is player B's ult a screen gui that is on player A's screen? so you have a screenshot / recording the the error by chance?

ebon vector
#

Ye

#

Sort of

#

Not really

#

I have a video on me punching

#

Another player

#

In the game

#

And their bae went up by 2%

lime venture
#

okok and when doing damage to the other player are you meant to get +2% per hit on this bar....?

ebon vector
#

Check DMs

#

Yes

#

Mhm

lime venture
#

so what im getting is that the even "Punch damage event" uses a remote event to give damage to the punched player..? maybe try removing updateUltBar(2) at line 72 PepeThink see what happens then? fingerguns worth a try

ebon vector
#

I’ll do it tmr

lime venture
#

alrighty :')) lmk what happens! hopfully a better scripter pops in here and takes a second look soon