skript-help

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

    Discord Thread message when looking at block

    how do I make it so that when I look at a certain block it displays an action bar message? Posted by: titustitus98 from the skUnity Discord. View the thread on skUnity Discord here
  2. skUnity Discord

    Discord Thread custom fish item not being caught

    on fish: if fish state is caught fish: if player's tool contains "&a- Hooks God Apples": set {_g} to a enchanted golden apple set item of fishing caught entity to {_g} not sure why it’s not working Posted by: sexingher from the skUnity Discord. View the...
  3. skUnity Discord

    Discord Thread hologram help

    Hello, i'm having some trouble creating holograms. I tried sk-holo which gave me weird errors, i used both HolographicDisplays and DecentHolograms I want a hologram to spawn at a specific location (set by variable) with the lines: "&8•&7● &cNeuster Spieler" "&7" "&8» &a%{neusterspieler}%...
  4. skUnity Discord

    Discord Thread How do i add a cooldown?

    Posted by: veteo. from the skUnity Discord. View the thread on skUnity Discord here
  5. skUnity Discord

    Discord Thread Custom compass direction

    I wanna make a (skript) plugin, where you can select a position in a GUI and the compass points at this direction and it should Tell me the distance in meter in chat. My problem: I cant find anything to set the players compass direction to a specific location. Can anyone help me...
  6. skUnity Discord

    Discord Thread why doesnt this work?

    if index # of {list::*} = true: im trying to fetch an index item from a list and checking if its true or false `command /test <number>: trigger: if index arg 1 of {list::*} = true: send "true!" else: send "false!"` Posted by: jacknug from the skUnity Discord. View the thread on...
  7. skUnity Discord

    Discord Thread is there a way to use "goto :#" in skript?

    i want to do it so that, if a number in a list already exists, it goes back to a previous step until it chooses a number that doesnt exist in that list. for example: (the #'s are supposed to represent what i need help with) `command /test <number>: trigger: set {i} to 0 loop arg 1 times...
  8. skUnity Discord

    Discord Thread Luckperms Tab

    Make a skript where it shows on the tab list "luckperms prefix" "playername" and make it so that it will sort the ranks out so that owner is on top and so on down (like the tab plugin but a skript kinda) Posted by: theoliverfaksgamer from the skUnity Discord. View the thread on skUnity Discord here
  9. skUnity Discord

    Discord Thread %player's prefix% being weird

    so when I use: on chat: set chat format to "%player's prefix% &8| &f%player% &8» &f%message%" It sends the player's name as the prefix even though that's the not the prefix? Posted by: waikboi from the skUnity Discord. View the thread on skUnity Discord here
  10. skUnity Discord

    Discord Thread hi guys. Help!

    I need when a player join the server, he appears at the spawn and his "Camera" slowly rises from the bottom, is this possible? and if so, how? Posted by: clim0 from the skUnity Discord. View the thread on skUnity Discord here
  11. skUnity Discord

    Discord Thread All entities in a third of a circle

    I already have code that detects all the entities in the area, but it takes a really long time to load, so i was wondering if it was possible to do it easier? Posted by: deretu from the skUnity Discord. View the thread on skUnity Discord here
  12. skUnity Discord

    Discord Thread skript particle

    Is there a way to make the circle of particles fly forward? on leftclick: loop 40 times: add 9 to {_t} set {v} to spherical vector with radius 0.8, yaw player's yaw+90, pitch {t} add 1.5 to y of {_v} draw 1 of dust using dustOption(red, 1) at location of...
  13. skUnity Discord

    Discord Thread nbt -- Need help with figuring out why the armor stand will not summon!

    ? spawn armor stand at location {egg1} with nbt compound from "{CustomNameVisible:1b,Invisible:1b,ArmorItems:[{}, {}, {}...
  14. skUnity Discord

    Discord Thread I have a script for a custom item, that's good. However, how can I make it so the custom item can't

    on load: set {customitems::Sssssemerald} to unbreakable emerald named "&eSky Gem" # /give Semerald command /item <text>: permission: op trigger: give {customitems::Sssssemerald} to player on rightclick: player is holding {customitems::Sssssemerald} strike...
  15. skUnity Discord

    Discord Thread SkBee tags/ Item parsing issue

    format gui slot 1 with birch wood with lore "<##EFD364>&o16 Birch logs required" and {_woodLore::1} and {_woodLore::2}: if event-clicktype is right mouse button: player's inventory contains "8 %gui clicked item%" parsed as item: if player has enough space for 1 stripped birch...
  16. skUnity Discord

    Discord Thread help with spawn skript

    I dont understand why it doesnt work on line 14 and 13 command /setspawn: permission: admin.permission permission message: &cYou cannot use this command! trigger: set {spawnlocation} to player's position send "&aThe spawn has been set!" to player command /spawn...
  17. skUnity Discord

    Discord Thread Name and Projectiles

    Hi! So I am currently trying to make a script for a snowball. I want the script to make it so if you name the snowball a specific thing, the snowball will explode on impact on ground or entity. I made a script here but I can't figure it out: on damage of entity by snowball: snowball is...
  18. skUnity Discord

    Discord Thread hidden flags

    how loop from player tool all hidden flags? something like this under loop all hidden flags of player's tool: Posted by: mavik_ from the skUnity Discord. View the thread on skUnity Discord here
  19. skUnity Discord

    Discord Thread Warden boom

    Is there a way to make it where a player can shoot a wardens sonic boom? if so can someone send me a doc of it or a line of code of it Posted by: yansom from the skUnity Discord. View the thread on skUnity Discord here
  20. skUnity Discord

    Discord Thread Fast TnT Minecarts (Explaing More Under)

    Someone made this thing called "FastTnTMinecarts" Basically it makes it so when you shoot and arrow and place a tnt minecart while the arrow is still in the air, at the block you've placed your minecart it explodes. How did he do it? This is before...