dogenite_youtube Posted July 17, 2021 Share Posted July 17, 2021 could someone make a scoreboard for the my skript I want it to say the balance in orange with the words gems here is the script variables: {money::player's uuid} = 0 on left click: if name of player's held item is "&e&lT1": add 1 to {money::player's uuid} command /clicker: trigger: give a grass block named "&e&lclickerT1" to player command /balance: trigger: send "%{money::player's uuid}%" Link to comment Share on other sites More sharing options...
StarBunnie Posted July 17, 2021 Share Posted July 17, 2021 (edited) 1 hour ago, dogenite_youtube said: could someone make a scoreboard for the my skript I want it to say the balance in orange with the words gems here is the script variables: {money::player's uuid} = 0 on left click: if name of player's held item is "&e&lT1": add 1 to {money::player's uuid} command /clicker: trigger: give a grass block named "&e&lclickerT1" to player command /balance: trigger: send "%{money::player's uuid}%" Here on join: while player is online: set title of player's scoreboard to "Scoreboard title" set line 1 of player's scoreboard to "&7Gems: &6%{money::%player's uuid%}%" wait 1 second This requires SkBee Also important info for you You wrote the variable like this "%{money::player's uuid}%" Which is "wrong" if you want player based variables because the variable currently is only read like you read it here. The correct way would be "%{money::%player's uuid%}%" That way the player's uuid will be used instead of just the word "player's uuid" Here's an overview how it looks for skript "%{money::player's uuid}%" -> {money::player's uuid} "{money::%player's uuid%}%" -> {money::aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee} Edited July 17, 2021 by StarBunnie 1 1 Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now