I’m sorry, I’d like to help but it would be easier if I knew what you are trying to do. Could I have some more specifics on what you want to be happening?
He has a script that fires the function when the clickdetector has been clicked and he wants to know how he can do the same with a ProximityPrompt which is why I have replied with two links explaining all the information needed on ProximityPrompts.