Help with special things

I need help with a tree that if you walk in it you teleport. and i need help with a teleportation potion.

script:move entity
erh
if u like this add me contributor for more fast or see more down

trigger:when unit uses item
if / else / then
item type comparison
( last used item ) = = tp potion
then do:
move entity to ( region )