Add a variable to a single player...

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Jakkeren

Supporter
Mar 23, 2017
63
3
8
Hi.
So I'm trying to make a leveling system, where your level is displayed in your action bar.
When a variable get's added, it get's added to all players. How do i make it, so it only adds the variable to the player, that does the event?

http://pastebin.com/Rw1Lqp5J
 
Hi.
So I'm trying to make a leveling system, where your level is displayed in your action bar.
When a variable get's added, it get's added to all players. How do i make it, so it only adds the variable to the player, that does the event?

http://pastebin.com/Rw1Lqp5J

Your using a normal variable
code_language.skript:
{level}
Just use that instead of your , so the variable is just for the uuid of the player in it.
code_language.skript:
{level.%uuid of player%}
 
Your using a normal variable
code_language.skript:
{level}
Just use that instead of your , so the variable is just for the uuid of the player in it.
code_language.skript:
{level.%uuid of player%}

Thanks for the quick answer, that worked!

Now i have another problem. Players can't sell other heads than the pig ones. Why?

http://pastebin.com/Rw1Lqp5J
 
Status
Not open for further replies.