Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spera (1)
- - Jogador local
- local p = game.Players.LocalPlayer
- - objetos de instância
- gui local = Instance.new ('ScreenGui', p.PlayerGui)
- frame local = Instance.new ('ScrollingFrame', gui)
- local open = Instance.new ('TextButton', gui)
- nome local = Instance.new ('TextLabel', frame)
- parada local = Instance.new ('TextButton', frame)
- btools locais = Instance.new ('TextButton', frame)
- escape local = Instance.new ('TextButton', frame)
- saída local = Instance.new ('TextButton', frame)
- local killaura = Instance.new ('TextButton', frame)
- briga local = Instance.new ('TextButton', frame)
- removedoors locais = Instance.new ('TextButton', frame)
- ferramentas locais = Instance.new ('TextButton', frame)
- - objeto de nome
- gui.Name = "GUI da vida da prisão v2.0"
- frame.Name = "Comandos"
- open.Name = "Abrir"
- name.Name = "Nome"
- arrest.Name = "ArrestButton"
- btools.Name = "BtoolsButton"
- escape.Name = "EscapeButton"
- exit.Name = "ExitButton"
- killaura.Name = "KillauraButton"
- melee.Name = "MeleeButton"
- removedoors.Name = "RemoveDoorsButton"
- tools.Name = "ToolsButton"
- - Objeto Visível
- frame.Visible = true
- open.Visible = false
- name.Visible = true
- arrest.Visible = true
- btools.Visible = true
- escape.Visible = true
- exit.Visible = true
- killaura.Visible = true
- melee.Visible = true
- removedoors.Visible = true
- tools.Visible = true
- -- Cor de fundo
- frame.BackgroundColor3 = Color3.new (255,255,255)
- open.BackgroundColor3 = Color3.new (0,255,255)
- name.BackgroundColor3 = Color3.new (255,255,255)
- arrest.BackgroundColor3 = Color3.new (0,0,255)
- btools.BackgroundColor3 = Color3.new (0,0,255)
- escape.BackgroundColor3 = Color3.new (0,0,255)
- exit.BackgroundColor3 = Color3.new (255,0,0)
- killaura.BackgroundColor3 = Color3.new (0,0,255)
- melee.BackgroundColor3 = Color3.new (0,0,255)
- removedoors.BackgroundColor3 = Color3.new (0,0,255)
- tools.BackgroundColor3 = Color3.new (0,0,255)
- - Transparência de fundo
- frame.BackgroundTransparency = 0,5
- open.BackgroundTransparency = 0
- name.BackgroundTransparency = 0,6
- arrest.BackgroundTransparency = 0
- btools.BackgroundTransparency = 0
- escape.BackgroundTransparency = 0
- exit.BackgroundTransparency = 0
- killaura.BackgroundTransparency = 0
- melee.BackgroundTransparency = 0
- removedoors.BackgroundTransparency = 0
- tools.BackgroundTransparency = 0
- - tamanho dos objetos
- frame.Size = UDim2.new (0,250,0,300)
- open.Size = UDim2.new (0,80,0,30)
- name.Size = UDim2.new (0,180,0,40)
- arrest.Size = UDim2.new (0.9,12,0,30)
- btools.Size = UDim2.new (0.9,12,0,30)
- escape.Size = UDim2.new (0.9,12,0,30)
- exit.Size = UDim2.new (0,50,0,40)
- killaura.Size = UDim2.new (0.9,12,0,30)
- melee.Size = UDim2.new (0.9,12,0,30)
- removedoors.Size = UDim2.new (0.9,12,0,30)
- tools.Size = UDim2.new (0.9,12,0,30)
- - Posição dos Objetos
- frame.Position = UDim2.new (0,5,0,4,0)
- open.Position = UDim2.new (0,0,0,0)
- name.Position = UDim2.new (0,0,0,0)
- arrest.Position = UDim2.new (0,0,0,320)
- btools.Position = UDim2.new (0,0,0,185)
- escape.Position = UDim2.new (0,0,0,230)
- exit.Position = UDim2.new (0,184,0,0)
- killaura.Position = UDim2.new (0,0,0,275)
- melee.Position = UDim2.new (0,0,0,140)
- removedoors.Position = UDim2.new (0,0,0,50)
- tools.Position = UDim2.new (0,0,0,95)
- - Cor do texto dos objetos
- open.TextColor3 = Color3.new (0,0,0)
- name.TextColor3 = Color3.new (0,255,255)
- arrest.TextColor3 = Color3.new (0,0,0)
- btools.TextColor3 = Color3.new (0,0,0)
- escape.TextColor3 = Color3.new (0,0,0)
- exit.TextColor3 = Color3.new (0,0,0)
- killaura.TextColor3 = Color3.new (0,0,0)
- melee.TextColor3 = Color3.new (0,0,0)
- removedoors.TextColor3 = Color3.new (0,0,0)
- tools.TextColor3 = Color3.new (0,0,0)
- - Fonte do objeto
- name.Font = 'Fantasia'
- - texto do objeto
- open.Text = 'Open'
- name.Text = 'Prison Life v2.0 Commands'
- arrest.Text = 'Detenção [apenas policiais]'
- btools.Text = 'Dê Btools'
- escape.Text = 'Escapar da Prisão'
- exit.Text = 'Sair'
- killaura.Text = 'Matar Aura [Perigo]'
- melee.Text = 'Dar corpo a corpo'
- removedoors.Text = 'Remover Portas'
- tools.Text = 'Dar armas'
- - Texto de objeto dimensionado
- open.TextScaled = true
- name.TextScaled = true
- arrest.TextScaled = true
- btools.TextScaled = true
- escape.TextScaled = true
- exit.TextScaled = true
- killaura.TextScaled = true
- melee.TextScaled = true
- removedoors.TextScaled = true
- tools.TextScaled = true
- - quadro móvel
- frame.Active = true
- frame.Draggable = true
- - Função Aberta
- open.MouseButton1Down: connect (function ()
- frame.Visible = true
- frame: TweenPosition (UDim2.new (0,5,0,4,0), "Out", "Bounce", 1, true)
- open.Visible = false
- open.Position = UDim2.new (0,0,0,0)
- fim)
- - Fechar / Sair da Função
- exit.MouseButton1Down: connect (função ()
- frame: TweenPosition (UDim2.new (0,1, -400,0,4,0), "Out", "Quad", 1, verdadeiro)
- espera (1)
- frame.Visible = false
- espera (0,1)
- open.Visible = true
- open: TweenPosition (UDim2.new (0,2,0,8,15), "Out", "Bounce", 1, true)
- fim)
- - Remover a função de portas
- removedoors.MouseButton1Down: connect (function ()
- game.Workspace.Doors: Destroy ()
- dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
- hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: COP COM SUCESSO REMOVIDO"
- hint.Name = game.JobId
- espera (3)
- sugestão: Destrua ()
- fim)
- - Função de Armas
- tools.MouseButton1Down: connect (função ()
- armas locais = {"Remington 870", "M9", "AK-47", "M4A1", "Riot Shield"}
- para i, v em pares (game.Workspace ["Prison_ITEMS"]. doador: GetChildren ()) do
- para j, k em pares (armas)
- se v.Name == k então
- v: MoveTo (game.Players.LocalPlayer.Character.Torso.Position)
- fim
- fim
- fim
- dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
- hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: ENVIADOS COM SUCESSO PARA O LOCALPLAYER"
- hint.Name = game.JobId
- espera (3)
- sugestão: Destrua ()
- fim)
- - Função corpo a corpo
- melee.MouseButton1Down: connect (function ()
- armas locais = {"Faca Crua", "Bastão Afiado", "Espelho Extendo"}
- para i, v em pares (game.ReplicatedStorage.Tools:GetChildren ()) do
- para j, k em pares (armas)
- se v.Name == k então
- v: Clone (). Pai = game.Players.LocalPlayer.Backpack
- fim
- fim
- fim
- dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
- hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: ENVIANDO COM SUCESSO FERRAMENTAS DE MELEE PARA O LOCALPLAYER"
- hint.Name = game.JobId
- espera (3)
- sugestão: Destrua ()
- fim)
- - Função Btools
- btools.MouseButton1Down: connect (function ()
- Instance.new ('HopperBin', game.Players.LocalPlayer.Backpack) .BinType = 2
- Instance.new ('HopperBin', game.Players.LocalPlayer.Backpack) .BinType = 3
- Instance.new ('HopperBin', game.Players.LocalPlayer.Backpack) .BinType = 4
- loadstring (jogo: GetObjects ('rbxassetid: // 552440069') [1] .Source) ()
- fim)
- - Função de escape
- escape.MouseButton1Down: connect (função ()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new (283, 72, 2213)
- dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
- hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: LOCALPLAYER COM SUCESSO ESCAPADO"
- hint.Name = game.JobId
- espera (3)
- sugestão: Destrua ()
- fim)
- - Matar a função Aura
- killaura.MouseButton1Down: connect (function ()
- enquanto espera (0.1)
- para i, plr em pares (game.Players: GetChildren ()) do
- if plr.Name ~ = game.Players.LocalPlayer.Name então
- para i = 1, 10 do
- game.ReplicatedStorage.meleeEvent: FireServer (plr)
- fim
- fim
- fim
- fim
- fim)
- - Função de detenção
- mouse local = game.Players.LocalPlayer: GetMouse ()
- arrestEvent local = game.Workspace.Remote.arrest
- mouse.Button1Down: connect (função ()
- obj local = mouse.Target
- resposta local = arrestEvent: InvokeServer (obj)
- fim)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement