If a player is holding down the key/button for the proximity prompt, I don’t want a second player using the same prompt as long the first player is using it.
I think the PromptButtonHoldBegan
and PromptButtonHoldEnded
events should be what you need. A way I believe it could be done is that when PromptButtonHoldBegan
, it disables the Prompt locally for the other players besides you, and when PromptButtonHoldEnded
is fired, it enables the prompt again for everyone else.
This will require the use of a RemoteEvent inorder to disable the prompt for everyone besides the one triggering the prompt, unless there’s a better method in doing so, since I believe disabling it on the server would just cancel the interaction for the player interacting as well
5 Likes