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. skUnity Discord

    Discord Thread rank voucher thingy

    how do i make like a paper named smth special and when u click it u get a specific luckperms rank ( i want the name to be bob) Posted by: cvxyz from the skUnity Discord. View the thread on skUnity Discord here
  2. skUnity Discord

    Discord Thread Cooldown Actionbar

    Hello so i have a Skript that basically adds Bliss SMP Gems and i wanna add an Actionbar if someone holds a Gem so i coded this but theres 2 Problems which i dont know how to fix 1. I tried formating the seconds to s but that doesent work and 2. i want the timer to count down not go up but i...
  3. skUnity Discord

    Discord Thread Auto Compactor Script - 1.19.4 - help plz

    When holding an map named test every 5 seconds it will check if you have 32 Cobblestone and if you do it will take the cobble and give you 1 named stone 1. on script load: 2. set {stone.map} to map named "test" 3. on script load: 4. set {stone} to cobblestone named "&7Cracked Stone...
  4. skUnity Discord

    Discord Thread How to make an anvil gui?

    How to make an anvil gui? Posted by: code_5 from the skUnity Discord. View the thread on skUnity Discord here
  5. skUnity Discord

    Discord Thread how to set all slots of a gui to glass

    i tried set slots 1 through 100 of {_cams} to gray stained glass pane but it doesnt work. Posted by: ᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼ from the skUnity Discord. View the thread on skUnity Discord here
  6. skUnity Discord

    Discord Thread is there a way to detect if the time is 0 utc?

    title Posted by: tjj123456 from the skUnity Discord. View the thread on skUnity Discord here
  7. skUnity Discord

    Discord Thread does something like this exist

    set {a} to {variable}List(player, {_b}) basically i want to trigger a function via variable in the code. does smth like this exist? Posted by: tjj123456 from the skUnity Discord. View the thread on skUnity Discord here
  8. skUnity Discord

    Discord Thread On drop event

    Is there a on drop event for versions newer than skript 2.1, this is the old one i couldnt find one for skript 2.1+: https://docs.skunity.com/syntax/search/id:1085 Posted by: sandersk from the skUnity Discord. View the thread on skUnity Discord here
  9. skUnity Discord

    Discord Thread possible to disable player movement which is not on ground without server kicking player ?

    Is it possible to disable player(on air) movement without server kicking you with error "flying is disabled on this server" ? I'm cancelling "on any movement" event but this leads to bugs and kick if player is in air Posted by: oskar.3 from the skUnity Discord. View the thread on skUnity...
  10. skUnity Discord

    Discord Thread when someone right clicks the dragon breath with a glass bottle, send them a message

    how can i make it so that when someone right clicks the dragon breath (on the ground, shot from the ender dragon) with a glass bottle then send them a message saying "this works" just as a placeholder Posted by: uvelt from the skUnity Discord. View the thread on skUnity Discord here
  11. skUnity Discord

    Discord Thread Tab Priority using Skript

    I have a custom coded tab skript that uses luckperms for prefixes and what-not, how can I make for example owner above all other ranks? I tried using weight and that did not work. Posted by: therewalker from the skUnity Discord. View the thread on skUnity Discord here
  12. skUnity Discord

    Discord Thread if a player has a item on their head

    im trying to make it so the if the player is in that world they take damage unless they have the correct player head on. it works if i change to to if a player is wearing a helmet but i want it to be a with the /hat command item or player head every 1 tick: if {@World damage} is true...
  13. skUnity Discord

    Discord Thread Disable hotkey swaps

    Hi, I am trying to make a menu item that can be clicked to open a navigator but is locked to one slot Using events such as "on drop" and "on inventory click" and then cancelling the event i can stop players both moving and dropping the item. However the issue is that player are still able to...
  14. skUnity Discord

    Discord Thread How do I detect that a fishing trip has been cancelled in an mcMMO?

    With mcMMO installed, you may be unable to fish in the same area when you are told "You sense that there might not be many fish left in this area.". The following code is implemented, but it is triggered even if you cannot fish. How can I modify the code so that it is not triggered? vb on...
  15. skUnity Discord

    Discord Thread Not Recognizing That Pickaxes Are The Same.

    Basically, I Made A Skript That Makes It So When You Right Click On Any Pickaxe It'll Make You Open Up A Gui With The Player's Tool Inside. However, I want it to loop through the entire skript and check if player's tool is also the gui's slot item. I got no errors but it doesn't seem to want to...
  16. skUnity Discord

    Discord Thread Syntax for `Highest solid block`

    Hey, just wondering what the syntax is for the highest solid block expression, the website isn't clear on how to add the x and z coordinates (I am trying to randomly select the highest block in a certain area) https://docs.skunity.com/syntax/search/id:5143 Posted by: theironmoo from the skUnity...
  17. skUnity Discord

    Discord Thread Falling blocks breaking seemingly randomly

    This code works fine, until the landing location is surrounded on any side by a block. Can anyone help? https://pastebin.com/7uDyuv1C Posted by: kristheghast297 from the skUnity Discord. View the thread on skUnity Discord here
  18. skUnity Discord

    Discord Thread on player world change:

    on player world change: if player is in "spawn": set {dunyaismi::%player%} to "%placeholder "nameplates_image_compass" from player% ʙᴀꜱʟᴀɴɢɪᴄ" else if player is in "dunya": set {dunyaismi::%player%} to "%placeholder "nameplates_image_stamina_1" from player% ᴅᴜɴʏᴀ"...
  19. skUnity Discord

    Discord Thread Fireworks but in one. (Skript)

    So I have been trying to make this script go into one firework but I just can't seem to figure out how to. ? command /test11: trigger: launch firework flickering ball large coloured yellow and orange fading to red at location 96.500, 81.000, 91.500 with duration 1 launch...
  20. skUnity Discord

    Discord Thread When deleting using the SQLibrary

    Say I have a variable {sql_Player::isBanned::%player%} set as true If I deleted this and I go on my other server, it’s still set to true. Setting words, adding works, variable changes work, but just deleting a variable doesn’t work. Monitor changes is on for both servers at 1 second, how can...