Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local event = require("event")
- local move = component.motion_sensor
- local _, block, x, y, z, entityName = event.pull("motion")
- print(move.getSensitivity())
- print(block)
- while true do
- event.pull("motion")
- if (entityName) then
- print(entityName)
- entityName = ""
- end
- os.sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement