Jump to content

Simple /rtp script


MrTibo

Recommended Posts

I made this for my survival, Free to use anywhere

# by MrTibo

command /rtp:
	cooldown: 2 hours
	cooldown message: &4Stop! &cYou can only teleport to a random location every 2 hours.
	permission: rtp.use
	permission message: &cYou do not have permission to use this command
	trigger:
		set {_x} to round(random number between -100000 and 100000)
		set {_z} to round(random number between -100000 and 100000)
		set {_block} to block at location at ({_x}, 0, {_z}) in world event-world
		loop all blocks above {_block}:
			if loop-block is air:
				block below loop-block is not water
				block below loop-block is not air
				if block above loop-block is air:
					teleport player to loop-block
					send "&aTeleported to a random location" to player

 

  • Thanks 1

[<3]

DMs open - Discord » mrtibo | or send a forum message

Link to comment
Share on other sites

  • 2 weeks later...
  • 6 months later...

You can always configure it yourself!

  • Like 4
  • Thanks 1

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

Username: SuperOrca

Discord: Link to Profile

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored).

Link to comment
Share on other sites

🔐 Topic locked.

Please do not reply on threads that have been inactive for over a month.

  • Like 1

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...