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

    Remove cobweb block

    How do I remove cobweb block? I have tried delete entity, and this: on rightclick with wood sword: name of player's tool is "&eWeb Slinger &7(Right Click)": set {_Waited} to difference between {Webslinger::%player%} and now if {_Waited} is less than 7.5 seconds...
  2. JustADev

    Why does it shoot a flame arrow every time

    Why is the chance for the arrow becoming a flame arrow 100%? Code: on shoot: set {CBL::%shooter%} to 0.3 * {BlazingArrowsMAX::%shooter%} + 1 chance of {CBL::%shooter%}: projectile is arrow: if {BlazingArrows::%shooter%} is more than 0: wait 1 tick...
  3. JustADev

    Solved Making arrows in air flame arrows?

    Question, how do I make arrows when shot, turn into flame arrows in the air? Here is my current code: on entity shoot: if event-entity is a player: delete projectile make the player shoot an item projectile of 1 flamed arrow at speed 1.2
  4. JustADev

    cant understand expression?

    Code: on rightclick with nether star: if the name of player's tool is "&eShuriken &7(Right Click)": make the player shoot an item projectile of 1 nether star at speed 1.2 wait 1 tick while ground state of shot projectile is false: set {_block} to the block...
  5. JustADev

    Solved Broadcast a message at certain Number

    Question: How do i make it so that when a person upgrades to lvl 40, it broadcasts that they reached lvl 40 to all players: Current Code: command /purchup6: trigger: if {upgradepoints::%player%} is 0: send "&8[&6Perks&8] &7You need 1 more coins to purchase this"...
  6. JustADev

    Solved Underscore variable not working

    Question: How do i make variables like {_This} show numbers in chat? CODE: command /test: trigger: open chest with 5 rows named "Test" to player format gui slot 9 of player with 1 iron sword named "&aBerserk &7(Lvl %{Strength::%player%}% / 10)" with lore "&a▶ &7Click to...
  7. JustADev

    Throwing Nether Stars and dealing dmg

    Q: How do I get it to when you right click an item aka a nether star, you shoot a nether star and if it hits a player it deals dmg. Code: on rightclick with nether star: name of player's tool is "&eShurkien &7(Right Click)": set {_loc} to location above player's head spawn...
  8. JustADev

    Solved Fire Trail behind player?

    How do I fix my skript I made to make it so that when right clicking an item, whenever the player runs, a fire trail is behind the player, ie Flint and Steel Fire (Not Particles) Code: on rightclick with blaze powder: name of player's tool is "&eFire Dash &7(Right Click)": set...
  9. JustADev

    Block construction

    Q: How do I make stone brick stairs face different ways when I use block construction? I have tried: * stone brick stairs:1 * 1 stone brick stairs * stone brick stairs 1 here is my current code: command /crate: trigger: make "M" with beacon at location (108, 117, 153) with effect...
  10. JustADev

    Hide NPC Tag

    Q: How do i disable a npc's tag when it is spawned? CODE: command /basicnpc: trigger: create a citizen named "Basic" at location (101, 118, 140) as a villager set {_Basic} to last created citizen send "&8[&bNPC&8] &7Successfully summoned NPC &eBasic" to player...
  11. JustADev

    Solved Cobwebs Launcher

    Question: How would I make a sword launch cobwebs in the direction that a player is facing if they right click a wooden sword
  12. JustADev

    Set block direction?

    Question: How do i set the block direction ie, the way it faces with constructions? Code: command /crate: trigger: make "M" with beacon at location (108, 117, 153) with effect true make "A" with stone brick stairs at location (107, 117, 153) with effect true
  13. JustADev

    Rideable Enderpearls not working

    How do I make it so that when a player launches an enderpearl, that they "Ride" it, aka are above the enderpearl riding it? Here is my code, it has no errors, but is kind of bugged. Example: on shoot: projectile exists if projectile is ender pearl: make shooter ride the projectile
  14. JustADev

    Throw Cobwebs?

    Question: How would I make a sword launch cobwebs in the direction that a player is facing if they right click a wooden sword named "&eWeb Launcher &7(Right Click)"? I would much appreciate an example for me to use in the future.. Thanks so much guys, you are the greatest.
  15. JustADev

    Taking a specific head

    I have been playing around with this error for a while, and have come to the conclusion that I do not know how to make this work. Question, how do i make it remove a specific player's head from inventory on an event such as right clicking the head/skull? Here is what I have right now: on...
  16. JustADev

    How to add enchants to items?

    Question: How do you add Enchants to Items? CODE: if argument 1 is "Basic": wait 1 tick set {Class.%player%} to "Basic" close player's inventory clear player's inventory set slot...
  17. JustADev

    MAX Arrows?

    Question: How would I code a skript like this: You can only hold a maximum of 3 arrows in your inventory, Once you fire an arrow, you get an arrow back after 3 seconds
  18. JustADev

    Item damage?

    Question: How do I make it so that all items dont take damage from durability, except Flint N Steel? CODE: on item damage: cancel event
  19. JustADev

    Glitchy

    Question: Why does my code keep using 2 tnt when i place it down instead of 1? CODE: on place of TNT: if name of player's tool is "&cExplosive TNT &7(Right Click)": remove TNT from player's inventory cancel event create a safe explosion with force 2 at event-location...
  20. JustADev

    Instant explode TnT

    Question: How do I make it so that when you right click TNT, it will instantly explode where you place it? CODE: on right click with TNT: name of player's tool is "&cExplosive TNT &7(Right Click)": create a fake explosion at the player spawn a primed tnt at the player