Making a SurfaceGui appear near a ProximityPrompt

Hey! I’m quite confused on how to make a GUI just like the image below to display stock of items where it appears right above the ProximityPrompt on all devices. Is there a way I’d attach it to the ProximityPrompt or would I have to EXACTLY position it right? Even then, would it show the same way on all devices? I’ve looked through the DevForum and haven’t found any answers on this. Any help would be appreciated! :thumbsup:

Additionally, if I’ve posted this in the wrong category, just let me know. I’m unsure if this in the right category or not. Thanks! :heart:

image

1 Like

I never did something like that, but for what I know you can make custom proximity prompts. I think this might help:
https://developer.roblox.com/en-us/api-reference/property/ProximityPrompt/Style

If you wanna reuse default Roblox gui, you can do de following. Make 2 ProximityPrompts with same properties. One is default provided by studio and the other is the custom bar above it that will follow the other one on screen

1 Like