Advertisement
DoctorX13

XWarnWithUI

Sep 21st, 2019
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. command warn(play, reason){
  2. permission = "warn";
  3. execute(){
  4. target = toPlayer(play);
  5. reasonn = toString(reason);
  6. effectManager.sendUI(12705, 12705, target.id, "Reason: " + toString(reasonn));
  7. wait.seconds(10, effectManager.clearUIbyID(12705, target.id));
  8. wait.seconds(11, target.kick("You are warned!"));
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement