Advertisement
retpee

Prison Life Gui (Guns+Items+Teams)

Jul 21st, 2021 (edited)
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.62 KB | None | 0 0
  1. --Short version of this script: loadstring(game:HttpGet("https://pastebin.com/raw/zaCDAEsh", true))()
  2.  
  3. -- Instances:
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Gui = Instance.new("Frame")
  7. local Name = Instance.new("TextLabel")
  8. local Guns = Instance.new("TextLabel")
  9. local Items = Instance.new("TextLabel")
  10. local Teams = Instance.new("TextLabel")
  11. local Remington870 = Instance.new("TextButton")
  12. local Ak47 = Instance.new("TextButton")
  13. local M9 = Instance.new("TextButton")
  14. local M4A1 = Instance.new("TextButton")
  15. local Keycard = Instance.new("TextButton")
  16. local Name_2 = Instance.new("TextLabel")
  17. local Hammer = Instance.new("TextButton")
  18. local Knife = Instance.new("TextButton")
  19. local Sword = Instance.new("TextButton")
  20. local Inmate = Instance.new("TextButton")
  21. local Guards = Instance.new("TextButton")
  22. local Neutral = Instance.new("TextButton")
  23. local Criminals = Instance.new("TextButton")
  24.  
  25. --Properties:
  26.  
  27. ScreenGui.Parent = game.CoreGui
  28.  
  29. Gui.Name = "Gui"
  30. Gui.Parent = ScreenGui
  31. Gui.Active = true
  32. Gui.BackgroundColor3 = Color3.fromRGB(229, 128, 27)
  33. Gui.BorderColor3 = Color3.fromRGB(0, 0, 0)
  34. Gui.Position = UDim2.new(0.00671129487, 0, 0.0234833807, 0)
  35. Gui.Size = UDim2.new(0, 442, 0, 345)
  36. Gui.Draggable = true
  37.  
  38. Name.Name = "Name"
  39. Name.Parent = Gui
  40. Name.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  41. Name.Position = UDim2.new(0.215467572, 0, -0.00299897138, 0)
  42. Name.Size = UDim2.new(0, 255, 0, 42)
  43. Name.Font = Enum.Font.TitilliumWeb
  44. Name.Text = "Prision Life"
  45. Name.TextColor3 = Color3.fromRGB(0, 0, 0)
  46. Name.TextSize = 20.000
  47.  
  48. Guns.Name = "Guns"
  49. Guns.Parent = Gui
  50. Guns.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  51. Guns.Position = UDim2.new(0.0285067875, 0, 0.280724227, 0)
  52. Guns.Size = UDim2.new(0, 99, 0, 25)
  53. Guns.Font = Enum.Font.TitilliumWeb
  54. Guns.Text = "Guns"
  55. Guns.TextColor3 = Color3.fromRGB(0, 0, 0)
  56. Guns.TextSize = 17.000
  57.  
  58. Items.Name = "Items"
  59. Items.Parent = Gui
  60. Items.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  61. Items.Position = UDim2.new(0.393154263, 0, 0.282634705, 0)
  62. Items.Size = UDim2.new(0, 99, 0, 25)
  63. Items.Font = Enum.Font.TitilliumWeb
  64. Items.Text = " Items"
  65. Items.TextColor3 = Color3.fromRGB(0, 0, 0)
  66. Items.TextSize = 17.000
  67.  
  68. Teams.Name = "Teams"
  69. Teams.Parent = Gui
  70. Teams.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  71. Teams.Position = UDim2.new(0.745374799, 0, 0.283622772, 0)
  72. Teams.Size = UDim2.new(0, 99, 0, 25)
  73. Teams.Font = Enum.Font.TitilliumWeb
  74. Teams.Text = "Change Teams"
  75. Teams.TextColor3 = Color3.fromRGB(0, 0, 0)
  76. Teams.TextSize = 17.000
  77.  
  78. Remington870.Name = "Remington 870"
  79. Remington870.Parent = Gui
  80. Remington870.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  81. Remington870.Position = UDim2.new(0.0028818443, 0, 0.445075065, 0)
  82. Remington870.Size = UDim2.new(0, 122, 0, 26)
  83. Remington870.Font = Enum.Font.TitilliumWeb
  84. Remington870.Text = "Remington 870"
  85. Remington870.TextColor3 = Color3.fromRGB(0, 0, 0)
  86. Remington870.TextSize = 15.000
  87. Remington870.MouseButton1Down:connect(function()
  88.     local args = {
  89.         [1] = workspace.Prison_ITEMS.giver:FindFirstChild("Remington 870").ITEMPICKUP
  90.     }
  91.  
  92.     workspace.Remote.ItemHandler:InvokeServer(unpack(args))
  93. end)
  94.  
  95. Ak47.Name = "Ak-47"
  96. Ak47.Parent = Gui
  97. Ak47.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  98. Ak47.Position = UDim2.new(0.0028818443, 0, 0.59493196, 0)
  99. Ak47.Size = UDim2.new(0, 122, 0, 26)
  100. Ak47.Font = Enum.Font.TitilliumWeb
  101. Ak47.Text = "Ak-47"
  102. Ak47.TextColor3 = Color3.fromRGB(0, 0, 0)
  103. Ak47.TextSize = 15.000
  104. Ak47.MouseButton1Down:connect(function()
  105.     local args = {
  106.         [1] = workspace.Prison_ITEMS.giver:FindFirstChild("AK-47").ITEMPICKUP
  107.     }
  108.  
  109.     workspace.Remote.ItemHandler:InvokeServer(unpack(args))
  110. end)
  111.  
  112. M9.Name = "M9"
  113. M9.Parent = Gui
  114. M9.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  115. M9.Position = UDim2.new(0.0028818443, 0, 0.734550834, 0)
  116. M9.Size = UDim2.new(0, 122, 0, 26)
  117. M9.Font = Enum.Font.TitilliumWeb
  118. M9.Text = "M9"
  119. M9.TextColor3 = Color3.fromRGB(0, 0, 0)
  120. M9.TextSize = 15.000
  121. M9.MouseButton1Down:connect(function()
  122.     local args = {
  123.         [1] = workspace.Prison_ITEMS.giver:FindFirstChild("M9").ITEMPICKUP
  124.     }
  125.  
  126.     workspace.Remote.ItemHandler:InvokeServer(unpack(args))
  127. end)
  128.  
  129. M4A1.Name = "M4A1"
  130. M4A1.Parent = Gui
  131. M4A1.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  132. M4A1.Position = UDim2.new(0.0028818443, 0, 0.861330926, 0)
  133. M4A1.Size = UDim2.new(0, 122, 0, 26)
  134. M4A1.Font = Enum.Font.TitilliumWeb
  135. M4A1.Text = "M4A1 (Gamepass Needed)"
  136. M4A1.TextColor3 = Color3.fromRGB(0, 0, 0)
  137. M4A1.TextSize = 15.000
  138. M4A1.MouseButton1Down:connect(function()
  139.     local args = {
  140.         [1] = workspace.Prison_ITEMS.giver:FindFirstChild("M4A1").ITEMPICKUP
  141.     }
  142.  
  143.     workspace.Remote.ItemHandler:InvokeServer(unpack(args))
  144. end)
  145.  
  146. Keycard.Name = "Keycard"
  147. Keycard.Parent = Gui
  148. Keycard.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  149. Keycard.Position = UDim2.new(0.35929212, 0, 0.445075065, 0)
  150. Keycard.Size = UDim2.new(0, 122, 0, 26)
  151. Keycard.Font = Enum.Font.TitilliumWeb
  152. Keycard.Text = "Auto-pickup Keycard"
  153. Keycard.TextColor3 = Color3.fromRGB(0, 0, 0)
  154. Keycard.TextSize = 15.000
  155. Keycard.MouseButton1Down:connect(function()
  156.     local args = {
  157.         [1] = workspace.Prison_ITEMS.single:FindFirstChild("Key card").ITEMPICKUP
  158.     }
  159.  
  160.     workspace.Remote.ItemHandler:InvokeServer(unpack(args))
  161. end)
  162.  
  163. Name_2.Name = "Name"
  164. Name_2.Parent = Gui
  165. Name_2.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  166. Name_2.Position = UDim2.new(0.335443735, 0, 0.148285374, 0)
  167. Name_2.Size = UDim2.new(0, 142, 0, 22)
  168. Name_2.Font = Enum.Font.TitilliumWeb
  169. Name_2.Text = "Have fun!"
  170. Name_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  171. Name_2.TextSize = 20.000
  172.  
  173. Hammer.Name = "Hammer"
  174. Hammer.Parent = Gui
  175. Hammer.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  176. Hammer.Position = UDim2.new(0.35929212, 0, 0.591254473, 0)
  177. Hammer.Size = UDim2.new(0, 122, 0, 26)
  178. Hammer.Font = Enum.Font.TitilliumWeb
  179. Hammer.Text = "Hammer"
  180. Hammer.TextColor3 = Color3.fromRGB(0, 0, 0)
  181. Hammer.TextSize = 15.000
  182. Hammer.MouseButton1Down:connect(function()
  183.     local args = {
  184.         [1] = workspace.Prison_ITEMS.single:FindFirstChild("Hammer").ITEMPICKUP
  185.     }
  186.  
  187.     workspace.Remote.ItemHandler:InvokeServer(unpack(args))
  188.  
  189. end)
  190.  
  191. Knife.Name = "Knife"
  192. Knife.Parent = Gui
  193. Knife.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  194. Knife.Position = UDim2.new(0.35929212, 0, 0.730789363, 0)
  195. Knife.Size = UDim2.new(0, 122, 0, 26)
  196. Knife.Font = Enum.Font.TitilliumWeb
  197. Knife.Text = "Crude Knife"
  198. Knife.TextColor3 = Color3.fromRGB(0, 0, 0)
  199. Knife.TextSize = 15.000
  200. Knife.MouseButton1Down:connect(function()
  201. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.single["Crude Knife"].ITEMPICKUP)
  202. end)
  203.  
  204. Sword.Name = "Sword"
  205. Sword.Parent = Gui
  206. Sword.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  207. Sword.Position = UDim2.new(0.35929212, 0, 0.860357463, 0)
  208. Sword.Size = UDim2.new(0, 122, 0, 26)
  209. Sword.Font = Enum.Font.TitilliumWeb
  210. Sword.Text = "Sword"
  211. Sword.TextColor3 = Color3.fromRGB(0, 0, 0)
  212. Sword.TextSize = 15.000
  213. Sword.MouseButton1Down:connect(function()
  214.     local plr=game.Players.LocalPlayer;local tool=Instance.new("Tool",plr.Backpack)tool.GripPos=Vector3.new(0.1,-1,0)tool.Name="Sword"local k=Instance.new("Part",tool)k.Name="Handle"k.Size=Vector3.new(0.4,4,0.4)local l=Instance.new("Animation",tool)l.AnimationId="rbxassetid://218504594"local m=plr.Character.Humanoid:LoadAnimation(l)db=true;da=false;tool.Equipped:connect(function()tool.Activated:connect(function()if db==true then db=false;m:Play()wait()da=true;db=true;wait(0.1)da=false end end)end)k.Touched:connect(function(n)if da==true then local o=n.Parent.Humanoid;if o~=nil then local p=game.Players:FindFirstChild(n.Parent.Name)for j=1,10 do if p.Name~="FunnyVideo15"then game.ReplicatedStorage.meleeEvent:FireServer(p)end end end end end)
  215. end)
  216.  
  217. Inmate.Name = "Inmate"
  218. Inmate.Parent = Gui
  219. Inmate.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  220. Inmate.Position = UDim2.new(0.710624814, 0, 0.445075065, 0)
  221. Inmate.Size = UDim2.new(0, 122, 0, 26)
  222. Inmate.Font = Enum.Font.TitilliumWeb
  223. Inmate.Text = "Inmate"
  224. Inmate.TextColor3 = Color3.fromRGB(0, 0, 0)
  225. Inmate.TextSize = 15.000
  226. Inmate.MouseButton1Down:connect(function()
  227.     local args = {
  228.         [1] = "Bright orange"
  229.     }
  230.  
  231.     workspace.Remote.TeamEvent:FireServer(unpack(args))
  232.  
  233. end)
  234.  
  235. Guards.Name = "Guards"
  236. Guards.Parent = Gui
  237. Guards.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  238. Guards.Position = UDim2.new(0.710944593, 0, 0.58892858, 0)
  239. Guards.Size = UDim2.new(0, 122, 0, 26)
  240. Guards.Font = Enum.Font.TitilliumWeb
  241. Guards.Text = "Guards"
  242. Guards.TextColor3 = Color3.fromRGB(0, 0, 0)
  243. Guards.TextSize = 15.000
  244. Guards.MouseButton1Down:connect(function()
  245. workspace.Remote.TeamEvent:FireServer("Bright blue")
  246. end)
  247.  
  248.  
  249. Neutral.Name = "Neutral"
  250. Neutral.Parent = Gui
  251. Neutral.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  252. Neutral.Position = UDim2.new(0.712233365, 0, 0.730789363, 0)
  253. Neutral.Size = UDim2.new(0, 122, 0, 26)
  254. Neutral.Font = Enum.Font.TitilliumWeb
  255. Neutral.Text = "Neutral"
  256. Neutral.TextColor3 = Color3.fromRGB(0, 0, 0)
  257. Neutral.TextSize = 15.000
  258. Neutral.MouseButton1Down:connect(function()
  259.     local args = {
  260.         [1] = "Medium stone grey"
  261.     }
  262.  
  263.     workspace.Remote.TeamEvent:FireServer(unpack(args))
  264.  
  265. end)
  266.  
  267. Criminals.Name = "Criminals"
  268. Criminals.Parent = Gui
  269. Criminals.BackgroundColor3 = Color3.fromRGB(15, 53, 78)
  270. Criminals.Position = UDim2.new(0.712233365, 0, 0.861224174, 0)
  271. Criminals.Size = UDim2.new(0, 122, 0, 26)
  272. Criminals.Font = Enum.Font.TitilliumWeb
  273. Criminals.Text = "Criminals (Teleport)"
  274. Criminals.TextColor3 = Color3.fromRGB(0, 0, 0)
  275. Criminals.TextSize = 15.000
  276. Criminals.MouseButton1Down:connect(function()
  277. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-921.144592, 95.3272018, 2138.42285, 0.00870735943, 3.89995805e-08, -0.999962151, 3.34881882e-08, 1, 3.92926687e-08, 0.999962151, -3.38290533e-08, 0.00870735943)
  278. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement