How to make a proximity prompt activate instantly for certain players?

I want to make a fast open gamepass that make the player activate all proximity prompts without the wait time.

The problem is I don’t know how to make proximity prompt speed different for different players.

If anyone knows how to do this I’d appreciate it. Thanks!

When the player joins, (or when he buys the gamepass (MarketplaceService)), loop thru each proximityprompt and set their HoldTime to 0 on the client

1 Like

You need to change the property in a local script, to have it for that one player (since it doesn’t replicate)

ProximityPrompt HoldDuration can be changed on the client. The server does not validate HoldDuration either (if I remember correctly), so you can still listen to Triggered without issues on the server.

@RCW3993 or you could have a attribute for the player (proximity prompt gamepass), and when they are near a proximity prompt or using it, if that attribute is set to true it sets the proximity prompt time to whatever shorter time

Pretty sure this is the way to go. To get all of the proximityPrompts I would suggest either applying a tag to all of them and use CollectionService to filter through them all or just put them in a Folder and use GetChildren().

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.