Correct, I made a mistake in the script, lol
but I solved the problem, only if I kill the boss it doesn't clean the room you can see if there is something strange in the script I didn't find that error, only that is missing.
local config = {
leverUniqueID = 49006,
requiredLevel = 100...