Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. GuiPanel panel = new GuiPanel(0.5f, 0.5f, true, 1200, 400, false);
  2.  
  3. panel.setPivot(PivotPosition.Center);
  4. panel.setColor(0x0000007f);
  5. panel.setVisible(false);
  6. panel.setBorderColor(0x0000008f);
  7. panel.setBorderThickness(0.01f, true);
  8. player.setAttribute("Switch", panel);
  9. player.addGuiElement(panel);
  10.  
  11.  
  12. GuiLabel Display3 = new GuiLabel(0.01f, 0.05f, true);
  13. Display3.setPivot(PivotPosition.BottomLeft);
  14. Display3.setFont(Font.DefaultMono_Bold);
  15. Display3.setFontSize(17);
  16. panel.addChild(Display3);
  17. player.setAttribute("AreaDisplay3", Display3);
  18. player.setAttribute("onoff", Display3);
  19. player.addGuiElement(Display3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement