Hey, so I am trying to make a skript that doesn't let players enter spawn while in pvp but right now when ever someone attacks another player it teleports then instead of it only teleporting them if they enter spawn
on player move:
if {pvplog.%player%} is true:
if block below player is Polished Basalt:
teleport player to location 31, 86, 68
send "&4You Can't Go Here During Pvp" to player
on player move:
if {pvplog.%player%} is true:
if block below player is Polished Basalt:
teleport player to location 31, 86, 68
send "&4You Can't Go Here During Pvp" to player