Advertisement
McbielNinja

McbielNinja

Apr 19th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 7.78 KB | None | 0 0
  1. spera (1)
  2.  
  3. - Jogador local
  4. local p = game.Players.LocalPlayer
  5.  
  6. - objetos de instância
  7. gui local = Instance.new ('ScreenGui', p.PlayerGui)
  8. frame local = Instance.new ('ScrollingFrame', gui)
  9. local open = Instance.new ('TextButton', gui)
  10. nome local = Instance.new ('TextLabel', frame)
  11. parada local = Instance.new ('TextButton', frame)
  12. btools locais = Instance.new ('TextButton', frame)
  13. escape local = Instance.new ('TextButton', frame)
  14. saída local = Instance.new ('TextButton', frame)
  15. local killaura = Instance.new ('TextButton', frame)
  16. briga local = Instance.new ('TextButton', frame)
  17. removedoors locais = Instance.new ('TextButton', frame)
  18. ferramentas locais = Instance.new ('TextButton', frame)
  19.  
  20. - objeto de nome
  21. gui.Name = "GUI da vida da prisão v2.0"
  22. frame.Name = "Comandos"
  23. open.Name = "Abrir"
  24. name.Name = "Nome"
  25. arrest.Name = "ArrestButton"
  26. btools.Name = "BtoolsButton"
  27. escape.Name = "EscapeButton"
  28. exit.Name = "ExitButton"
  29. killaura.Name = "KillauraButton"
  30. melee.Name = "MeleeButton"
  31. removedoors.Name = "RemoveDoorsButton"
  32. tools.Name = "ToolsButton"
  33.  
  34. - Objeto Visível
  35. frame.Visible = true
  36. open.Visible = false
  37. name.Visible = true
  38. arrest.Visible = true
  39. btools.Visible = true
  40. escape.Visible = true
  41. exit.Visible = true
  42. killaura.Visible = true
  43. melee.Visible = true
  44. removedoors.Visible = true
  45. tools.Visible = true
  46.  
  47. -- Cor de fundo
  48. frame.BackgroundColor3 = Color3.new (255,255,255)
  49. open.BackgroundColor3 = Color3.new (0,255,255)
  50. name.BackgroundColor3 = Color3.new (255,255,255)
  51. arrest.BackgroundColor3 = Color3.new (0,0,255)
  52. btools.BackgroundColor3 = Color3.new (0,0,255)
  53. escape.BackgroundColor3 = Color3.new (0,0,255)
  54. exit.BackgroundColor3 = Color3.new (255,0,0)
  55. killaura.BackgroundColor3 = Color3.new (0,0,255)
  56. melee.BackgroundColor3 = Color3.new (0,0,255)
  57. removedoors.BackgroundColor3 = Color3.new (0,0,255)
  58. tools.BackgroundColor3 = Color3.new (0,0,255)
  59.  
  60. - Transparência de fundo
  61. frame.BackgroundTransparency = 0,5
  62. open.BackgroundTransparency = 0
  63. name.BackgroundTransparency = 0,6
  64. arrest.BackgroundTransparency = 0
  65. btools.BackgroundTransparency = 0
  66. escape.BackgroundTransparency = 0
  67. exit.BackgroundTransparency = 0
  68. killaura.BackgroundTransparency = 0
  69. melee.BackgroundTransparency = 0
  70. removedoors.BackgroundTransparency = 0
  71. tools.BackgroundTransparency = 0
  72.  
  73. - tamanho dos objetos
  74. frame.Size = UDim2.new (0,250,0,300)
  75. open.Size = UDim2.new (0,80,0,30)
  76. name.Size = UDim2.new (0,180,0,40)
  77. arrest.Size = UDim2.new (0.9,12,0,30)
  78. btools.Size = UDim2.new (0.9,12,0,30)
  79. escape.Size = UDim2.new (0.9,12,0,30)
  80. exit.Size = UDim2.new (0,50,0,40)
  81. killaura.Size = UDim2.new (0.9,12,0,30)
  82. melee.Size = UDim2.new (0.9,12,0,30)
  83. removedoors.Size = UDim2.new (0.9,12,0,30)
  84. tools.Size = UDim2.new (0.9,12,0,30)
  85.  
  86. - Posição dos Objetos
  87. frame.Position = UDim2.new (0,5,0,4,0)
  88. open.Position = UDim2.new (0,0,0,0)
  89. name.Position = UDim2.new (0,0,0,0)
  90. arrest.Position = UDim2.new (0,0,0,320)
  91. btools.Position = UDim2.new (0,0,0,185)
  92. escape.Position = UDim2.new (0,0,0,230)
  93. exit.Position = UDim2.new (0,184,0,0)
  94. killaura.Position = UDim2.new (0,0,0,275)
  95. melee.Position = UDim2.new (0,0,0,140)
  96. removedoors.Position = UDim2.new (0,0,0,50)
  97. tools.Position = UDim2.new (0,0,0,95)
  98.  
  99. - Cor do texto dos objetos
  100. open.TextColor3 = Color3.new (0,0,0)
  101. name.TextColor3 = Color3.new (0,255,255)
  102. arrest.TextColor3 = Color3.new (0,0,0)
  103. btools.TextColor3 = Color3.new (0,0,0)
  104. escape.TextColor3 = Color3.new (0,0,0)
  105. exit.TextColor3 = Color3.new (0,0,0)
  106. killaura.TextColor3 = Color3.new (0,0,0)
  107. melee.TextColor3 = Color3.new (0,0,0)
  108. removedoors.TextColor3 = Color3.new (0,0,0)
  109. tools.TextColor3 = Color3.new (0,0,0)
  110.  
  111. - Fonte do objeto
  112. name.Font = 'Fantasia'
  113.  
  114. - texto do objeto
  115. open.Text = 'Open'
  116. name.Text = 'Prison Life v2.0 Commands'
  117. arrest.Text = 'Detenção [apenas policiais]'
  118. btools.Text = 'Dê Btools'
  119. escape.Text = 'Escapar da Prisão'
  120. exit.Text = 'Sair'
  121. killaura.Text = 'Matar Aura [Perigo]'
  122. melee.Text = 'Dar corpo a corpo'
  123. removedoors.Text = 'Remover Portas'
  124. tools.Text = 'Dar armas'
  125.  
  126. - Texto de objeto dimensionado
  127. open.TextScaled = true
  128. name.TextScaled = true
  129. arrest.TextScaled = true
  130. btools.TextScaled = true
  131. escape.TextScaled = true
  132. exit.TextScaled = true
  133. killaura.TextScaled = true
  134. melee.TextScaled = true
  135. removedoors.TextScaled = true
  136. tools.TextScaled = true
  137.  
  138. - quadro móvel
  139. frame.Active = true
  140. frame.Draggable = true
  141.  
  142. - Função Aberta
  143. open.MouseButton1Down: connect (function ()
  144. frame.Visible = true
  145. frame: TweenPosition (UDim2.new (0,5,0,4,0), "Out", "Bounce", 1, true)
  146. open.Visible = false
  147. open.Position = UDim2.new (0,0,0,0)
  148. fim)
  149.  
  150. - Fechar / Sair da Função
  151. exit.MouseButton1Down: connect (função ()
  152. frame: TweenPosition (UDim2.new (0,1, -400,0,4,0), "Out", "Quad", 1, verdadeiro)
  153.    espera (1)
  154. frame.Visible = false
  155.    espera (0,1)
  156.    open.Visible = true
  157.    open: TweenPosition (UDim2.new (0,2,0,8,15), "Out", "Bounce", 1, true)
  158. fim)
  159.  
  160. - Remover a função de portas
  161. removedoors.MouseButton1Down: connect (function ()
  162. game.Workspace.Doors: Destroy ()
  163.    dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
  164.    hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: COP COM SUCESSO REMOVIDO"
  165.    hint.Name = game.JobId
  166.    espera (3)
  167.    sugestão: Destrua ()
  168. fim)
  169.  
  170. - Função de Armas
  171. tools.MouseButton1Down: connect (função ()
  172. armas locais = {"Remington 870", "M9", "AK-47", "M4A1", "Riot Shield"}
  173.    para i, v em pares (game.Workspace ["Prison_ITEMS"]. doador: GetChildren ()) do
  174.    para j, k em pares (armas)
  175.    se v.Name == k então
  176.    v: MoveTo (game.Players.LocalPlayer.Character.Torso.Position)
  177.    fim
  178.    fim
  179.    fim
  180.    dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
  181.    hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: ENVIADOS COM SUCESSO PARA O LOCALPLAYER"
  182.    hint.Name = game.JobId
  183.    espera (3)
  184.    sugestão: Destrua ()
  185. fim)
  186.  
  187. - Função corpo a corpo
  188. melee.MouseButton1Down: connect (function ()
  189. armas locais = {"Faca Crua", "Bastão Afiado", "Espelho Extendo"}
  190.    para i, v em pares (game.ReplicatedStorage.Tools:GetChildren ()) do
  191.    para j, k em pares (armas)
  192.    se v.Name == k então
  193.    v: Clone (). Pai = game.Players.LocalPlayer.Backpack
  194.    fim
  195.    fim
  196.    fim
  197.    dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
  198.    hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: ENVIANDO COM SUCESSO FERRAMENTAS DE MELEE PARA O LOCALPLAYER"
  199.    hint.Name = game.JobId
  200.    espera (3)
  201.    sugestão: Destrua ()
  202. fim)
  203.  
  204. - Função Btools
  205. btools.MouseButton1Down: connect (function ()
  206.    Instance.new ('HopperBin', game.Players.LocalPlayer.Backpack) .BinType = 2
  207.    Instance.new ('HopperBin', game.Players.LocalPlayer.Backpack) .BinType = 3
  208.    Instance.new ('HopperBin', game.Players.LocalPlayer.Backpack) .BinType = 4
  209.    loadstring (jogo: GetObjects ('rbxassetid: // 552440069') [1] .Source) ()
  210. fim)
  211.  
  212. - Função de escape
  213. escape.MouseButton1Down: connect (função ()
  214. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new (283, 72, 2213)
  215.    dica local = Instance.new ("Dica", game.Players.LocalPlayer.PlayerGui)
  216.    hint.Text = "[COMANDOS DE VIDA DA PRISÃO DE Unique]: LOCALPLAYER COM SUCESSO ESCAPADO"
  217.    hint.Name = game.JobId
  218.    espera (3)
  219.    sugestão: Destrua ()
  220. fim)
  221.  
  222. - Matar a função Aura
  223. killaura.MouseButton1Down: connect (function ()
  224. enquanto espera (0.1)
  225.    para i, plr em pares (game.Players: GetChildren ()) do
  226.    if plr.Name ~ = game.Players.LocalPlayer.Name então
  227.    para i = 1, 10 do
  228.    game.ReplicatedStorage.meleeEvent: FireServer (plr)
  229.    fim
  230.    fim
  231.    fim
  232.    fim
  233. fim)
  234.  
  235. - Função de detenção
  236.     mouse local = game.Players.LocalPlayer: GetMouse ()
  237.     arrestEvent local = game.Workspace.Remote.arrest
  238.     mouse.Button1Down: connect (função ()
  239.     obj local = mouse.Target
  240.     resposta local = arrestEvent: InvokeServer (obj)
  241.     fim)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement