FiftySix

Admin Commands - Prison Live v2.0.2 V2

Oct 28th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.57 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. Char = Player.Character
  3. Hum = Char.Humanoid
  4.  
  5. Player.Chatted:connect(function(cht)
  6. if cht:match(":ws") then
  7. Hum.WalkSpeed = tonumber(cht:sub(5))
  8. elseif cht:match(":cmds") then
  9.  
  10. -- Farewell infortality
  11. -- Revamp by ImFrostic, Version 2.81
  12.  
  13. -- Objects
  14.  
  15. local ScreenGui = Instance.new("ScreenGui")
  16. local cmdbar = Instance.new("Frame")
  17. local TextLabel = Instance.new("TextLabel")
  18. local TextLabel_2 = Instance.new("TextLabel")
  19. local TextLabel_3 = Instance.new("TextLabel")
  20. local TextLabel_4 = Instance.new("TextLabel")
  21. local TextLabel_5 = Instance.new("TextLabel")
  22. local TextLabel_6 = Instance.new("TextLabel")
  23. local TextLabel_7 = Instance.new("TextLabel")
  24. local TextLabel_8 = Instance.new("TextLabel")
  25. local TextLabel_9 = Instance.new("TextLabel")
  26. local TextLabel_10 = Instance.new("TextLabel")
  27. local TextLabel_11 = Instance.new("TextLabel")
  28. local TextLabel_12 = Instance.new("TextLabel")
  29. local close = Instance.new("TextButton")
  30. local TextLabel_13 = Instance.new("TextLabel")
  31.  
  32. -- Properties
  33.  
  34. ScreenGui.Parent = game.CoreGui
  35.  
  36. cmdbar.Name = "cmdbar"
  37. cmdbar.Parent = ScreenGui
  38. cmdbar.BackgroundColor3 = Color3.new(0, 0, 0)
  39. cmdbar.BorderColor3 = Color3.new(1, 1, 1)
  40. cmdbar.BorderSizePixel = 5
  41. cmdbar.Position = UDim2.new(-0.231053591, 0, 0.418079108, 0)
  42. cmdbar.Size = UDim2.new(0, 250, 0, 259)
  43.  
  44. TextLabel.Parent = cmdbar
  45. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  46. TextLabel.BackgroundTransparency = 1
  47. TextLabel.BorderSizePixel = 0
  48. TextLabel.Size = UDim2.new(0, 249, 0, 36)
  49. TextLabel.Font = Enum.Font.SourceSansBold
  50. TextLabel.Text = "Cmds Bar"
  51. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  52. TextLabel.TextScaled = true
  53. TextLabel.TextSize = 14
  54. TextLabel.TextWrapped = true
  55.  
  56. TextLabel_2.Parent = cmdbar
  57. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  58. TextLabel_2.BackgroundTransparency = 1
  59. TextLabel_2.BorderSizePixel = 0
  60. TextLabel_2.Position = UDim2.new(0, 0, 0.138996139, 0)
  61. TextLabel_2.Size = UDim2.new(0, 95, 0, 22)
  62. TextLabel_2.Font = Enum.Font.SourceSansBold
  63. TextLabel_2.Text = ":ws Number"
  64. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  65. TextLabel_2.TextScaled = true
  66. TextLabel_2.TextSize = 14
  67. TextLabel_2.TextWrapped = true
  68.  
  69. TextLabel_3.Parent = cmdbar
  70. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  71. TextLabel_3.BackgroundTransparency = 1
  72. TextLabel_3.BorderSizePixel = 0
  73. TextLabel_3.Position = UDim2.new(0, 0, 0.223938227, 0)
  74. TextLabel_3.Size = UDim2.new(0, 95, 0, 22)
  75. TextLabel_3.Font = Enum.Font.SourceSansBold
  76. TextLabel_3.Text = ":guns"
  77. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  78. TextLabel_3.TextScaled = true
  79. TextLabel_3.TextSize = 14
  80. TextLabel_3.TextWrapped = true
  81.  
  82. TextLabel_4.Parent = cmdbar
  83. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  84. TextLabel_4.BackgroundTransparency = 1
  85. TextLabel_4.BorderSizePixel = 0
  86. TextLabel_4.Position = UDim2.new(0, 0, 0.308880329, 0)
  87. TextLabel_4.Size = UDim2.new(0, 95, 0, 22)
  88. TextLabel_4.Font = Enum.Font.SourceSansBold
  89. TextLabel_4.Text = ":fastall"
  90. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  91. TextLabel_4.TextScaled = true
  92. TextLabel_4.TextSize = 14
  93. TextLabel_4.TextWrapped = true
  94.  
  95. TextLabel_5.Parent = cmdbar
  96. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  97. TextLabel_5.BackgroundTransparency = 1
  98. TextLabel_5.BorderSizePixel = 0
  99. TextLabel_5.Position = UDim2.new(0, 0, 0.393822432, 0)
  100. TextLabel_5.Size = UDim2.new(0, 95, 0, 22)
  101. TextLabel_5.Font = Enum.Font.SourceSansBold
  102. TextLabel_5.Text = ":fasttaser"
  103. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  104. TextLabel_5.TextScaled = true
  105. TextLabel_5.TextSize = 14
  106. TextLabel_5.TextWrapped = true
  107.  
  108. TextLabel_6.Parent = cmdbar
  109. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  110. TextLabel_6.BackgroundTransparency = 1
  111. TextLabel_6.BorderSizePixel = 0
  112. TextLabel_6.Position = UDim2.new(0, 0, 0.478764534, 0)
  113. TextLabel_6.Size = UDim2.new(0, 95, 0, 22)
  114. TextLabel_6.Font = Enum.Font.SourceSansBold
  115. TextLabel_6.Text = ":fastM4A1"
  116. TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
  117. TextLabel_6.TextScaled = true
  118. TextLabel_6.TextSize = 14
  119. TextLabel_6.TextWrapped = true
  120.  
  121. TextLabel_7.Parent = cmdbar
  122. TextLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
  123. TextLabel_7.BackgroundTransparency = 1
  124. TextLabel_7.BorderSizePixel = 0
  125. TextLabel_7.Position = UDim2.new(0, 0, 0.563706636, 0)
  126. TextLabel_7.Size = UDim2.new(0, 95, 0, 22)
  127. TextLabel_7.Font = Enum.Font.SourceSansBold
  128. TextLabel_7.Text = ":fastak"
  129. TextLabel_7.TextColor3 = Color3.new(1, 1, 1)
  130. TextLabel_7.TextScaled = true
  131. TextLabel_7.TextSize = 14
  132. TextLabel_7.TextWrapped = true
  133.  
  134. TextLabel_8.Parent = cmdbar
  135. TextLabel_8.BackgroundColor3 = Color3.new(1, 1, 1)
  136. TextLabel_8.BackgroundTransparency = 1
  137. TextLabel_8.BorderSizePixel = 0
  138. TextLabel_8.Position = UDim2.new(0, 0, 0.648648739, 0)
  139. TextLabel_8.Size = UDim2.new(0, 95, 0, 22)
  140. TextLabel_8.Font = Enum.Font.SourceSansBold
  141. TextLabel_8.Text = ":teampolice"
  142. TextLabel_8.TextColor3 = Color3.new(1, 1, 1)
  143. TextLabel_8.TextScaled = true
  144. TextLabel_8.TextSize = 14
  145. TextLabel_8.TextWrapped = true
  146.  
  147. TextLabel_9.Parent = cmdbar
  148. TextLabel_9.BackgroundColor3 = Color3.new(1, 1, 1)
  149. TextLabel_9.BackgroundTransparency = 1
  150. TextLabel_9.BorderSizePixel = 0
  151. TextLabel_9.Position = UDim2.new(0, 0, 0.733590841, 0)
  152. TextLabel_9.Size = UDim2.new(0, 95, 0, 22)
  153. TextLabel_9.Font = Enum.Font.SourceSansBold
  154. TextLabel_9.Text = ":teamprisoner"
  155. TextLabel_9.TextColor3 = Color3.new(1, 1, 1)
  156. TextLabel_9.TextScaled = true
  157. TextLabel_9.TextSize = 14
  158. TextLabel_9.TextWrapped = true
  159.  
  160. TextLabel_10.Parent = cmdbar
  161. TextLabel_10.BackgroundColor3 = Color3.new(1, 1, 1)
  162. TextLabel_10.BackgroundTransparency = 1
  163. TextLabel_10.BorderSizePixel = 0
  164. TextLabel_10.Position = UDim2.new(0, 0, 0.818532944, 0)
  165. TextLabel_10.Size = UDim2.new(0, 95, 0, 22)
  166. TextLabel_10.Font = Enum.Font.SourceSansBold
  167. TextLabel_10.Text = ":teamgrey"
  168. TextLabel_10.TextColor3 = Color3.new(1, 1, 1)
  169. TextLabel_10.TextScaled = true
  170. TextLabel_10.TextSize = 14
  171. TextLabel_10.TextWrapped = true
  172.  
  173. TextLabel_11.Parent = cmdbar
  174. TextLabel_11.BackgroundColor3 = Color3.new(1, 1, 1)
  175. TextLabel_11.BackgroundTransparency = 1
  176. TextLabel_11.BorderSizePixel = 0
  177. TextLabel_11.Position = UDim2.new(0, 0, 0.903475046, 0)
  178. TextLabel_11.Size = UDim2.new(0, 95, 0, 22)
  179. TextLabel_11.Font = Enum.Font.SourceSansBold
  180. TextLabel_11.Text = ":btools"
  181. TextLabel_11.TextColor3 = Color3.new(1, 1, 1)
  182. TextLabel_11.TextScaled = true
  183. TextLabel_11.TextSize = 14
  184. TextLabel_11.TextWrapped = true
  185.  
  186. TextLabel_12.Parent = cmdbar
  187. TextLabel_12.BackgroundColor3 = Color3.new(1, 1, 1)
  188. TextLabel_12.BackgroundTransparency = 1
  189. TextLabel_12.BorderSizePixel = 0
  190. TextLabel_12.Position = UDim2.new(0.618473887, 0, 0.138996303, 0)
  191. TextLabel_12.Size = UDim2.new(0, 95, 0, 22)
  192. TextLabel_12.Font = Enum.Font.SourceSansBold
  193. TextLabel_12.Text = ":infinite"
  194. TextLabel_12.TextColor3 = Color3.new(1, 1, 1)
  195. TextLabel_12.TextScaled = true
  196. TextLabel_12.TextSize = 14
  197. TextLabel_12.TextWrapped = true
  198.  
  199. close.Name = "close"
  200. close.Parent = cmdbar
  201. close.BackgroundColor3 = Color3.new(1, 1, 1)
  202. close.BackgroundTransparency = 1
  203. close.Position = UDim2.new(0.843373477, 0, 0, 0)
  204. close.Size = UDim2.new(0, 39, 0, 36)
  205. close.Font = Enum.Font.SourceSansBold
  206. close.Text = "X"
  207. close.TextColor3 = Color3.new(1, 1, 1)
  208. close.TextScaled = true
  209. close.TextSize = 14
  210. close.TextWrapped = true
  211. close.MouseButton1Click:connect(function()
  212. cmdbar:TweenPosition(UDim2.new(-0.231053591, 0, 0.418079108, 0), 'Out', 'Bounce', 1, true)
  213. end)
  214.  
  215. TextLabel_13.Parent = cmdbar
  216. TextLabel_13.BackgroundColor3 = Color3.new(1, 1, 1)
  217. TextLabel_13.BackgroundTransparency = 1
  218. TextLabel_13.BorderSizePixel = 0
  219. TextLabel_13.Position = UDim2.new(0.618473887, 0, 0.223938391, 0)
  220. TextLabel_13.Size = UDim2.new(0, 95, 0, 22)
  221. TextLabel_13.Font = Enum.Font.SourceSansBold
  222. TextLabel_13.Text = ":arrest"
  223. TextLabel_13.TextColor3 = Color3.new(1, 1, 1)
  224. TextLabel_13.TextScaled = true
  225. TextLabel_13.TextSize = 14
  226. TextLabel_13.TextWrapped = true
  227.  
  228. cmdbar:TweenPosition(UDim2.new(0.384, 0,0.256, 0), 'In', 'Linear', 1, true)
  229.  
  230. -- Scripts
  231.  
  232.  
  233.  
  234. cmdbar.Active = true
  235. cmdbar.Draggable = true
  236.  
  237. elseif cht:match(":guns") then
  238. for i,v in pairs(Workspace.Prison_ITEMS.giver:GetChildren()) do
  239.  
  240. lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  241. print(lol)
  242. end
  243. elseif cht:match(":fastall") then
  244. local player = game:GetService("Players").LocalPlayer
  245. local gun = player.Backpack:FindFirstChild("M9")
  246. local sM = require(gun:FindFirstChild("GunStates"))
  247. sM["Damage"] = 999
  248. sM["MaxAmmo"] = 9999991
  249. sM["StoredAmmo"] = 9999991
  250. sM["FireRate"] = 0.05
  251. sM["AmmoPerClip"] = 9999991
  252. sM["Range"] = 5000
  253. sM["ReloadTime"] = 0.05
  254. sM["Bullets"] = 10
  255. sM["AutoFire"] = true
  256. local player = game:GetService("Players").LocalPlayer
  257. local gun = player.Backpack:FindFirstChild("Remington 870")
  258. local sM = require(gun:FindFirstChild("GunStates"))
  259. sM["Damage"] = 999
  260. sM["MaxAmmo"] = 9999991
  261. sM["StoredAmmo"] = 9999991
  262. sM["FireRate"] = 0.05
  263. sM["AmmoPerClip"] = 9999991
  264. sM["Range"] = 5000
  265. sM["ReloadTime"] = 0.05
  266. sM["Bullets"] = 10
  267. sM["AutoFire"] = true
  268. elseif cht:match(":teamgrey") then
  269. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  270. elseif cht:match(":teamprisoner") then
  271. Workspace.Remote.TeamEvent:FireServer("Bright orange")
  272. elseif cht:match(":teampolice") then
  273. Workspace.Remote.TeamEvent:FireServer("Bright blue")
  274. elseif cht:match(":fasttaser") then
  275. local player = game:GetService("Players").LocalPlayer
  276. local gun = player.Backpack:FindFirstChild("Taser")
  277. local sM = require(gun:FindFirstChild("GunStates"))
  278. sM["Damage"] = 999
  279. sM["MaxAmmo"] = 9999991
  280. sM["StoredAmmo"] = 9999991
  281. sM["FireRate"] = 0.05
  282. sM["AmmoPerClip"] = 9999991
  283. sM["Range"] = 5000
  284. sM["ReloadTime"] = 0.05
  285. sM["Bullets"] = 10
  286. sM["AutoFire"] = true
  287. elseif cht:match(":fastak") then
  288. local player = game:GetService("Players").LocalPlayer
  289. local gun = player.Backpack:FindFirstChild("AK-47")
  290. local sM = require(gun:FindFirstChild("GunStates"))
  291. sM["Damage"] = 999
  292. sM["MaxAmmo"] = 9999991
  293. sM["StoredAmmo"] = 9999991
  294. sM["FireRate"] = 0.05
  295. sM["AmmoPerClip"] = 9999991
  296. sM["Range"] = 5000
  297. sM["ReloadTime"] = 0.05
  298. sM["Bullets"] = 10
  299. sM["AutoFire"] = true
  300. elseif cht:match(":fastM4A1") then
  301. local player = game:GetService("Players").LocalPlayer
  302. local gun = player.Backpack:FindFirstChild("M4A1")
  303. local sM = require(gun:FindFirstChild("GunStates"))
  304. sM["Damage"] = 999
  305. sM["MaxAmmo"] = 9999991
  306. sM["StoredAmmo"] = 9999991
  307. sM["FireRate"] = 0.05
  308. sM["AmmoPerClip"] = 9999991
  309. sM["Range"] = 5000
  310. sM["ReloadTime"] = 0.05
  311. sM["Bullets"] = 10
  312. sM["AutoFire"] = true
  313. elseif cht:match(":infinite") then
  314. loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))()
  315. elseif cht:match(":btools") then
  316. for a = 1, 4 do
  317. HopperBin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  318. HopperBin.BinType = a
  319. end
  320. elseif cht:match(":arrest") then
  321. -- Arrest
  322. local mouse = game.Players.LocalPlayer:GetMouse()
  323. local arrestEvent = game.Workspace.Remote.arrest
  324. mouse.Button1Down:connect(function()
  325. local obj = mouse.Target
  326. local response = arrestEvent:InvokeServer(obj)
  327. end)
  328. elseif cht:match("") then
  329.  
  330. end
  331. end)
  332.  
  333. print("Working")
  334.  
  335. -- Commands
  336.  
  337. -- infinite , btools , fastall , guns , fasttaser , fastak , fastM4A1 , cmds , teamgrey , teamprisoner , teampolice
  338.  
  339. -- Farewell infortality
  340. -- Revamp by ImFrostic, Version 2.81
  341.  
  342. -- Objects
  343.  
  344. local ScreenGui = Instance.new("ScreenGui")
  345. local Frame = Instance.new("Frame")
  346. local TextLabel = Instance.new("TextLabel")
  347. local TextLabel_2 = Instance.new("TextLabel")
  348.  
  349. -- Properties
  350.  
  351. ScreenGui.Parent = game.CoreGui
  352.  
  353. Frame.Parent = ScreenGui
  354. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  355. Frame.BackgroundTransparency = 0.69999998807907
  356. Frame.BorderSizePixel = 0
  357. Frame.Position = UDim2.new(-0.48575896, 0, 0.177024484, 0)
  358. Frame.Size = UDim2.new(0, 526, 0, 320)
  359.  
  360. TextLabel.Parent = Frame
  361. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  362. TextLabel.BackgroundTransparency = 1
  363. TextLabel.Position = UDim2.new(-0.0209125504, 0, 0.321875006, 0)
  364. TextLabel.Size = UDim2.new(0, 547, 0, 32)
  365. TextLabel.Font = Enum.Font.SourceSansBold
  366. TextLabel.Text = "Type :cmds To View Commands"
  367. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  368. TextLabel.TextScaled = true
  369. TextLabel.TextSize = 30
  370. TextLabel.TextWrapped = true
  371.  
  372. TextLabel_2.Parent = Frame
  373. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  374. TextLabel_2.BackgroundTransparency = 1
  375. TextLabel_2.Position = UDim2.new(0.127667621, 0, 0.56641376, 0)
  376. TextLabel_2.Size = UDim2.new(0, 392, 0, 43)
  377. TextLabel_2.Font = Enum.Font.SourceSansBold
  378. TextLabel_2.Text = "Made by MastersMZ"
  379. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  380. TextLabel_2.TextScaled = true
  381. TextLabel_2.TextSize = 30
  382. TextLabel_2.TextWrapped = true
  383.  
  384. Frame:TweenPosition(UDim2.new(0.288, 0,0.198, 0), 'In', 'Linear', 1, true)
  385.  
  386. -- Scripts
  387.  
  388.  
  389.  
  390. wait(5)
  391.  
  392. Frame:TweenPosition(UDim2.new(-0.48575896, 0, 0.177024484, 0), 'Out', 'Bounce', 1, true)
  393.  
  394. -- Loading Above
  395.  
  396. local ScreenGui = Instance.new("ScreenGui")
  397. local water = Instance.new("Frame")
  398. local TextLabel = Instance.new("TextLabel")
  399. local TextLabel_2 = Instance.new("TextLabel")
  400. local TextLabel_3 = Instance.new("TextLabel")
  401.  
  402. -- Properties
  403.  
  404. ScreenGui.Parent = game.CoreGui
  405.  
  406. water.Name = "water"
  407. water.Parent = ScreenGui
  408. water.BackgroundColor3 = Color3.new(0, 0, 0)
  409. water.BackgroundTransparency = 0.5
  410. water.BorderSizePixel = 0
  411. water.Position = UDim2.new(0.231975093, 0, 0, 0)
  412. water.Size = UDim2.new(0, 716, 0, 29)
  413.  
  414.  
  415. TextLabel.Parent = water
  416. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  417. TextLabel.BackgroundTransparency = 1
  418. TextLabel.Position = UDim2.new(0.326815635, 0, 0, 0)
  419. TextLabel.Size = UDim2.new(0, 248, 0, 29)
  420. TextLabel.Font = Enum.Font.SourceSansBold
  421. TextLabel.Text = "Prison Admin V1"
  422. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  423. TextLabel.TextScaled = true
  424. TextLabel.TextSize = 14
  425. TextLabel.TextWrapped = true
  426.  
  427. TextLabel_2.Parent = water
  428. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  429. TextLabel_2.BackgroundTransparency = 1
  430. TextLabel_2.Position = UDim2.new(0.761173189, 0, 0.206896558, 0)
  431. TextLabel_2.Size = UDim2.new(0, 199, 0, 16)
  432. TextLabel_2.Font = Enum.Font.SourceSansBold
  433. TextLabel_2.Text = "Made By MastersMZ"
  434. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  435. TextLabel_2.TextScaled = true
  436. TextLabel_2.TextSize = 14
  437. TextLabel_2.TextWrapped = true
  438.  
  439. TextLabel_3.Parent = water
  440. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  441. TextLabel_3.BackgroundTransparency = 1
  442. TextLabel_3.Position = UDim2.new(-0.0810056031, 0, 0.206896558, 0)
  443. TextLabel_3.Size = UDim2.new(0, 199, 0, 16)
  444. TextLabel_3.Font = Enum.Font.SourceSansBold
  445. TextLabel_3.Text = "Type :cmds"
  446. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  447. TextLabel_3.TextScaled = true
  448. TextLabel_3.TextSize = 14
  449. TextLabel_3.TextWrapped = true
  450.  
  451. -- Scripts
Add Comment
Please, Sign In to add comment