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?.
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.
Closed as Not Constructive by JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?