How did roblox Jail Break make the combat system like when you hit an player with a gun it shows how much you hit the player for. is there an already made model for this if not how would you do it?.
✓ ANSWER ACCEPTED
How do you see how much you hit an player for?
2 answers
✓ Accepted answer
And to check how much for did they hit you can try this:
local oldHumanHealth = human.Health
human:TakeDamage(50)
local currentHealth = human.Health
local damageTaken = currentHealth - oldHumanHealth
They probably used a BillboardGui. A BillboardGui is like a ScreenGui, except that it displays over a selected object. Changing the Adornee property of the BillboardGui lets you change the object which it is displayed over.
This discussion is preserved as it was. New answers, comments, and votes are closed.
