Skip to content
MrDiamondDog edited this page Jun 25, 2022 · 6 revisions

Biometric Reader

Sends an computer.signal / event when used by a player, the default event name is bioReader and contains the UUID of the player which used the reader.

Example

event = require("event")
reader = require("component").os_biometric

function onRead(uuid)
   print(uuid .. " entered!")
end

event.listen("bioReader", onRead)

Methods

setEventName(String:name) -- changes the event name to the given argument