Jump to content

Making free Skripts


NotKaizo

Recommended Posts

I might make some skripts that you request, just make sure it has all the details needed.

 

No gen skripts btw

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

3 hours ago, sharpifier1 said:

voucher skript for ranks. make it so that its easily customizable with other ranks. the i want the voucher is called &6&l&kE&r&6&lGOD&kE and the command is /lp user <name> parent add god. thanks

Hey! I made the Skript you asked for. I am sorry it took this long since it was quite confusing to make. I tried my best to make it as easily customizable as possible aswell so hope you like it 🙂

I made it in a separate forum post since I see a lot of people wanting this kind of Skript so why not just share it to everyone.  
 

 

  • Like 1

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

2 hours ago, Patsteaks123 said:

A script that has a 50/100 chance to drop a crate key from killing people (exp, "You have been rewarded a key from killing Someone")

on death:
	victim is player
	attacker is player
	chance of 50%:
		execute console command "<crate key command>"
        send "You have been rewarded a key from killing Someone" to attacker

Put your give key command in the <crate key command> section and remove the <> and leave the quotes. make sure the expression is %attacker% you it gives the attacker a key.

Edited by NotKaizo

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

12 hours ago, Lapzzo said:

This is a bit of a big request but here it is

on /repair, it opens a gui with the players inventory, and they can click on any armour piece/sword and it repairs it. For the cost of 50 of the variable {coins::%player's uuid%}


 

options:

    balance: {balance::%player's uuid%} # Variable of your currency

    repair_cost: 50 # Repair cost to repair the item


command /repair [<player>]:
    permission: repair.use
    trigger:
        if arg-1 is set:
            open inventory of arg-1 to player
            set {activeGui::%player's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to player
            send "&aPlease click an item to repair it for 50 Coins!" to player
        else:
            open inventory of player to player
            set {activeGui::%player's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to player
            send "&aPlease click an item to repair it for 50 Coins!" to player

on inventory click:
    {activeGui::%player's uuid%} = "inventoryGui"
    cancel event
    set {_dura} to max durability of clicked item
    set {_fix} to durability of clicked item
    if {_fix} < {_dura}:
        if {@balance} >= {@repair_cost}:
            remove {@repair_cost} from {@balance}
            repair clicked item
            play sound "block.note_block.pling" to player
        else:
            play sound "entity.villager.no" to player
            send "&cStop trying to repair that item! You are broke smh."
    else if {_fix} >= {_dura}:
        play sound "entity.villager.no" to player

on inventory close:
    if {activeGui::%player's uuid%} is "inventoryGui":
        delete {activeGui::%player's uuid%}
        send "&cYou closed your inventory!"

Also made a small option section for you to change the variable and cost of upgrade! Hope you like it 🙂

Edited by NotKaizo

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

14 hours ago, NotKaizo said:
options:

    balance: {balance::%player's uuid%} # Variable of your currency

    repair_cost: 50 # Repair cost to repair the item


command /repair [<player>]:
    permission: repair.use
    trigger:
        if arg-1 is set:
            open inventory of arg-1 to player
            set {activeGui::%player's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to player
            send "&aPlease click an item to repair it for 50 Coins!" to player
        else:
            open inventory of player to player
            set {activeGui::%player's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to player
            send "&aPlease click an item to repair it for 50 Coins!" to player

on inventory click:
    {activeGui::%player's uuid%} = "inventoryGui"
    cancel event
    set {_dura} to max durability of clicked item
    set {_fix} to durability of clicked item
    if {_fix} < {_dura}:
        if {@balance} >= {@repair_cost}:
            remove {@repair_cost} from {@balance}
            repair clicked item
            play sound "block.note_block.pling" to player
        else:
            play sound "entity.villager.no" to player
            send "&cStop trying to repair that item! You are broke smh."
    else if {_fix} >= {_dura}:
        play sound "entity.villager.no" to player

on inventory close:
    if {activeGui::%player's uuid%} is "inventoryGui":
        delete {activeGui::%player's uuid%}
        send "&cYou closed your inventory!"

Also made a small option section for you to change the variable and cost of upgrade! Hope you like it 🙂

Question:

I can repair stuff already repaired. Any fix?

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

Link to comment
Share on other sites

1 minute ago, Lapzzo said:

Question:

I can repair stuff already repaired. Any fix?

Well I couldn't find a way but I will do more research on it tomorrow when I wake up. I am pretty sure you can't repair blocks/non weapons. 

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

Hey I making a gui and i want it to give a item but it is just giving not open gui heres my code so far: command /Gui:
    permission: op
    permission message: "Hey you cant do that"
    trigger:
        open virtual chest inventory with size 3 named "Admin Gui" to player
        format gui slot 11 of player with golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon explosions" to run:
        give player golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon explosions"
        close players inventory
        format gui slot 15 of player with golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can lightning" to run:
        give player golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon lighting"
        close players inventory
      

 

Hey I used the skript you gave me and this happens.spacer.png

Edited by hypixelupdate
Still not working
Link to comment
Share on other sites

On 9/23/2021 at 5:08 PM, NotKaizo said:

Well I couldn't find a way but I will do more research on it tomorrow when I wake up. I am pretty sure you can't repair blocks/non weapons. 

Im not sure what I did, but I think I broke it. Also did u find a way to make it so u cant repair items that are full durability?

Broken skript:

command /repair [<player>]:
    permission: repair.use
    trigger:
        if arg-1 is set:
            open inventory of arg-1 to arg-1
            set {activeGui::%arg-1's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to arg-1
            send "&aPlease click an item to repair it for 50 Coins!" to arg-1
        else:
            open inventory of player to player
            set {activeGui::%player's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to player
            send "&aPlease click an item to repair it for 50 Coins!" to player

on inventory click:
    {activeGui::%player's uuid%} = "inventoryGui"
    cancel event
    set {_dura} to max durability of clicked item
    set {_fix} to durability of clicked item
    if {_fix} < {_dura}:
        if {@balance} >= {@repair_cost}:
            remove {@repair_cost} from {@balance}
            repair clicked item
            play sound "block.note_block.pling" to player
        else:
            play sound "entity.villager.no" to player
            send "&cYou do not have enough!"
    else if {_fix} >= {_dura}:
        play sound "entity.villager.no" to player

on inventory close:
    if {activeGui::%player's uuid%} is "inventoryGui":
        delete {activeGui::%player's uuid%}
        send "&cYou have canceled your purchase!"

Also I made it so the player in the command (Argument-1) doesnt get opened to the executer, but to arg-1. That was my original intention, but it seemed to break it

Edited by Lapzzo

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

Link to comment
Share on other sites

2 hours ago, Lapzzo said:

Im not sure what I did, but I think I broke it. Also did u find a way to make it so u cant repair items that are full durability?

Broken skript:

command /repair [<player>]:
    permission: repair.use
    trigger:
        if arg-1 is set:
            open inventory of arg-1 to arg-1
            set {activeGui::%arg-1's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to arg-1
            send "&aPlease click an item to repair it for 50 Coins!" to arg-1
        else:
            open inventory of player to player
            set {activeGui::%player's uuid%} to "inventoryGui"
            play sound "block.note_block.pling"  to player
            send "&aPlease click an item to repair it for 50 Coins!" to player

on inventory click:
    {activeGui::%player's uuid%} = "inventoryGui"
    cancel event
    set {_dura} to max durability of clicked item
    set {_fix} to durability of clicked item
    if {_fix} < {_dura}:
        if {@balance} >= {@repair_cost}:
            remove {@repair_cost} from {@balance}
            repair clicked item
            play sound "block.note_block.pling" to player
        else:
            play sound "entity.villager.no" to player
            send "&cYou do not have enough!"
    else if {_fix} >= {_dura}:
        play sound "entity.villager.no" to player

on inventory close:
    if {activeGui::%player's uuid%} is "inventoryGui":
        delete {activeGui::%player's uuid%}
        send "&cYou have canceled your purchase!"

Also I made it so the player in the command (Argument-1) doesnt get opened to the executer, but to arg-1. That was my original intention, but it seemed to break it

No I did not find a way to make it so it won't repair full dura items. Why are you trying to make it so it opens to arg-1? Just make it so they execute the command.

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

2 hours ago, hypixelupdate said:

Hey I making a gui and i want it to give a item but it is just giving not open gui heres my code so far: command /Gui:
    permission: op
    permission message: "Hey you cant do that"
    trigger:
        open virtual chest inventory with size 3 named "Admin Gui" to player
        format gui slot 11 of player with golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon explosions" to run:
        give player golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon explosions"
        close players inventory
        format gui slot 15 of player with golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can lightning" to run:
        give player golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon lighting"
        close players inventory
      

Here you go.

command /gui:
    permission: op
    permission message: "Hey you cant do that"
    trigger:
        open virtual chest inventory with size 3 named "Admin Gui" to player
        format gui slot 11 of player with golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon explosions" to run:
            give player 1 of golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon explosions"
            close players inventory
        format gui slot 15 of player with golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can lightning" to run:
            give player 1 of golden hoe named "&4Admin Weapon" with lore "A Powerful Admin Weapon That Can summon lighting"
            close players inventory

 

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

9 hours ago, NotKaizo said:

No I did not find a way to make it so it won't repair full dura items. Why are you trying to make it so it opens to arg-1? Just make it so they execute the command.

Im doing this because I dont want them to be able to execute /repair, but console to do /repair <player>

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

Link to comment
Share on other sites

6 hours ago, Lapzzo said:

Im doing this because I dont want them to be able to execute /repair, but console to do /repair <player>

You can add a 2nd argument and make it a integer. They will have to execute /repair <player> <integer> to open up the GUI. 2nd argument will be a password.

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

1 hour ago, RealFTG said:

Since you couldn't be remotely arsed to even help me, please make me a punish skript with ban, blacklist and kick

Imagine being toxic bud

I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
Link to comment
Share on other sites

9 hours ago, Lapzzo said:

Thanks for the help, but it doesnt work. Is there any required addon?

did you try searching on google? I got the answer right away. 

    set {_durability} to max durability of player's tool - durability of player's tool
    if {_durability} is max durability of player's tool:

 

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...