Run it
Copy the script and paste it into your executor.
DAMAGE_COLOR = .(, , )
DEATH_COLOR = .(, , )
HEAVY_HIT_THRESHOLD =
DISPLAY_TIME =
BASE_SHAKE =
BASE_SIZE =
(amount)
absAmount = .(amount)
absAmount % ==
(.(absAmount))
.(, absAmount)
(targetPart, amount, isDeath)
billboard = .()
billboard.Size = .(BASE_SIZE, , BASE_SIZE, )
billboard.Adornee = targetPart
billboard.AlwaysOnTop =
billboard.ExtentsOffset = .(, , )
label = .()
label.Size = .(, , , )
label.BackgroundTransparency =
label.TextScaled =
label.Font = .Font.Cartoon
label.TextStrokeColor3 = .(, , )
label.TextStrokeTransparency =
label.Rotation = .(-, )
isHeavy = .(amount) >= HEAVY_HIT_THRESHOLD
isDeath
label.Text =
label.TextColor3 = DEATH_COLOR
label.Text = (amount)
label.TextColor3 = isHeavy .(, , ) DAMAGE_COLOR
label.Parent = billboard
billboard.Parent = .CoreGui
.(()
startTime = ()
() - startTime < DISPLAY_TIME
elapsed = () - startTime
progress = elapsed / DISPLAY_TIME
isHeavy isDeath
label.TextColor3 = (.(() * ) > ) .(, , ) .(, , )
currentShake = BASE_SHAKE
isDeath
currentShake = BASE_SHAKE *
isHeavy
currentShake = BASE_SHAKE *
yOffset = + (progress * )
sizeMultiplier =
progress <
sizeMultiplier = isDeath (isHeavy )
sizeMultiplier = sizeMultiplier - (progress * )
billboard.Size = .(BASE_SIZE * sizeMultiplier, , BASE_SIZE * sizeMultiplier, )
shakeX = (.() - ) * currentShake
shakeY = (.() - ) * currentShake
billboard.ExtentsOffset = .(shakeX, yOffset + shakeY, )
label.TextTransparency = progress
label.TextStrokeTransparency = progress
.()
billboard:()
)
(humanoid)
lastHealth = humanoid.Health
humanoid.HealthChanged:((newHealth)
delta = newHealth - lastHealth
delta <= -
root = humanoid.Parent:() humanoid.Parent:()
root
isDeath = (newHealth <= lastHealth > )
(root, delta, isDeath)
lastHealth = newHealth
)
_, v (:())
v:() (v)
.DescendantAdded:((v)
v:() (v)
)

Universal