SovietPlayah Posted March 29, 2020 Share Posted March 29, 2020 Here's another skript. Required plugins: Skript PermissionsEx command /disguiserank <text>: permission: disguiserank aliases: disguise,drank permission message: "&cNo access!" trigger: if arg-1 is "Owner": make console execute command "pex user %player% prefix ""&8[&4Owner&8]&4 "" " send "&8You've disguised your rank to &4Owner" if arg-1 is "Admin": make console execute command "pex user %player% prefix ""&8[&cAdmin&8]&c "" " send "&8You've disguised your rank to &cAdmin" if arg-1 is "TMod": make console execute command "pex user %player% prefix ""&8[&6Trainee-Mod&8]&6 "" " send "&8You've disguised your rank to &6Trainee-Mod" if arg-1 is "Mod": make console execute command "pex user %player% prefix ""&8[&eMod&8]&e "" " send "&8You've disguised your rank to &eMod" if arg-1 is "Helper": make console execute command "pex user %player% prefix ""&8[&3Helper&8]&3 "" " send "&8You've disguised your rank to &3Helper" if arg-1 is "Developer": make console execute command "pex user %player% prefix ""&8[&bDeveloper&8]&b "" " send "&8You've disguised your rank to &bDeveloper" if arg-1 is "Youtuber": make console execute command "pex user %player% prefix ""&8[&cYou&fTube&8]&4 "" " send "&8You've disguised your rank to &fY&4T" if arg-1 is "Default": make console execute command "pex user %player% prefix ""&7 "" " send "&8You've disguised your rank to &7Default" if arg-1 is "Reset": make console execute command "pex user %player% prefix "" "" " send "&8You've reset your prefix!" command /undisguiserank: permission: disguiserank aliases: undisguise,undrank permission message: "&cNo access!" trigger: make console execute "pex user %player% prefix """" " send "&8You've reset your prefix!" Link to comment Share on other sites More sharing options...
agagagagagagagagag Posted April 1, 2020 Share Posted April 1, 2020 saw this exact skript on a video a while back, still good tho Link to comment Share on other sites More sharing options...
Ofus-Will Posted April 1, 2020 Share Posted April 1, 2020 i suggest at the very least making the conditions else if conditions, as by doing so you won't be running unnecessary code when you've found the main argument. Also, with undisguising, it'd be better to reset their rank back to what they had prior to disguising Link to comment Share on other sites More sharing options...
SovietPlayah Posted April 2, 2020 Author Share Posted April 2, 2020 (edited) @Ofus-Will it does Edited April 7, 2020 by SovietPlayah 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