code help

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

    Variables that don't reset on load

    I am trying to make a skript thingy that stores a variable (in my case, a list) but when I restart the server, it resets the variable. How would I avoid that? Here is an example (not my case but just a general idea): command /sethome: trigger: set {home} to location of player...
  2. R

    What is wrong with my skript?

    Trying to figure out what is wrong with my skript. on spawn: if player's world is "world": givebetaprefix(player) function givebetaprefix(p: player): run player cmd "lp user {_p} parent set beta-testers" as op gives me the Cant understand this condition
  3. D

    How do I make it so players can only break a certain block that they placed?

    on place of hay block: if player's tool is hay block named "&e&lWheat Gen" with lore "&7-----&8-----" and "&7Produces wheat every 10 seconds" and "&7Upgrade cost: &e500⛃" and "&7-----&8-----": set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 10...