1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Beacon Rename Skript

Discussion in 'Skript' started by Sknar, Sep 29, 2022.

Thread Status:
Not open for further replies.
  1. Sknar

    Sknar Member

    Joined:
    Sep 29, 2022
    Messages:
    1
    Likes Received:
    0
    How can i make when the player clicks with the sword on the beacon his sword will be renamed (some random names for example (gf, gg, Back to spawn ) and have cooldwown for 10 sec
    minecraft version 1.8
     
  2. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    116
    Likes Received:
    4
    Uhhhhhhhhhhhhh

    Code (Text):
    1.  
    2. on rightclick:
    3.     execute player command "beaconstuff"
    4.  
    5. command /beaconstuff [<string>]:
    6.     cooldown: 10 seconds
    7.     cooldown message: &r
    8.     trigger:
    9.         target block is beacon
    10.         player's tool is any sword
    11.  
    12.         set {_name} to random element of "gf" and "gg" and "Back to spawn"
    13.  
    14.         set player's tool's name to {_name}
    15.         send "&aYour sword was renamed to %{_name}%"
    16.  
    17.  
    This might does it but y
     
Thread Status:
Not open for further replies.

Share This Page

Loading...