Spawn method

  • 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!

Status
Not open for further replies.

zDan_YT

New Member
Mar 6, 2017
7
0
0
25
Hey, I'm looking for a custom method to spawn a boss every hour near ONE player in the whole server.
But I don't know how, I made this code:
code_language.skript:
every 1 hour:
    set {_bossSpawn} to 1 or 2
    if {_bossSpawn} is 1:
        broadcast "&6&l&m-&7&m------------------&6&l&m-"
        broadcast ""
        broadcast "    &7The &6&lLava Lord&7 has spawned near a player!"
        broadcast "    &7Defeat it to earn &b&lRare Loot&7!"
        broadcast ""
        broadcast "&6&l&m-&7&m------------------&6&l&m-"
        loop all players:
            
            
    if {_bossSpawn} is 2:

But I'm stuck on the "loop all players" part.
Help me :emoji_slight_smile:
 
Status
Not open for further replies.