usage: {@prefix} /tpaccept <player>
trigger:
if {Teleports::%arg-1%%executor%} is "To":
set {Teleporting::%arg-1%} to true
delete {Teleports::%arg-1%%executor%}
if {Teleporting::%arg-1%} is set:
send "{@prefix} Teleporting in &f&n5&f seconds" to arg-1
play sound "entity.experience_orb.pickup" at volume 1 to arg-1
wait 1 second
if {Teleporting::%arg-1%} is set:
send "{@prefix} Teleporting in &f&n4&f seconds" to arg-1
play sound "entity.experience_orb.pickup" at volume 1 to arg-1
wait 1 second
if {Teleporting::%arg-1%} is set:
send "{@prefix} Teleporting in &f&n3&f seconds" to arg-1
play sound "entity.experience_orb.pickup" at volume 1 to arg-1
wait 1 second
if {Teleporting::%arg-1%} is set:
send "{@prefix} Teleporting in &f&n2&f seconds" to arg-1
play sound "entity.experience_orb.pickup" at volume 1 to arg-1
wait 1 second
if {Teleporting::%arg-1%} is set:
send "{@prefix} Teleporting in &f&n1&f seconds" to arg-1
play sound "entity.experience_orb.pickup" at volume 1 to arg-1
wait 1 second
if {Teleporting::%arg-1%} is set:
play sound "block.note_block.pling" at volume 1 to arg-1
send "{@prefix} You have been teleported to &9&l%executor%" to arg-1
teleport arg-1 to executor
delete {Teleporting::%arg-1%}
else if {Teleports::%arg-1%%executor%} is "Here":
set {Teleporting::%executor%} to true
delete {Teleports::%arg-1%%executor%}```
#tpa skript
1 messages · Page 1 of 1 (latest)