Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {players::*} does not contain player:
- add player to {players::*}
- set {firstjoin::%player's uuid%} to now
- remove 4 hours from {firstjoin::%player's uuid%}
- command /profile <offline player>:
- trigger:
- profile(arg-1)
- function profile(p: player):
- open virtual chest with 3 rows named "&4%{_p}% Stats" to {_p}
- set {_u} to {_p}'s uuid
- set {_s} to 0
- loop 27 times:
- format gui slot {_s} of {_p} with gray stained glass pane named " "
- add 1 to {_s}
- format gui slot 11 of {_p} with command block named "&e%{_p}% Idle Stats" with lore "&7Credits: &e%{credits::%{_u}%}%" and "&7CPS: &e%{cps::%{_u}%}%" and " " and "&5Click for More" to run:
- idleStats({_p})
- format gui slot 13 of {_p} with skull of {_p} named "&e%{_p}%'s Profile" with lore "&7Rank: &r%colored {_p}'s prefix%" and "&7First Join: &e%{firstjoin::%{_u}%}% EST" and "&7Level: &e%{level::%{_u}%}%" and "&7Achievment Points: &e%{achpoints::%{_u}%}%"
- format gui slot 15 of {_p} with diamond sword named "&e%{_p}% Pit Stats" with lore "&7Kills: &e%{kills::%{_u}%}%" and "&7Deaths: &e%{deaths::%{_u}%}%" and " " and "&5Click for More" to run:
- pitStats({_p})
- function idleStats(p: player):
- open virtual chest with 3 rows named "&4%{_p}% Idle Stats" to {_p}
- set {_u} to {_p}'s uuid
- set {_s} to 0
- loop 27 times:
- format gui slot {_s} of {_p} with gray stained glass pane named " "
- add 1 to {_s}
- format gui slot 11 of {_p} with command block named "&eCredit Stats" with lore "&7Credits: &e%{credits::%{_u}%}%" and "&7CPS: &e%{cps::%{_u}%}%" and "&7Advertise Gain: &e%{click::%{_u}%}%" and "&7Advertise Multi: &e%{multi::click::%{_u}%}%" and "&7CPS Multi: &e%{multi::cps::%{_u}%}%"
- format gui slot 13 of {_p} with skull of {_p} named "&e%{_p}% Idle Stats"
- format gui slot 15 of {_p} with paper named "&eUpgrade Amounts" with lore "&7Daily: &e%{upgrades::cps::Daily::%{_u}%}%" and "&7Weekly: &e%{upgrades::cps::Weekly::%{_u}%}%" and "&7Biweekly: &e%{upgrades::cps::Biweekly::%{_u}%}%" and "&7Monthly: &e%{upgrades::cps::Monthly::%{_u}%}%" and "&7Quarterly: &e%{upgrades::cps::Quarterly::%{_u}%}%" and "&7Yearly: &e%{upgrades::cps::Yearly::%{_u}%}%" and "&7Unlimited: &e%{upgrades::cps::Unlimited::%{_u}%}%" and "&7Ultimate: &e%{upgrades::cps::Ultimate::%{_u}%}%" and "&7GOD: &e%{upgrades::cps::GOD::%{_u}%}%"
- function pitStats(p: player):
- open virtual chest with 3 rows named "&4%{_p}% Put Stats" to {_p}
- command /reset <text> [<player>]:
- permission: reset
- trigger:
- if arg-1 is "amt":
- if arg-1 is set:
- resetUpgradeAmt(arg-2)
- else:
- send "&cSpecify a Player"
- if arg-1 is "var":
- resetJoin()
- function resetUpgradeAmt(p: player):
- set {_u} to {_p}'s uuid
- clear {upgrades::cps::Daily::%{_u}%}
- clear {upgrades::cps::Weekly::%{_u}%}
- clear {upgrades::cps::Biweekly::%{_u}%}
- clear {upgrades::cps::Monthly::%{_u}%}
- clear {upgrades::cps::Quarterly::%{_u}%}
- clear {upgrades::cps::Yearly::%{_u}%}
- clear {upgrades::cps::Unlimited::%{_u}%}
- clear {upgrades::cps::Ultimate::%{_u}%}
- clear {upgrades::cps::GOD::%{_u}%}
- function resetJoin():
- clear {players::*}
- clear {var::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement