Witam.
mam skrypt na losowe tp, ale nie teleportuje graczy tylko mnie jako op'a (wlasciciel)
options:
x-min: -3000
x-max: 3000
z-min: -3000
z-max: 3000
on right click:
if clicked block is stone button:
if block behind clicked block is sponge:
set {_x} to random integer between {@x-min} and {@x-max}
set {_y} to 256
set {_z} to random integer between {@z-min} and {@z-max}
set {_location} to location at {_x}, {_y}, {_z}
set {randomtp.god.%player%} to true
teleport player to {_location}
send " &8» &7Przeteleportowano w losowe koordynaty &6(x: %{_x}% | z: %{_z}%)&7."
stop
on damage:
if victim is player:
if {randomtp.god.%victim%} is true:
cancel event
delete {randomtp.god.%victim%}
stop
oto skrypt