skript

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

    Solved [Help] An arrow leading to player

    Hi, Im trying to make that when /point <player> command is executed there will be an send title action to tell player how to reach the arg-1 player the fastest example Right, Left, Down, Up, Forward, Backward I'm very confused about this and my math is not enough :D Here is what i have right...
  2. M

    Help with: if all items in player's inventory

    How i can do skript like this: if all items in player's inventory where [name of input is "&9Ball", amount is "11"] is set: Or something else with it: if all items in player's inventory where [name of input is "&9Ball"] is set:
  3. D

    Help with job

    bruh i cant do this. I want make doctor for server and i dont know how, i have plan, pls someone help:emoji_frowning: 1. Player (who need help) type in chat /calldoctor 2. Players with permission doctor send in chat message " *nickname player who need help* need help, he's coordinates *xyz* "...
  4. D

    Help with coordinates

    In skript i need send in chat coordinates of player command calldoctor [<player>] [<number>]: aliases: cd permission: calldoctor.use trigger: if arg-1 is not set: send "&cUsage: /calldoctor ник сумма" if arg-1 is not online: send "&cPlayer is...
  5. C

    Problems with variables in sql query

    Hi! This is my testing code, where i'm trying to understand what is going on. command /test: trigger: #Database Variables set {_sqlConnection} to yaml value "mc250391" from file "plugins/Yaml/MySQL/database.yml" set {_sql} to the database "%{_sqlConnection}%"...
  6. C

    Skript MCC Remake Website

    Kia ora everyone! I am making a scuffed mcc, How would i send a variable to a website? Like the mcc.live website but I am using google sites cuz I am broke. I am trying to send the team1point variable to the website so it shows up and it is live. Anyone think they could show me some code or help...
  7. C

    Is loop-command possible?

    Hey i was wondering if LOOP ALL COMMANDS is possible like every tick: loop all commands: code - blah blah blah
  8. IViddyy

    Solved Removing Blocks Around Player

    Hi im trying to make a command that can be turned on and off and removes blocks in a 5 block radius while on.But i dont know how to remove blocks around the player so can someone help?
  9. aabss

    disky online command

    i need help with my online command, discord command online: prefixes: . trigger: set {_s::*} to the string argument split at "," reply with "Online players: %join all players with "" | ""%" it wont work Errors:
  10. saad3mad

    problem with my skript

    hey, i'm trying to make the note block useless i want it like a regular block, the main idea is to make new blocks out of note block, now there is a cool thing if u edit the blockstates of note block in the resourse pack you could add a texture to the note block for example: "variants": {...
  11. J

    Skript Help

    Can anyone tell me or make me a skript that makes it so you get a heart every time you get an achievement in minecraft
  12. B

    Crop Growth Stage Not Working

    on break: if event-block is sugar cane: add 2.25 to {exp::%player's uuid%} send action bar "&b+2.25XP [%{exp::%player's uuid%}%/%{levelreq::%player's uuid%}%]" to player if event-block is fully grown wheat plant: add 4.75 to {exp::%player's uuid%} send action...
  13. saad3mad

    Solved how to link an armor stand to the player

    EDIT: i am trying to make an armor stand ride the player and be able to move with the player, so when the player move his body the armor stand above it move to and be connected to the body area the "chest" the skript i used make the armor stand teleport to the player so its a bit laggy and...
  14. X

    Custom Armor

    So what I am trying to do is basically change the player's speed with boots. issue: When I put it on it sets my speed to 2, but when I take it off, or change my armor it doesn't change it back. I use the latest version of skript as of now. Here is what I did (at least tried): on load: set...
  15. N

    ! Make player damage targeted entity?

    Hey:) I have this code and I would like to make the player damage the targeted player. Problem is that this code does not make the player the attacker, it just damages the targeted player as if nothing hit them I have tried: force player to damage entity of player by 4 make player damage...
  16. I

    killed entity reward, have code, need to convert to a function

    have this code that I made by myself but I don't want to repeat so many lines for each type of entity, tried to transform the code into a function but... I suffer from serious skill issue. Can someone give me sample code from this? I need to have as "variables" the random amount of money ex...
  17. C

    Solved How can I prevent a loop from doing damage to the player with Skript

    I am programming a plugin in Skript using SkRayFall (though I'm unsure that that's useful for this scenario, I should put it there anyway) and I have a program that's supposed to damage all entities in a 1 block radius while pushing the play forward. This works fine, although it damages the...
  18. A

    Solved How can I check if a player is registered on AuthMe through a Skript?

    I already tried SharpSK and all its forks, but the code doesn't work. SharpSK is in my /pl list but the code that I found in the docs doesn't get recognized. Any help? What I tried is: on join: if event-player is registered: # do something else: # do something else...
  19. M

    My skript doesn't work

    Can anyone tell me why this does not work: {1_::%uuid of player%} is already defined " command /loot2 [<offline player>]: permission: admin.sk trigger: if {_1::%uuid of arg-1%} is not set: send "1" to arg-1 if {1_::%uuid of arg-1%} is not set...
  20. R

    AFK Skript not working

    Hey! I'm working on an auto afk skript (after x amount of seconds without moving, player gets teleported to a warp), and I can't get it to work. on load: wait 3 seconds broadcast "&a&lCreeperNet &6Skript&r has been loaded &asuccessfully!" if %player% is afk: message...