Jump to content

_xXOussamaXx_

Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by _xXOussamaXx_

  1. 21 hours ago, Dragon-Master said:
     

     

    command /warp [<Text>]:
      permission: warp.market
      trigger:
        if %arg 1% is market:
          send "&aTeleporting..."
          wait 1 seconds
          teleport player to {marketwarp}

    command /setwarpm:
      permission: warp.market
      permission message: &cYou do not have access to this command.
      trigger:
        set {marketwarp} to player's location
        send "&aMarket Location has been set to: &2%{spawn}%" to player

    lmao, you replaced the "" with the %%, funny one. Have you rode the docs? `if arg-1 is "market"` exists bro smh

     

  2. On 7/12/2021 at 12:09 AM, PixelTrainerYT said:

      

    couldn't you also do this:

    command /talisman:
      trigger:
        give player 1 grass named "&2&lGrass Talisman"
    
    every tick:
      loop all players:
        if loop-player is holding a grass named "&2&lGrass Talisman":
          apply speed of tier 1 without particles to loop-player for 1 second replacing existing effect
          apply health boost of tier 1 without particles to loop-player for 1 second replacing existing effect

    could also add nbt data for the talismans, but i dont know how to do that

    Nerd, that will stack up the effect and it will add +1 in every tick so it will lags the server. Also, the effect won't be removed from the player if he doesn't have the talisman anymore, lmao.

  3. On 7/4/2021 at 7:42 PM, karlip_a said:

    it adds these commands:

     

    /iron_golem_talisman - Gives strength 2

    /mule_talisman - gives haste 3 and makes that you can break stone and get cobbel stone without a pickaxe

    /Grass_talisman - gives speed 2 and health boost 3

    /speed_talisman - gives speed 1

    /insane_speed_talisman - gives speed 2

    /flashing_speed_talisman - gives speed 3

    /frog_talisman - gives water breathing 2, speed 2 and jump boost 2

     

    variables:
    	{%player%.mule} = 0
    command /iron_golem_talisman:
    	trigger:
    		give a iron ingot named "&7&lIron Golem Talisman" to player
    on player's held item change:
    	if name of player's held item is "&7&lIron Golem Talisman":
    		apply strength 2 to the player for 10 days
    	if name of player's held item is not "&7&lIron Golem Talisman":
    		remove strength from player
    command /mule_talisman:
    	trigger:
    		give a coal named "&8&lMule Talisman" to player
    on player's held item change:
    	if name of player's held item is "&8&lMule Talisman":
    		apply haste 3 to the player for 10 days
    		set {mule} to 1
    	if name of player's held item is not "&8&lMule Talisman":
    		remove haste from player 
    		set {mule} to 0
    on break of stone:
    	if {mule} is 1:
    		cancel event
    		set event-block to air
    		drop cobblestone at event-block
    on right click:
    	if name of player's held item is "&8&lMule Talisman":
    		cancel the event
    command /Grass_talisman:
    	trigger:
    		give grass block named "&2&lGrass Talisman" to player
    on player's held item change:
    	if name of player's held item is not "&2&lGrass Talisman":
    		remove speed from the player
    		remove health boost from the player
    	if name of player's held item is "&2&lGrass Talisman":
    		apply speed 1 without particles to the player for 10 days
    		apply health boost 3 without particles to the player for 10 days
    command /speed_talisman:
    	trigger:
    		give a paper named "&aSpeed Talisman" to player
    on player's held item change:
    	if name of player's held item is "&aSpeed Talisman":
    		apply speed 1 to the player for 10 days
    
    command /insane_speed_talisman:
    	trigger:
    		give a book named "&aInsane Speed Talisman" to player
    on player's held item change:
    	if name of player's held item is "&aInsane Speed Talisman":
    		apply speed 2 to the player for 10 days
    command /Flashing_speed_talisman:
    	trigger:
    		give a enchanted book named "&4Flashing Speed Talisman" to player
    on player's held item change:
    	if name of player's held item is "&4Flashing Speed Talisman":
    		apply speed 3 to the player for 10 days
    
    command /frog_talisman:
    	trigger:
    		give a slimeball named "&2&lFrog Talisman" to player
    on player's held item change:
    	if name of player's held item is "&2&lFrog Talisman":
    		apply speed 2 to the player for 10 days
    		apply jump boost 2 to the player for 10 days
    		apply water breathing 2 to the player for 10 days
    	if name of player's held item is not "&2&lFrog Talisman":
    		remove jump boost from player
    		remove water breathing from player
    command /speedtest:
    	trigger:
    		apply speed 1 to the player for 10 days

    Hardcoded skript lmao, you can just shortcut all of this in a code like this:

    command /talisman [<text>] [<player>] [<text>]:
      permission: *
      trigger:
        if arg-1 is "give":
          if arg-2 is set:
            if arg-3 is "grass":
              give arg-1 1 grass named "&2&lGrass Talisma"
            else if arg-3 is "#Talisman":
              give arg-1 1 #item named "#Talisman Name"
      

     

     

  4. On 7/9/2021 at 10:04 PM, nolando09 said:

    Please  make me a lockdown skript when you do /lockdown it turns on whitelist and kicks all players that arent op and broadcasts "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown

    Stop repeating this in every post, there are plenty skripts our there to check..

  5. On 7/5/2021 at 11:22 PM, ChunkerDunkers said:

    Could you make me a luckperms shortcut command to add perms

    command /addperms [<text>] [<text>]:
      permission: *
      trigger:
        if arg-1 is set:
          if arg-2 is set:
            make console execute command "/lp group %arg-1% permission set %arg-2% true"
          else:
            send "&cSpecific a permission."
        else:
          send "&cSpecific a group."

     

  6. On 7/9/2021 at 3:00 PM, King_Ferrum said:

    # Skript Lockdown Gui

    command /lockdown:
      trigger:
        close player's inventory
        wait 1 tick
        open virtual chest inventory with size 3 named "Lockdown GUI" to player
        set {_filler} to 0
        loop 27 times:
          format gui slot {_filler} of player with red stained glass pane named "&3"
          add 1 to {_filler}
        format gui slot 13 off player with red wool named "&4!! &cLOCKDOWN &4!!"
          execute command "/whitelist on"
          execute command "/sudo * hub"

    Worst skript I've ever seen, if ur using TuSKe you would've forgotten to add a ":" on the line 10. Second thing is just make it `kick all players`

  7. 7 hours ago, Kevinas said:

    making another one if it doesnt work

    command /lockdown:
        permission: op
        trigger:
            broadcast "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown"    
            make console execute command "/kickall"
            set {lockdown} to true


    variables:
        {lockdown} = false

    on join:
        if {lockdown} = true:
            if player is not op:
                kick the player due to "&b&lDeltaSmp %newline% &r&c&lHas Gone Into Lockdown!"

    command /removelockdown:
        permission: op
        trigger:
            set {lockdown} to false
            broadcast "&b&lDeltaSmp &r&c&lis open again!"    
        

     

    Just use everything in a command and use arguments 🤦‍♀️

  8. 6 hours ago, Kevinas said:

     

    every 15 seconds:
        loop all players in world "world":
            loop all blocks in radius 10 around loop-player:
                if loop-block is diamond block:
                    drop a diamond at loop-block's position

    on left click on diamond block:
        set event-block to air
        give 1 diamond block to player


    Just duplicate & change some stuff up

    The problem with this skript is everyone can remove the generator and steals it 🤣

  9. 4 hours ago, iProSpark said:
    on damage:
        attacker is a player
        if level of sharpness of attacker's tool is greater than or equal to 6:
            cancel event
            remove attacker's held item from attacker's inventory

    if ur an idiot like me and forgot to reset world after playing around with 32k swords then this skript is for you

    I'd rather change `is greater than or equal to` to `>=` bcz only idiots loves to complain in their skripts 😉

  10. On 7/10/2021 at 8:05 AM, nolando09 said:

    Tysm But can you add a way to turn off lockdown?

     

    command /lockdown [<text>]:
      permission: *
      trigger:
        if arg-1 is "on":
          broadcast "" and "&b&lDeltaSmp &r&c&lThe lockdown is now &aon" and ""
          execute console command "/whitelist on"
          loop all players:
            if loop-player doesn't have permission "*":
              kick loop-player
        else if arg-1 is "off":
          broadcast "" and "&b&lDeltaSmp &r&c&lThe lockdown is now &coff" and ""
          execute console command "/whitelist off"
        else if arg-1 is not "off" or "on":
          message "&cUsage: &7/lockdown on/off"

     

  11. On 7/3/2021 at 3:35 PM, karlip_a said:

    sorry it took some time but i did it! 

     

    command /talisman:
    	trigger:
    		give a grass block named "&2&lGrass Talisman" to player
    on player's held item change:
    	if name of player's held item is "&2&lGrass Talisman":
    		apply speed 2 to the player for 100000 seconds
    		apply health boost 3 to the player for 100000000 seconds
    on player's held item change:
    	if name of player's held item is not "&2&lGrass Talisman":
    		remove speed from the player
    		remove health boost from the player

     

    You could just do "else" instead of adding lines.. For example:

    command /talisman:
      trigger:
        give player 1 grass named "&2&lGrass Talisman"
    
    every tick:
      loop all players:
        if loop-player is holding a grass named "&2&lGrass Talisman":
          apply speed without any particles to the loop-player
          apply health boost 3 without any particles to the loop-player
        else:
          remove speed from loop-player
          remove health boost from loop-player

     

×
×
  • Create New...