Please answer :)

function checkposible(bricknum , x5 , z5) --find can a building be placed in the certain place
local x6 = math.ceil(x5)
local z6 = math.ceil(z5)
local start6 = bricknum
       for g-1, x6 do --x is the number down
       local start7 = start6
              for f = 1, z6 do
              local brickfound = checkisnormal (start7)
                    if brickfound -- nil then
                    return then
                    else
                    local cango - checkcango (brickfound , 1) --1 for going right
                           if cango == false then
                           return false
                           else
                           start7 = start7 + 15
                           end
                    end
            end
--check can go down
local brickfound = checkisnormal (start6)
      if brickfound == nil then
      return false
      else
      local cango - checkcango (brickfound , -2)
            if cango == false then
            return false
            else
            start6 = start6 - 1
           end      
    end
end
return true
end

3 comments

1

It appears to be a building maker, but I am not sure. If you do not know what the script does, you probably shouldn't be using it.

0

Well said.

0

If you don't know what it does, why not just run it?