Advertisement
Oats23

version one

Oct 13th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. -- username: jon password: haha
  2.  
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local LoginGui = Instance.new("Frame")
  6. local LoginButton = Instance.new("TextButton")
  7. local Password = Instance.new("TextBox")
  8. local Username = Instance.new("TextBox")
  9. local Welcome = Instance.new("TextLabel")
  10. local MainGui = Instance.new("Frame")
  11. local AllPrisonLifeGuns = Instance.new("TextButton")
  12. local AllPrisonLifeGuns_2 = Instance.new("TextButton")
  13. local Open = Instance.new("Frame")
  14. local Open_2 = Instance.new("TextButton")
  15. --Properties:
  16.  
  17. ScreenGui.Parent = game.CoreGui
  18.  
  19. LoginGui.Name = "LoginGui"
  20. LoginGui.Parent = ScreenGui
  21. LoginGui.BackgroundColor3 = Color3.new(0, 0.784314, 1)
  22. LoginGui.BorderSizePixel = 4
  23. LoginGui.Position = UDim2.new(0.330909044, 0, 0.111793585, 0)
  24. LoginGui.Size = UDim2.new(0, 288, 0, 386)
  25. LoginGui.Active = true
  26. LoginGui.Draggable = true
  27.  
  28. LoginButton.Name = "LoginButton"
  29. LoginButton.Parent = LoginGui
  30. LoginButton.BackgroundColor3 = Color3.new(0, 0.784314, 1)
  31. LoginButton.BorderColor3 = Color3.new(0, 0, 0)
  32. LoginButton.BorderSizePixel = 2
  33. LoginButton.Position = UDim2.new(0.051818192, 0, 0.733046055, 0)
  34. LoginButton.Size = UDim2.new(0, 258, 0, 95)
  35. LoginButton.Font = Enum.Font.SourceSans
  36. LoginButton.Text = "Log In"
  37. LoginButton.TextColor3 = Color3.new(0, 0, 0)
  38. LoginButton.TextSize = 50
  39. LoginButton.MouseButton1Down:connect(function()
  40. if Username.Text=="jon" and Password.Text=="haha" then
  41. LoginGui.Visible = false
  42. Open.Visible = true
  43. end
  44. end)
  45.  
  46. Password.Name = "Password"
  47. Password.Parent = LoginGui
  48. Password.BackgroundColor3 = Color3.new(0, 0.784314, 1)
  49. Password.BorderSizePixel = 2
  50. Password.Position = UDim2.new(0.000454485416, 0, 0.391993731, 0)
  51. Password.Size = UDim2.new(0, 288, 0, 70)
  52. Password.Font = Enum.Font.SourceSans
  53. Password.Text = "Password"
  54. Password.TextColor3 = Color3.new(0, 0, 0)
  55. Password.TextSize = 30
  56.  
  57. Username.Name = "Username"
  58. Username.Parent = LoginGui
  59. Username.BackgroundColor3 = Color3.new(0, 0.784314, 1)
  60. Username.BorderSizePixel = 2
  61. Username.Position = UDim2.new(0.000454485416, 0, 0.214790389, 0)
  62. Username.Size = UDim2.new(0, 288, 0, 30)
  63. Username.Font = Enum.Font.SourceSans
  64. Username.Text = "Username"
  65. Username.TextColor3 = Color3.new(0, 0, 0)
  66. Username.TextSize = 30
  67.  
  68. Welcome.Name = "Welcome"
  69. Welcome.Parent = LoginGui
  70. Welcome.BackgroundColor3 = Color3.new(0, 0.784314, 1)
  71. Welcome.Position = UDim2.new(0.152121186, 0, 0.0271988809, 0)
  72. Welcome.Size = UDim2.new(0, 200, 0, 29)
  73. Welcome.Font = Enum.Font.SourceSans
  74. Welcome.Text = "Welcome"
  75. Welcome.TextColor3 = Color3.new(0, 0, 0)
  76. Welcome.TextSize = 25
  77.  
  78. MainGui.Name = "MainGui"
  79. MainGui.Parent = ScreenGui
  80. MainGui.BackgroundColor3 = Color3.new(1, 1, 1)
  81. MainGui.Position = UDim2.new(0.290909082, 0, 0.157248169, 0)
  82. MainGui.Size = UDim2.new(0, 386, 0, 278)
  83. MainGui.Visible = false
  84. MainGui.Active = true
  85. MainGui.Draggable = true
  86.  
  87. AllPrisonLifeGuns.Name = "AllPrisonLifeGuns"
  88. AllPrisonLifeGuns.Parent = MainGui
  89. AllPrisonLifeGuns.BackgroundColor3 = Color3.new(1, 1, 1)
  90. AllPrisonLifeGuns.BorderSizePixel = 2
  91. AllPrisonLifeGuns.Position = UDim2.new(0.398963749, 0, 0.773381293, 0)
  92. AllPrisonLifeGuns.Size = UDim2.new(0, 200, 0, 50)
  93. AllPrisonLifeGuns.Font = Enum.Font.SourceSans
  94. AllPrisonLifeGuns.Text = "All guns for prison life"
  95. AllPrisonLifeGuns.TextColor3 = Color3.new(0, 0, 0)
  96. AllPrisonLifeGuns.TextSize = 20
  97. AllPrisonLifeGuns.MouseButton1Down:connect(function()
  98. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  99.  
  100. lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  101. print(lol)
  102. end
  103. end)
  104.  
  105. AllPrisonLifeGuns_2.Name = "AllPrisonLifeGuns"
  106. AllPrisonLifeGuns_2.Parent = MainGui
  107. AllPrisonLifeGuns_2.BackgroundColor3 = Color3.new(1, 1, 1)
  108. AllPrisonLifeGuns_2.BorderSizePixel = 0
  109. AllPrisonLifeGuns_2.Position = UDim2.new(0.94559586, 0, 0, 0)
  110. AllPrisonLifeGuns_2.Size = UDim2.new(0, 21, 0, 29)
  111. AllPrisonLifeGuns_2.Font = Enum.Font.SourceSans
  112. AllPrisonLifeGuns_2.Text = "X"
  113. AllPrisonLifeGuns_2.TextColor3 = Color3.new(0, 0, 0)
  114. AllPrisonLifeGuns_2.TextSize = 20
  115. AllPrisonLifeGuns_2.MouseButton1Down:connect(function()
  116. MainGui.Visible = false
  117. Open.Visible = true
  118. end)
  119.  
  120. Open.Name = "Open"
  121. Open.Parent = ScreenGui
  122. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  123. Open.Position = UDim2.new(0, 0, 0.498771489, 0)
  124. Open.Size = UDim2.new(0, 96, 0, 37)
  125. Open.Visible = false
  126.  
  127. Open_2.Name = "Open"
  128. Open_2.Parent = Open
  129. Open_2.BackgroundColor3 = Color3.new(1, 1, 1)
  130. Open_2.Size = UDim2.new(0, 96, 0, 37)
  131. Open_2.Font = Enum.Font.SourceSans
  132. Open_2.Text = "Open"
  133. Open_2.TextColor3 = Color3.new(0, 0, 0)
  134. Open_2.TextSize = 40
  135. Open_2.MouseButton1Down:connect(function()
  136. MainGui.Visible = true
  137. Open.Visible = false
  138. end)
  139.  
  140. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement