Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------gun by elektrobom1-----------
- local per = peripheral.wrap("back")
- local arg = {...}
- if arg[1] == nil then
- arg[1] = "1"
- end
- while true do
- local meta = per.getMetaOwner()
- if meta.isSneaking then
- per.fire(meta.yaw, meta.pitch, tonumber(arg[1]))
- repeat
- local localm = per.getMetaOwner()
- until localm.isSneaking == false
- end
- end
Add Comment
Please, Sign In to add comment