Jump to content

Jessica907432

Member
  • Posts

    90
  • Joined

  • Last visited

Posts posted by Jessica907432

  1. im using lp and essentialsX and i cant make it so the mvp rank can do /warp mvp without making them be able to warp to any warp i want the warp mvp to be mvp exlusive and have no idea i have allr tried the 

    /lp group mbp permission set essentials.warps.mvp

     and it has not worked please somone help

  2. T

    14 hours ago, xcfgdfg said:
    on load:
    	set {hammer} to iron axe named "&6Jail Hammer"
    	set {jail} to location 63, 105, 29 in world "world"
    
    on attack:
    	if victim is a player:
    		if attacker is a player:
    			if attacker is holding {hammer}:
    				teleport victim to {jail}
    				stop

    This is how I'd do it. Note that most Skript I know is 1.18.2

    On load: when the skript is loaded (server startup, skript reload)
    On attack: when anentity attacks another entity

     

    On 4/29/2023 at 5:35 PM, ApexSplat said:

    https://skripthub.net/docs/?id=1103 

    the example given is: teleport player to 0.5, 0.5, 0.5 in world "world"

    player = the entity you want to teleport so for example if you want to teleport the last spawned entity use last spawned entity

    0.5, 0.5, 0.5 = the coordinates you want to teleport the entity to so in your case it would be 63, 105, 29

    "world" = the world you want to teleport the entity to so as an example if you want to teleport them to the nether it would be "world_nether"

     

    Now just put it inside an on click event and make sure to teleport the target entity:

    on click:
    	if target entity is a player:
    		if name of player's held item is "&6Jail Hammer":
    			# insert teleport here
    		

     

    thank you both for your input

    i did this:

    on rightclick on entity holding Diamond Axe:
    	if player has permission "hammer.use":
    		player is holding a Diamond Axe named "&4Jail Hammer"
    		cancel event
    		if entity is a player:
    			teleport entity to location(63, 105, 28)
    			execute console command "/jail entity jail1"
    			broadcast "&4&l%entity% got jailed by %player%"
    			

     

  3. im trying to make a script that tp's whoever i hit with &6Jail Hammer to 63 105 29 

    i only have skript installed and i dont know if i need more plugins if someone could make the idea and explain how it works to me i would be so grateful

  4. on right click:
    	if player's held item is Nether Star named "&d&lHearts": 
    	Make console excute command:"lifesteal lives %player% add 1"

    please help i dont know what im doing wrong

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

    this makes it so the player whos holding it bans anyone that comes into contact with the hit i tried it but it made it so if anyone hits anyone it bans them pls help (no errors btw)

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

     

    no idea what im doing wrong 

  7. on left click with Blaze Rod:
        if lore of player's held item is "&7lightning ∞ ":
            loop 10 times:
            strike lightning at target block of player
            send action bar "&4&lI AM.... Inenvtiable!" to player

     

    the loop part doesnt work and if i dont get it working im going to end skript entirley also i cant figure out how to make a cooldown

  8. ik u posted this 11 hours ago but fun challlenge that id like u to expand on so ill keep it as vauge as possible

     

    a custom Pickaxe that can mine a ___ tunnel named &b&lDiamond Block Pickaxe but it also does _____  if you left click it

    and it sends you a message saying &b_____ when a block is mine with it 

     

    • Confused 1
  9. 10 hours ago, AttePatte said:

    I kind of fixed it!. THANK YOU for replying. I just made it so it loops a random player out of all players
    and then sets the path targets of the zombies to that player. It's not the same as the zombies going for all of the players at the same time, but it's something

    Great np for posting i saw it and thanks for clarifying its random but with alot of players theres going to be zombies pathfinding to more than 1 player at a time if thats how the skript is working which is what i see

     

  10.  

    8 minutes ago, BOXEY said:

     

     

    try this

    on right click:
        if player's held item is Dirt:
        	execute console command "minecraft:recipe give %player% *"

     

    I willl try this but currently doing stuff and cant acsess my seerver to play on tysm for responding im new to the skript stuff (abt 1week of experenice and i cant even do that)

×
×
  • Create New...