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 community!

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

  1. lotzy

    Using Text Variable As A Executed Player

    on damage of player: attacker is player victim is player set {lastdamager::%uuid of victim%} to attacker on death of player: if attacker is player: set {lastdamager::%uuid of victim%} to attacker {lastdamager::%uuid of victim%} is set set {_attacker} to...
  2. lotzy

    Кто взял шприцы из парадной - колитесь

    Кто взял шприцы из парадной - колитесь
  3. lotzy

    Solved Lag machine remover

    set {_location} to arg-2 you set variable {_location} to text from arg-2. text is not location.
  4. lotzy

    Solved Lag machine remover

    loop all block in radius %number% around %location%: But you have 2 text arguments in command, for first you need convert this to number (radius) and location (center)
  5. lotzy

    skript for disable spawners

    on spawn: spawn reason is mob spawner cancel event
  6. lotzy

    Solved Reaction events

    Yes, like that, this is global variable, and you can get value in another events
  7. lotzy

    3x3x3 blast mining and telekinesis

    No. You have code to get blocks what need mine Add every block, what need to be mined to list, like add %block% to {_someblocklist::*} Then , loop {_someblocklist::*}: loop drops of block using player's tool: if player has space for loop-value-2: give loop-value-2 to player else...
  8. lotzy

    Solved Reaction events

    You using local variables , so you cant get value of {_broadcastaxo} from 'every 8 seconds' event inside 'on chat' event. Read about difference of local and global variables, then fix your code
  9. lotzy

    Solved Chat filter

    on chat: message doesn't match "[a-zA-Z0-9,.<>\/?;':""\[\]\{\}=\+-_!@#\$%%'\^&\*\(\)`~\|\\]*" cancel event send "You use illegal characters" regex message match about regular expressions
  10. lotzy

    3x3x3 blast mining and telekinesis

    loop {_blocksWhatNeedToBeMined::*}: loop drops of block using player's tool: if player has space for loop-value-2: give loop-value-2 to player else: drop loop-value-2 at loop-value-1 set block at loop-value to air
  11. lotzy

    Solved How can i color send with variables

    try to send formatted "<%{_col}%>hi"
  12. lotzy

    Solved

    How about to some read the docs?
  13. lotzy

    Solved Is there a way to make this code more efficient?

    You can put all your multiplies into list like as set {list::%item%} to 5#multiplier then: You can optimize/replace like that: on load: set {-extendableDrop::stripped oak log} to 4 of oak log # ... all your's replacements on mine: gamemode of player is survival if player's...
  14. lotzy

    CMI script

    it's overwrite cmi command and do not change player's time at all. Problem can be solved with rewriting this command in CMI plugin, or make own command implementation in Skript.
  15. lotzy

    API Sample Packets - BundlePacket splitter and some stuff

    Added auto splitting and packing 1.19.4 BundlePackets. This is a packet that contains several packets that, when received by the client, will be sequentially executed. At now you can overwrite packet in packet event like: set event-packet to {_newPacket} Added function to write bytes, this...
  16. lotzy

    Solved Need Help with compacting this skript

    replace every line of code where you make lists like that: original line: UpgradedVersion5: 1 oak button named "<##964B00>Compressed Oak Log", 1 stone button named "&7Compressed Cobblestone", 1 iron ore named "&fCompressed Iron Ingot", 1 gold ore named "&6Compressed Gold Ingot" and 1 diamond ore...
  17. lotzy

    Solved On holding more than one crate key it doesn't work anymore

    idk, try to disable all other scripts/plugins and check it single, 'on rightclick' event not related to inventory click event
  18. lotzy

    Solved On holding more than one crate key it doesn't work anymore

    then this script cant cause problem with click inside inventory.
  19. lotzy

    Solved On holding more than one crate key it doesn't work anymore

    Stop. Are you about middle click on block, or in inventory?
  20. lotzy

    Solved On holding more than one crate key it doesn't work anymore

    How is this script related to the middle mouse click?