Continuing from
#lesson 1.
I see alot of people having 10's of function calls in 1 loop, which is not needed.
Like i said before, not a problem with small codes but once you get bigger you do NOT want this!
Example of how it should NOT be
As you can see your code is HUGE for what it is.
5 Functions and already 23 lines of code, i imagen what will happend once you get to 80-90 functions.
Goodluck finding a bug, error or issue in it
There is a better way of doing it no matter if you run menu or not.
As you see those are all
player releated items, so we can put them all in 1 void.

As you can see the code is drastically smaller!
You would save atleast
60-70% of space with the same amount of functions and it looks way cleaner.
We now have a total of 7 lines compared to 23 for the same functions.
Quick edit: You can do this for Server Functions to!
I hope this helps in any way. Let me know!