Jump to content

Skript Block Teleportation Help


FlNLEYY
 Share

Recommended Posts

On 4/3/2021 at 2:18 AM, FlNLEYY said:
What is the skript code to make it where, if you step on a certain block in a CERTAIN location, it teleports you to a coordinate?

  

on walking on stone:
    teleport player to location(0, 0, 0, world("world"))

 

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

58 minutes ago, SortaCold said:

that would make it so any stone they walked on would teleport them though lol

on walking on stone:
    if location of event-block = location(5.5, 5.5, 5.5, world("world")):
        teleport player to location(0, 0, 0, world("world"))

🤷‍♂️

  • Like 1

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

  • 1 year later...

Here ya go!
very easy to use, use /setblock to set the block that your looking at to the block that teleports them when stepping on it
and use /setarea to set where the block you step on teleports you to!

command /setblock:
    permission: op
    trigger:
        send "&cSet Block!"
        set {block} to targeted block
command /setarea:
    permission: op
    trigger:
        send "&cSet Area!"
        set {area} to location of block above targeted block
every 0.01 seconds:
    loop all players:
        if block below loop-player = {block}:
            teleport loop-player to {area}

Just a skripter who likes to have fun

I also think I'm pretty good at it

PS my discord is Enchanted#3933 incase idk anything?

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...