Hey,
I have been working on a skript where if you have a piece of paper named "Pass", you have to right click an observer at a specific x, y, and z coordinate, and it will teleport you somewhere else. I have encountered some issues, aswell as I have a few questions. My current code is shown below.
My code:
Issue 1.) Basicially, the main issue is that it doesn't teleport you to the location I chose when you right click the observer.
Issue/Question 2.) I need to find out how to use gradients in skript. I looked online and it said to download skBee, which I did, but it still didn't work. There was just an invalid use of quotes error. (p.s. I used the minimessage format to make the gradient).
Issue/Question 3.) I also need to make it so you cannot rename, craft with, or disenchant, the paper. (Buit it can't be that all paper cannot be modified, just this specific pass)
This post may require some back and forth, because I am not very experienced with skript, as I have just begun learning skript around a month ago. Thank you to anyone who helps, and I'm looking forward to your response.
I have been working on a skript where if you have a piece of paper named "Pass", you have to right click an observer at a specific x, y, and z coordinate, and it will teleport you somewhere else. I have encountered some issues, aswell as I have a few questions. My current code is shown below.
My code:
Code:
on rightclick on observer:
location of event-block is location(0, -60, 0, world)
if player is holding paper named "ᴘᴀѕѕ":
teleport player to location(9.500, -60.00000, -10.500, world)
Issue 1.) Basicially, the main issue is that it doesn't teleport you to the location I chose when you right click the observer.
Issue/Question 2.) I need to find out how to use gradients in skript. I looked online and it said to download skBee, which I did, but it still didn't work. There was just an invalid use of quotes error. (p.s. I used the minimessage format to make the gradient).
Issue/Question 3.) I also need to make it so you cannot rename, craft with, or disenchant, the paper. (Buit it can't be that all paper cannot be modified, just this specific pass)
This post may require some back and forth, because I am not very experienced with skript, as I have just begun learning skript around a month ago. Thank you to anyone who helps, and I'm looking forward to your response.