Is there any way for two scripts to communicate?

So I have a voting system, where I have a central script that picks the children of a folder, makes sure than none of them are the same, but here’s the problem, I want the script to be able to see what map it is, then change the name and the image label to said map. I don’t want that in the central script because its long and the script is already long enough, so is there a way for it to be in the script that’s inside of the voting? Maybe the script that hopefully receives the messages.
I have heard of messaging service, but I think that its for server-server communications, not script-script

Both of them are server scripts

2 Likes

Bindable events/bindable functions are probably what you’re looking for.

2 Likes

That was exactly what I was looking for, thank you

1 Like