Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component = require("component")
- io = require("io")
- serialization = require("serialization")
- file = io.open("file", "r")
- nb = file:read()
- nbt = serialization.unserialize(nb)
- component.debug.getWorld().setTileNBT(math.floor(component.debug.getX()),math.floor(component.debug.getY()+1),math.floor(component.debug.getZ())+1, nbt)
- file:close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement