Advertisement
zPowerXx1

basic prisonlife gui

Dec 31st, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. -- Creator profile name: zPowerUpX
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local logingui = Instance.new("Frame")
  8. local user = Instance.new("TextBox")
  9. local pass = Instance.new("TextBox")
  10. local submit = Instance.new("TextButton")
  11. local maingui = Instance.new("Frame")
  12. local allguns = Instance.new("TextButton")
  13. local close = Instance.new("TextButton")
  14. local TextButton = Instance.new("TextButton")
  15. local textbutton2 = Instance.new("TextButton")
  16. local opengui = Instance.new("Frame")
  17. local open = Instance.new("TextButton")
  18. --Properties:
  19. ScreenGui.Parent = game.CoreGui
  20.  
  21. logingui.Name = "logingui"
  22. logingui.Parent = ScreenGui
  23. logingui.BackgroundColor3 = Color3.new(1, 1, 1)
  24. logingui.BorderSizePixel = 4
  25. logingui.Position = UDim2.new(0.603138983, 0, 0.21815522, 0)
  26. logingui.Size = UDim2.new(0, 271, 0, 361)
  27. logingui.Active = true
  28. logingui.Draggable = true
  29.  
  30. user.Name = "user"
  31. user.Parent = logingui
  32. user.BackgroundColor3 = Color3.new(1, 1, 1)
  33. user.BorderSizePixel = 4
  34. user.Position = UDim2.new(0, 0, 0.132963985, 0)
  35. user.Size = UDim2.new(0, 271, 0, 25)
  36. user.Font = Enum.Font.SourceSans
  37. user.Text = "Username"
  38. user.TextColor3 = Color3.new(0, 0, 0)
  39. user.TextScaled = true
  40. user.TextSize = 14
  41. user.TextWrapped = true
  42.  
  43. pass.Name = "pass"
  44. pass.Parent = logingui
  45. pass.BackgroundColor3 = Color3.new(1, 1, 1)
  46. pass.BorderSizePixel = 4
  47. pass.Position = UDim2.new(0, 0, 0.465373963, 0)
  48. pass.Size = UDim2.new(0, 271, 0, 25)
  49. pass.Font = Enum.Font.SourceSans
  50. pass.Text = "Password"
  51. pass.TextColor3 = Color3.new(0, 0, 0)
  52. pass.TextScaled = true
  53. pass.TextSize = 14
  54. pass.TextWrapped = true
  55.  
  56. submit.Name = "submit"
  57. submit.Parent = logingui
  58. submit.BackgroundColor3 = Color3.new(1, 1, 1)
  59. submit.BorderSizePixel = 2
  60. submit.Position = UDim2.new(0.103321031, 0, 0.667590022, 0)
  61. submit.Size = UDim2.new(0, 214, 0, 47)
  62. submit.Text = "Submit"
  63. submit.TextColor3 = Color3.new(0, 0, 0)
  64. submit.TextSize = 14
  65. submit.MouseButton1Down:connect(function()
  66. if user.Text == "fart" and pass.Text == "fart" then
  67. logingui.Visible = false
  68. opengui.Visible = true
  69. end
  70. end)
  71.  
  72. maingui.Name = "maingui"
  73. maingui.Parent = ScreenGui
  74. maingui.BackgroundColor3 = Color3.new(1, 1, 1)
  75. maingui.Position = UDim2.new(0.336322874, 0, 0.263543189, 0)
  76. maingui.Size = UDim2.new(0, 242, 0, 320)
  77. maingui.Visible = false
  78. maingui.Active = true
  79. maingui.Draggable = true
  80.  
  81. allguns.Name = "allguns"
  82. allguns.Parent = maingui
  83. allguns.BackgroundColor3 = Color3.new(1, 1, 1)
  84. allguns.BorderSizePixel = 2
  85. allguns.Position = UDim2.new(0.0661156997, 0, 0.174999997, 0)
  86. allguns.Size = UDim2.new(0, 210, 0, 41)
  87. allguns.Font = Enum.Font.SourceSans
  88. allguns.Text = "all guns"
  89. allguns.TextColor3 = Color3.new(0, 0, 0)
  90. allguns.TextScaled = true
  91. allguns.TextSize = 14
  92. allguns.TextWrapped = true
  93. allguns.MouseButton1Down:connect(function()
  94. for i,v in pairs(Workspace.Prison_ITEMS.giver:GetChildren()) do
  95.  
  96. lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  97. print(lol)
  98. end
  99. end)
  100.  
  101. close.Name = "close"
  102. close.Parent = maingui
  103. close.BackgroundColor3 = Color3.new(1, 1, 1)
  104. close.BorderSizePixel = 0
  105. close.Position = UDim2.new(0.933884323, 0, 0.0187500007, 0)
  106. close.Size = UDim2.new(0, 16, 0, 22)
  107. close.Font = Enum.Font.SourceSans
  108. close.Text = "X"
  109. close.TextColor3 = Color3.new(0, 0, 0)
  110. close.TextSize = 14
  111. close.MouseButton1Down:connect(function()
  112. maingui.Visible = false
  113. opengui.Visible = true
  114. end)
  115.  
  116. TextButton.Parent = maingui
  117. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  118. TextButton.BorderSizePixel = 2
  119. TextButton.Position = UDim2.new(0.0661156997, 0, 0.400000006, 0)
  120. TextButton.Size = UDim2.new(0, 210, 0, 44)
  121. TextButton.Font = Enum.Font.SourceSans
  122. TextButton.Text = "Speed 150"
  123. TextButton.TextColor3 = Color3.new(0, 0, 0)
  124. TextButton.TextScaled = true
  125. TextButton.TextSize = 14
  126. TextButton.TextWrapped = true
  127. TextButton.MouseButton1Down:connect(function()
  128. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 150
  129. end)
  130.  
  131. textbutton2.Name = "textbutton2"
  132. textbutton2.Parent = maingui
  133. textbutton2.BackgroundColor3 = Color3.new(1, 1, 1)
  134. textbutton2.BorderSizePixel = 2
  135. textbutton2.Position = UDim2.new(0.0661156997, 0, 0.646875024, 0)
  136. textbutton2.Size = UDim2.new(0, 210, 0, 50)
  137. textbutton2.Font = Enum.Font.SourceSans
  138. textbutton2.Text = "Btools"
  139. textbutton2.TextColor3 = Color3.new(0, 0, 0)
  140. textbutton2.TextScaled = true
  141. textbutton2.TextSize = 14
  142. textbutton2.TextWrapped = true
  143. textbutton2.MouseButton1Down:connect(function()
  144. local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  145. local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  146. local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  147. local tool4 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  148. local tool5 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  149. tool1.BinType = "Clone"
  150. tool2.BinType = "GameTool"
  151. tool3.BinType = "Hammer"
  152. tool4.BinType = "Script"
  153. tool5.BinType = "Grab"
  154. end)
  155.  
  156. opengui.Name = "opengui"
  157. opengui.Parent = ScreenGui
  158. opengui.BackgroundColor3 = Color3.new(1, 1, 1)
  159. opengui.Position = UDim2.new(-0.0186846033, 0, 0.622254789, 0)
  160. opengui.Size = UDim2.new(0, 125, 0, 25)
  161. opengui.Visible = false
  162.  
  163. open.Name = "open"
  164. open.Parent = opengui
  165. open.BackgroundColor3 = Color3.new(1, 1, 1)
  166. open.Position = UDim2.new(0.200000003, 0, -1.2207031e-06, 0)
  167. open.Size = UDim2.new(0, 100, 0, 25)
  168. open.Font = Enum.Font.SourceSans
  169. open.Text = "Open"
  170. open.TextColor3 = Color3.new(0, 0, 0)
  171. open.TextScaled = true
  172. open.TextSize = 14
  173. open.TextWrapped = true
  174. open.MouseButton1Down:connect(function()
  175. maingui.Visible = true
  176. opengui.Visible = false
  177. end)
  178.  
  179. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement