I’m just going to be honest with you.
I think this is one of the best resources I’ve seen made by a beginner. I mean, tell me. Even I did not think of making something like this!
But jokes aside, this is actually a nice resource made by a beginner. But like everybody else, yes, I also have something to say to your resource to make it better.
First of, the UI you’ve made is obviously better than mine when I was a beginner as well. But there are some problems with it. The UI is not centered, icons overwriting the text, themes and fonts are different etc. But if you manage to fix these problems, then this would just make this resource 5x better to the least.
Secondly, the actual mod system… Okay, no hard feelings here, but I think you could’ve worked on it a bit more. A resource with errors and warnings flooding the output is not a clean resource. Exploiters can come, add themselves as mods and then boom, they can literally make the owner like a dancing puppet. To fix this, you should make the mod handling on the server instead of client. Here’s a suggestion. Use a remote event to fire to the server but you first check in the client whether the person firing the remote event is the mod or not. If not you kick them out of the game guessing they are an exploiter. If they are a mod, you receive the event on the server and give another check whether or not they are a mod (as exploiters can make themselves look like a mod on the client side). If they are a mod let them through and if not just kick them or do whatever you want. Adding if
statements here is mandatory to keep your code more secure and safe.
Thirdly and finally, please. Instead of adding the mod as their name add their user id. People can change their username and they’re literally not the mod anymore.
You can always do better in the future! Also, if you’re not sure whether your code is OK or not, you can look for posts on the DevForum or YouTube whether anybody else has a system like yours (which obviously there are probably hundreds of them). You can also make a post in #help-and-feedback:scripting-support or #help-and-feedback:code-review to let people check your code. That’s all and good luck!
Also to everybody saying do not use this, this is JUST bad, I’m sorry but I don’t think you’re showing criticism here but just being rude. Please rethink about what you’ve said.