Hello everyone,
For the past few days I’ve been reworking my custom proximity prompts, and decided to post some of it here!
This uses the example script provided by roblox here. I’ve modified it to fix some issues and moved all the relevant code into a ModuleScript to make it easier to modify. It’s also made to work with the new Proximity Prompt Indicators!
→ Get it here ←
To get started place the script into StarterPlayerScripts,
Add a Style attribute to the prompt you want to use a custom style, and set its value to the name of the style you want to use.
To make new styles, duplicate the Default module and you can customize the Prompt under it, and if you have made any drastic changes or simply want different animations, you can modify the code within the module.
Since every prompt has its own module you can create vastly different prompts and then simply change its animations in the module!

In this second example you can also see how you can have multiple prompts under the same module, for instance here we change which prompt is being shown based on if we’re on keyboard or a gamepad/touch screen:

If you have any questions, feel free to ask below!

