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

    Solved Problem with left click

    Things is about this script: on leftclick: send 1 to player When load this skript and left click, 1 will be sent. But if an entity is in front of player about 4 - 5 block(player is still too far to attack it), 1 will not be sent(collimator target that entity). So should I listen another...
  2. YK_DZ

    Is there an "On eat start" event?

    I want to do something when player start to eat a carrot, but not when the eating animation is over for the event "On consume". How can I do for this, or I can not do this at all?
  3. YK_DZ

    Solved Fish an entity

    Hi, I am trying to replace the fish caught by the rod with a sheep, I have tried the following two methods: on fish: if fish state = caught fish: set entity type of last spawned entity to sheep on fish: if fish state = caught fish: set entity of caught entity to sheep...
  4. YK_DZ

    Swim fast in lava

    Hi, I am looking for a way to increase the speed that moving in lava. I tried dolphins grace and walk speed but it seems that they can not work well in lava.
  5. YK_DZ

    How to make a function that checks the number of items in a container?

    I have a function like this: function invAmountMI(type: string,inv: inventory) :: number: set {_amount} to 0 loop all items in {_inv}: if name of loop-item contains "{_type}": add 1 to {_amount} return {_amount} on inventory click: set {_Aamount}...
  6. YK_DZ

    Solved Is there any way to use mmoitems in skript?

    I want to use item from plugin MMOItems in my skript, for example: if amount of mmo item "archaeological_shovel" in player's inventory < 1: Is there any skript addon or way can let me do this? I think I can make a function to check item nbt to do this, but I am still thinking about how to make it.
  7. YK_DZ

    How to spawn a area effect cloud at a location

    How can I spawn a area effect cloud of poison at a location?
  8. YK_DZ

    Solved Keep players in the water from sinking

    I want players in the water not to sink unless they hold their shift. I have no clue about it. How should I achieve it?
  9. YK_DZ

    Solved How to detect if block above player is all air?

    I want to make an event that will only trigger when the player is in the house. I try to use if block above player is not air: and if block above player is not all air: but none of them work correctly.
  10. YK_DZ

    Solved Qusetion about placeholderapi skript

    Hi I use Ersatz to create a placeholder skript The script is like this: command /dailyweather: # use this command to randomly choose the other weather trigger: set {_cmdWeather::*} to "dailyWeatherSun", "dailyWeatherWind", "dailyWeatherRain" and "dailyWeatherStorm" make console execute...