Search results

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  1. P

    cancel event is not working when throwing stacks of items

    Hello, i have an issue with this code: on drop: player is holding lapis block named "<cyan><bold>Mana": cancel event If i press q (the key that drops the items), the code works perfectly, and nothing happens. If i press ctrl+q, all of the lapis drops to the ground, so the code...
  2. P

    Solved Why this code gives the player a log or a leave not just a log?

    give a log:0 to player How can I change it to work fine?
  3. P

    Solved Why this code don't works with the furnace and the chest?

    Skript Version: 2.2 V8B Minecraft Version:1.8.8 --- Full Code: On place: if player is holding block: if player do not have the permission "Mars.build": if block above is air: cancel event else if block above is slab:7: if...
  4. P

    Save inventory and load

    How can I save and load the player's inventory and armour to/from a variable list?
  5. P

    Examine shoot a block by a player

    How can I skript "if a player shot a specific block do..."?
  6. P

    Solved How to place blocks on variable list's locations?

    I did this code: variables: {edit} = false on skript start: loop 10000 times: wait 3600 seconds execute command "/magusfelho" command /magusfelho [<text>] [<int>]: trigger: if arg 1 is "edit": if {edit} is false: set {edit} to...
  7. P

    Solved Tuske GUI don't working

    I have tuske and I tried this, but it don't work: https://pastebin.com/X1gg4zGy error: https://imgur.com/a/MEK5n
  8. P

    Solved Rightclick on a specific player

    How can i do this? on rightclick on a player named 'Bob":
  9. P

    Solved Why is it not working?

    variables: {case} = false {jutalom} = 0 command /case: trigger: if {case} is false: if player's money is more than 9999: set {case} to true remove 10000 from the player's balance broadcast "&5A mágusraktár áldás...
  10. P

    Solved Give player one item

    How can i do that, to give the player 1 item from a specific list?
  11. P

    Solved Chat replace

    on chat: player's message contains "hi": replace "hi" to "hello" How can I do this?
  12. P

    Solved How can i change messages?

    From plugins and players too? For example if a plugin/player says "I want cookies", i want to appear as "I like banana".
  13. P

    Solved How can i change player to any mob AND player except the attacker?

    Here is the code: loop players except the attacker in radius 5 around the attacker: damage loop-player by damage
  14. P

    Solved How can I do this?

    It don't works: on death of player: set {_bal.%victim%} to victim's balance set {_kap.%victim%} to ({_bal.%victim%} / 10) * 2 if attacker is a player: give {_kap.%victim%} money to attacker Error: '{_kap.%victim%} / 10 money' can't be added to an entity because the former is...
  15. P

    On damage of tool or armour

    How can I do this? On damage of tool: if {ata.%player%} is true: cancel event On damage of armour: if {ata.%player%} is true: cancel event
  16. P

    Solved On afk

    Is there a way to do something with afk players?
  17. P

    Solved On death cancel drop

    How can I do this? on death of player: don't drop anything
  18. P

    Solved Drop an item in front of the player

    How can I do if a player clicks with an item, an another item drops/spawn in front of the player? I tried this: on rightclick: player is holding vines named "Varázsgyökér": player is sneaking: drop a diamondsword in front of the player's head The distance from the player...
  19. P

    Solved Variables can't hold strings?

    I have this code: on damage: if attacker's tool is a blaze rod named "&5Varázspálca": if {B.%attacker%} = tuz: if {J.%attacker%} = ures: ignite victim for 5 seconds if {J.%attacker%} = tuz: ignite victim for 5 seconds...
  20. P

    Solved Cancel attack other player with hand

    How can I do, if a player attacks another player, it cancel the event? I tried this, but it doesn't working: on damage: if attacker's tool is hand: cancel event