Guest User

Prison Life V3 Script

a guest
May 1st, 2024
8,313
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.46 KB | None | 0 1
  1. local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
  2. local Players = game:GetService("Players")
  3. local LocalPlayer = Players.LocalPlayer
  4. local StarterGui = game:GetService("StarterGui")
  5. local Debris = game:GetService("Debris")
  6. local Teams = game:GetService("Teams")
  7. local MarketplaceService = game:GetService("MarketplaceService")
  8. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  9. local UserInputService = game:GetService("UserInputService")
  10. local TeleportService = game:GetService("TeleportService")
  11. local RunService = game:GetService("RunService")
  12. local Lighting = game:GetService("Lighting")
  13. local FireMessage = ReplicatedStorage:FindFirstChild("SayMessageRequest", true)
  14.  
  15. local function SendNotificationPOLARADMIN(Text)
  16. StarterGui:SetCore("ChatMakeSystemMessage", {Text = "Polar Admin - "..Text; Font = Enum.Font.GothamBlack; Color = Color3.fromRGB(6, 180, 255); FontSize = 12})
  17. end
  18.  
  19. local function SendNotification(Text)
  20. StarterGui:SetCore("ChatMakeSystemMessage", {Text = Text; Font = Enum.Font.GothamBlack; Color = Color3.fromRGB(6, 180, 255); FontSize = 12})
  21. end
  22.  
  23. local Prefix = ";"
  24.  
  25. SendNotification("Polar Admin Loaded!!")
  26. NotifyLib.prompt('Polar Admin', 'Polar Admin Loaded!! Prefix: ' .. Prefix, 15)
  27.  
  28. -- Heli Pads
  29. -- Front/Back Gates
  30.  
  31. local Teleports = {
  32. Jointp = CFrame.new(1942.76636, 155.524475, 2824.13428),
  33. Nexus = CFrame.new(1904.04675, 155.524475, 2810.21704),
  34. MafiaBase = CFrame.new(1518.0957, 67.0211029, 1349.0083),
  35. CriminalBase = CFrame.new(82.3134308, 149.738586, 2475.04248),
  36. CargoBase = CFrame.new(51.930378, 147.910706, 881.536011),
  37. DoubbleBarrel = CFrame.new(455.641632, 110.169228, 2064.46997),
  38. Keycard = CFrame.new(2286.09814, 155.392792, 2715.4082),
  39. Storage = CFrame.new(2332.78198, 155.47261, 2914.00659),
  40. Yard1 = CFrame.new(1793.95032, 153.550079, 2908.89551),
  41. Yard2 = CFrame.new(2112.37939, 153.545761, 2877.76196),
  42. Armory1 = CFrame.new(1860.81042, 155.522812, 2684.08301),
  43. Armory2 = CFrame.new(2216.35791, 155.393097, 2707.79297),
  44. Armory3 = CFrame.new(1430.64246, 67.3664398, 1562.32605),
  45. StaffHangout = CFrame.new(1223.3728, 110.620232, 2856.83496),
  46. CriminalHeliPads = CFrame.new(89.0385971, 149.746689, 2379.1665),
  47. GuardHeliPads = CFrame.new(1739.24023, 179.72406, 2699.46265),
  48. FrontGate = CFrame.new(1527.20447, 153.577454, 2636.00146),
  49. BackGate = CFrame.new(2494.33252, 153.634293, 2615.42529),
  50. WardenOffice = CFrame.new(1728.99316, 155.575577, 2775.63501)
  51. }
  52.  
  53. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Jointp
  54.  
  55. local function ChatCommands(Messages)
  56. local Args = string.split(Messages, " ")
  57. local function FindCommand(CommandList)
  58. for i, v in pairs(CommandList) do
  59. if Args[1] == Prefix..v then
  60. return true
  61. end
  62. end
  63. return false
  64. end
  65.  
  66. game:GetService("RunService").RenderStepped:Connect(function()
  67. pcall(function()
  68. if Noclip then
  69. LocalPlayer.Character.Torso.CanCollide = false;
  70. LocalPlayer.Character.Head.CanCollide = false
  71. end
  72. end)
  73. end)
  74.  
  75. if FindCommand({"help", "cmds", "commands"}) then
  76. NotifyLib.prompt('Polar Admin', 'Printed commands to console, press CTRL+F9 to see all commands.', 15)
  77. print("The prefix is ".. Prefix)
  78. print("Here are all the commands in Polar Admin [Prison Life V3]:")
  79. print("default | Teleports you to the Default Teleport.")
  80. print("nexus|nex | Teleports you to the Nexus.")
  81. print("mafia|mafiabase | Teleports you to the Mafia Base.")
  82. print("criminalbase|cbase|crimbase | Teleports you to the Default Criminal Base.")
  83. print("cargo | Teleports you to Cargo Site.")
  84. print("armory1 | Teleports you to Armory1.")
  85. print("armory2 | Teleports you to Armory2.")
  86. print("armory3 | Teleports you to Armory3.")
  87. print("doubblebarrel|db | Teleports you to the Doubble Barrel.")
  88. print("keycard|key | Teleports you to the Keycard.")
  89. print("storage | Teleports you to Storage.")
  90. print("yard1 | Teleports you to yard1.")
  91. print("yard2 | Teleports you to yard2.")
  92. print("staffhangout|sh | Teleports you to the Staff Hangout.")
  93. print("gheli | Teleports you to Guard Helipads.")
  94. print("cheli | Teleports you to Criminal Helipad.")
  95. print("frontgate|fgate | Teleports you to the Front Gate.")
  96. print("backgate|bgate | Teleports you to the Back Gate.")
  97. print("wardenoffice|office | Teleports you to the Wardens Office.")
  98. print("noclip | Removes the collision on your character.")
  99. print("clip | Adds collision back to your character.")
  100. print("walkspeed|speed|ws (NUM) | Sets your walkspeed to the provided integer.")
  101. print("jumppower|jp (NUM) | Sets your jumppower to the provided integer.")
  102. print("hipheight|hh (NUM) | Sets your hipheight to the provided integer.")
  103. print("getcoords|coords | Prints your CFrame coords to the console.")
  104. print("rejoin|rj | Rejoins the game.")
  105. elseif FindCommand({"default"}) then
  106. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Jointp
  107. NotifyLib.prompt('Polar Admin', 'Teleported to default tp.', 15)
  108.  
  109. elseif FindCommand({"nex", "nexus"}) then
  110. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Nexus
  111. NotifyLib.prompt('Polar Admin', 'Teleported to Nexus.', 15)
  112.  
  113. elseif FindCommand({"mafia", "mafiabase"}) then
  114. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.MafiaBase
  115. NotifyLib.prompt('Polar Admin', 'Teleported to Mafia Criminal Base.', 15)
  116.  
  117. elseif FindCommand({"cbase", "criminalbase", "crimbase"}) then
  118. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.CriminalBase
  119. NotifyLib.prompt('Polar Admin', 'Teleported to Criminal Base.', 15)
  120.  
  121. elseif FindCommand({"cargo"}) then
  122. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.CargoBase
  123. NotifyLib.prompt('Polar Admin', 'Teleported to Cargo Criminal Base.', 15)
  124.  
  125. elseif FindCommand({"armory1"}) then
  126. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Armory1
  127. NotifyLib.prompt('Polar Admin', 'Teleported to Armory 1.', 15)
  128.  
  129. elseif FindCommand({"armory2"}) then
  130. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Armory2
  131. NotifyLib.prompt('Polar Admin', 'Teleported to Armory 2.', 15)
  132.  
  133. elseif FindCommand({"armory3"}) then
  134. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Armory3
  135. NotifyLib.prompt('Polar Admin', 'Teleported to Armory 3.', 15)
  136.  
  137. elseif FindCommand({"doubblebarrel", "db"}) then
  138. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.DoubbleBarrel
  139. NotifyLib.prompt('Polar Admin', 'Teleported to Doubble Barrel.', 15)
  140.  
  141. elseif FindCommand({"key", "keycard"}) then
  142. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Keycard
  143. NotifyLib.prompt('Polar Admin', 'Teleported to Keycard.', 15)
  144.  
  145. elseif FindCommand({"storage"}) then
  146. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Storage
  147. NotifyLib.prompt('Polar Admin', 'Teleported to Storage.', 15)
  148.  
  149. elseif FindCommand({"yard1"}) then
  150. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Yard1
  151. NotifyLib.prompt('Polar Admin', 'Teleported to Yard 1.', 15)
  152.  
  153. elseif FindCommand({"yard2"}) then
  154. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.Yard2
  155. NotifyLib.prompt('Polar Admin', 'Teleported to Yard 2.', 15)
  156.  
  157. elseif FindCommand({"staffhangout", "sh"}) then
  158. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.StaffHangout
  159. NotifyLib.prompt('Polar Admin', 'Teleported to Staff Hangout.', 15)
  160.  
  161. elseif FindCommand({"gheli"}) then
  162. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.GuardHeliPads
  163. NotifyLib.prompt('Polar Admin', 'Teleported to Guard HeliPads.', 15)
  164.  
  165. elseif FindCommand({"cheli"}) then
  166. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.CriminalHeliPads
  167. NotifyLib.prompt('Polar Admin', 'Teleported to Criminal HeliPads.', 15)
  168.  
  169. elseif FindCommand({"frontgate", "fgate"}) then
  170. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.FrontGate
  171. NotifyLib.prompt('Polar Admin', 'Teleported to the Front Gate.', 15)
  172.  
  173. elseif FindCommand({"backgate", "bgate"}) then
  174. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.BackGate
  175. NotifyLib.prompt('Polar Admin', 'Teleported to the Back Gate.', 15)
  176.  
  177. elseif FindCommand({"wardenoffice", "office"}) then
  178. LocalPlayer.Character.HumanoidRootPart.CFrame = Teleports.WardenOffice
  179. NotifyLib.prompt('Polar Admin', 'Teleported to the Wardens Office.', 15)
  180.  
  181. elseif FindCommand({"rejoin", "rj"}) then
  182. TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
  183.  
  184. elseif FindCommand({"getcoords", "coords"}) then
  185. print(tostring(LocalPlayer.Character.HumanoidRootPart.CFrame))
  186. NotifyLib.prompt('Polar Admin', 'Printed RootParts CFrame values to console.', 15)
  187.  
  188. elseif FindCommand({"walkspeed", "speed", "ws"}) then
  189. LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(Args[2]) and Args[2] or 16
  190. NotifyLib.prompt('Polar Admin', 'Walkspeed set to ' .. tonumber(Args[2]) .. '.', 15)
  191.  
  192. elseif FindCommand({"jumppower", "jp"}) then
  193. LocalPlayer.Character.Humanoid.JumpPower = tonumber(Args[2]) and Args[2] or 50
  194. NotifyLib.prompt('Polar Admin', 'JumpPower set to ' .. tonumber(Args[2]) .. '.', 15)
  195.  
  196. elseif FindCommand({"hipheight", "hh"}) then
  197. LocalPlayer.Character.Humanoid.HipHeight = tonumber(Args[2]) and Args[2] or 0
  198. NotifyLib.prompt('Polar Admin', 'HipHeight set to ' .. tonumber(Args[2]) .. '.', 15)
  199.  
  200. elseif FindCommand({"noclip"}) then
  201. Noclip = true
  202. LocalPlayer.Character.Torso.CanCollide = false;
  203. LocalPlayer.Character.Head.CanCollide = false
  204. NotifyLib.prompt('Polar Admin', 'Noclip enabled.', 15)
  205.  
  206. elseif FindCommand({"clip"}) then
  207. Noclip = false
  208. LocalPlayer.Character.Torso.CanCollide = true;
  209. LocalPlayer.Character.Head.CanCollide = true
  210. NotifyLib.prompt('Polar Admin', 'Noclip disabled.', 15)
  211.  
  212. end
  213. end
  214.  
  215. LocalPlayer.Chatted:Connect(ChatCommands)
Advertisement
Add Comment
Please, Sign In to add comment