So I would like to make an ender pearl like the one in one of the Hypixel Game modes where it teleports you, then teleports you back 3 seconds later. I would like to make it 5 seconds, this is my code right now:
The error is:
[doublepost=1564328954,1564279759][/doublepost]bump
Code:
on projectile hit:
shooter is a player:
projectile is ender pearl with name "&aRewind Pearl":
wait 5 seconds
send "&aTeleporting you back to the previous location..."
execute console command "/tp %shooter% %{rptp.%shooter%}%"
on right click with ender pearl:
name of held item contains "aRewind Pearl":
set {rptp.%player%} to player coordinates
send "&aYou will teleport back to this location 5 seconds after the ender pearl lands."
The error is:
Code:
Can't understand this expression: 'player coordinates'