How do I make a script use a proximity prompt instead of a click?

So I basically need help with making a rocket (Multistage ROCKET - Roblox) to go from a click the button to a proximity prompt but what would I change from the sccript to make it do that?

If you know how or have any suggestions please reply.

This is actually extremely simple to do. The way this model is currently structured, there is a single server script that is a descendant of a ClickDetector. What you can do is create a new ProximityPrompt under the part named “Launch”, parent the script to the proximity prompt, and change .MouseClick to .Triggered in the script.

3 Likes

So, I was looking at the rocket into the launch script. You add in a Proximity prompt, and move the Launch script into it then delete the click detector. What I found to work, for the proximity prompt data was to set Gamepadkeycode to E HoldDuration to 4 and KeyboardKeycode to E.
Then, change the script according the change of use.
So the top line instead of Script.Parent.MouseClick:Connect(Function() do script.Parent.PromptButtonHoldBegan:Connect(function()

1 Like