Jump to content

ombs

Member
  • Posts

    44
  • Joined

  • Last visited

Posts posted by ombs

  1. # First, a specific XP variable.

    on join:

      set {xp..%player’s uuid%} to 0

      set {level..%player’s uuid%} to 1

      set {levelrq..%player’s uuid%} to 10

     

    # Next, the mining.

    on break of coal ore:

      add 1 to {xp..%player’s uuid%}

      send action bar “You gained 1 XP!” to player for 1 second


    on join:

      while player is online:

        if {xp..%player’s uuid%} is greater than {levelrq..%player’s uuid%}:

          add 1 to {level..%player’s uuid%}
          set {levelrq..%player’s uuid%} to {levelrq..%player’s uuid%} * 2

          set {xp..%player’s uuid} to 0

     

     

     

     

     

  2. on damage of player:
    	attacker's tool is gold axe named "&4Ban Hammer":
    		if attacker has permission "banhammer.use":
    			kick victim
    			ban victim due to "U TRASH KID"
    		else:
    			send "YOU Cant use this L!" to attacker

    formatting, untested for me btw

    if there are errors reply!

  3. I want a basketball that uses a custom player head as the block. How can I turn this into a Skript? My idea is that when you right click on a basketball on the ground, it gives you one to throw, it launches it into the air, and it looks the exact same the whole time. 

  4. Hello Minehut! I'm ombs and I am a Skripter and a server developer! I have 4 servers that haven't blown up in popularity, simply due to the fact that I have so many server ideas in mind! My current project is a city simulator with jobs, robberies, houses and apartments, and more!

    If you see me in the lobby, say hello! I always appreciate it.

    Have a great day peeps!

  5. On 1/11/2022 at 1:06 AM, NotADisplayNamenot said:

    I've been trying really hard to reload a skript I did /skript reload (filename) but it doesn't work it always says "An internal error occured while trying to perform this command." it always says that I've tried really hard to fix it but it doesn't work still. Could anyone help me please? 

    Maybe your problem is that you’ve broken syntax. I have never occurred this issue, but have you fiddled around with Skript’s config or essential files?

  6. I have an issue. I want a significantly large map that can be reset after griefing with a command. Is there a Skript or a plugin that can do this?

     

    (I want the map ONLY to reset, like if a player uses TNT, and I type the reset command, the whole map will go back to fully built)

  7. On 1/20/2022 at 7:33 AM, Curtis24 said:

    Hello I need help with a skript I would like it so I do /moneysheet <amount> to give you paper that when you right click it pays you the amount

     

    Also I would like the same thing just /ranknote <rank> and you right click to get the rank then what rank it says uses luck perms to join that rank or group

     

     

     

    Thx 

     

    Curtis24

     

    ign: Curtis24

     

    Server: aquagen (aquagen.minehut.gg)

     

    #Skript by ombs

    #Made assuming you use EssentialsEconomy

     

    command /moneysheet <text>:

      trigger:

        if arg-1 is "10":

          give player 1 paper named "&eMoney Sheet ($10)

        if arg-1 is "50":

          give player 1 paper named "&eMoney Sheet ($50)

    #You can add more here if you want.

     

    on right click:

      if event-item is paper named "&eMoney Sheet ($10)":

        add 10 to %player's balance%

      if event-item is paper named "&eMoney Sheet ($50)":

        add 50 to %player's balance%

     

    #For the ranknote, remember you need the ranks to be created before they are used.

    command /ranknote <text>:

      trigger:

        if arg-1 is "VIP":

          give player 1 paper named "&aVIP Ranknote"

        if arg-1 is "MVP":

          give player 1 paper named "&bMVP Ranknote"

     

    on right click:

      if event-item is paper named "&aVIP Ranknote":

        execute console command "lp user %player% parent set VIP"

      if event-item is paper named "&bMVP Ranknote":

        execute console command "lp user %player% parent set MVP"

     

    #This took a while, be grateful

        

  8. On 1/14/2022 at 4:06 AM, Retsom3D said:

    Hopefully its not too hard:

    I need a small little script that can send players to other bungeecord servers based on their coordinates.

    For example: if a player joins the server and is within a predefined area he should be transported to a predefined server.

    I tried to do it myself, but i seem to lack the mental capacity and know how to do it.

    well, selecting coordinates is out of my skill base, but I can make it so that if you stand on a block you get teleported I think

     

    on player move:

      if block at location of player is (block):

        execute console command "send %player% (server)

     

    I have zero experience with this plugin, so my research came up with this.

     

×
×
  • Create New...