Server instant crashing on reload of skript

Discussion in 'Skript' started by DeTrollers, Mar 20, 2021.

  1. Code (Text):
    command /muziek:
        permission: gemcraft.muziek
            open chest inventory with 5 rows named "&a&lGemCraft &7│ &b&lMuziek" to player
            format slot 0 of player with name tag named "&9Coco" with lore "&624kGoldn" to close then run [make player execute command "/stopgeluid"] ->[make player execute command "/playsound minecraft:gemcraft.coco master %player% -71 28 91 10 1 1"]
            format slot 40 of player with barrier named "&cClose" to close
    command /stopgeluid:
            make player execute command "/stopsound %player%" as Op
  2. both format slot and as op are not recommended.

    as op is security risk

    format slot is buggy and no longer used today, use vanilla GUIs
  3. How do that work!
  4. The lambdas might also have something to do with the crashing. I remember they were really laggy with reloading.