So I made this script:
But the "if {Fura.Spider.Cave.entrance} is in radius 1 of the player:" is obviously not working
So I need the right line for this to loop if someone is on {Fura.Spider.Cave.entrance} and excecute those commands
Thanks
code_language.skript:
#Dungeons
command /dungeon <text> <text> <text> [<text>] [<text>]:
trigger:
#Spider Dungeon commands
arg-1 is "set":
if arg-2 is "cave":
if arg-3 is "spider":
if arg-4 is "Fura":
if arg-5 is "entrance":
set {Fura.Spider.Cave.entrance} to location of player
message "<purple>[Dungeons] &eThe location of the cave has been set!" to player
if arg-4 is "k2":
if arg-5 is "entrance":
set {k2.Spider.Cave} to location of player
if arg-4 is "k3":
if arg-5 is "entrance":
set {k3.Spider>cave} to location of player
arg-1 is "teleport":
if arg-2 is "Fura":
if arg-3 is "spider":
if arg-4 is "cave":
teleport player to {Fura.Spider.Cave}
message "<purple>[Dungeons] &eYou have been teleported to the cave!" to player
if arg-2 is "k2":
if arg-3 is "spider":
if arg-4 is "cave":
teleport player to {k2.Spider.Cave}
if arg-2 is "k3":
if arg-3 is "spider":
if arg-4 is "cave":
teleport player to {k3.Spider.Cave}
#Spider Dungeon trigger
on join:
wait 1 tick
while player is alive:
if {Fura.Spider.Cave.entrance} is in radius 1 of the player:
damage player by 1.0
message "Put here your message."
wait 1 second
But the "if {Fura.Spider.Cave.entrance} is in radius 1 of the player:" is obviously not working
So I need the right line for this to loop if someone is on {Fura.Spider.Cave.entrance} and excecute those commands
Thanks