Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m = peripheral.wrap("left")
- local c = peripheral.wrap("right")
- local i = 1
- local o = 1
- while true do
- if rs.getInput("back") == true then
- if i == 1 then
- c.say("Es ist ein Spieler auf deiner Welt")
- i = i + 1
- o = 1
- else
- sleep(1)
- end
- else
- if o == 1 then
- c.say("Du bist alleine auf deiner Welt")
- o = o + 1
- i = 1
- else
- sleep(1)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement