How to go about making visible hits?

im making a combat system and im trying to have it so when a player takes damage a gui will appear that will show the damage they took. Something like this

how would i go about doing this? help is appriciated, thank you for your time

You can either do the following:

  1. Use a RemoteEvent that fires to the Client whenever they take damage, then you can create a BillboardGui on the client-side that shows the damage they took. (It can be a TextLabel inside the BillboardGui) You can also fire it with how much damage they took.

  2. The lazy one: Just detect whenever the Player’s Humanoid Health changes via a LocalScript, You can store the Health on a Variable, Then check if the new health is lower than the old one, If so, Create the BillboardGui. (The damage can be calculated by subtracting New Health - Old health)

1 Like

Ill try this and see which one works best, thank you!

1 Like