Everytime I try loading this skript:
i get a timeout or the loading takes forever (longer than 1 minute)
using the newest Skript fork
SkQuery and tuske
any idea?
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
using the newest Skript fork
SkQuery and tuske
any idea?