Hello skript community,
I have been trying to develop a anti cheat. But thats isn't the point. I am trying to make the code teleport the npc to wherever the variables say. Here is the code. I know it isn't in the help format cause I am new to this. But this is the latest version minehut has released so here is. Please help XD
Code:
command /actest:
permission: op
trigger:
set {y} to player's location
set {x} to player's location
set {z} to player's location
add 4 to {x}
add 4 to {z}
execute console command "/minecraft:tp [name=Bob] {x} {y} {z}"
I have been trying to develop a anti cheat. But thats isn't the point. I am trying to make the code teleport the npc to wherever the variables say. Here is the code. I know it isn't in the help format cause I am new to this. But this is the latest version minehut has released so here is. Please help XD
Code:
command /actest:
permission: op
trigger:
set {y} to player's location
set {x} to player's location
set {z} to player's location
add 4 to {x}
add 4 to {z}
execute console command "/minecraft:tp [name=Bob] {x} {y} {z}"