Recent content by SoPastel

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

    Function is not a text

    This is the entire code I have, it works fine without defining the function, but when I define the function it gives me that error. function gui(p: player): wait 1 tick open chest with 3 rows named "&d&lTest Gui" to {_p} command /achievments [<text>]: aliases: /ach, /ac, /aa...
  2. SoPastel

    Function is not a text

    Woops, it was already supposed to be like this, I uploaded it wrong. It still does not work like this either.
  3. SoPastel

    Function is not a text

    Skript Version: 2.6 Server Version: 1.8 When I try to load this skript it gives me the error: 'gui(p: player) is not a text' and I am not sure why. Code: function gui(p: player): wait 1 tick open chest with 3 rows named "&d&lTest Gui" to {_p}
  4. SoPastel

    Random Spawning skript

    Does it not work when "opZombSpawn" is set to "true"? And you are sure the world name matches the correct world. It should be working. What addons do you have installed? options: opZombSpawn: true
  5. SoPastel

    Random Spawning skript

    Is it giving any errors when you run it? I tested it and it worked for me.
  6. SoPastel

    Random Spawning skript

    Sorry for the late reply, but this should work :emoji_slight_smile:: options: opZombSpawn: false every 30 minutes in "world": if {@opZombSpawn} is true: set {_h} to 100 spawn 1 zombie at location (x = -20 , y = 130, z = -20) set last spawned zombie's max...
  7. SoPastel

    Random Spawning skript

    Something like this should work fine. every 30 seconds: set {_areacoordX} to a random integer between -10 and 10 set {_areacoordY} to 80 set {_areacoordZ} to a random integer between -10 and 10 set {_amount} to random integer between 5 and 10 loop {_amount} times...
  8. SoPastel

    Solved Custom xp system?

    There is an "on experience change" function, which will imitate an experience orb collection, but you need to download the addon SharpSK for it. Also you can reference the variables across separate scripts if they are not local.
  9. SoPastel

    Solved Custom xp system?

    Something like this should work: on first join: set {customxp::%player%} to 0 set {customlevel::%player%} to 0 on death: if attacker is a player add 10 to {customxp::%player%} if {customxp::%player%} is greater than 4999: set {customxp::%player%} to...