That’s exactly why I’m advocating against using CollectionService for this. It isn’t needed. Read my previous reply.
I just wanted to suggest that OP use CollectionService, as I personally think it is much simpler/tidy to use.
Can you explain how it’s more tidy? You would have to dynamically create tags for every ProximityPrompt in-game or manually create them in Studio with a plugin. You literally do not have to do this because Roblox gives you MULTIPLE events to listen to ProximityPrompt input.
OP already explained what he needed this for – I think he was just confused about needing ot use CollectionService or was misinformed and under the impression that he needed to make a script for every prompt in game. This is not the case.
It’s simply my own opinion, I don’t mean to force it on others.
Never said you were trying to force your opinion on someone. I just don’t think it’s appropriate to be giving someone an inefficient solution to a problem that arose out of confusion. You do you though.
Gotcha. I respect your opinion about this as well. Cheers mate!
Make a for loop for every ProximityPrompt that’s tagged, Connect them into an event.
Just like to come here to say, Emerald’s solution actually works, I’ve modified it to work with DataStore2, thanks @FerbZides, @v7zr, @ItzMeZeus_IGotHacked for atleast trying to help!