Jump to content

Patsteaks123

Member
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Patsteaks123

  1. CODE:

     

    options:
     prefix: "[Server Name]"    
    every {_event} hours:
     set {_event} to random integer between 2 and 7:
      if {_event} = 2:
       broadcast "message"
      if {_event} = 3:
       broadcast "message"
      if {_event} = 4:
       broadcast "message"
      if {_event} = 5:
       broadcast "message"

    ERROR MSG:
    can't understand this event: 'every {_event} seconds' (event.sk, line 3: every {_event} seconds:')

  2. On 12/14/2021 at 7:17 PM, hecker45712360238 said:
    on click:
        if player's held item is shiny gold ingot named "&eInf&6ini&cty &bGau&5nt&alet" with lore "&8&l&nIS THIS THE POEWR OF A GOD?!?!?", and "&aIncludes Snap, Vanish, Flight, And Double Health!":
    		send "worked!" to player

    When i click even if i were to do like the image below:

    on click:
        send "worked!" to player
    	if player's held item is shiny gold ingot named "&eInf&6ini&cty &bGau&5nt&alet" with lore "&8&l&nIS THIS THE POEWR OF A GOD?!?!?", and "&aIncludes Snap, Vanish, Flight, And Double Health!":
    		send "worked!" to player

    I never receive the message "worked!" when i click. and the code that a normally have below (which is opening a gui) never happens!!!

    PLEASE HELP ME I SPENT SO LONG TRY TO FIGURE THIS OUT!!!!!!!!

     

     

    ALSO THERE ARE NO ERRORS WHEN I RELOAD THE SKIRPT!!!

    Haven't tested it but it should work!

     

    options:
     gauntlet: gold ingot named "&eInf&6ini&cty &bGau&5nt&alet" with lore "&8&l&nIS THIS THE POEWR OF A GOD?!?!?", and "&aIncludes Snap, Vanish, Flight, And Double Health!"
    
    
    on click:
        if player's held item is gold ingot named "&eInf&6ini&cty &bGau&5nt&alet" with lore "&8&l&nIS THIS THE POEWR OF A GOD?!?!?" and "&aIncludes Snap, Vanish, Flight, And Double Health!":
            send "worked!" to player
    
    
    
    command /gdfanadf:
     trigger:
      give {@gauntlet} to player

     

  3. on place of any shulker box:
        cancel event
        send "&cPlease do not use exploits due to gliches and spawning bad luck."
    
    on right click holding any spawn egg:
    	cancel event
    	send "&cPlease do not use Spawn-Eggs in this world!"

    Haven't tested it yet but it should fix your problem

     

  4. So I'm making a box server but I need help with a script that has a chance of replacing a spawn of a zombie with a custom spawn

     

    options:
     zombieshard: green dye named "Weirdo Essence"
     eee: zombie named "&2&lWeirdo"
     
     
     
    on death of zombie:
     if victim's name is "&2&lWeirdo":
      chance of 20%:
       give {@zombieshard} to attacker
    
    
    on spawn of zombie:
     chance of 20%:
      spawn {@eee} at event-location 

     

  5. Required plugins: Skript-GUI, Skript

     

    options:
     gen: compass named "&2&lRules GUI" with lore "&8&lRight Click me for Rules!"
    
    on first join:
     set slot 8 of player's inventory to {@gen}
    
    on rightclick:
      if player's held item is {@gen}:
        execute player command "/rules"
    
    on drop:
      if event-item = {@gen}:
        cancel event
    
    
    
    command /genfix:
     permission: gen.sky
     trigger:
      set slot 8 of player's inventory to {@gen}
      
      
      
      
    command /rules:
    	trigger:
    		create a new gui with virtual chest inventory with 3 rows named "&4&lRules"
    		edit gui last gui:
    			format gui slot 0 with red wool named "&4[1] &fBe Respectful":
    			format gui slot 1 with red wool named "&4[2] &fNo Hacking":
    			format gui slot 2 with red wool named "&4[3] &fNo harassing people and no racism":
    			format gui slot 3 with red wool named "&4[4] &fNo chat flooding/spamming":
    			format gui slot 4 with red wool named "&4[5] &fNo alts":
    			format gui slot 5 with red wool named "&4[6] &fNo beggings for stuff":
    			format gui slot 6 with red wool named "&4[7] &fNo naked killing":
    			format gui slot 7 with red wool named "&4[8] &fNo spam killing/camping mines you don't need":
    			format gui slot 8 with red wool named "&4[9] &fNo Complaining about staff punsishments":
    			format gui slot 9 with red wool named "&4[10] &fNo afk mining":
    			format gui slot 10 with red wool named "&4[11] &fUse common sense":
    			format gui slot 26 with barrier named "&cClose this Menu":
    				close player's inventory
    		open the last created gui to player

     

  6. Help
     

    command howtoannoypeople [<player>]:
     permission: sk.htap
     aliases: htap
     trigger:
      send "&4You've Exploded" to arg
      execute console command "execute at %arg% run summon end_crystal ~ ~2 ~"
      execute console command "execute at %arg% run summon arrow ~ ~5 ~"
      wait 3 seconds
      execute console command "/htap %arg%"

     

  7. options:
     500: paper named "&6&l500 Coins"
    
    
    
    on rightclick with paper:
      if name of player's held item is "&6&l500 Coins":
      send "&7&lYay, You have claimed &6&l500 &7&lCoins!" to player
      execute console command "eco give %player% 500"
    
    
    
    command /500:
     permission: sk.500
     trigger:
      give {@500} to player

    This kinda works... I wouldn't actually recommend using it though lol (It works with normal paper)

     

  8. 41 minutes ago, Patsteaks123 said:

    Seems diffucult I will give it a try! I will let you know when it gets finished! also is it ok if I credit myself in the /playergroups help which I will add?

     

    10 hours ago, Madlirex said:

    Hi!

    I need skript, when you will do command /playergroups admins add <player> it will add player’s uuid to one variable named “Adminsuuid” and his nick to other one named “Admins” and it will send you “Added (player) to admins”, when you will do command /playergroups admins list it will send to chat you list of the players what are in variable “Admins” and when you will do command /playergroups admins remove <player> it will remove player’s uuid from “Adminsuuid” and his nick from “Admins” and it will send you “Removed “player” from admins”. (I am making skripts for my server with plugin Skript)

    Well I give up I'm sorry.. I not that good at skript.

  9. 10 hours ago, Madlirex said:

    Hi!

    I need skript, when you will do command /playergroups admins add <player> it will add player’s uuid to one variable named “Adminsuuid” and his nick to other one named “Admins” and it will send you “Added (player) to admins”, when you will do command /playergroups admins list it will send to chat you list of the players what are in variable “Admins” and when you will do command /playergroups admins remove <player> it will remove player’s uuid from “Adminsuuid” and his nick from “Admins” and it will send you “Removed “player” from admins”. (I am making skripts for my server with plugin Skript)

    Seems diffucult I will give it a try! I will let you know when it gets finished! also is it ok if I credit myself in the /playergroups help which I will add?

  10. # CREDITS: PatSteaks IDEA: ButterflyBullets
    
    
    
    options:
     luckblock: sponge named "&6Lucky Block"
     give:&3[SERVERNAME] You have used &6/luckyblock!
    
    # Command Setup
    
    command /luckyblock [<player>]:
     aliases: lb
     trigger:
       if arg is set:
      
      # Sends a message to arg
      
      send "{@give}" to arg
      give sponge named "&6LuckyBlock" to arg
     
     #Gives the item to set arg
      
    on place of {@luckyblock}:
        set {placed::%event-block's location%} to arG
     
    on break of {@luckyblock}:
        if {placed::%event-block's location%} is arg:
        drop a random element of all items
    	 
       if arg is not set:
       
       # Sends a message to unset arg
       
      send "{@give}" to player
      give sponge named "&6LuckyBlock" to player
      
      #Gives the item to unset arg
      
    on place of {@luckyblock}:
        set {placed::%event-block's location%} to player
     
    on break of {@luckyblock}:
        if {placed::%event-block's location%} is player:
        drop a random element of all items

    First of all I do not know why this is working, Am I missing a plugin?

  11. 3 hours ago, ButterflyBullets said:

    alr, make a lucky block skript 😏 

    Don't know if this works haven't tested it yet
     

    on place of sponge:
        set {placed::%event-block's location%} to player
     
    on break of sponge:
        if {placed::%event-block's location%} is player:
        drop a random element of all items
        

     

×
×
  • Create New...