What is generally the best idea?

Would it be best to parent a local script to a tool, and then when I wish to do server-sided things I use remote events.

Or, parent server-scripts to tools. And then when I wish to do client-sided things I use remote events.

1 Like

In my opinion you should go with the first one because it is more compact and is more maintainable.
(also the exploiters can probably decompile the script’s source if you use the second method…)

But wouldn’t this mean I’d be sending alot of remote event requests? Also would the second method be worse on performance? Because let’s say 10 players are using the tool, that’s like 10 server-scripts?

It’d probably be more performant as distributing the work onto 10 scripts is a lot worse as they all have to be compiled compared to just 1 script that has to spawn 1 virtual thread per event.

Forgot to mention that multiple scripts that handle individual tasks aren’t more performant than just 1 script that handles everything.

Alright thank you, one more question. What does this stuff mean? Like “compiled”? English isn’t my first language but i’m trying.

Like what does this stuff mean that you said here?

Compilation/Decompilation is a computer science concept that refers to a certain language being turned into a lower level language to be interpreted by an interpreter or ran directly by hardware if it is in binary.

For example, lua gets compiled into bytecode and gets interpreted by the lua interpreter.

" to collect information from different places and arrange it in a book, report, or list

Is this correct for the definition of compiling?

It’s not really relevant to the words definition, it’s a concept in computer science.

Ohhh wait I know what you mean now thanks to your definition, like you mean that luau will have to do so many things to make it usable for me?

Basically. Computers can only understand binary (1s and 0s) so if you feed it a bunch of text it would be meaningless.

Oh alright then, thanks.

One more thing, no one has been able to help me fix this issue that I have had. May you come over and help? Sorry if it’s too much to ask for:

I’m not really familiar with BodyGyros so probably not.

Oh, well alright thank you for your help.

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