Skript loading Timeout

  • 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.

Lukhausen

Active Member
Mar 20, 2017
145
11
18
Everytime I try loading this skript:
code_language.skript:
options:
    price: 20

command /ProPerty:
    trigger:
        ProPertyMenue(player)
       
function ProPertyMenue(p:player):
    open virtual hopper inventory named "&0ProPerty - Grundstücke" to {_p}
    wait 1 tick
    create a gui slot 0 of {_p} with light gray stained glass pane named "&7" to do nothing
    create a gui slot 2 of {_p} with light gray stained glass pane named "&8" to do nothing
    create a gui slot 4 of {_p} with light gray stained glass pane named "&0ProPerty by Lukhausen" to do nothing
    create a gui slot 1 of {_p} with grass block named "&6Kaufe ein neues Grundstück" with lore "||&7&oKlick für weitere Informationen.||&7&oEs wird dadurch noch kein Grundstück gekauft." to close then run function ProPertyBuy({_p})
    if {property.owner.%{_p}%} is set:
        create a gui slot 3 of {_p} with grass block named "&6Verwalte deine Grundstücke" to close then run function ProPertyManage({_p})
    else:
        create a gui slot 3 of {_p} with barrier block named "&7&oVerwalte deine Grundstücke" with lore "||&cDu hast noch keine Grundstücke" to close then run function ProPertyManage({_p})

   
function ProPertyBuy(p:player):
    set {property.activebuy.%{_p}%} to true
    send {_p} title "&920$" with subtitle "&6Markiere mit Rechts/Linksklick eine Fläche" for 10 seconds
    set action bar of {_p} to "&6zum Kaufen /kaufen tippen"
    stop
   
function ProPertyManage(p:player):
    #Manage existing Property, sell / rent
    broadcast "something"
    stop
   
every second:
    loop all players:
        if {property.activebuy.%loop-player%} is true:
            loop blocks in radius 20 around loop-player:
                if {property.owner.%rounded x coordinate of loop-block%.%rounded z coordinate of loop-block%} is not set:
                    block over loop-block is air
                    loop-block is not air
                    show 1 "Villager Happy" particle at location of block above loop-block for loop-player offset by 0, 0, 0
i get a timeout or the loading takes forever (longer than 1 minute)

using the newest Skript fork
SkQuery and tuske
any idea?
 
the tuske gui syntax takes a while to load. if you use the tuske advanced guis they load faster
 
try using "make" instead of "create".

Also, I recommend you use list variables (the ones delimited by two colons), because {this.format} (delimited by a dot) will become a problem at some point.
 
Status
Not open for further replies.