can anyone help me make a skript pls

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

    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!

PookieSpeedy

Member
Sep 12, 2024
2
0
1
i want to make a script like
/tournament when they type they go to arena like i can select the coords and when the tournament starts noone can use /tournament can anyone help me with this like its a last to standing tournament pls
 
command /tournament:
trigger:
execute console command "execute as %player% run tp 0 0 0"
# Change the 0 0 0 to your coords
 

Attachments

  • coords.PNG
    coords.PNG
    4 KB · Views: 144
  • Like
Reactions: 1JMQR1
COMMAND:
/tournament
/tournament start
/tournament stop

PERMISSION:
tournament.* (need for use tournament start / stop)

----------

Code:
Options:
    coord: 0 0 0


command /tournament <text>:
    trigger:
        if arg-1 is not set:
            if {tournament::*} is not set:
                console command "teleport %player% to {@coord}"
            else:
                send "&cYou can't use the command in a tournament!"
        if arg-1 is "start":
            if player has permission "tournament.*":
                set {tournament::*} to now
                broadcast "&a&lThe tournament has start!"
       
        if arg-1 is "stop":
            if player has permission "tournament.*"
                delete {tournament::*}
                broadcast "&c&lThe tournament is over!"
        if arg-1 is set:
            if arg-1 is not "stop" or "start":
                if arg-1 has permission "tournament.*":
                    send "&cUse /tournament <start/stop>"
                else:
                    send "&cUse /tournament"

Change 0 0 0 to your coord!
I hope you like that!<3
1727339324409.png
 

Attachments

  • 1727339158189.png
    1727339158189.png
    21.4 KB · Views: 129
Last edited: