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

    HELP I NEED HELLPP

    Change player to {_p}. You cannot use 'player' in a function so in this case, {_p} is your player.
  2. Luke_Sky_Walker

    NeED HELP

    When using on death events in Skript, the only valid types of entities you can call is either victim or attacker, not player. Also, in the error for line two, since no players are mentioned/used, you cannot use 'player' there. To fix that: Simply loop all players and refer to loop-player. And...
  3. Luke_Sky_Walker

    how to make a zombie attack everyone except a certain player

    You can stop any entity from following a player by using the expression: on entity target:
  4. Luke_Sky_Walker

    Script Cookie Clicker Skript 1

    Want a bare bones Cookie Clicker script with user friendly configuration and under 100 lines? Look no further! I have written a pretty simple Cookie Clicker minigame type Skript in 77 lines! Features: * Configurable base price (Upgrade price starts as this then gets multiplied the more upgrades...
  5. Luke_Sky_Walker

    Script Cookie Clicker Skript

    Luke_Sky_Walker submitted a new resource: Cookie Clicker Skript - Cooker Clicker Based Game (Under 100 lines) Read more about this resource...
  6. Luke_Sky_Walker

    If event-slot is 11

    You could try: if clicked slot = 11:
  7. Luke_Sky_Walker

    Solved help with my skript!

    "%{_model::%loop-number%}%" is a text, not a number. Even if the variable {_model::%loop-number%} is 0, you're still putting it in quotes which'll cause you issues
  8. Luke_Sky_Walker

    Solved Item id?

    It certainly does. When you want individual values for players, list variables are the way to go. I use em pretty frequently. Also a kinda cool thing you can do with list variables is that you can sort em. Meaning you could set up a leaderboard of which player has the highest level or amount of...
  9. Luke_Sky_Walker

    Solved Item id?

    I think you might be mistaken? If you are to use a variable like {example} to store the item's XP and level data and one player levels it up to let's say level 10 and they gain 10 XP for the item. Now every player's item will be level 10 and have 10 XP. You can still keep it to the item using a...
  10. Luke_Sky_Walker

    Solved Item id?

    Best way would to be to use list variables attached to the player's uuid and use a function when it comes to adding/removing XP or levels.
  11. Luke_Sky_Walker

    how to get result of a command skript

    You could just set a custom player variable instead of using scoreboard stuff then you can get the result easier. Example: on join: set {pump4::%player's uuid%} to 0 on right click: if player's tool is red wool: add {pump4::%player's uuid%} to {delay1}
  12. Luke_Sky_Walker

    Ignite attacker for variable seconds

    Found out the problem. The issue is that you have to put all of it in a text then parse it as a timespan. Like so: ignite attacker for "%{gyido}% seconds" parsed as timespan
  13. Luke_Sky_Walker

    Ignite attacker for variable seconds

    Since {gyido} is already a number, you don't want to parse it as one. Instead, parse it as a time span if your involving units of time like seconds.
  14. Luke_Sky_Walker

    Items on inventory open lock

    One of the biggest issues I see is how you are saving the items. If you are to save something, let's say a number to a list and wish to reuse it later, you do not want to save it as a text. Example: add 1, 2 and 3 to {numbers::*} instead of: add "1", "2", and "3" to {numbers::*} Your second...
  15. Luke_Sky_Walker

    clear lag

    No prob.
  16. Luke_Sky_Walker

    Solved Help to create a dome around who uses a certain item

    Try to change the distance to whole numbers. Like 3 and 5 instead of 3.5 and 4.5
  17. Luke_Sky_Walker

    lifesteal type of skript help

    You should post this in Requests. This section of the Forums is more for if you have a question about Skript (Basically code you've already written).
  18. Luke_Sky_Walker

    Creating an area with Skript

    Sure. To create a region you can use /rg create (Name). As for the fire bow not being able to activate TNT blocks, you could make sure that players are allowed to by using /rg flags (Name).
  19. Luke_Sky_Walker

    clear lag

    Nope. You would use a separate event all together. An on death event then check if the mob is of the requirement (The proper type and named) then cancel all drops if the variable (Which would be set to true once all the mobs are killed) is set, then cancel the drops and delete the variable...