• Hey! Register here to create your account, engage with the community, and talk about what is new!

Help

Its_Chez

New member
Joined
Dec 18, 2020
Messages
2
Reaction score
0
Hi, I'm trying to make a player teleport a certain amount of blocks forward on RC. Can someone help as I am utterly confused. Thanks!
 

Vulcano

Forum adept
Overlord
Joined
Sep 11, 2020
Messages
243
Reaction score
65
Hi, I'm trying to make a player teleport a certain amount of blocks forward on RC. Can someone help as I am utterly confused. Thanks!
Vars:
loc -l
(how much to move forward) amount -l

First you want a right click event. In that event you want to set the amount -l var to a number, then set var ShiftForward(loc -l, Game Value(Location of %default), amount -l). Next block is player action teleport(loc -l). I will try to edit a template in here for you to see aswell.

EDIT: without a held item or targetting a block, right click will not detect.
Template Webview: https://derpystuff.gitlab.io/code/redir?link=109cf764-df21-4d4f-bee6-d2b907b21f73
 
Last edited:
Top Bottom