Code advice needed

Alright, so I have quite a few questions when it comes to coding. I’ll hurry and get to the point and try to make this as short as I can.

  1. What is better? Loops, RBXSignals? Something else?

  2. When should I use :FindFirstChild()

  3. If I wanted for example a part to go transparent in one second, how could I make it happen accurately? A loop? RunService? Something more complex?

  4. How do I stop an RBXSignal from running too many times?

  5. How useful are tables?

Those are all of my questions! I know not everyone will know everything that I have listed, so feel free to answer just one or however many of the questions that you know the answer to. Thanks a ton if you can help me!

  1. Define better, they have different reasons for use. If we’re talking performance then signals are way better.

  2. You should use :FindFirstChild() when you’re not sure if the instance you’re looking for exists.

  3. Most people I’ve seen either use TweenService or a loop.

  4. Tables are really useful and is something you must know how to use.


Yes, I meant performance-wise. Thank you for your help. :slight_smile:

1 Like