#health (not maxhealth) decreasing when i change it to maxhealth

1 messages · Page 1 of 1 (latest)

tiny grove
#

first of all you don't need to change H to Max H every second. Also use RenderStepped not Stepped.

dense crest
#

for ur first script

ashen nestBOT
#

studio** You are now Level 7! **studio

dense crest
#

why dont u use the default roblox health script

late radish
#

because

#

idfk

#

why

#

but since i didnt set the value of health to durability

#

it becomes 100 even if durability is 25

#

lmao

dense crest
#

so do u still need help?

late radish
dense crest
#

ok so whats the issue

#

u said theres bugs

late radish
#

so basically im making a system that makes durability turn into hp. these are the only two scripts that change HP and its glitching and decreasing. after its stopped decreasing it does change to maxhealth but still i wanna stop it from going down what do i do

dense crest
#

i can tell

#

can u show me ur system

#

of how u change ur durability.Value

late radish
#

one situp

#

fire server

#

server makes durability go up in leaderstats

#

+1

dense crest
#

can u show me the script

late radish
#

ok

dense crest
#

thx

late radish
#

.

#

ok

late radish
dense crest
#

do u mind sending me ur gamefile

late radish
#

i mean

#

yes

#

i would mind

#

are you typing an essay or something

#

like

dense crest
#

a tedious way to debug is to just add a bunch of print(durability.Value) to everywhere in ur scripts

late radish
#

bro had to go on the dictionary 😭

dense crest
#

so u can find where it went wrong

late radish
#

sure

#

yeah

#

mhm

#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

late radish
#

Lets see if i can help myself 2 years later