#Spawn command

1 messages · Page 1 of 1 (latest)

gusty nimbus
#

use the teleport effect to teleport a player to a location

supple jasper
#
command /spawn:
  trigger:
    teleport the player to {spawn}
deep hearth
#

🥣 x2 😩

fervent depot
#

command /spawn:
trigger:
if {hit} is true:
set {_loc::%player%} to ("%player's x coordinate + player's z coordinate%" parsed as number)
send "&aYou cannot do /spawn. &lYou are in combat!" to player
loop reversed 5 times:
wait 1 second
difference between {_loc::%player%} and ("%player's x coordinate + player's z coordinate%" parsed as number) >= 1:
send "&cTeleport stopped!" to player
stop
send "&aTeleporting!" to player
teleport player to location(18, 53, -50, world "world")
if {hit} is false:
teleport player to location(18, 53, -50, world "world")

change the coords or its gonna tp you to a random place

#

oh and things before is

on damage:
set {hit} to true
wait 5 second
set {hit} to false

on join:
set {hit} to false

gilded wren
#

This won't work

#

Spoonfeeding

signal rover
#
  1. Don't spoonfeed
  2. At least format your code
  3. This script is very bad for a multitude of reasons
true bolt
#

Someone else?

deep hearth
#

Use that information and don't rely on spoonfeeders

fervent depot
true bolt
#

I fixed ti

#

It*

agile kelp
ionic axle
#

if any1 got hit it would stop every1 from teleporting

fervent depot
#

well im too lazy to edit it lol