[Help] Any tutorials on how to make script packs for ESX?

So i’ve been looking all over for some kind of script pack to download or script packing tutorials but i’ve found nothing. I made a script pack with 18 scripts and they all work fine, yet some scripts dont work at all when I put them in the pack. I think im doing something wrong because i basicly tought myself how to pack scripts. Im creating a server and would like it to have minimum amout of resources.

Anyway this is how my resource.lua looks on my working scriptpack

And thease are the scripts i cant put in any form of a pack

Hello , you can help my ?
https://cdn.discordapp.com/attachments/731163413350318083/777835463649001472/unknown.png