Advertisement
Upscalefanatic3

Prison Life v2.0 GUI

Mar 1st, 2019
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. ew('TextButton',frame)
  3. local exit = Instance.new('TextButton',frame)
  4. local killaura = Instance.new('TextButton',frame)
  5. -- Instance Objects
  6. local gui = Instance.new('ScreenGui',p.PlayerGui)
  7. local frame = Instance.new('ScrollingFrame',gui)
  8. local open = Instance.new('TextButton',gui)
  9. local name = Instance.new('TextLabel',frame)
  10. local arrest = Instance.new('TextButton',frame)
  11. local btools = Instance.new('TextButton',frame)
  12. local escape = Instance.n
  13. local melee = Instance.new('TextButton',frame)
  14. local removedoors = Instance.new('TextButton',frame)
  15. local tools = Instance.new('TextButton',frame)
  16.  
  17. -- Name object
  18. gui.Name = "Prison Life v2.0 GUI"
  19. frame.Name = "Commands"
  20. open.Name = "Open"
  21. name.Name = "Name"
  22. arrest.Name = "ArrestButton"
  23. btools.Name = "BtoolsButton"
  24. escape.Name = "EscapeButton"
  25. exit.Name = "ExitButton"
  26. killaura.Name = "KillauraButton"
  27. melee.Name = "MeleeButton"
  28. removedoors.Name = "RemoveDoorsButton"
  29. tools.Name = "ToolsButton"
  30.  
  31. -- Object Visible
  32. frame.Visible = true
  33. open.Visible = false
  34. name.Visible = true
  35. arrest.Visible = true
  36. btools.Visible = true
  37. escape.Visible = true
  38. exit.Visible = true
  39. killaura.Visible = true
  40. melee.Visible = true
  41. removedoors.Visible = true
  42. tools.Visible = true
  43.  
  44. -- Background Color
  45. frame.BackgroundColor3 = Color3.new(255,255,255)
  46. open.BackgroundColor3 = Color3.new(0,255,255)
  47. name.BackgroundColor3 = Color3.new
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement