How do i do this

Guys i have a map and i want to get score points for every second you hold an item i dont how how since i am new to verse and i still learning it could someone help

Holding an item can be checked through Conditional Button Devices, see conditional_button_device.IsHoldingItem[:agent] method

The capture item spawner gives events for pickup and drop, it also takes care of a few related things, like if a player holding the item disconnects from the game, it doesn’t disappear if player item drop is off.
You could probably use its events directly with a score managers functions