Advertisement
TheRealAaron
May 4th, 2023
6
0
Never
This is comment for paste Audio anti crash 2.0
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I rewrite from the original script:
  2. https://pastebin.com/rzrpp61R
  3. Youtube original script: https://youtu.be/AefZCK-Pv6g
  4.  
  5.  
  6. Improved/Updated version:
  7.  
  8.  
  9. Used Color3.fromRGB instead of Color3.new to specify the color of the highlight with RGB values.
  10.  
  11. Refactored the code to make it more readable and maintainable.
  12.  
  13. Used wait function instead of task.wait for better performance.
  14.  
  15. Added local variables to limit the scope of variables and improve performance.
  16.  
  17. Used string.match instead of string.find for a more precise match of the audio file IDs.
  18.  
  19.  
  20.  
  21. Overall, the improvements should make the script more efficient, readable, and robust.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement