Jump to content

So, I can't set "block 8 infront of player" to an location with like <x>, <y>, <z>, "world" <pitch> <yaw> idk


Emmett1027h

Recommended Posts

on rightclick with diamond sword:
    name of player's tool is "&9Aspect of the End":
        if block 8 infront of player is air:
            set {_loc} to location block 8 infront of player 
            set {_loc} to location of player
            set {_loc}'s yaw to player's yaw
            set {_loc}'s pitch to player's pitch
            teleport player to {_loc}
            send {_loc}

This is my skript, I use SKrayfall and Skript-gui, if that matters, but I need help!


 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...