#How can i make a armor att?

3 messages · Page 1 of 1 (latest)

eternal mesa
#

I'm trying to make when the humanoid take damage, the damage be subtracted and divided by 10. This is my "armor system", how can i do that?
(What i already tried:)
Obs: this script is a server script but i think i need to use modules.

#

Health - Take Damage(damage)

Damage = damage - armor/10.

#

the logic