Advertisement
DoctorX13

XButtons

Sep 21st, 2019 (edited)
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. //Script Created By Senior S
  2. //You are able to edit it as you pleasure
  3.  
  4. event onPlayerJoined(player){
  5. effectManager.sendUI(16000, 1, player.id);
  6. }
  7.  
  8. event onEffectButtonClicked(player, key){
  9. if (key == "Discord"){
  10. player.browserRequest("Entra al discord!", "LINK_OF_YOUR_SHOP");
  11. }
  12. if (key == "Store"){
  13. player.browserRequest("Entra a la tienda!", "LINK_OF_YOUR_SHOP");
  14. }
  15. }
  16.  
  17. command UI(){
  18. permission = "ui";
  19. execute(){
  20. effectManager.clearUIbyID(16000, player.id);
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement