Jump to content

Juskittin_

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Juskittin_

  1. 9 hours ago, ApexSplat said:

    you spelt to wrong

     

     

    Oh, I fixed that but when i tried to do it it did not work at first it gave you something every time you right-click something and now ive tried to fix it it it dosent give you anything. Here's the exact code. 

    image.png

  2. On 4/25/2023 at 8:01 AM, ApexSplat said:
    set {_i} ro random integer between 1 and 4
    if {_i} is 1:
    	drop 1 diamond
    else if {_i} is 2:
    	drop 1 dirt
    else if {_i} is 3:
    	drop 1 stone
    else if {_i} is 4:
    	drop 1 gold ingot

     

    Sadly, this code did not work, i will try to experiment with it but, is there anything in the code that i need to change?

  3. 8 hours ago, ApexSplat said:

    Well the problem here is if you are really lucky, you can get all 4 items. You can set a local var to a random integer between 1 and 4 as that is the same as 25% chance for each and if it is 1 they get diamond, 2 they get dirt etc

    Could you provide an example of code like that? I am really new to code and I don't really know what a "local var" is. Sorry if I'm bothering you.

  4. 12 hours ago, ApexSplat said:

    Well for people trying to help you, it would be nice if you actually provided your code.

    Yeah sorry about that, yknow how minehuts free servers are down for about a week? Yeah my code is in the folders and i do not remember it by heart i will try to type it out here though.

    on right-click:

        if event-block is chest:

    chance 25%:

            drop 1 diamond

    chance 25%:

            drop 1 dirt

    chance 25%:

            drop 1 stone

    chance 25%:

            drop 1 gold_ingot

         

     

  5. I was making a server with loot-crate like chests where you right click one it drops a random item from a list of items and the chest disappears and respawns in the same spot after a short time, I've got the disappearing and respawning down, but i need help with the random item dropping, i tried doing it on my own but either it drops 2 different items or give you nothing. I will provide my skript and i was hoping someone could help me fix it. Thank you.

     

  6. Hey i need help fixing a skript... I tried coding it myself but it hasn't worked what it is supposed to do is whenever I right-click a chest it give me 1 item out of a selection of items but whenever I try, either it doesn't give me anything or it give me two different items. If you could help me fix this that would be great thank you so much. Here is the skript. 

    on right-click:
        if event-block is chest:
            chance of 30%:
                execute console command "/give %player% diamond 1"
            chance of 13%:
                execute console command "/give %player% iron_axe 1"
            chance of 20%:
                execute console command "/give %player% iron_boots 1"
            chance of 20%:
                execute console command "/give %player% iron_helmet 1"
            chance of 7%:
                execute console command "/give %player% diamond_chestplate 1"
            chance of 10%:
                execute console command "/give %player% diamond_leggings 1"

  7. When i joined Minehut today about after 7 months of not playing i had noticed that i was still a VIP, but when i tried advertising my server the color codes were not working and i could not use /elytra i do not know if they removed those features from VIP or not, but i could still fly and had the chat tag, when i checked my profile it said my rank was default please someone help me fix this And when i asked other players about it they said that it showed me as a VIP. Also on the tablist it had showed me as a VIP, thank you, -Juskittin.

    •  

     

    image.png.b6358bb58298bedda0a85d6be8c89797.pngimage.png.ac59977639b6c5021c3d442c4468bf07.png

  8. I just got VIP yesterday and I tried advertising my server and it keeps saying the message was blocked due to "blocked" I can send really short ads like  E and that works but anything more than about 15 characters is denied please help 🥲 The ad was "WIP &bNew box server that needs testers please join"

    Screenshot_20221122_102947.png

×
×
  • Create New...