Jump to content

I need more skript help D;


Ramina__

Recommended Posts

I just as soon as i added the world accessibility its broke and i cant fix it...

command /kit [<text>]:
    trigger:
        if player's world is "ul_void_world_1":
            if arg 1 is "starter":
                message "&7&lStarter &7kit selected!"
                give 1 stone sword of unbreaking 3, sharpness 1 named "&7&lStarter Sword" to player
                give 16 steak to player
                give 3 golden apple to player
                give 1 enchanted golden apple to player
                equip player with chainmail Helmet of unbreaking 3, protection 1 named "&7&lStarter Helmet"
                equip player with chainmail ChestPlate of unbreaking 3, protection 1 named "&7&lStarter ChestPlate"
                equip player with chainmail Leggings of unbreaking 3, protection 1 named "&7&lStarter Leggings"
                equip player with chainmail Boots of unbreaking 3, protection 1 named "&7&lStarter 
boots"
        else:
          send "&4&lVelvetSurv>> &c&lYou are not in KitPvP"
          stop
           
          
           
          if player's world is "ul_void_world_1":
            if arg 1 is "pro":
                message "&b&lPro &7kit selected!"
                give 1 iron sword of unbreaking 3, sharpness 2 named "&b&lPro Sword" to player
                give 36 steak to player
                give 6 golden apple to player
                give 2 enchanted golden apple to player
                equip player with leather Helmet of unbreaking 3, protection 1 named "&b&lPro Helmet"
                equip player with diamond ChestPlate of unbreaking 3 named "&b&lPro ChestPlate"
                equip player with iron Leggings of unbreaking 3, protection 1 named "&b&lPro Leggings"
                equip player with leather Boots of unbreaking 3, protection 1 named "&b&lPro boots"

Link to comment
Share on other sites

it is because you put it after the else so it did not think of it as part of the command so you just need to move the else to the end of the command

 

command /kit [<text>]:
    trigger:
        if player's world is "ul_void_world_1":
            if arg 1 is "starter":
                message "&7&lStarter &7kit selected!"
                give 1 stone sword of unbreaking 3, sharpness 1 named "&7&lStarter Sword" to player
                give 16 steak to player
                give 3 golden apple to player
                give 1 enchanted golden apple to player
                equip player with chainmail Helmet of unbreaking 3, protection 1 named "&7&lStarter Helmet"
                equip player with chainmail ChestPlate of unbreaking 3, protection 1 named "&7&lStarter ChestPlate"
                equip player with chainmail Leggings of unbreaking 3, protection 1 named "&7&lStarter Leggings"
                equip player with chainmail Boots of unbreaking 3, protection 1 named "&7&lStarter boots"   
            if arg 1 is "pro":
                message "&b&lPro &7kit selected!"
                give 1 iron sword of unbreaking 3, sharpness 2 named "&b&lPro Sword" to player
                give 36 steak to player
                give 6 golden apple to player
                give 2 enchanted golden apple to player
                equip player with leather Helmet of unbreaking 3, protection 1 named "&b&lPro Helmet"
                equip player with diamond ChestPlate of unbreaking 3 named "&b&lPro ChestPlate"
                equip player with iron Leggings of unbreaking 3, protection 1 named "&b&lPro Leggings"
                equip player with leather Boots of unbreaking 3, protection 1 named "&b&lPro boots"
        else:
            send "&4&lVelvetSurv>> &c&lYou are not in KitPvP"
            stop

 

Link to comment
Share on other sites

7 hours ago, Boxmonkey said:

it is because you put it after the else so it did not think of it as part of the command so you just need to move the else to the end of the command

 

command /kit [<text>]:
    trigger:
        if player's world is "ul_void_world_1":
            if arg 1 is "starter":
                message "&7&lStarter &7kit selected!"
                give 1 stone sword of unbreaking 3, sharpness 1 named "&7&lStarter Sword" to player
                give 16 steak to player
                give 3 golden apple to player
                give 1 enchanted golden apple to player
                equip player with chainmail Helmet of unbreaking 3, protection 1 named "&7&lStarter Helmet"
                equip player with chainmail ChestPlate of unbreaking 3, protection 1 named "&7&lStarter ChestPlate"
                equip player with chainmail Leggings of unbreaking 3, protection 1 named "&7&lStarter Leggings"
                equip player with chainmail Boots of unbreaking 3, protection 1 named "&7&lStarter boots"   
            if arg 1 is "pro":
                message "&b&lPro &7kit selected!"
                give 1 iron sword of unbreaking 3, sharpness 2 named "&b&lPro Sword" to player
                give 36 steak to player
                give 6 golden apple to player
                give 2 enchanted golden apple to player
                equip player with leather Helmet of unbreaking 3, protection 1 named "&b&lPro Helmet"
                equip player with diamond ChestPlate of unbreaking 3 named "&b&lPro ChestPlate"
                equip player with iron Leggings of unbreaking 3, protection 1 named "&b&lPro Leggings"
                equip player with leather Boots of unbreaking 3, protection 1 named "&b&lPro boots"
        else:
            send "&4&lVelvetSurv>> &c&lYou are not in KitPvP"
            stop

 

xD im so sorry tysm! Have a good day 😄

Link to comment
Share on other sites

Ok im confused i cant get the cooldown to work

 

command /kit [<text>]:
    cooldown: 30 seconds
    set {_remainingtime} to cooldown
    cooldown message "&4&lVelvetSurv>> &c&lWait {_remainingtime} Before using this kit again"
    trigger:
        if player's world is "ul_void_world_1":
            if arg 1 is "starter":
                message "&7&lStarter &7kit selected!"
                give 1 stone sword of unbreaking 3, sharpness 1 named "&7&lStarter Sword" to player
                give 16 steak to player
                give 3 golden apple to player
                give 1 enchanted golden apple to player
                equip player with chainmail Helmet of unbreaking 3, protection 1 named "&7&lStarter Helmet"
                equip player with chainmail ChestPlate of unbreaking 3, protection 1 named "&7&lStarter ChestPlate"
                equip player with chainmail Leggings of unbreaking 3, protection 1 named "&7&lStarter Leggings"
                equip player with chainmail Boots of unbreaking 3, protection 1 named "&7&lStarter boots"   
            if arg 1 is "pro":
                message "&b&lPro &7kit selected!"
                give 1 iron sword of unbreaking 3, sharpness 2 named "&b&lPro Sword" to player
                give 36 steak to player
                give 6 golden apple to player
                give 2 enchanted golden apple to player
                equip player with leather Helmet of unbreaking 3, protection 1 named "&b&lPro Helmet"
                equip player with diamond ChestPlate of unbreaking 3 named "&b&lPro ChestPlate"
                equip player with iron Leggings of unbreaking 3, protection 1 named "&b&lPro Leggings"
                equip player with leather Boots of unbreaking 3, protection 1 named "&b&lPro boots"
        else:
            send "&4&lVelvetSurv>> &c&lYou are not in KitPvP"
            stop

Link to comment
Share on other sites

1 hour ago, nolando09 said:

Ok im confused i cant get the cooldown to work

Use this

command /kit [<text>]:
    cooldown: 30 seconds
    cooldown message "&4&lVelvetSurv>> &c&lWait %remainingtime% Before using this kit again"
    trigger:
        if player's world is "ul_void_world_1":
            if arg 1 is "starter":
                message "&7&lStarter &7kit selected!"
                give 1 stone sword of unbreaking 3, sharpness 1 named "&7&lStarter Sword" to player
                give 16 steak to player
                give 3 golden apple to player
                give 1 enchanted golden apple to player
                equip player with chainmail Helmet of unbreaking 3, protection 1 named "&7&lStarter Helmet"
                equip player with chainmail ChestPlate of unbreaking 3, protection 1 named "&7&lStarter ChestPlate"
                equip player with chainmail Leggings of unbreaking 3, protection 1 named "&7&lStarter Leggings"
                equip player with chainmail Boots of unbreaking 3, protection 1 named "&7&lStarter boots"   
            if arg 1 is "pro":
                message "&b&lPro &7kit selected!"
                give 1 iron sword of unbreaking 3, sharpness 2 named "&b&lPro Sword" to player
                give 36 steak to player
                give 6 golden apple to player
                give 2 enchanted golden apple to player
                equip player with leather Helmet of unbreaking 3, protection 1 named "&b&lPro Helmet"
                equip player with diamond ChestPlate of unbreaking 3 named "&b&lPro ChestPlate"
                equip player with iron Leggings of unbreaking 3, protection 1 named "&b&lPro Leggings"
                equip player with leather Boots of unbreaking 3, protection 1 named "&b&lPro boots"
        else:
            send "&4&lVelvetSurv>> &c&lYou are not in KitPvP"
            stop

 

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

5 minutes ago, pizzaschut said:

Use this

command /kit [<text>]:
    cooldown: 30 seconds
    cooldown message "&4&lVelvetSurv>> &c&lWait %remainingtime% Before using this kit again"
    trigger:
        if player's world is "ul_void_world_1":
            if arg 1 is "starter":
                message "&7&lStarter &7kit selected!"
                give 1 stone sword of unbreaking 3, sharpness 1 named "&7&lStarter Sword" to player
                give 16 steak to player
                give 3 golden apple to player
                give 1 enchanted golden apple to player
                equip player with chainmail Helmet of unbreaking 3, protection 1 named "&7&lStarter Helmet"
                equip player with chainmail ChestPlate of unbreaking 3, protection 1 named "&7&lStarter ChestPlate"
                equip player with chainmail Leggings of unbreaking 3, protection 1 named "&7&lStarter Leggings"
                equip player with chainmail Boots of unbreaking 3, protection 1 named "&7&lStarter boots"   
            if arg 1 is "pro":
                message "&b&lPro &7kit selected!"
                give 1 iron sword of unbreaking 3, sharpness 2 named "&b&lPro Sword" to player
                give 36 steak to player
                give 6 golden apple to player
                give 2 enchanted golden apple to player
                equip player with leather Helmet of unbreaking 3, protection 1 named "&b&lPro Helmet"
                equip player with diamond ChestPlate of unbreaking 3 named "&b&lPro ChestPlate"
                equip player with iron Leggings of unbreaking 3, protection 1 named "&b&lPro Leggings"
                equip player with leather Boots of unbreaking 3, protection 1 named "&b&lPro boots"
        else:
            send "&4&lVelvetSurv>> &c&lYou are not in KitPvP"
            stop

 

Thanks!

 

Link to comment
Share on other sites

1 hour ago, pizzaschut said:

Use this

command /kit [<text>]:
    cooldown: 30 seconds
    cooldown message "&4&lVelvetSurv>> &c&lWait %remainingtime% Before using this kit again"
    trigger:
        if player's world is "ul_void_world_1":
            if arg 1 is "starter":
                message "&7&lStarter &7kit selected!"
                give 1 stone sword of unbreaking 3, sharpness 1 named "&7&lStarter Sword" to player
                give 16 steak to player
                give 3 golden apple to player
                give 1 enchanted golden apple to player
                equip player with chainmail Helmet of unbreaking 3, protection 1 named "&7&lStarter Helmet"
                equip player with chainmail ChestPlate of unbreaking 3, protection 1 named "&7&lStarter ChestPlate"
                equip player with chainmail Leggings of unbreaking 3, protection 1 named "&7&lStarter Leggings"
                equip player with chainmail Boots of unbreaking 3, protection 1 named "&7&lStarter boots"   
            if arg 1 is "pro":
                message "&b&lPro &7kit selected!"
                give 1 iron sword of unbreaking 3, sharpness 2 named "&b&lPro Sword" to player
                give 36 steak to player
                give 6 golden apple to player
                give 2 enchanted golden apple to player
                equip player with leather Helmet of unbreaking 3, protection 1 named "&b&lPro Helmet"
                equip player with diamond ChestPlate of unbreaking 3 named "&b&lPro ChestPlate"
                equip player with iron Leggings of unbreaking 3, protection 1 named "&b&lPro Leggings"
                equip player with leather Boots of unbreaking 3, protection 1 named "&b&lPro boots"
        else:
            send "&4&lVelvetSurv>> &c&lYou are not in KitPvP"
            stop

Is it okay if I use the cooldown part only? I need it

 

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

Link to comment
Share on other sites

should be fine

-------------------------------------------------------------------

NO RANK ALL THE WAY

---------------------------------------------------------------------

play.koolkidzmc.com (Velocity + Pufferfish FTW)
discord.koolkidzmc.com

Spoiler

/_(•v•)_7

image_2021-07-26_104856.png.7740cf6322d3693f332894c1e8485060.png


image_2021-07-26_104457.png

pogies.PNG

Link to comment
Share on other sites

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...