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

    increase a variable for all players

    < every 1 second: if {TokenCounter} is true: loop all players in world "arena": if {ArenaGo} is true: set {TokenCounter} to false set {Tokens.%player's uuid%} to 25 send "§a+25 Tokens" to loop-players send...
  2. T

    set enemy aggro?

    can i set enemy aggro to a specific player,if player is a defined variable?Or just in general
  3. T

    how to make blocks take longer to break,when not breaking them

    How do i make the player take longer to break a block,even when using code that cancels breaking them? (on block break: cancel event) mining fatigue doesnt really work,as the block im talking about is broken instantly (dead bush)
  4. T

    is inventory full?

    is there a check for if the player's inventory is full? I can only find "Is Empty" but not hte opposite.
  5. T

    on brush?

    is there an event that can be called after a player finishes using a brush?
  6. T

    how to give fireworks for crossbow?

    How do i give the player firewroks for shooting with the crossbow? Just "Firework Rocket" gives normal ones,and idk how to give modified ones
  7. T

    on shoot victim?

    what do i call the victim of an on shoot event? on shoot: if projectile is fireball: if {EDMG.%shooter's uuid%} is greater than 0: damage target by {EDMG.%shooter's uuid%} send "%{EDMG.%shooter's uuid%}%" to shooter on damage doesnt seem to work i tried target...
  8. T

    how to set camera to a specific block

    how do i set the camera of a player? on right click: targeted block is sandstone: if player's tool is iron sword named "§6Hyperion": set {HypeBlock.%player's uuid%} to targeted block teleport player 0.5 blocks above {HypeBlock.%player's uuid%} set...
  9. T

    on death not working

    on death of living entities: attacker is a player: if name of attacker's tool is "&4Reaper's Scythe": if {SoulsT.%attacker's uuid%} is true: increase {Souls.%attacker's uuid%} by 1 send "x" to attacker this code is supposed to increase a...
  10. T

    summon lightning bolt now working

    code: on damage: if {smite.%attacker's uuid%} is true: summon lightning bolt i have tried summon lightning bolt at victim,stirke lightning effect etc.But it doesnt work,i dont understand why
  11. T

    how to summon angered wolves

    title. summon wolf only spawns docile ones that die too fast
  12. T

    Solved is equal to/less than not working

    code: if {wave} is less than 2: summon 5 zombies at {mobspawn1} error:doesnt understand if wave is less than 2 also tried equal to,didnt work. wave is a variable that doesnt appear before this,i tried to declare it at the start variables: {wave} = 0: also didnt work
  13. T

    Is there a count function

    Lets say i have a number 137. How do i get the skript to return only the last digit of the number?So in this case its 7
  14. T

    Goat horn sound effect name in skript

    Need name of goat horn sound effects so i can use them in my skript.thanks
  15. T

    (Help) Defining Variable as a function

    Hello, im quite new to skript so im not sure of how to do this. This is my current code: variables: {Souls} = 1 {SoulDMGHP} = (2+{Souls}/10) {SoulTimer} = (2+{Souls}/25) However it doesnt understand the functions that i want to use to determine the variables.Is there a way to fix...