-- Example event listener for when a player tries to perform an action local function onActionPerformed(player) local character = player.Character if character then if checkRc7Requirement(character) then -- The player meets the Rc7 requirement, perform the action print(player.Name .. " meets the Rc7 requirement.") -- Add action code here else -- The player does not meet the Rc7 requirement print(player.Name .. " does not meet the Rc7 requirement.") -- Optionally, inform the player what they are missing end end end