Hello! so ive been trying to make the total damage to the bigger the max hp, the lesser the damage it adds so for example an enemy with maxhp of 500 takes 30 damage/hit, but an enemy with 1000 maxhp takes 45 damage/hit that shouldve take 60 damage/hit (the script.Damage.Value is 0.03) sorry for bad english and thanks!
local TotalDamage = math.floor(script.Parent.Humanoid.MaxHealth * script.Damage.Value)
script.Parent.Humanoid.Health -= TotalDamage
no i mean i want to make the total damage to be less effective the bigger the enemys health is, like 500hp take 30 dmg and 1000 take 45 instead of 60 and so on