Connections optimization

Hello everyone!
I got question about connections.
So, if I connect one event in 10 scripts, does it hit the performance?
For example, ProximityPromptService, I got several scripts that are being connected to .Triggered.

1 Like

Hello OwOshka!
Yes, it does. I would recommend you add one single script in ServerScriptService to manage all your prompts:

game:GetService("ProximityPromptService").PromptTriggered:Connect(function(PromptInstance, Player)
   -- code
end)

It’s going to be a loooong day connecting all my scripts in one