Hello! I was wondering how I can make something like this? (Image listed below)
So when they collected a Coin, it will make a BillboardGui let’s say in the Character Torso displaying how much they earned. How am I able to make a Script that only THEY can see, and it goes to their torso? And it will also stay in that place until another coin was collected, and if nothing was collected after a few seconds it will disappear, but if they did collect something, it would go back to their torso adding how much they made that coin and the other coin. And how could I also make it Gems and Coins above each other, etc?
Check if a player’s character is currently in the camera’s line of sight, if it is then you use the positional values returned by the instance method to position the UI accordingly.
You could use ‘attachments’ etc, and toggle its visibility and text, would be easier if its just positioned in the centre of your screen (as a UI), you could make it a local script, being triggered by Remotes, so only the local player can see them.
Its wherever the coin was mined, this was probably achieved by using Attachments, as once you moved, it didnt move with you, it moved when you moved the camera
So the attachment is parented in the workspace, but is supported by the camera (if that makes sense, im bad at english lol)
you add a normal part in studio, then add an attachment to that part, inside the attachment you clone an already made billboardgui with scaling etc, so all you need to do is change its text etc, you can also use tweenservice and have animations for it as attachments can be moved with playerinput or with some simple scripting, itll also move on your screen once you move, as its locked to a ‘parent’ so it wont move with you, but will just bob around in your screen whilst being in range (im a really bad explainer smh)
and you shouldve, theoretically gotten what you originally wanted