Advertisement
Isaiah20Yt

OP PRISON LIFE GUI

Dec 27th, 2020
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.64 KB | None | 0 0
  1.  
  2.  
  3. local PrisonLife = Instance.new("ScreenGui")
  4. local MainGUI = Instance.new("Frame")
  5. local title = Instance.new("TextLabel")
  6. local credits = Instance.new("TextLabel")
  7. local ScrollingFrame = Instance.new("ScrollingFrame")
  8. local guns = Instance.new("TextButton")
  9. local btools = Instance.new("TextButton")
  10. local clickarrest = Instance.new("TextButton")
  11. local arrestall = Instance.new("TextButton")
  12. local doors = Instance.new("TextButton")
  13. local fences = Instance.new("TextButton")
  14. local taser = Instance.new("TextButton")
  15. local inmate = Instance.new("TextButton")
  16. local crime = Instance.new("TextButton")
  17. local na = Instance.new("TextButton")
  18. local police = Instance.new("TextButton")
  19. local killaura = Instance.new("TextButton")
  20. local killall = Instance.new("TextButton")
  21. local close = Instance.new("TextButton")
  22. local fastm9 = Instance.new("TextButton")
  23. local fastrem = Instance.new("TextButton")
  24. local fastak = Instance.new("TextButton")
  25. local TeleportGUI = Instance.new("Frame")
  26. local PlayerTP_Input = Instance.new("TextBox")
  27. local PlayerTP_Teleport = Instance.new("TextButton")
  28. local OpenGUI = Instance.new("Frame")
  29. local open = Instance.new("TextButton")
  30. --Properties:
  31. PrisonLife.Name = "Prison Life"
  32. PrisonLife.Parent = game.CoreGui
  33.  
  34. MainGUI.Name = "MainGUI"
  35. MainGUI.Parent = PrisonLife
  36. MainGUI.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  37. MainGUI.BorderColor3 = Color3.new(1, 0.333333, 0)
  38. MainGUI.BorderSizePixel = 5
  39. MainGUI.Position = UDim2.new(0.279383421, 0, 0.121513948, 0)
  40. MainGUI.Size = UDim2.new(0, 458, 0, 380)
  41. MainGUI.Visible = false
  42. MainGUI.Active = true
  43. MainGUI.Draggable = true
  44.  
  45. title.Name = "title"
  46. title.Parent = MainGUI
  47. title.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  48. title.BorderColor3 = Color3.new(1, 0.333333, 0)
  49. title.Size = UDim2.new(0, 458, 0, 50)
  50. title.Font = Enum.Font.SourceSans
  51. title.Text = "PcGmers Prison Life GUI v1.4"
  52. title.TextColor3 = Color3.new(1, 1, 1)
  53. title.TextScaled = true
  54. title.TextSize = 14
  55. title.TextWrapped = true
  56.  
  57. credits.Name = "credits"
  58. credits.Parent = MainGUI
  59. credits.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  60. credits.BorderColor3 = Color3.new(1, 0.333333, 0)
  61. credits.Position = UDim2.new(0, 0, 0.868421078, 0)
  62. credits.Size = UDim2.new(0, 458, 0, 50)
  63. credits.Font = Enum.Font.SourceSans
  64. credits.Text = "Made By: PcGmers"
  65. credits.TextColor3 = Color3.new(1, 1, 1)
  66. credits.TextScaled = true
  67. credits.TextSize = 14
  68. credits.TextWrapped = true
  69.  
  70. ScrollingFrame.Parent = MainGUI
  71. ScrollingFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  72. ScrollingFrame.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  73. ScrollingFrame.Position = UDim2.new(0.0131004369, 0, 0.150000006, 0)
  74. ScrollingFrame.Size = UDim2.new(0, 229, 0, 266)
  75.  
  76. guns.Name = "guns"
  77. guns.Parent = ScrollingFrame
  78. guns.BackgroundColor3 = Color3.new(0, 0, 0)
  79. guns.BorderColor3 = Color3.new(0, 0, 0)
  80. guns.Size = UDim2.new(0, 216, 0, 50)
  81. guns.Font = Enum.Font.SourceSans
  82. guns.Text = "All Guns/Keycard"
  83. guns.TextColor3 = Color3.new(1, 1, 1)
  84. guns.TextScaled = true
  85. guns.TextSize = 14
  86. guns.TextWrapped = true
  87. guns.MouseButton1Click:connect(function()
  88. local Weapon = {"M4A1"}
  89. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  90. if v.Name == Weapon[1] then
  91. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  92. end
  93. end
  94.  
  95. local Weapon = {"AK-47"}
  96. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  97. if v.Name == Weapon[1] then
  98. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  99. end
  100. end
  101.  
  102. local Weapon = {"M9"}
  103. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  104. if v.Name == Weapon[1] then
  105. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  106. end
  107. end
  108.  
  109. local Weapon = {"Remington 870"}
  110. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  111. if v.Name == Weapon[1] then
  112. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  113. end
  114. end
  115.  
  116. local Remote = game.Workspace.Remote['ItemHandler']
  117.  
  118. local Arguments = {
  119. [1] = Workspace.Prison_ITEMS.single:WaitForChild("Key card").ITEMPICKUP
  120. }
  121.  
  122. Remote:InvokeServer(unpack(Arguments))
  123.  
  124. end)
  125.  
  126. btools.Name = "btools"
  127. btools.Parent = ScrollingFrame
  128. btools.BackgroundColor3 = Color3.new(0, 0, 0)
  129. btools.BorderColor3 = Color3.new(0, 0, 0)
  130. btools.Position = UDim2.new(0, 0, 0.065789476, 0)
  131. btools.Size = UDim2.new(0, 216, 0, 50)
  132. btools.Font = Enum.Font.SourceSans
  133. btools.Text = "Btools"
  134. btools.TextColor3 = Color3.new(1, 1, 1)
  135. btools.TextScaled = true
  136. btools.TextSize = 14
  137. btools.TextWrapped = true
  138. btools.MouseButton1Click:connect(function()
  139. wait(0.1)
  140. local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  141. local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  142. local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  143. tool1.BinType = "Clone"
  144. tool2.BinType = "Hammer"
  145. tool3.BinType = "Grab"
  146. end)
  147.  
  148. clickarrest.Name = "clickarrest"
  149. clickarrest.Parent = ScrollingFrame
  150. clickarrest.BackgroundColor3 = Color3.new(0, 0, 0)
  151. clickarrest.BorderColor3 = Color3.new(0, 0, 0)
  152. clickarrest.Position = UDim2.new(0, 0, 0.131578952, 0)
  153. clickarrest.Size = UDim2.new(0, 216, 0, 50)
  154. clickarrest.Font = Enum.Font.SourceSans
  155. clickarrest.Text = "Click Arrest"
  156. clickarrest.TextColor3 = Color3.new(1, 1, 1)
  157. clickarrest.TextScaled = true
  158. clickarrest.TextSize = 14
  159. clickarrest.TextWrapped = true
  160. clickarrest.MouseButton1Click:connect(function()
  161.  
  162. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  163.  
  164. Text = ("[Click Arrest Is Now Permanently On! All You Have To Do Is Click On A Bad Guy Or A Inmate In The Wrong Area.]");
  165.  
  166. Color = Color3.new(0,255,0);
  167.  
  168. FontSize = Enum.FontSize.Size24;
  169.  
  170. })
  171.  
  172. local mouse = game.Players.LocalPlayer:GetMouse()
  173. local arrestEvent = game.Workspace.Remote.arrest
  174. mouse.Button1Down:connect(function()
  175. local obj = mouse.Target
  176. local response = arrestEvent:InvokeServer(obj)
  177. end)
  178. end)
  179.  
  180. arrestall.Name = "arrestall"
  181. arrestall.Parent = ScrollingFrame
  182. arrestall.BackgroundColor3 = Color3.new(0, 0, 0)
  183. arrestall.BorderColor3 = Color3.new(0, 0, 0)
  184. arrestall.Position = UDim2.new(0, 0, 0.197368428, 0)
  185. arrestall.Size = UDim2.new(0, 216, 0, 50)
  186. arrestall.Font = Enum.Font.SourceSans
  187. arrestall.Text = "Arrest All"
  188. arrestall.TextColor3 = Color3.new(1, 1, 1)
  189. arrestall.TextScaled = true
  190. arrestall.TextSize = 14
  191. arrestall.TextWrapped = true
  192. arrestall.MouseButton1Click:connect(function()
  193.  
  194. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  195.  
  196. Text = ("[Arresting All Bad Guys...]");
  197.  
  198. Color = Color3.new(0,255,0);
  199.  
  200. FontSize = Enum.FontSize.Size24;
  201.  
  202. })
  203.  
  204. wait(0.1)
  205. local Player = game.Players.LocalPlayer
  206. local cpos = Player.Character.HumanoidRootPart.CFrame
  207. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  208. if v.Name ~= Player.Name then
  209. local i = 10
  210. repeat
  211. wait()
  212. i = i-1
  213. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  214. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  215. until i == 0
  216. end
  217. end
  218. end)
  219.  
  220. doors.Name = "doors"
  221. doors.Parent = ScrollingFrame
  222. doors.BackgroundColor3 = Color3.new(0, 0, 0)
  223. doors.BorderColor3 = Color3.new(0, 0, 0)
  224. doors.Position = UDim2.new(0, 0, 0.263157904, 0)
  225. doors.Size = UDim2.new(0, 216, 0, 50)
  226. doors.Font = Enum.Font.SourceSans
  227. doors.Text = "Remove Doors"
  228. doors.TextColor3 = Color3.new(1, 1, 1)
  229. doors.TextScaled = true
  230. doors.TextSize = 14
  231. doors.TextWrapped = true
  232. doors.MouseButton1Click:connect(function()
  233. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  234.  
  235. Text = ("[All Doors Have Been Removed...]");
  236.  
  237. Color = Color3.new(0,255,0);
  238.  
  239. FontSize = Enum.FontSize.Size24;
  240.  
  241. })
  242.  
  243. game.Workspace.Doors:Destroy()
  244. end)
  245.  
  246. fences.Name = "fences"
  247. fences.Parent = ScrollingFrame
  248. fences.BackgroundColor3 = Color3.new(0, 0, 0)
  249. fences.BorderColor3 = Color3.new(0, 0, 0)
  250. fences.Position = UDim2.new(0, 0, 0.328947365, 0)
  251. fences.Size = UDim2.new(0, 216, 0, 50)
  252. fences.Font = Enum.Font.SourceSans
  253. fences.Text = "Remove Fences"
  254. fences.TextColor3 = Color3.new(1, 1, 1)
  255. fences.TextScaled = true
  256. fences.TextSize = 14
  257. fences.TextWrapped = true
  258. fences.MouseButton1Click:connect(function()
  259.  
  260. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  261.  
  262. Text = ("[All Fences Have Been Removed...]");
  263.  
  264. Color = Color3.new(0,255,0);
  265.  
  266. FontSize = Enum.FontSize.Size24;
  267.  
  268. })
  269. game.Workspace.Prison_Fences:Destroy()
  270. end)
  271.  
  272. taser.Name = "taser"
  273. taser.Parent = ScrollingFrame
  274. taser.BackgroundColor3 = Color3.new(0, 0, 0)
  275. taser.BorderColor3 = Color3.new(0, 0, 0)
  276. taser.Position = UDim2.new(0, 0, 0.394736826, 0)
  277. taser.Size = UDim2.new(0, 216, 0, 50)
  278. taser.Font = Enum.Font.SourceSans
  279. taser.Text = "Bypass Taser"
  280. taser.TextColor3 = Color3.new(1, 1, 1)
  281. taser.TextScaled = true
  282. taser.TextSize = 14
  283. taser.TextWrapped = true
  284. taser.MouseButton1Click:connect(function()
  285. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  286. game.Players.LocalPlayer.CharacterAdded:connect(function()
  287. game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  288. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  289. end)
  290. end)
  291.  
  292. inmate.Name = "inmate"
  293. inmate.Parent = ScrollingFrame
  294. inmate.BackgroundColor3 = Color3.new(0, 0, 0)
  295. inmate.BorderColor3 = Color3.new(0, 0, 0)
  296. inmate.Position = UDim2.new(0, 0, 0.460526288, 0)
  297. inmate.Size = UDim2.new(0, 216, 0, 50)
  298. inmate.Font = Enum.Font.SourceSans
  299. inmate.Text = "Team Inmate"
  300. inmate.TextColor3 = Color3.new(1, 1, 1)
  301. inmate.TextScaled = true
  302. inmate.TextSize = 14
  303. inmate.TextWrapped = true
  304. inmate.MouseButton1Click:connect(function()
  305. Workspace.Remote.TeamEvent:FireServer("Bright orange")
  306. end)
  307.  
  308. crime.Name = "crime"
  309. crime.Parent = ScrollingFrame
  310. crime.BackgroundColor3 = Color3.new(0, 0, 0)
  311. crime.BorderColor3 = Color3.new(0, 0, 0)
  312. crime.Position = UDim2.new(0, 0, 0.526315749, 0)
  313. crime.Size = UDim2.new(0, 216, 0, 50)
  314. crime.Font = Enum.Font.SourceSans
  315. crime.Text = "Team Crime"
  316. crime.TextColor3 = Color3.new(1, 1, 1)
  317. crime.TextScaled = true
  318. crime.TextSize = 14
  319. crime.TextWrapped = true
  320. crime.MouseButton1Click:connect(function()
  321. weld02 = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  322. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-919.958, 95.327, 2138.189)
  323. wait(0.075)
  324. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(weld02)
  325. end)
  326.  
  327. na.Name = "na"
  328. na.Parent = ScrollingFrame
  329. na.BackgroundColor3 = Color3.new(0, 0, 0)
  330. na.BorderColor3 = Color3.new(0, 0, 0)
  331. na.Position = UDim2.new(0, 0, 0.59210521, 0)
  332. na.Size = UDim2.new(0, 216, 0, 50)
  333. na.Font = Enum.Font.SourceSans
  334. na.Text = "Team N/A"
  335. na.TextColor3 = Color3.new(1, 1, 1)
  336. na.TextScaled = true
  337. na.TextSize = 14
  338. na.TextWrapped = true
  339. na.MouseButton1Click:connect(function()
  340. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  341. end)
  342.  
  343. police.Name = "police"
  344. police.Parent = ScrollingFrame
  345. police.BackgroundColor3 = Color3.new(0, 0, 0)
  346. police.BorderColor3 = Color3.new(0, 0, 0)
  347. police.Position = UDim2.new(0, 0, 0.657894671, 0)
  348. police.Size = UDim2.new(0, 216, 0, 50)
  349. police.Font = Enum.Font.SourceSans
  350. police.Text = "Team Police"
  351. police.TextColor3 = Color3.new(1, 1, 1)
  352. police.TextScaled = true
  353. police.TextSize = 14
  354. police.TextWrapped = true
  355. police.MouseButton1Click:connect(function()
  356. Workspace.Remote.TeamEvent:FireServer("Bright blue")
  357. end)
  358.  
  359. killaura.Name = "killaura"
  360. killaura.Parent = ScrollingFrame
  361. killaura.BackgroundColor3 = Color3.new(0, 0, 0)
  362. killaura.BorderColor3 = Color3.new(0, 0, 0)
  363. killaura.Position = UDim2.new(0, 0, 0.868420959, 0)
  364. killaura.Size = UDim2.new(0, 216, 0, 50)
  365. killaura.Font = Enum.Font.SourceSans
  366. killaura.Text = "Killaura [Press \"E\"]"
  367. killaura.TextColor3 = Color3.new(1, 0, 0)
  368. killaura.TextScaled = true
  369. killaura.TextSize = 14
  370. killaura.TextWrapped = true
  371. killaura.MouseButton1Click:connect(function()
  372.  
  373.  
  374. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  375.  
  376. Text = ("Press E When You Are Next To Someone To Automatically Kill Them");
  377.  
  378. Color = Color3.new(255,0,0);
  379.  
  380. FontSize = Enum.FontSize.Size24;
  381.  
  382. })
  383.  
  384. plr = game:service'Players'.LocalPlayer
  385. char = plr.Character
  386. mouse = plr:GetMouse()
  387. on = false
  388.  
  389. mouse.KeyDown:connect(function(key)
  390. if key == "e" then
  391. on = true
  392. end
  393. end)
  394.  
  395. mouse.KeyUp:connect(function(key)
  396. if key == "e" then
  397. on = false
  398. end
  399. end)
  400.  
  401. while wait(0.1) do
  402. for i, b in pairs(game.Players:GetChildren()) do
  403. if b.Name ~= plr.Name and not b:IsFriendsWith(plr.UserId) and on then
  404. for i = 1, 10 do
  405. game.ReplicatedStorage.meleeEvent:FireServer(b)
  406. end
  407. end
  408. end
  409. end
  410.  
  411.  
  412. while true do
  413. wait(0.01)
  414. for i,v in pairs (game.Players:GetChildren()) do
  415. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v.Name].Character.HumanoidRootPart.CFrame
  416. game.ReplicatedStorage.meleeEvent:FireServer(v.Name)
  417. wait(.8)
  418. end
  419. end
  420. end)
  421.  
  422. killall.Name = "killall"
  423. killall.Parent = ScrollingFrame
  424. killall.BackgroundColor3 = Color3.new(0, 0, 0)
  425. killall.BorderColor3 = Color3.new(0, 0, 0)
  426. killall.Position = UDim2.new(0, 0, 0.93421042, 0)
  427. killall.Size = UDim2.new(0, 216, 0, 50)
  428. killall.Font = Enum.Font.SourceSans
  429. killall.Text = "Kill All"
  430. killall.TextColor3 = Color3.new(1, 0, 0)
  431. killall.TextScaled = true
  432. killall.TextSize = 14
  433. killall.TextWrapped = true
  434. killall.MouseButton1Click:connect(function()
  435.  
  436.  
  437. wait(0.5)
  438. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  439.  
  440. Text = ("[R.I.P To Everyone!]");
  441.  
  442. Color = Color3.new(255,0,0);
  443.  
  444. FontSize = Enum.FontSize.Size24;
  445.  
  446. })
  447.  
  448.  
  449. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  450.  
  451. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  452.  
  453. wait(0.5)
  454. function kill(a)
  455. local A_1 =
  456. {
  457. [1] =
  458. {
  459. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  460. ["Distance"] = 3.2524313926697,
  461. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  462. ["Hit"] = a.Character.Head
  463. },
  464. [2] =
  465. {
  466. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  467. ["Distance"] = 3.2699294090271,
  468. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  469. ["Hit"] = a.Character.Head
  470. },
  471. [3] =
  472. {
  473. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  474. ["Distance"] = 3.1665518283844,
  475. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  476. ["Hit"] = a.Character.Head
  477. },
  478. [4] =
  479. {
  480. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  481. ["Distance"] = 3.3218522071838,
  482. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  483. ["Hit"] = a.Character.Head
  484. },
  485. [5] =
  486. {
  487. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  488. ["Distance"] = 3.222757101059,
  489. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  490. ["Hit"] = a.Character.Head
  491. }
  492. }
  493. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  494. local Event = game:GetService("ReplicatedStorage").ShootEvent
  495. Event:FireServer(A_1, A_2)
  496. Event:FireServer(A_1, A_2)
  497. end
  498.  
  499. for i,v in pairs(game.Players:GetChildren())do
  500. if v.Name ~= game.Players.LocalPlayer.Name then
  501. kill(v)
  502. end
  503. end
  504. wait(1)
  505. workspace.Remote.TeamEvent:FireServer("Bright orange")
  506. end)
  507.  
  508. close.Name = "close"
  509. close.Parent = MainGUI
  510. close.BackgroundColor3 = Color3.new(1, 0.129412, 0.141176)
  511. close.BorderColor3 = Color3.new(0, 0, 0)
  512. close.Position = UDim2.new(1.02183402, 0, 0, 0)
  513. close.Size = UDim2.new(0, 53, 0, 50)
  514. close.Font = Enum.Font.SourceSans
  515. close.Text = "X"
  516. close.TextColor3 = Color3.new(1, 1, 1)
  517. close.TextScaled = true
  518. close.TextSize = 14
  519. close.TextWrapped = true
  520. close.MouseButton1Click:connect(function()
  521. MainGUI.Visible = false
  522. OpenGUI.Visible = true
  523. end)
  524.  
  525. fastm9.Name = "fastm9"
  526. fastm9.Parent = MainGUI
  527. fastm9.BackgroundColor3 = Color3.new(0, 0, 0)
  528. fastm9.BorderColor3 = Color3.new(1, 1, 1)
  529. fastm9.Position = UDim2.new(0.513100445, 0, 0.292734325, 0)
  530. fastm9.Size = UDim2.new(0, 213, 0, 50)
  531. fastm9.Font = Enum.Font.SourceSans
  532. fastm9.Text = "Fast M9"
  533. fastm9.TextColor3 = Color3.new(1, 1, 1)
  534. fastm9.TextScaled = true
  535. fastm9.TextSize = 14
  536. fastm9.TextWrapped = true
  537. fastm9.MouseButton1Click:connect(function()
  538. local Player = game.Players.LocalPlayer.Name
  539. local Gun = "M9" -- < -- Gun Name
  540. local Run = game:GetService("RunService")
  541.  
  542. Gun = game.Players[Player].Character[Gun]
  543. local Mouse = game.Players.LocalPlayer:GetMouse()
  544. local Down = false
  545. local Sound = Gun.Handle.FireSound
  546.  
  547. function CreateRay(Point_A, Point_B)
  548. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  549. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  550. local Dist = (Point_A - Pos).Magnitude
  551. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  552.  
  553. return CFrame, Dist, Ray
  554. end
  555.  
  556. function FireLaser(target)
  557. coroutine.resume(coroutine.create(function()
  558. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  559. local Bullet = Instance.new("Part", Gun)
  560. Bullet.BrickColor = BrickColor.Yellow()
  561. Bullet.Material = "Neon"
  562. Bullet.Anchored = true
  563. Bullet.CanCollide = false
  564. Bullet.Size = Vector3.new(0.2, 0.2, D)
  565. Bullet.CFrame = C
  566.  
  567. local bulletTable = {}
  568. table.insert(bulletTable, {
  569. Hit = target,
  570. Distance = D,
  571. Cframe = C,
  572. RayObject = R
  573. })
  574.  
  575. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  576. local C = Sound:Clone()
  577. C.Parent = Gun
  578. C:Play()
  579. wait(0.05)
  580. Bullet:Remove()
  581. end))
  582. end
  583.  
  584. Mouse.Button1Down:Connect(function()
  585. Down = true
  586. end)
  587.  
  588.  
  589. Mouse.Button1Up:Connect(function()
  590. Down = false
  591. end)
  592.  
  593. while Run.Stepped:wait() do
  594. if Down == true then
  595. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  596. FireLaser(Mouse.Target)
  597. end
  598. end
  599. end)
  600.  
  601. fastrem.Name = "fastrem"
  602. fastrem.Parent = MainGUI
  603. fastrem.BackgroundColor3 = Color3.new(0, 0, 0)
  604. fastrem.BorderColor3 = Color3.new(1, 1, 1)
  605. fastrem.Position = UDim2.new(0.513100445, 0, 0.1615538, 0)
  606. fastrem.Size = UDim2.new(0, 213, 0, 50)
  607. fastrem.Font = Enum.Font.SourceSans
  608. fastrem.Text = "Fast Shotgun"
  609. fastrem.TextColor3 = Color3.new(1, 1, 1)
  610. fastrem.TextScaled = true
  611. fastrem.TextSize = 14
  612. fastrem.TextWrapped = true
  613. fastrem.MouseButton1Click:connect(function()
  614. local Player = game.Players.LocalPlayer.Name
  615. local Gun = "Remington 870" -- < -- Gun Name
  616. local Run = game:GetService("RunService")
  617.  
  618. Gun = game.Players[Player].Character[Gun]
  619. local Mouse = game.Players.LocalPlayer:GetMouse()
  620. local Down = false
  621. local Sound = Gun.Handle.FireSound
  622.  
  623. function CreateRay(Point_A, Point_B)
  624. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  625. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  626. local Dist = (Point_A - Pos).Magnitude
  627. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  628.  
  629. return CFrame, Dist, Ray
  630. end
  631.  
  632. function FireLaser(target)
  633. coroutine.resume(coroutine.create(function()
  634. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  635. local Bullet = Instance.new("Part", Gun)
  636. Bullet.BrickColor = BrickColor.Yellow()
  637. Bullet.Material = "Neon"
  638. Bullet.Anchored = true
  639. Bullet.CanCollide = false
  640. Bullet.Size = Vector3.new(0.2, 0.2, D)
  641. Bullet.CFrame = C
  642.  
  643. local bulletTable = {}
  644. table.insert(bulletTable, {
  645. Hit = target,
  646. Distance = D,
  647. Cframe = C,
  648. RayObject = R
  649. })
  650.  
  651. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  652. local C = Sound:Clone()
  653. C.Parent = Gun
  654. C:Play()
  655. wait(0.05)
  656. Bullet:Remove()
  657. end))
  658. end
  659.  
  660. Mouse.Button1Down:Connect(function()
  661. Down = true
  662. end)
  663.  
  664.  
  665. Mouse.Button1Up:Connect(function()
  666. Down = false
  667. end)
  668.  
  669. while Run.Stepped:wait() do
  670. if Down == true then
  671. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  672. FireLaser(Mouse.Target)
  673. end
  674. end
  675. end)
  676.  
  677. fastak.Name = "fastak"
  678. fastak.Parent = MainGUI
  679. fastak.BackgroundColor3 = Color3.new(0, 0, 0)
  680. fastak.BorderColor3 = Color3.new(1, 1, 1)
  681. fastak.Position = UDim2.new(0.513100445, 0, 0.423914939, 0)
  682. fastak.Size = UDim2.new(0, 213, 0, 50)
  683. fastak.Font = Enum.Font.SourceSans
  684. fastak.Text = "Fast AK"
  685. fastak.TextColor3 = Color3.new(1, 1, 1)
  686. fastak.TextScaled = true
  687. fastak.TextSize = 14
  688. fastak.TextWrapped = true
  689. fastak.MouseButton1Click:connect(function()
  690. local Player = game.Players.LocalPlayer.Name
  691. local Gun = "AK-47" -- < -- Gun Name
  692. local Run = game:GetService("RunService")
  693.  
  694. Gun = game.Players[Player].Character[Gun]
  695. local Mouse = game.Players.LocalPlayer:GetMouse()
  696. local Down = false
  697. local Sound = Gun.Handle.FireSound
  698.  
  699. function CreateRay(Point_A, Point_B)
  700. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  701. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  702. local Dist = (Point_A - Pos).Magnitude
  703. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  704.  
  705. return CFrame, Dist, Ray
  706. end
  707.  
  708. function FireLaser(target)
  709. coroutine.resume(coroutine.create(function()
  710. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  711. local Bullet = Instance.new("Part", Gun)
  712. Bullet.BrickColor = BrickColor.Yellow()
  713. Bullet.Material = "Neon"
  714. Bullet.Anchored = true
  715. Bullet.CanCollide = false
  716. Bullet.Size = Vector3.new(0.2, 0.2, D)
  717. Bullet.CFrame = C
  718.  
  719. local bulletTable = {}
  720. table.insert(bulletTable, {
  721. Hit = target,
  722. Distance = D,
  723. Cframe = C,
  724. RayObject = R
  725. })
  726.  
  727. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  728. local C = Sound:Clone()
  729. C.Parent = Gun
  730. C:Play()
  731. wait(0.05)
  732. Bullet:Remove()
  733. end))
  734. end
  735.  
  736. Mouse.Button1Down:Connect(function()
  737. Down = true
  738. end)
  739.  
  740.  
  741. Mouse.Button1Up:Connect(function()
  742. Down = false
  743. end)
  744.  
  745. while Run.Stepped:wait() do
  746. if Down == true then
  747. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  748. FireLaser(Mouse.Target)
  749. end
  750. end
  751. end)
  752.  
  753. TeleportGUI.Name = "TeleportGUI"
  754. TeleportGUI.Parent = MainGUI
  755. TeleportGUI.BackgroundColor3 = Color3.new(0, 0, 0)
  756. TeleportGUI.BorderColor3 = Color3.new(0, 0, 0)
  757. TeleportGUI.Position = UDim2.new(0.512330532, 0, 0.586789727, 0)
  758. TeleportGUI.Size = UDim2.new(0, 214, 0, 100)
  759.  
  760. PlayerTP_Input.Name = "PlayerTP_Input"
  761. PlayerTP_Input.Parent = TeleportGUI
  762. PlayerTP_Input.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  763. PlayerTP_Input.BorderColor3 = Color3.new(1, 1, 1)
  764. PlayerTP_Input.Position = UDim2.new(-1.1920929e-07, 0, -0.00965511799, 0)
  765. PlayerTP_Input.Size = UDim2.new(0, 214, 0, 50)
  766. PlayerTP_Input.Font = Enum.Font.SourceSans
  767. PlayerTP_Input.PlaceholderColor3 = Color3.new(1, 1, 1)
  768. PlayerTP_Input.Text = "[ENTER PLAYER NAME]"
  769. PlayerTP_Input.TextColor3 = Color3.new(1, 1, 1)
  770. PlayerTP_Input.TextScaled = true
  771. PlayerTP_Input.TextSize = 14
  772. PlayerTP_Input.TextWrapped = true
  773.  
  774. PlayerTP_Teleport.Name = "PlayerTP_Teleport"
  775. PlayerTP_Teleport.Parent = TeleportGUI
  776. PlayerTP_Teleport.BackgroundColor3 = Color3.new(0, 0, 0)
  777. PlayerTP_Teleport.BorderColor3 = Color3.new(1, 1, 1)
  778. PlayerTP_Teleport.BorderSizePixel = 0
  779. PlayerTP_Teleport.Position = UDim2.new(0, 0, 0.488693237, 0)
  780. PlayerTP_Teleport.Size = UDim2.new(0, 214, 0, 50)
  781. PlayerTP_Teleport.Font = Enum.Font.SourceSans
  782. PlayerTP_Teleport.Text = "Teleport To Player"
  783. PlayerTP_Teleport.TextColor3 = Color3.new(1, 1, 1)
  784. PlayerTP_Teleport.TextScaled = true
  785. PlayerTP_Teleport.TextSize = 14
  786. PlayerTP_Teleport.TextWrapped = true
  787. PlayerTP_Teleport.MouseButton1Click:connect(function()
  788. local tp_namedplayer = PlayerTP_Input.Text
  789. local tp_player = game:GetService("Players")[tp_namedplayer]
  790. local PLR = game:GetService("Players").LocalPlayer
  791. local p = PlayerTP_Input.Text
  792.  
  793. if tp_player then
  794. for i = 1,1 do
  795. wait(.08)
  796. PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 0, -1)
  797. end
  798. end
  799. end)
  800.  
  801. OpenGUI.Name = "OpenGUI"
  802. OpenGUI.Parent = PrisonLife
  803. OpenGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  804. OpenGUI.Position = UDim2.new(0, 0, 0.533864558, 0)
  805. OpenGUI.Size = UDim2.new(0, 100, 0, 35)
  806.  
  807. open.Name = "open"
  808. open.Parent = OpenGUI
  809. open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  810. open.BorderColor3 = Color3.new(0, 0, 0)
  811. open.Size = UDim2.new(0, 100, 0, 35)
  812. open.Font = Enum.Font.SourceSans
  813. open.Text = "OPEN"
  814. open.TextColor3 = Color3.new(1, 1, 1)
  815. open.TextScaled = true
  816. open.TextSize = 14
  817. open.TextWrapped = true
  818. open.MouseButton1Click:connect(function()
  819. MainGUI.Visible = true
  820. OpenGUI.Visible = false
  821. end)
  822.  
  823. wait(0.5)
  824. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  825.  
  826. Text = ("Made By: Jmuse#3982");
  827.  
  828. Color = Color3.new(255,0,0);
  829.  
  830. FontSize = Enum.FontSize.Size24;
  831.  
  832. })
  833.  
  834. wait(0.5)
  835. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  836.  
  837. Text = ("Added Fast Weapons, And also updated the kill all script!");
  838.  
  839. Color = Color3.new(0,255,0);
  840.  
  841. FontSize = Enum.FontSize.Size24;
  842.  
  843. })
  844.  
  845. wait(0.5)
  846. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  847.  
  848. Text = ("Note: The Key Card Function Waits Till A Key Card Is On The Ground. So You Would Not Usually Get It Right Away");
  849.  
  850. Color = Color3.new(0,0,255);
  851.  
  852. FontSize = Enum.FontSize.Size24;
  853.  
  854. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement