command /randomtp:
trigger:
set {_x} to random number between -2999999 and 2999999
set {_z} to random number between -2999999 and 2999999
set {_loc} to highest block at location ({_x}, 0, {_z})
set block at {_loc} to stone
teleport player to block 0.5 above {_loc}
send "&aYou've been teleported to your room!"
so basically i need it so that when player do this command a random location gets picked and a 2x2x2 bedrock room will be created automatically and the player would be teleported inside that room and runs the command /sethome and I want them to only be able to do it 1 time pls guys I don't know how to do it thanks if you give me any help
trigger:
set {_x} to random number between -2999999 and 2999999
set {_z} to random number between -2999999 and 2999999
set {_loc} to highest block at location ({_x}, 0, {_z})
set block at {_loc} to stone
teleport player to block 0.5 above {_loc}
send "&aYou've been teleported to your room!"
so basically i need it so that when player do this command a random location gets picked and a 2x2x2 bedrock room will be created automatically and the player would be teleported inside that room and runs the command /sethome and I want them to only be able to do it 1 time pls guys I don't know how to do it thanks if you give me any help
Last edited: