Hello, I run a parkour server and am currently trying to implement a checkpoint feature with skript. My intention is to make it so when you step on any emerald block, it sets your spawn to said emerald block. Using it this way makes making new checkpoints on new courses very easy, and this feature will become very versatile. This is my current (broken) skript:
on walk on emerald block:
make player execute command "/spawnpoint %player%" with permission "minecraft.command.spawnpoint"
I have also tried to make console execute the commands as that is what I use for all of my other skripts but because of the nature of the /spawnpoint command, and the fact that the checkpoints do not have set positions, it does not work.
on walk on emerald block:
make player execute command "/spawnpoint %player%" with permission "minecraft.command.spawnpoint"
I have also tried to make console execute the commands as that is what I use for all of my other skripts but because of the nature of the /spawnpoint command, and the fact that the checkpoints do not have set positions, it does not work.