JosiahHere Posted August 22, 2022 Share Posted August 22, 2022 So I made a points script, and here it is. on load: message "Josiah's Pointer Skript 1.0.0 is on!" command /pter-give <player> <number>: trigger: # Initializes variables to be used in strings set player to arg-1 set pts to arg-2 if {%uuid of player%point} is not set: message "Initializing points for %uuid of player%" set {%uuid of player%point} to 0 message "Done initializing!" add {pts} to {%uuid of arg-1%point} message "Gave %uuid of arg-1% %{pts}% points!" command /pter-remove <player> <number>: trigger: # Initializes variables to be used in strings set player to arg-1 set pts to arg-2 if {%uuid of player%point} is not set: message "Initializing points for %uuid of player%" set {%uuid of player%point} to 0 message "Done initializing!" remove {pts} from {%uuid of arg-1%point} message "Removed %uuid of arg-1% of %{pts}% points!" command /pter-points <player>: trigger: # Initializes variables to be used in strings set player to arg-1 if {%uuid of player%point} is not set: message "Initializing points for %uuid of player%" set {%uuid of player%point} to 0 message "Done initializing!" message "%uuid of player% has %{%uuid of player%point}% points!" How to use /pter-give (plr) (pts): Gives a player points. /pter-remove (plr) (pts): Removes points from a player. /pter-points (plr): Shows how many points a player has. 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