Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

How do you see how much you hit an player for? [closed]

Asked by 1 month ago

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?.

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?

2 answers

Log in to vote
0
Answered by
imKirda 1082 Moderation Voter
1 month ago

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 

Ad
Log in to vote
0
Answered by 1 month ago

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.