1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved save and load a structure

Discussion in 'Skript' started by _ExtraGames_, Nov 15, 2021.

  1. _ExtraGames_

    _ExtraGames_ Member

    Joined:
    Apr 3, 2021
    Messages:
    11
    Likes Received:
    0
    Hi, how do I save and loud a structure? I have a code without errors but it doesn't work

    Code (Text):
    1. command /loc1:
    2.     permission: op
    3.     trigger:
    4.         set {loc} to player's location
    5.        
    6. command /loc2:
    7.     permission: op
    8.     trigger:
    9.         set {loc2} to player's location
    10.        
    11. command /dungeon:save_build:
    12.     trigger:
    13.     permission: builder.sk
    14.         save structure between {loc} and {loc2} as "TEST"
    15.  
    16. command /dungeon:load_build:
    17.     trigger:
    18.     permission: builder.sk
    19.         load "TEST" at player's location
     
  2. Phuple

    Phuple Member

    Joined:
    Jun 25, 2021
    Messages:
    16
    Likes Received:
    1
    Try use
    Code (Text):
    1. within
    instead of
    Code (Text):
    1. between
     

Share This Page

Loading...