Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("ocs/apis/sensor")
- side = "top"
- key = theKey
- local s = sensor.wrap(side)
- local t = s.getTargets()
- local d = s.getTargetDetails("-2, -1, 1")
- local coins = 0
- print(textutils.serialize(d))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement