Is it possible to use player's UUID as a variable?

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

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

Nicore

Member
Aug 12, 2018
3
0
0
19
Is it possible to use player's UUID as a variable?
I have already try
Code:
{%uuid of player%::*}
And it said
Code:
Can't understand the type 'uuid of player'
Thx~
 
Set a temporary variable to the UUID, and use that variable in your variable.
 
code_language.skript:
set {_uuid} to player's uuid
set {sugma::%{_uuid}%} to true
 
Hello, yes this is possible. I use it and its alot better because the variable does not mess up if the user changes their name. You can use %player's uuid%. Ex: {variable::%player's uuid%}
If this does not work, feel free to DM.
 
Status
Not open for further replies.