command /spawn:
trigger:
send "&aSending you to spawn! &f(5)" to player
wait 1 second
send "&aSending you to spawn! &f(4)" to player
wait 1 second
send "&aSending you to spawn! &f(3)" to player
wait 1 second
send "&aSending you to spawn! &f(2)" to player
wait 1 second
send "&aSending you to spawn! &f(1)" to player
wait 1 second
send "&aTeleported to spawn!" to player
teleport player to {spawn}
command /setspawn:
permission: set.spawn
trigger:
set {spawn} to location of player
send "&aYou set the spawn" to player