Check if skript is optimized

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

JustStevenz

Member
Jun 3, 2022
1
0
1
23
Hello there!

I'm quite new to skript and I have tried to make a minigame skript. As if right now, I only made a manhunt minigame. I've also made a nice gui so I don't have to remember the commands xD.
I probably already know what some of you are going to say, because I don't use any addons. Thats because when I tried to install the addon "TuSKe" all of my skripts stopped working, so for me, vanilla it was.

Now my question, and maybe its too much to ask, but can you guys skim through my skript and check if I have made stupid mistakes or things that are unoptimized. I don't want my server to lag, and I really want to get better at skript.

I have two skripts for this manhunt minigame, one is for the actual minigame:
https://pastebin.com/11qqFeTF

and a skript for easy gui navigation:
https://pastebin.com/1VvUWGeV

If you guys want the code to be in this forum post using the
Code:
 Code function
Let me know.

I'm looking forward to hear from you guys!