#How do i fix this?
1 messages · Page 1 of 1 (latest)
did you click once or many times?
I mean what is the problem
maybe when the player gets teleportet the face direction gets changed
thats what i meant
if you want them to be facing the same direction when they teleport, just get the facing direction of player and apply it to the teleport location
I don't remember if that's exact syntax
I was wrong. look here:
https://skripthub.net/docs/?id=903
send the code again (if it's too big to send on Discord, use PasteBin; otherwise, I can't help any further)
all I see is a file, can't open it on mobile
I believe one of your issues is this:
you are setting a variable to the block. what you should be doing is setting it to the location of the block
you are also repeating a bunch of code, which can be solved by use of functions, or by adding the block locations to a list such as {_tpList::1}, then looping the list and wherever you need the code to stop or continue outside the loop you can do stop or exit loop (respectively)
Sovde has some great tutorials you can check out on their github page: https://sovdee.gitbook.io/skript-tutorials/core-concepts/indentation/functions
@ashen viper You are tying to make some kind of dash ability.?
Teleport forwards basicly.?
While checking for block collisions?
on right click:
if name of tool is "&6Test":
set {_pos} to location at head of player
loop 15 times:
set {_pos} to location 1 in front of {_pos}
if block at {_pos} is solid:
set {_pos} to location 1.5 behind {_pos}
exit 2 sections
teleport player to {_pos}
Gotcha. Hit me up if it works.
Okay!
Hey no problem.
Once you teleport to the block, you can add effects and cooldowns too!
Any time!
Always fun to try things out yourself right.?
isnt skysim a hypixel skyblock clone? So isnt this a copy of a copy then lol