Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let value = 14
- function makehole(x:number,y:number) {
- let positon = world(x, 1, y)
- blocks.fill(AIR, positon, positon.add(pos(1,80,1)))
- }
- while(true) {
- let pos = player.position()
- let x = pos.getValue(Axis.X)
- let z = pos.getValue(Axis.Z)
- for(let i = 0; i < value; i++) {
- let x2 = x+(i-(value/2))
- for(let k = 0; k < value; k++) {
- let z2 = z+(k-(value/2))
- if (x2 % 4 == 0 && z2 % 4 == 0) {
- makehole(x2,z2)
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement