What is this called Gui, And How to make

image

image

What is this called?

I want my in-game currency system to be more complete.
I want to know if it works. How about this?

If I sell something for 10$, this amount will increase. money i got
If the value of the currency increases, the Gui Display will be (+ 10 $)

If I buy something for 5$, this Gui will increase in quantity. The money I lost
will be (- 5 $)

1 Like

DataStore Tutorial
DataStore2 Tutorial
Roblox GUI
Roblox GUI
Roblox Shop

Create a template for such label.

Use a localscript and make a variable that stores the current amount of currency.
Use :GetPropertyChangedSignal() to detect if the value of the currency changes.

Use the variable in which you stored the original amount and use the new amount of currency to calculate the difference between both values.

Clone the template and adjust color and content of label to display the exact amount difference.

Show the label to the client and destroy it after some time.

This is basically earnings and loss, you could just fire something that will detect this, and then get the value and just show the GUI with the numbers.