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 comminuty!

    Now, what are you waiting for? Join the community now!

  1. C

    An internal error has occurred while attempting to preform this command.

    i made a GUI with tuske, and it just wont work. this is the code: command /ttj:bank: trigger: open virtual chest inventory with size 5 named "Bank" to player format gui slot 0 of player with light blue stained glass pane named "&c" to do nothing format gui slot 1 of player with...
  2. C

    Click on Sign?

    i need to check the lines on the sign, there are no error but its not working... on rightclick on dark oak sign: line 1 of event-block is "&6Buy Sharpness" line 2 of event-block is "&d45 &6Coins" if player has 45 gold nuggets named "&d&l&oMagical Coin": remove 45 gold...
  3. C

    pathfinding

    can someone help me with working with pathfinding? i want the zombies to walk to the {cpu}. no errors just nothing happens on load: set {cpu} to location -281.0, 6, 333.0 in world "work" on spawn of mob: if entity is zombie: if "%region at entity%" contains "pc"...
  4. C

    how do i select a random location?

    what am i doing wrong here? it doesnt work and sends me <none> every 2 seconds... command /ghostsspawnpoint: permission: ghostsspawnpoint.c trigger: add player's location to {_ghostloc::*} send "&aAdded!" to player every 2 seconds: if {ggamestarted} is true...
  5. C

    Is there a way to play music?

    I want to make a skript that plays a minecraft song whenever a user logs in. but when i use play sound "sound" to player it plays the sound but stays when the play was, its not following the player. is there a way to make a sound follow the player?
  6. C

    Help with killing a victim of damage

    i want to make a code that instantly kills a ghast whenever it takes damage. on damage: victim is ghast: world is "work": kill victim drop 5 golden nugget named "&6&l&oCoin" at location of victim play sound "entity.experience_orb.pickup" to...
  7. C

    set player head to variable

    hey i want to set a player head to a variable, but i can't figure out how. and is there a way to call an event when right clicking on a specific player head? on rightclick: if clicked block is {_rare}: break clicked block send "&9You found a rare candy basket!" to player...
  8. C

    How do i cancel an action sequence?

    I need to cancel an action sequence and i don't know how on any movement: if {fuelfill.%player%} is true: cancel event
  9. C

    Is there a way to force the player to leftclick?

    I need an action to make the player leftclick, but i haven't been able to find a way ):
  10. C

    How to execute a command through a command block?

    How to i execute a command through a command block?
  11. C

    Placing Skulls.

    Hey, i can't place victim's skulls when they die. do you know how? on damage of player: name of attacker's tool is "&cKill": set victim's gamemode to spectator set block at location of victim to victim's skull it places the skull, but its steve's skull not the victim's...
  12. C

    Giving arguments permissions

    Hey, i can't give other players permissions do you know how? command /promotevip <player>: trigger: send title "" with subtitle "&6&lYOU HAVE BEEN PROMOTED TO &a&lVIP" to arg-1 play sound "block.beacon.power_select" to arg-1 send "&7promoted &7%arg-1% &7to VIP!" to...
  13. C

    Set player's helmet

    Hello, i need help with skript. I can't set the player's helmet to a banner. on leftclick: if clicked block is yellow banner: send "&6YOU PICKED UP A FLAG!" to player play sound "entity.experience_orb.pickup" to player set the clicked block to air set...
  14. C

    Need help with conditions

    i need a help with my /home command. i want to it charge 5 coins. It teleports you if you enough, but it doesn't remove the coins. here's the code: command /home: description: Teleport yourself to your home trigger: if {home.%player%} is not set: play sound...
  15. C

    Prefixes for teams

    I cant get this to work, it has no error but it just doesn't work. i want to be able to add players to teams, red and blue. command /joinred: trigger: set {player} to {TeamRed} on chat: if player is {TeamRed}: set the chat format to "&c%player%&r: %message%"...
  16. C

    Hey i need help, im kinda new to skript and i dont really know why my skript isnt working.

    on damage: if (final damage/2) is greater than player's health: cancel event set the player's gamemode to spectator send title "" with subtitle "&cYOU DIED!" to player im trying to make a minigame death.. like in Hypixel Skywars