Skript where when player dies they get a random gun

Hi i have this plugin for my guns https://www.spigotmc.org/resources/weaponmechanics-guns-in-minecraft-1-12-2-1-20-1.99913/ and i tried to make it my own but it seems that the player has to click respawn for the command to work idk if im being vague here just msg in this thread if you confused.
SpigotMC - High Performance Minecraft
Was this page helpful?