Should I use 2 RemoteEvent or 1 RemoteFunction?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Communicate between 2 server scripts specifically, enemy spawner and timer

  2. What is the issue? No issue, just needed idea

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Coroutine doesn’t seem to work and Developer Hub doesn’t give me a proper idea

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

  1. What do you want to achieve? Communicate between 2 server scripts specifically, enemy spawner and timer

If you are trying to communicate between two scripts of the same type, I would recommend using a BindableEvent.

But, if you are expecting a value returned back to the script that sent the message, then I would instead recommend using a BindableFunction instead of two events.

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