how do i set the camera of a player?
on right click:
targeted block is sandstone:
if player's tool is iron sword named "§6Hyperion":
set {HypeBlock.%player's uuid%} to targeted block
teleport player 0.5 blocks above {HypeBlock.%player's uuid%}
set camera of player to {HypeBlock.%player's uuid%}
is my current code that doesnt work.Only the camera part is not picked up by the game and im unsure as to why.
on right click:
targeted block is sandstone:
if player's tool is iron sword named "§6Hyperion":
set {HypeBlock.%player's uuid%} to targeted block
teleport player 0.5 blocks above {HypeBlock.%player's uuid%}
set camera of player to {HypeBlock.%player's uuid%}
is my current code that doesnt work.Only the camera part is not picked up by the game and im unsure as to why.