how to set camera to a specific block

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Toadyboii

Member
Jan 31, 2024
26
0
1
16
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.