When i load this script it just crashes my server
Code:
command /is [<text>] [<text>]:
trigger:
if arg-1 is "create":
if {lsland.%player%} is not set:
add 100 to {pb}
set {lsland.%player%} to location({pb}, 30, 0.5, world "bskyblock_world")
set block at location({pb}, 30 - 1, 0.5, world "bskyblock_world") to bedrock
wait 1 second
set blocks between location({pb} - 1, 30 - 1, 0.5 - 1, world "bskyblock_world") and location({pb} - 1, 30 - 1, 0.5 + 4, world "bskyblock_world") to grass block
wait 1 second
set blocks between location({pb} + 1, 30 - 1, 0.5 - 1, world "bskyblock_world") and location({pb} + 1, 30 - 1, 0.5 + 4, world "bskyblock_world") to grass block
wait 1 second
set block at location({pb}, 30 - 1, 0.5 - 1, world "bskyblock_world") to grass block
wait 1 second
set blocks between location({pb} - 1, 30 - 1, 0.5 + 2, world "bskyblock_world") and location({pb} + 4, 30 - 1, 0.5 + 4, world "bskyblock_world") to grass block
wait 1 second
set blocks between location({pb} - 1, 30 - 2, 0.5 - 1, world "bskyblock_world") and location({pb} + 1, 30 - 2, 0.5 + 4, world "bskyblock_world") to dirt
wait 1 second
set blocks between location({pb} + 2, 30 - 2, 0.5 + 2, world "bskyblock_world") and location({pb} + 4, 30 - 2, 0.5 + 4, world "bskyblock_world") to dirt
wait 1 second
set blocks between location({pb} - 1, 30 - 3, 0.5 - 1, world "bskyblock_world") and location({pb} + 1, 30 - 3, 0.5 + 4, world "bskyblock_world") to dirt
wait 1 second
set blocks between location({pb} + 2, 30 - 3, 0.5 + 2, world "bskyblock_world") and location({pb} + 4, 30 - 3, 0.5 + 4, world "bskyblock_world") to dirt
wait 1 second
set blocks between location({pb} + 3, 30, 0.5 + 3, world "bskyblock_world") and location({pb} + 3, 30 + 3, 0.5 + 3, world "bskyblock_world") to oak log
wait 1 second
set blocks between location({pb} + 2, 30 + 3, 0.5 + 2, world "bskyblock_world") and location({pb} + 2, 30 + 3, 0.5 + 4, world "bskyblock_world")
wait 1 second
set blocks between location({pb} + 2, 30 + 3, 0.5 + 4, world "bskyblock_world") and location({pb} + 4, 30 + 3, 0.5 + 4, world "bskyblock_world")
wait 1 second
set blocks between location({pb} + 4, 30 + 3, 0.5 + 2, world "bskyblock_world") and location({pb} + 2, 30 + 3, 0.5 + 4, world "bskyblock_world")
wait 1 second
set block at location({pb} + 3, 30 + 3, 0.5 + 4, world "bskyblock_world")
wait 1 second
set block at location({pb} + 2, 30 + 3, 0.5 + 5, world "bskyblock_world")
wait 1 second
set block at location({pb} + 3, 30 + 3, 0.5 + 6, world "bskyblock_world")
wait 1 second
set block at location({pb} + 3, 30 + 3, 0.5 + 5, world "bskyblock_world")
send "&aYou succesfully created your Island"
teleport player to {lsland.%player%}
if arg-1 is "home" or "h":
if {lsland.%player%} is set:
teleport player to {lsland.%player%}
send "&aTeleporting to your &eIsland"
else:
send "&cYou don't have a island!"
if arg-1 is "delete":
send "&cAre you sure you want to remove your island?" to player
send "&cType &bYes &cin the chat" to player
set {removecooldown.%player%} to true
Last edited: