How do I broadcast coords?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Byteware

Member
Aug 22, 2023
1
0
1
23
Can someone help me out? How can I broadcast coords?

Here is my code:

command /loadboss:
trigger:
set {_areacoordX} to a random integer between 100 and 300
set {_areacoordY} to 80
set {_areacoordZ} to a random integer between 100 and 300
set {_amount} to 1
set name of zombie to "&4&lBoss"
loop {_amount} times:
execute console command "summon zombie %{_areacoordX}% %{_areacoordY}% %{_areacoordZ}%"

on skript start:
wait 5 seconds

on spawn:
wait 1800 seconds
execute console command "/loadboss"
 
I know how to but your gonna have to wait cause I can do the code on my computer but right now I'm on my phone

edit: it might take awhile
 
Last edited:
code_language.skript:
broadcast "x: %{_areacoordX}%, y: %{_areacoordY}%, z: %{_areacoordZ}%"