Jump to content

QueenBee198

Member
  • Posts

    31
  • Joined

  • Last visited

Posts posted by QueenBee198

  1. 14 minutes ago, RoustyTousty said:

    Hello so im trying to make it so when people reaches surten xp lvl then it sets there rank basicly like auto ranking up
    for example if player reaches lvl 10 it does a comand to give him next rank on my server the cmand is: /lp user %player% parent set <rank>

    every second:
      loop all players:
        if level of loop-player is 5:
          set loop-player's group to "Rank1"
        else if level of loop-player is greater than or equal to 10:
          set loop-player's group to "Rank2"
        else if level of loop-player is greater than or equal to 15:
          set loop-player's group to "Rank3"
        else if level of loop-player is greater than or equal to 20:
          set loop-player's group to "Rank4"
        else if level of loop-player is greater than or equal to 25:
          set loop-player's group to "Rank5"
        else if level of loop-player is greater than or equal to 30:
          set loop-player's group to "Rank6"

     

  2. 2 minutes ago, iiFlameYT said:

     

    No

     

    on death of player:
      if {killstreak::%attacker's uuid%} is 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 150, 155, 160, 165, 170, 175, 180, 185, 190, 195 or 200: #you can add more to this
        broadcast "&a%attacker%&c is currently on a &d%{killstreak::%attacker's uuid%}% &dKillstreak&c!"
    

     

    • Thanks 1
  3. 1 hour ago, iiFlameYT said:

    Hey can i have a KillCounter with a scoreboard and killreward scripts? i really need them in my kitpvp server...

     

    options:
      reward: 500 #coins
    
    on join:
      if {deaths::%player's uuid%} isn't set:
        set {deaths::%player's uuid%} to 0
      if {kills::%player's uuid%} isn't set:
        set {kills::%player's uuid%} to 0
      if {killstreak::%player's uuid%} isn't set:
        set {killstreak::%player's uuid%} to 0
    
    on death of player:
      add {@reward} to attacker's balance
      add 1 to {kills::%attacker's uuid%}
      add 1 to {deaths::%attacker's uuid%}
      add 1 to {killstreak::%attacker's uuid%}
      set {killstreak::%victim's uuid%} to 0
    
    command /stats [<text>]:
      usage: &6/stats (player)
      trigger:
        if arg is set:
          send "" to player
          send "&a%arg%&d's Stats" to player
          send "" to player
          send "&aKills: %{kills::%arg's uuid%}%" to player
          send "&aDeaths: %{deaths::%arg's uuid%}%" to player
          send "&aKillstreak: %{killstreak::%arg's uuid%}%" to player
          send "&aKDR: %{kills::%arg's uuid%} / {deaths::%arg's uuid%}%" to player
          send "" to player
        else if arg isn't set:
          send "" to player
          send "&a%player%&d's Stats" to player
          send "" to player
          send "&aKills: %{kills::%player's uuid%}%" to player
          send "&aDeaths: %{deaths::%player's uuid%}%" to player
          send "&aKillstreak: %{killstreak::%player's uuid%}%" to player
          send "&aKDR: %{kills::%player's uuid%} / {deaths::%player's uuid%}%" to player
          send "" to player
          
    on join:
    	clear player's scoreboard
    	erase player's sidebar
    
    on script load:
    	loop all players:
    		clear loop-player's scoreboard
    		erase loop-player's sidebar
    
    every tick:
    	loop all players:
    		toggle loop-player's scoreboard to true
    		set title of loop-player's scoreboard to "&6Server &7(Change this)"
    		set line 14 of loop-player's scoreboard to "&b"
    		set line 13 of loop-player's scoreboard to "&6&lYou"
    		set line 12 of loop-player's scoreboard to "  &7Name: &f%loop-player's displayname%"
    		set line 11 of loop-player's scoreboard to "  &7Rank: &f%loop-player's prefix%"
    		set line 10 of loop-player's scoreboard to "  &7Money: &f%loop-player's balance%"
    		set line 9 of loop-player's scoreboard to "  &7Kills: &f%{kills::%loop-player's uuid%}%"
    		set line 8 of loop-player's scoreboard to "  &7Deaths: &f%{deaths::%loop-player's uuid%}%"
    		set line 7 of loop-player's scoreboard to "  &7Killstreak: &f%{killstreak::%loop-player's uuid%}%"
    		set line 6 of loop-player's scoreboard to "  &7KDR: &f%{kills::%loop-player's uuid%} / {deaths::%loop-player's uuid%}%"
    		set line 5 of loop-player's scoreboard to "&b"
    		set line 4 of loop-player's scoreboard to "&6&lServer"
    		set line 3 of loop-player's scoreboard to "  &7TPS: &f%rounded 1st element of tps%"
    		set line 2 of loop-player's scoreboard to "  &7Online: &f%number of all players%&7/&f%max players%"
    		set line 1 of loop-player's scoreboard to "&b"

     

  4. 6 hours ago, alexanderwaldman said:

    A kill money srkipt (so when u kill a player you get x money

     

    on death of player:
      add 100 to attacker's balance #This is using vault balance (Most likely essentials)
      add 100 to {balance::%attacker's uuid%} #This is using a variable for money
  5. 2 minutes ago, Godkiller4568 said:

    that's not what i meant i meant to say when i was SEARCHING FOR the plugin it didn't show up in the search directory under the plugins search for when you want to FIND a plugin..... that's what i needed help with....

    Did you have "Installed Plugins" unchecked?

  6. 20 minutes ago, Jessica907432 said:

    hey is it possible to make it so if u right click a fireball it summons a fireball that does no dmg (explosion wise) whever u look when u right clicked it ( i wanna test out fireball jumping)

    sorry for bothering u so much .-.

    Sorry, I explored a few skript docs and couldn't find anything that could help.

  7. 1 minute ago, QueenBee198 said:
    
    on left click with chain:
      loop 5 times:
        shoot tnt from player at speed 5
    
    on right click with chain:    
      loop 5 times:
        shoot a Wither Skull from player at speed 1

     

    This should help you:

    Quote

    in programming, indentations are tabs
    Skript allows a variety of indentation methods
    - 1 tab
    - 4 spaces
    - 2 spaces

    it is recommended to use 1 tab but if you cant use 1 tab, use 4 spaces.
    2 spaces are also valid but it is not recommended.
    (in atom text editor, the tab defaults to 2 spaces. you can change this in settings)

    (Source: https://forums.skunity.com/wiki/indentation/)

  8. Just now, Jessica907432 said:

     

    please do show me

    on left click with chain:
      loop 5 times:
        shoot tnt from player at speed 5
    on right click with chain:    
      loop 5 times:
        shoot a Wither Skull from player at speed 1
        

    on left click with chain:
      loop 5 times:
        shoot tnt from player at speed 5
    
    on right click with chain:    
      loop 5 times:
        shoot a Wither Skull from player at speed 1

     

  9. 2 minutes ago, Jessica907432 said:

    Ok so im coming back as im new to this skript and your help has helped me understand so basicly how do i repeat something so many times like so as i have shown in the file section do u know how?

    6.PNG

    You would want to add loop (number of times) times: then under add what you would like to repeat (make sure it's indented) then when you want to exit the loop just remove the indentations on a new line

    Example:
     

    on rightclick:
      loop 5 times:
        send "Woah! You just looped a skript!"
      send "This line isn't in the loop!"

     

    • Thanks 1
×
×
  • Create New...