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

    Solved Enable drops of certain items on death

    Question: How do I enable it so that when you die, certain items dont get cleared? (IE HEADS) CODE: on death: attacker is a player set {_head} to ("%victim%" parsed as offline player)'s skull drop {_head} named "&c%victim%'s Head" at victim's location
  2. JustADev

    Showing ping in [TAB]

    How do I show ping in tab? CODE: on join: set tab header to "\n&cChaoticMC &7[Beta]\n" and footer to "\n&cKitPvp &7* &echaoticmc.net" for player
  3. JustADev

    Player heads in GUI?

    How do i make a player's head appear ina GUI Menu? CODE: wait 2 tick open chest with 1 row named "&nStats Menu" to player play "ITEM_PICKUP" to player at volume 1.5 wait 1 tick format gui slot 0 of player with 1 %arg-1%'s player head...
  4. JustADev

    Solved 1 Kit Per Life?

    How do I make it so that players can only use 1 kit per life? I have tried this but it doesnt work.... Someone help me? would appresh CODE: on join: clear player's inventory set slot 0 of player to nether star named "&cKits &7(Right Click)" set slot 4 of player to emerald named...
  5. JustADev

    Scoreboard Refresh every second?

    How do I make a scoreboard refresh every second? CODE: on join: wait 1 tick wipe player's sidebar set name of sidebar of player to "&c&lKitPvP" set score "&3 " in sidebar of player to 10 set score "&fName: &c%player%" in sidebar of player to 9 set score "&2 " in sidebar...
  6. JustADev

    Solved Scoreboard Skipping Line 5

    How do I fix this so it doesnt stop line 5? CODE: on join: wait 1 tick wipe player's sidebar set name of sidebar of player to "&c&lKitPvP" set score "&8" in sidebar of player to 10 set score "&fName: &c%player%" in sidebar of player to 9 set score "&8" in sidebar of...
  7. JustADev

    Solved How to make the event cause the blocks to stay the same?

    This my current kitpvp block placing script I added a cmd called /buildmode, where staff can toggle it. Here is what is supposed to happen: When: ENABLED - Never clears the player's blocks when placed DISABLED (Works Perfectly) - Removes Oak Logs, Plank, water, and fire The only problem, is...
  8. JustADev

    Keeping Blocks same

    QUESTION: How do i make it so that when this is true, the blocks will stay the same? CODE: on block place: if {build.%player%} is set: if event-block is planks:0: wait 5 seconds set event-block to planks:0 if event-block is oak log...
  9. JustADev

    variable not working

    Whenever i try to send the msg it gives me an error: CODE: on death: attacker is a player set {_head} to ("%victim%" parsed as offline player)'s skull drop {_head} named "&c%victim%'s Head &7(Right Click)" at victim's location on rightclick holding a player head: remove...
  10. JustADev

    How to stop it from effects

    How do i make the skDragon stop after 1 cycle of going up and down once? command /head145: trigger: stopEffect "%player%" drawWarpRings style 0, particle "redstone", RGB 255, 0, 0, center location of player, id "%player%", rainbowMode false, scan false, height 2, radius 1...
  11. JustADev

    Adding a new json line

    How do I add a new line to Json on the hover thing? CODE: on chat: cancel event json("@a", "&7%player's display name% &8&l»||ttp:&e&n%player%'s Stats||sgt:/msg %player%|| &f%message%")
  12. JustADev

    Solved Fixing Effect Chance?

    BUG: The chance for Poison almost always happens, Even though its at 5% Chance, CODE: on damage: if {Poison::%attacker%} is more than 0: set {_Poisona} to 0.2 * {Poison::%attacker%} add 2 to {_Poisona} chance of 5% if...
  13. JustADev

    Rightclicking heads and removing heads

    How do I make this work? CODE: on rightclick on a head: remove 1 of player's tool from player
  14. JustADev

    How to toggle block placing

    NEED: a command to toggle block placing CODE: on place of planks:0: add location of event-block to {locations::*} on place of oak log: add location of event-block to {locations::*} on place of water: add location of event-block to {locations::*} on place of fire: add location...
  15. JustADev

    GUI Wither Skull Head

    format slot 0 of player with 1 skull:1 named "&aWither Skull" to close Question: What is the ID for wither skull if i want to put it in a GUI The one i use right now doesnt work
  16. JustADev

    Solved Triple Argument Cmd Help

    I am not very good with these, I need help: command /coins [<text>] [<integer>] [<player>]: trigger: if arg 1 is not set: send "&8[&eCoins&8] &7You must specify the use: &e(Add|Remove|Set)" if arg 2 is not set: send "&8[&eCoins&8] &7You must specify...
  17. JustADev

    Solved Mushroom Stew Help

    on consume: event-item is a Mushroom Stew add 3 to player's health remove 1 bowl from player's inventory QUESTION: How do i make it so that if the player is at max health, then they cant consume the bowl?
  18. JustADev

    Solved How to toggle this?

    How do I make a toggle gui for this? So that if staff want to build they can called /buildmode on place of planks:0: add location of event-block to {locations::*} on place of oak log: add location of event-block to {locations::*} on place of water: add location of event-block to...
  19. JustADev

    How to allow block place on certain blocks only?

    Can anyone tell me how to allow block placing on certain blocks? Like on Endstone, Nether rack, etc?
  20. JustADev

    How to deny Water mixing with lava to make obsidian via skript??

    Can anyone help me to deny water to mix with lava to make obsidian?