Recent content by CorpralBlack

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

    Skript Cooldown

    I tried pasting this code in, but it still doesn't work. I get the error message that "victim" must be used in damage events, which caused me to change the lines 8 and 9 to 'victim' instead of 'player'. The code runs without errors, but also without the desired effect. If I fall into lava then...
  2. C

    Skript Cooldown

    Script version: 2.6.1 Minecraft version: 1.18.2 Hello there, I can't seem to make this code work: on connect: set {_n} to 1 on damage of a player: if damage cause is lava: set {_h} to victim's health if {_h} is less than 5: if {_n} is more than 0...
  3. C

    Need some help!

    I've tried that, but simply cancelling the event ANY time a player gets damaged seems to disable pvp around the entire map and for all damage events. I don't want this to happen, but have it happen only in the spawn region. Again, the spawn region is a small 5x5 area centered on 0, 0. I want to...
  4. C

    Need some help!

    Well, what I'm trying to do isn't checking the players distance to a mob, but more check if a player is in the spawn area, a 5 by 5 square with a middle point of 0, 0. If they are inside of that area, and a mob attacks them, the attack will be cancelled. Not sure how to do that though...
  5. C

    Need some help!

    Done
  6. C

    Need some help!

    Since I made this post, I've learned a bit more about Skript and its formatting, didn't know that then tho lol. Let me reformat this. Options: mobs: skeleton, creeper, zombie, baby zombie, villager zombie, enderman, endermite, phantom, and ender dragon x: y: z...
  7. C

    Need some help!

    Hey, I've been trying to make custom spawning in Skript. I don't have any addons for Skript itself. I am new to Skript, so all help trying to make this work is very appreciated! Here is my code: mobs: skeleton, creeper, zombie, baby zombie, villager zombie, enderman, endermite, phantom, and...