Remote do something custom?

Hello! I basically don’t really know how to explain this but I’ll try.

Is there a way to fire a remote, but instead of the remote handler choosing what it does, the player firing the remote chooses what it does? Here’s an example;

How would I make a remote print something my choice?

If you are trying to send functions over a remote event , this thread might help

2 Likes

Actually, let me rephrase myself because I still don’t know how to explain it, how do I run something via a textbox? Let’s say I wanna run print("Yes."), which is the text in the textbox in this situation, how do I make it work?

So are you trying to turn a string into a code?

Yes, I am.

30 Charactersss

loadstring(string)
should be the function your looking for.
however this function might make the game insecure depending on how you use it.
More about it here:

2 Likes