Advertisement
Guest User

redwood prison gui

a guest
Jun 30th, 2018
12,073
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 KB | None | 0 0
  1. RedwoodPrisonGUI = Instance.new("ScreenGui")
  2. main = Instance.new("Frame")
  3. topframe = Instance.new("Frame")
  4. name = Instance.new("TextLabel")
  5. creator = Instance.new("TextLabel")
  6. close = Instance.new("TextButton")
  7. arrest = Instance.new("TextButton")
  8. guns = Instance.new("TextButton")
  9. reload = Instance.new("TextButton")
  10. id = Instance.new("TextButton")
  11. open = Instance.new("TextButton")
  12.  
  13. RedwoodPrisonGUI.Name = "RedwoodPrisonGUI"
  14. RedwoodPrisonGUI.Parent = game.CoreGui
  15.  
  16. main.Name = "main"
  17. main.Parent = RedwoodPrisonGUI
  18. main.Active = true
  19. main.BackgroundColor3 = Color3.new(0.909804, 0.909804, 0.909804)
  20. main.BorderSizePixel = 0
  21. main.Position = UDim2.new(0.260399342, 0, 0.308864236, 0)
  22. main.Size = UDim2.new(0, 469, 0, 251)
  23. main.Draggable = true
  24. main.Visible = false
  25.  
  26. topframe.Name = "topframe"
  27. topframe.Parent = main
  28. topframe.BackgroundColor3 = Color3.new(1, 1, 1)
  29. topframe.BorderSizePixel = 0
  30. topframe.Size = UDim2.new(0, 469, 0, 44)
  31.  
  32. name.Name = "name"
  33. name.Parent = topframe
  34. name.BackgroundColor3 = Color3.new(1, 1, 1)
  35. name.BackgroundTransparency = 1
  36. name.BorderSizePixel = 0
  37. name.Position = UDim2.new(0.0533049032, 0, 0, 0)
  38. name.Size = UDim2.new(0, 219, 0, 44)
  39. name.Font = Enum.Font.SourceSansSemibold
  40. name.FontSize = Enum.FontSize.Size28
  41. name.Text = "Redwood Prison GUI"
  42. name.TextColor3 = Color3.new(0, 0, 0)
  43. name.TextSize = 25
  44.  
  45. creator.Name = "creator"
  46. creator.Parent = topframe
  47. creator.BackgroundColor3 = Color3.new(1, 1, 1)
  48. creator.BackgroundTransparency = 1
  49. creator.BorderSizePixel = 0
  50. creator.Position = UDim2.new(0.473347545, 0, 0, 0)
  51. creator.Size = UDim2.new(0, 219, 0, 44)
  52. creator.Font = Enum.Font.SourceSansSemibold
  53. creator.FontSize = Enum.FontSize.Size24
  54. creator.Text = "By pneappel#0821"
  55. creator.TextColor3 = Color3.new(0, 0, 0)
  56. creator.TextSize = 20
  57.  
  58. close.Name = "close"
  59. close.Parent = topframe
  60. close.BackgroundColor3 = Color3.new(1, 1, 1)
  61. close.BackgroundTransparency = 1
  62. close.BorderSizePixel = 0
  63. close.Position = UDim2.new(0.951277018, 0, -0.00377738476, 0)
  64. close.Size = UDim2.new(0, 23, 0, 29)
  65. close.Font = Enum.Font.SourceSansSemibold
  66. close.FontSize = Enum.FontSize.Size24
  67. close.Text = "X"
  68. close.TextColor3 = Color3.new(0, 0, 0)
  69. close.TextSize = 23
  70.  
  71. arrest.Name = "arrest"
  72. arrest.Parent = main
  73. arrest.BackgroundColor3 = Color3.new(1, 1, 1)
  74. arrest.BorderSizePixel = 0
  75. arrest.Position = UDim2.new(0.0533049032, 0, 0.223107576, 0)
  76. arrest.Size = UDim2.new(0, 168, 0, 35)
  77. arrest.Font = Enum.Font.SourceSans
  78. arrest.FontSize = Enum.FontSize.Size24
  79. arrest.Text = "Arrest All Fugitives"
  80. arrest.TextColor3 = Color3.new(0, 0, 0)
  81. arrest.TextSize = 20
  82.  
  83. guns.Name = "guns"
  84. guns.Parent = main
  85. guns.BackgroundColor3 = Color3.new(1, 1, 1)
  86. guns.BorderSizePixel = 0
  87. guns.Position = UDim2.new(0.582089543, 0, 0.223107576, 0)
  88. guns.Size = UDim2.new(0, 168, 0, 35)
  89. guns.Font = Enum.Font.SourceSans
  90. guns.FontSize = Enum.FontSize.Size24
  91. guns.Text = "Give All Guns"
  92. guns.TextColor3 = Color3.new(0, 0, 0)
  93. guns.TextSize = 20
  94.  
  95. reload.Name = "reload"
  96. reload.Parent = main
  97. reload.BackgroundColor3 = Color3.new(1, 1, 1)
  98. reload.BorderSizePixel = 0
  99. reload.Position = UDim2.new(0.0533049032, 0, 0.430278897, 0)
  100. reload.Size = UDim2.new(0, 168, 0, 35)
  101. reload.Font = Enum.Font.SourceSans
  102. reload.FontSize = Enum.FontSize.Size24
  103. reload.Text = "Reload Mag"
  104. reload.TextColor3 = Color3.new(0, 0, 0)
  105. reload.TextSize = 20
  106.  
  107. id.Name = "id"
  108. id.Parent = main
  109. id.BackgroundColor3 = Color3.new(1, 1, 1)
  110. id.BorderSizePixel = 0
  111. id.Position = UDim2.new(0.582089543, 0, 0.430278897, 0)
  112. id.Size = UDim2.new(0, 168, 0, 35)
  113. id.Font = Enum.Font.SourceSans
  114. id.FontSize = Enum.FontSize.Size24
  115. id.Text = "Give Fake ID"
  116. id.TextColor3 = Color3.new(0, 0, 0)
  117. id.TextSize = 20
  118.  
  119. open.Name = "open"
  120. open.Parent = RedwoodPrisonGUI
  121. open.Active = true
  122. open.BackgroundColor3 = Color3.new(1, 1, 1)
  123. open.BorderSizePixel = 0
  124. open.Position = UDim2.new(0, 0, 0.497229904, 0)
  125. open.Size = UDim2.new(0, 113, 0, 39)
  126. open.Font = Enum.Font.SourceSansSemibold
  127. open.FontSize = Enum.FontSize.Size28
  128. open.Text = "Open"
  129. open.TextColor3 = Color3.new(0, 0, 0)
  130. open.TextSize = 25
  131. open.Draggable = true
  132.  
  133. open.MouseButton1Click:connect(function()
  134. main.Visible = true
  135. open.Visible = false
  136. end)
  137.  
  138. close.MouseButton1Click:connect(function()
  139. main.Visible = false
  140. open.Visible = true
  141. end)
  142.  
  143. arrest.MouseButton1Click:connect(function()
  144. local Player = game.Players.LocalPlayer
  145. wait(0.5)
  146. for i,v in pairs(game.Teams.Fugitives:GetPlayers()) do
  147. repeat
  148. wait()
  149. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  150. until v.Team.Name ~= "Fugitives"
  151. end
  152. end)
  153.  
  154. reload.MouseButton1Click:connect(function()
  155. local player = game.Players.LocalPlayer.Character.Torso.Position
  156. local ammoCrate = workspace.ammoCrate
  157. ammoCrate.CanCollide = false
  158. ammoCrate.Transparency = 1
  159. ammoCrate:ClearAllChildren()
  160. ammoCrate.Position = player
  161. end)
  162.  
  163. guns.MouseButton1Click:connect(function()
  164. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M1014")
  165. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "SPAS-12")
  166. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Makrov")
  167. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Dragunov")
  168. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "ACR")
  169. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "L86A2")
  170. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M60")
  171. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Beretta M9")
  172. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "UMP-45")
  173. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "AK47-U")
  174. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Revolver")
  175. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M16")
  176. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "S&W 638")
  177. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M14")
  178. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "AK47")
  179. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M98B")
  180. end)
  181.  
  182. id.MouseButton1Click:connect(function()
  183. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Fake ID Card")
  184. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement