local function CheckRings(player) if player.rings > 0 then -- If the player's current rings are more than 0 player.mo.color = SKINCOLOR_GREY -- Kill the player (Placeholder) P_DamageMobj(player.mo, nil, nil, 1, DMG_INSTAKILL) print("You got lead poisoning. Goofball.") end end addHook("PlayerThink", CheckRings) -- Checks the player's rings and if it's over 0 your skincolor turns grey and you die. local function ResetStage(player) if (player.cmd.buttons & BT_CUSTOM1) then -- If the player is pressing Custom 1 P_DamageMobj(player.mo, nil, nil, 1, DMG_INSTAKILL)-- Reset the stage print("You inflicted this on yourself! Don't blame me for mapping reset to custom 1!") end end addHook("PlayerThink", ResetStage) -- Resets the stage if Custom 1 is held local function YouDontDeserveLives(player) if player.lives > 1 then -- If the player has more than 1 live player.lives = 1 -- Take them end if player.continues > 0 then -- If the player has more than 0 continues player.continues = 0 -- Take them end end addHook("PlayerThink", YouDontDeserveLives) local function ImOuttaHere(player) if player.realtime > 3*60*TICRATE P_DamageMobj(player.mo, nil, nil, 1, DMG_INSTAKILL) print(player.name + " Broke their controller.") end end addHook("PlayerThink", ImOuttaHere)