Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local farbe
- print("Bitte geben sie das Ziel an. Es gibt folgende Ziele")
- print("Walddorf, Saalbach, Snowpoint, Redtown, Muehlhafen")
- print("Das Ziel muss genau eingegeben werden")
- local ziel = read()
- if (ziel == Walddorf) then
- farbe = colors.white
- elseif (ziel == Saalbach) then
- farbe = colors.lightBlue
- elseif (ziel == Snowpoint) then
- farbe = colors.orange
- elseif (ziel == Redtown) then
- farbe = colors.magenta
- elseif (ziel == Muehlhafen) then
- farbe = colors.yellow
- else
- print("Falsche eingabe. System neustart")
- end
- print("Sie haben 20 sekunden um zum Teleporter zu kommen")
- sleep(20)
- redstone.setBundledOutput("back", farbe)
- sleep(1)
- redstone.setBundledOutput("back", 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement