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

    Named item help

    For that "tabs" thing, just replace every tab with 4 spaces. For line 63, I fixed the code but as far as I see you didn't change the code as I typed. Here's how you do it: on rightclick with magenta dye: if tool is magenta dye named "&dBOOP Trophy" with lore "&7This is a item you" and...
  2. rustedst

    Is it possible to work in script with milliseconds

    You can't work with milliseconds in Skript, you even can't in Java if we're talking about Minecraft. You can do a conversion but it'll only be "50 milliseconds, 100 milliseconds" and so on.
  3. rustedst

    Solved Teleport player to direction

    Thank you!
  4. rustedst

    Solved Teleport player to direction

    Why the hell doesn't this work: teleport player to 8 south of the player I also tried: teleport player to 8 blocks south of the player teleport player to 8 blocks south the player teleport player 8 blocks south of the player teleport player 8 blocks south the player
  5. rustedst

    Won't give people items

    "_" means it is special to the event or command, which means if you remove that, it should work. variables: {pvphelmet} = iron helmet of protection 1 and unbreaking 2 {pvpchestplate} = iron chestplate of protection 1 and unbreaking 2 {pvpleggings} = iron leggings of protection 1 and...
  6. rustedst

    Named item help

    on rightclick with magenta dye: if name of item is "&dBOOP Trophy" with lore "&7This is a item you" and "&7can't win or get without" and "&7admin powers." and "" and "&d&lSPECIAL": send "&cHello" execute command "/achievement %player% BOOP"
  7. rustedst

    Deadly Water Skript

    on any move: if block at player is water: if player is not op: kill the player And for the tabs thing, there's a "+" button at top which you can create code blocks.
  8. rustedst

    Simple Question

    I made a script which kicks the player deletes [uuid].dat file from the world when the player dies. But does this delete variables like {example::%player%:}? And if not, how can I do that?
  9. rustedst

    Solved How to check if player is a member of a worldguard region

    Does my code work? There's a solution for this: if "%members of region at player%" contains "%player% ": Now, since no one has spaces in their names, that should work without that problem.
  10. rustedst

    Solved How to check if player is a member of a worldguard region

    This might work: if "%members of region at player%" contains "%player%":
  11. rustedst

    Solved How to check if player is a member of a worldguard region

    set {_sections::*} to {_region} split at " and "
  12. rustedst

    Solved On inventory help

    on damage: if victim has a golden sword named "&bKit Selector" #or your golden sword's name cancel event send "&cThe player you attacked is selecting a kit!" to attacker If this doesn't work (in some spigot versions skript can't check if player has an item): on damage: loop all...
  13. rustedst

    Checking items in brewing stand

    on inventory click: if type of current inventory of player is brewing stand inventory: if event-slot is slot 0 or 1 or 2 or 3 or 4 of event-iventory: if event-itemtype is fermented spider eye: cancel event else if click type is number key...
  14. rustedst

    View Drop Display Name

    Try "name" instead of "display name" maybe?
  15. rustedst

    View Drop Display Name

    loop {_drops::*}: add display name of (loop-value parsed as item) to {_names::*} Now the list {_names::*} has names of items instead of IDs. (I guess)
  16. rustedst

    Checking items in brewing stand

    That's the correct solution, but players can put the eye using number keys. So use this: on inventory click: if type of event-item is fermented spider eye: if inventory type is brewing stand inventory: cancel event if type of event-item is air: if inventory...
  17. rustedst

    I don't know how

    It takes "sunlight", so since sunlight doesn't only come from the top with 90°, you can take it from other directions, which makes it more realistic in my opinion.
  18. rustedst

    I don't know how

    I'm not sure if "air" can hold getLightFromSky correctly, also I found out that Skript has an expression for getLightFromSky. Also, I don't think entities don't block sunlight, I thought the same thing but found out that zombies burn when it's 7 or above.
  19. rustedst

    Solved [SkQuery] Recipe requires at least one non-air choice!

    But it doesn't give any errors for last 2 lines, which are using these items.
  20. rustedst

    I don't know how

    Try: every 1 second: loop all players: if sunlight level at the loop-player is greater than 6: ignite the loop-player for 1 second