Guest User

Prison Life Guns LUA

a guest
Dec 2nd, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local maingui = Instance.new("Frame")
  6. local allguns = Instance.new("TextButton")
  7. local close = Instance.new("TextButton")
  8. local opengui = Instance.new("Frame")
  9. local open = Instance.new("TextButton")
  10. local logingui = Instance.new("Frame")
  11. local user = Instance.new("TextBox")
  12. local pass = Instance.new("TextBox")
  13. local submit = Instance.new("TextButton")
  14. --Properties:
  15. ScreenGui.Parent = game.CoreGui
  16.  
  17. maingui.Name = "maingui"
  18. maingui.Parent = ScreenGui
  19. maingui.BackgroundColor3 = Color3.new(1, 1, 1)
  20. maingui.Position = UDim2.new(0, 520, 0, 351)
  21. maingui.Size = UDim2.new(0, 321, 0, 207)
  22. maingui.Visible = false
  23. maingui.Active = true
  24. maingui.Draggable = true
  25.  
  26. allguns.Name = "allguns"
  27. allguns.Parent = maingui
  28. allguns.BackgroundColor3 = Color3.new(1, 1, 1)
  29. allguns.Position = UDim2.new(0, 60, 0, 74)
  30. allguns.Size = UDim2.new(0, 200, 0, 50)
  31. allguns.Font = Enum.Font.SourceSans
  32. allguns.Text = "All guns (Prison Life)"
  33. allguns.TextColor3 = Color3.new(0, 0, 0)
  34. allguns.TextSize = 14
  35. allguns.MouseButton1Down:connect(function()
  36. for i,v in pairs (Workspace.Prison_ITEMS.giver:GetChildren())do
  37.  
  38. lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  39. print (lol)
  40. end
  41. end)
  42.  
  43. close.Name = "close"
  44. close.Parent = maingui
  45. close.BackgroundColor3 = Color3.new(1, 0, 0)
  46. close.BackgroundTransparency = 1
  47. close.Position = UDim2.new(0, 299, 0, 0)
  48. close.Size = UDim2.new(0, 22, 0, 50)
  49. close.Font = Enum.Font.SourceSans
  50. close.Text = "X"
  51. close.TextColor3 = Color3.new(0, 0, 0)
  52. close.TextScaled = true
  53. close.TextSize = 14
  54. close.TextWrapped = true
  55. close.MouseButton1Down:connect(function()
  56. maingui.Visible = false
  57. opengui.Visible = true
  58. end)
  59.  
  60. opengui.Name = "opengui"
  61. opengui.Parent = ScreenGui
  62. opengui.BackgroundColor3 = Color3.new(1, 1, 1)
  63. opengui.Position = UDim2.new(0, 0, 0, 706)
  64. opengui.Size = UDim2.new(0, 100, 0, 34)
  65. opengui.Visible = false
  66.  
  67. open.Name = "open"
  68. open.Parent = opengui
  69. open.BackgroundColor3 = Color3.new(1, 1, 1)
  70. open.Size = UDim2.new(0, 100, 0, 34)
  71. open.Font = Enum.Font.SourceSans
  72. open.Text = "Open"
  73. open.TextColor3 = Color3.new(0, 0, 0)
  74. open.TextSize = 14
  75. open.MouseButton1Down:connect(function()
  76. maingui.Visible = true
  77. opengui.Visible = false
  78. end)
  79.  
  80. logingui.Name = "logingui"
  81. logingui.Parent = ScreenGui
  82. logingui.BackgroundColor3 = Color3.new(1, 1, 1)
  83. logingui.Position = UDim2.new(0.426157206, 0, 0.32123211, 0)
  84. logingui.Size = UDim2.new(0, 206, 0, 315)
  85. logingui.Active = true
  86. logingui.Draggable = true
  87.  
  88. user.Name = "user"
  89. user.Parent = logingui
  90. user.BackgroundColor3 = Color3.new(1, 1, 1)
  91. user.Position = UDim2.new(0.0145631069, 0, 0.234920636, 0)
  92. user.Size = UDim2.new(0, 200, 0, 20)
  93. user.Font = Enum.Font.SourceSans
  94. user.Text = ""
  95. user.TextColor3 = Color3.new(0, 0, 0)
  96. user.TextSize = 14
  97.  
  98. pass.Name = "pass"
  99. pass.Parent = logingui
  100. pass.BackgroundColor3 = Color3.new(1, 1, 1)
  101. pass.Position = UDim2.new(0.0145631069, 0, 0.466666669, 0)
  102. pass.Size = UDim2.new(0, 200, 0, 20)
  103. pass.Font = Enum.Font.SourceSans
  104. pass.Text = "Password"
  105. pass.TextColor3 = Color3.new(0, 0, 0)
  106. pass.TextSize = 14
  107.  
  108. submit.Name = "submit"
  109. submit.Parent = logingui
  110. submit.BackgroundColor3 = Color3.new(1, 1, 1)
  111. submit.Position = UDim2.new(0, 3, 0, 210)
  112. submit.Size = UDim2.new(0, 200, 0, 50)
  113. submit.Font = Enum.Font.SourceSans
  114. submit.Text = "Login"
  115. submit.TextColor3 = Color3.new(0, 0, 0)
  116. submit.TextSize = 14
  117. submit.MouseButton1Down:connect(function()
  118. if user.Text == "EpixDude2" and pass.Text == "christmas" then
  119. logingui.Visible = false
  120. opengui.Visible = true
  121. end
  122. end)
  123. -- Scripts:
  124.  
  125.  
  126. Username: EpixDude2
  127. Password: christmas
Add Comment
Please, Sign In to add comment