Hello I Need To Complete This Skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

nightXRage

Member
May 14, 2021
2
0
1
33
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
 
Last edited:
Status
Not open for further replies.