#Spawn command
1 messages · Page 1 of 1 (latest)
command /spawn:
trigger:
teleport the player to {spawn}
🥣 x2 😩
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
- Don't spoonfeed
- At least format your code
- This script is very bad for a multitude of reasons
Didn't work :/
Someone else?
Look at the first message in this thread
Use that information and don't rely on spoonfeeders
Read the entire msg and the second one
💀
You love it
doesn't even work lmao
if any1 got hit it would stop every1 from teleporting
well im too lazy to edit it lol