Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- username: jon password: haha
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local LoginGui = Instance.new("Frame")
- local LoginButton = Instance.new("TextButton")
- local Password = Instance.new("TextBox")
- local Username = Instance.new("TextBox")
- local Welcome = Instance.new("TextLabel")
- local MainGui = Instance.new("Frame")
- local AllPrisonLifeGuns = Instance.new("TextButton")
- local AllPrisonLifeGuns_2 = Instance.new("TextButton")
- local Open = Instance.new("Frame")
- local Open_2 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- LoginGui.Name = "LoginGui"
- LoginGui.Parent = ScreenGui
- LoginGui.BackgroundColor3 = Color3.new(0, 0.784314, 1)
- LoginGui.BorderSizePixel = 4
- LoginGui.Position = UDim2.new(0.330909044, 0, 0.111793585, 0)
- LoginGui.Size = UDim2.new(0, 288, 0, 386)
- LoginGui.Active = true
- LoginGui.Draggable = true
- LoginButton.Name = "LoginButton"
- LoginButton.Parent = LoginGui
- LoginButton.BackgroundColor3 = Color3.new(0, 0.784314, 1)
- LoginButton.BorderColor3 = Color3.new(0, 0, 0)
- LoginButton.BorderSizePixel = 2
- LoginButton.Position = UDim2.new(0.051818192, 0, 0.733046055, 0)
- LoginButton.Size = UDim2.new(0, 258, 0, 95)
- LoginButton.Font = Enum.Font.SourceSans
- LoginButton.Text = "Log In"
- LoginButton.TextColor3 = Color3.new(0, 0, 0)
- LoginButton.TextSize = 50
- LoginButton.MouseButton1Down:connect(function()
- if Username.Text=="jon" and Password.Text=="haha" then
- LoginGui.Visible = false
- Open.Visible = true
- end
- end)
- Password.Name = "Password"
- Password.Parent = LoginGui
- Password.BackgroundColor3 = Color3.new(0, 0.784314, 1)
- Password.BorderSizePixel = 2
- Password.Position = UDim2.new(0.000454485416, 0, 0.391993731, 0)
- Password.Size = UDim2.new(0, 288, 0, 70)
- Password.Font = Enum.Font.SourceSans
- Password.Text = "Password"
- Password.TextColor3 = Color3.new(0, 0, 0)
- Password.TextSize = 30
- Username.Name = "Username"
- Username.Parent = LoginGui
- Username.BackgroundColor3 = Color3.new(0, 0.784314, 1)
- Username.BorderSizePixel = 2
- Username.Position = UDim2.new(0.000454485416, 0, 0.214790389, 0)
- Username.Size = UDim2.new(0, 288, 0, 30)
- Username.Font = Enum.Font.SourceSans
- Username.Text = "Username"
- Username.TextColor3 = Color3.new(0, 0, 0)
- Username.TextSize = 30
- Welcome.Name = "Welcome"
- Welcome.Parent = LoginGui
- Welcome.BackgroundColor3 = Color3.new(0, 0.784314, 1)
- Welcome.Position = UDim2.new(0.152121186, 0, 0.0271988809, 0)
- Welcome.Size = UDim2.new(0, 200, 0, 29)
- Welcome.Font = Enum.Font.SourceSans
- Welcome.Text = "Welcome"
- Welcome.TextColor3 = Color3.new(0, 0, 0)
- Welcome.TextSize = 25
- MainGui.Name = "MainGui"
- MainGui.Parent = ScreenGui
- MainGui.BackgroundColor3 = Color3.new(1, 1, 1)
- MainGui.Position = UDim2.new(0.290909082, 0, 0.157248169, 0)
- MainGui.Size = UDim2.new(0, 386, 0, 278)
- MainGui.Visible = false
- MainGui.Active = true
- MainGui.Draggable = true
- AllPrisonLifeGuns.Name = "AllPrisonLifeGuns"
- AllPrisonLifeGuns.Parent = MainGui
- AllPrisonLifeGuns.BackgroundColor3 = Color3.new(1, 1, 1)
- AllPrisonLifeGuns.BorderSizePixel = 2
- AllPrisonLifeGuns.Position = UDim2.new(0.398963749, 0, 0.773381293, 0)
- AllPrisonLifeGuns.Size = UDim2.new(0, 200, 0, 50)
- AllPrisonLifeGuns.Font = Enum.Font.SourceSans
- AllPrisonLifeGuns.Text = "All guns for prison life"
- AllPrisonLifeGuns.TextColor3 = Color3.new(0, 0, 0)
- AllPrisonLifeGuns.TextSize = 20
- AllPrisonLifeGuns.MouseButton1Down:connect(function()
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- print(lol)
- end
- end)
- AllPrisonLifeGuns_2.Name = "AllPrisonLifeGuns"
- AllPrisonLifeGuns_2.Parent = MainGui
- AllPrisonLifeGuns_2.BackgroundColor3 = Color3.new(1, 1, 1)
- AllPrisonLifeGuns_2.BorderSizePixel = 0
- AllPrisonLifeGuns_2.Position = UDim2.new(0.94559586, 0, 0, 0)
- AllPrisonLifeGuns_2.Size = UDim2.new(0, 21, 0, 29)
- AllPrisonLifeGuns_2.Font = Enum.Font.SourceSans
- AllPrisonLifeGuns_2.Text = "X"
- AllPrisonLifeGuns_2.TextColor3 = Color3.new(0, 0, 0)
- AllPrisonLifeGuns_2.TextSize = 20
- AllPrisonLifeGuns_2.MouseButton1Down:connect(function()
- MainGui.Visible = false
- Open.Visible = true
- end)
- Open.Name = "Open"
- Open.Parent = ScreenGui
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.Position = UDim2.new(0, 0, 0.498771489, 0)
- Open.Size = UDim2.new(0, 96, 0, 37)
- Open.Visible = false
- Open_2.Name = "Open"
- Open_2.Parent = Open
- Open_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Open_2.Size = UDim2.new(0, 96, 0, 37)
- Open_2.Font = Enum.Font.SourceSans
- Open_2.Text = "Open"
- Open_2.TextColor3 = Color3.new(0, 0, 0)
- Open_2.TextSize = 40
- Open_2.MouseButton1Down:connect(function()
- MainGui.Visible = true
- Open.Visible = false
- end)
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement