Advertisement
iiFlamez

Untitled

Sep 18th, 2016
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.06 KB | None | 0 0
  1. Script:
  2.  
  3. --[[ VALUES ]]--
  4. VERSION = "2.1"
  5. --[[ SUPPORTED GAMES ]]--
  6. LasVegas = 163865146
  7. PhantomForces = 292439477
  8. ApocRisingReimagined = 237590657
  9. ApocRisingReborn = 237590761
  10. --EpicMiniGames = ""
  11. --[[ GAME DETECTOR ]] --
  12. if game.PlaceId == LasVegas then
  13. game_Supported = "YES"
  14. elseif game.PlaceId == PhantomForces then
  15. game_Supported = "YES"
  16. elseif game.PlaceId == ApocRisingReimagined then
  17. game_Supported = "YES"
  18. elseif game.PlaceId == ApocRisingReborn then
  19. game_Supported = "YES"
  20. --elseif game.PlaceId == EpicMiniGames then
  21. --game_Supported = "YES"
  22. else
  23. game_Supported = "NO"
  24. end
  25. Asset123 = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  26. Game_name = Asset123.Name
  27. --[[ GUI CREATING ]]--
  28. game:GetObjects("rbxassetid://378228753")[1].Parent = game.CoreGui
  29. wait(1)
  30. --
  31. MainGui = game.CoreGui.JusticeGui.MainGui
  32. GameGui = game.CoreGui.JusticeGui.GameGui
  33. CustomGui = game.CoreGui.JusticeGui.CustomGui
  34. ApocGui = game.CoreGui.JusticeGui.ApocGui
  35. OpenGui = game.CoreGui.JusticeGui.Open
  36. -- NotSupportedGui = game.CoreGui.JusticeGui.NotSupported
  37. --[[ INVISIBLE AND VISIBLE GUI FUNCTIONS ]] --
  38. function make_gui_visible(Gui)
  39. Gui.Position = UDim2.new(.5,-200,.5,-100)
  40. Gui.Visible = true
  41. end
  42. function make_gui_invisible(Gui)
  43. Gui.Position = UDim2.new(999,999,999,999)
  44. Gui.Visible = false
  45. end
  46. make_gui_invisible(MainGui)
  47. make_gui_invisible(GameGui)
  48. make_gui_invisible(CustomGui)
  49. make_gui_invisible(ApocGui)
  50. OpenGui.Visible = false
  51. -- make_gui_invisible(NotSupportedGui)
  52. --[[ GUI EDITING ]]--
  53. -- WELCOME GUI
  54. MainGui.Welcome.Text = ("Welcome, " ..game.Players.LocalPlayer.Name.. "!")
  55. MainGui.Title.Text = ("Justice v." ..VERSION)
  56. MainGui.Game.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  57. MainGui.GameSupported.Text = ("Game Supported: " ..game_Supported)
  58. -- LOADING GUI
  59. GameGui.Game.Text = ("Welcome, " ..game.Players.LocalPlayer.Name.. "!")
  60. GameGui.Log1.Text = ""
  61. GameGui.Log2.Text = ""
  62. GameGui.Log3.Text = ""
  63. GameGui.Log4.Text = ""
  64. -- CUSTOM GUI
  65. CustomGui.Page1.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  66. CustomGui.Page2.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  67. CustomGui.Page1.Button1.Text = ""
  68. CustomGui.Page1.Button2.Text = ""
  69. CustomGui.Page1.Button3.Text = ""
  70. CustomGui.Page1.Button4.Text = ""
  71. CustomGui.Page1.Button5.Text = ""
  72. CustomGui.Page1.Button6.Text = ""
  73. CustomGui.Page1.Button7.Text = ""
  74. CustomGui.Page1.Button8.Text = ""
  75.  
  76. CustomGui.Page2.Button1.Text = ""
  77. CustomGui.Page2.Button2.Text = ""
  78. CustomGui.Page2.Button3.Text = ""
  79. CustomGui.Page2.Button4.Text = ""
  80. CustomGui.Page2.Button5.Text = ""
  81. CustomGui.Page2.Button6.Text = ""
  82. CustomGui.Page2.Button7.Text = ""
  83. CustomGui.Page2.Button8.Text = ""
  84. -- APOC GUI
  85. ApocGui.Page1.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  86. ApocGui.Page2.Welcome.Text = ("Game: " ..Game_name.. " // ID: " ..game.PlaceId)
  87. ApocGui.Page1.Button1.Text = ""
  88. ApocGui.Page1.Button2.Text = ""
  89. ApocGui.Page1.Button3.Text = ""
  90. ApocGui.Page1.Button4.Text = ""
  91. ApocGui.Page1.Button5.Text = ""
  92. ApocGui.Page1.Button6.Text = ""
  93. ApocGui.Page1.Button7.Text = ""
  94. ApocGui.Page1.Button8.Text = ""
  95. ApocGui.Page1.Custom.Text = "LOCALPLAYER"
  96.  
  97. ApocGui.Page2.Button1.Text = ""
  98. ApocGui.Page2.Button2.Text = ""
  99. ApocGui.Page2.Button3.Text = ""
  100. ApocGui.Page2.Button4.Text = ""
  101. ApocGui.Page2.Button5.Text = ""
  102. ApocGui.Page2.Button6.Text = ""
  103. ApocGui.Page2.Custom.Text = "SERVER"
  104.  
  105. -- [[ OPEN GUI FUNCTIONS ]]--
  106. OpenGui.MouseButton1Down:connect(function()
  107. OpenGui.Visible = false
  108. wait(.2)
  109. if game.PlaceId == ApocRisingReimagined or game.PlaceId == ApocRisingReborn then
  110. make_gui_visible(ApocGui)
  111. else
  112. make_gui_visible(CustomGui)
  113. end
  114. end)
  115. -- [[ MAIN AND GAME FUNCTIONS ]] --
  116. function functionMain_Gui()
  117. make_gui_visible(MainGui)
  118. MainGui.Open.MouseButton1Down:connect(function()
  119. MainGui:Destroy()
  120. functionGame_Gui()
  121. end)
  122. MainGui.Close.MouseButton1Down:connect(function()
  123. game.CoreGui.JusticeGui:Destroy() -- rip
  124. end)
  125. end
  126. function functionGame_Gui()
  127. make_gui_visible(GameGui)
  128. GameGui.Close.Visible = false
  129. GameGui.Close.MouseButton1Down:connect(function()
  130. if game_Supported == "YES" then
  131. GameGui:Destroy()
  132. if game.PlaceId == ApocRisingReimagined or game.PlaceId == ApocRisingReborn then
  133. functionApocGui()
  134. else
  135. functionCustomGui()
  136. end
  137. else
  138. -- make_gui_visible(NotSupported)
  139. GameGui:Destroy()
  140. end
  141. end)
  142. if game_Supported == "YES" then
  143. wait(1)
  144. GameGui.Log1.Text = "Game supported!"
  145. wait(1)
  146. GameGui.Log1.Text = "Loaded custom commands!"
  147. GameGui.Log2.Text = "Game supported!"
  148. wait(1)
  149. GameGui.Close.Text = "CUSTOM COMMANDS"
  150. else
  151. wait(1)
  152. GameGui.Log1.Text = "Game not supported!"
  153. wait(1)
  154. end
  155. GameGui.Close.Visible = true
  156. end
  157. -- [[ CUSTOM GUI FUNCTIONS ]] --
  158. function functionCustomGui()
  159. make_gui_visible(CustomGui)
  160. CustomGui.Page1.Close.MouseButton1Down:connect(function()
  161. make_gui_invisible(CustomGui)
  162. wait(.2)
  163. OpenGui.Visible = true
  164. end)
  165. CustomGui.Page2.Close.MouseButton1Down:connect(function()
  166. make_gui_invisible(CustomGui)
  167. wait(.2)
  168. OpenGui.Visible = true
  169. end)
  170. CustomGui.Page1.Page.Visible = false
  171. CustomGui.Page2.Visible = false
  172. if game.PlaceId == LasVegas then
  173. CustomGui.Page1.Button1.Text = "Give 10 Million Cash"
  174. CustomGui.Page1.Button2.Text = ""
  175. CustomGui.Page1.Button3.Text = ""
  176. CustomGui.Page1.Button4.Text = ""
  177. CustomGui.Page1.Button5.Text = ""
  178. CustomGui.Page1.Button6.Text = ""
  179. CustomGui.Page1.Button7.Text = ""
  180. CustomGui.Page1.Button8.Text = ""
  181.  
  182. CustomGui.Page1.Button1.MouseButton1Down:connect(function()
  183. local CASH_AMOUNT = math.huge
  184. game.ReplicatedStorage.Events.MoneyRequest:FireServer(CASH_AMOUNT, 'Cash', true)
  185. end)
  186. elseif game.PlaceId == PhantomForces then
  187. CustomGui.Page1.Button1.Text = "Load PhantomX Gui"
  188. CustomGui.Page1.Button1.MouseButton1Down:connect(function()
  189. game:GetObjects('rbxassetid://311949717')[1].Parent = game.CoreGui
  190. local PhantomX = game.CoreGui:WaitForChild('PhantomX')
  191. local script = Instance.new('Script', game.CoreGui)
  192. script.Name = ''
  193. script.Source = PhantomX.CONTROL.Source
  194. loadstring(script.Source)()
  195. loadstring(game:GetObjects("rbxassetid://298918246")[1].Source)()
  196. end)
  197. --elseif game.PlaceId == EpicMiniGames then
  198. end
  199. end
  200. -- [[ APOCALYPSE RISING ]] --
  201. function LocalPlayerGod()
  202. _G.lpgod = true
  203. local ChangeProp = game.Lighting.Remote.ChangeProperty
  204. local Plr = game.Players.LocalPlayer
  205. while _G.lpgod == true and wait() do -- health hack
  206. ChangeProp:FireServer(Plr.Character.Humanoid, "Health", 100)
  207. end
  208. end
  209. function NoLocalPlayerGod()
  210. _G.lpgod = false
  211. end
  212. function UnlimitedHunger()
  213. _G.unlimhunger = true
  214. while _G.unlimhunger == true and wait(2) do
  215. game.Players.LocalPlayer.playerstats.Hunger.Value = 100
  216. end
  217. end
  218. function UnlimitedThirst()
  219. _G.unlimthirst = true
  220. while _G.unlimthirst == true and wait(2) do
  221. game.Players.LocalPlayer.playerstats.Thirst.Value = 100
  222. end
  223. end
  224. -- [[ APOCALYPSE GUI FUNCTIONS ]] --
  225. function functionApocGui()
  226. make_gui_visible(ApocGui)
  227. if game.PlaceId == ApocRisingReimagined or game.PlaceId == ApocRisingReborn then
  228. ApocGui.Page1.Visible = true
  229. ApocGui.Page2.Visible = false
  230. -- CLOSE
  231. ApocGui.Page1.Close.MouseButton1Down:connect(function()
  232. make_gui_invisible(ApocGui)
  233. wait(.2)
  234. OpenGui.Visible = true
  235. end)
  236. ApocGui.Page2.Close.MouseButton1Down:connect(function()
  237. make_gui_invisible(ApocGui)
  238. wait(.2)
  239. OpenGui.Visible = true
  240. end)
  241. -- NEXT/BACK
  242. ApocGui.Page1.Page.Text = "NEXT"
  243. ApocGui.Page1.Page.MouseButton1Down:connect(function()
  244. ApocGui.Page1.Visible = false
  245. ApocGui.Page2.Visible = true
  246. end)
  247. ApocGui.Page2.Page.Text = "BACK"
  248. ApocGui.Page2.Page.MouseButton1Down:connect(function()
  249. ApocGui.Page1.Visible = true
  250. ApocGui.Page2.Visible = false
  251. end)
  252. ApocGui.Page1.Button1.Text = "SEMI-GOD"
  253. ApocGui.Page1.Button2.Text = "UNSEMI-GOD"
  254. ApocGui.Page1.Button3.Text = "UNLIMITED HUNGER"
  255. ApocGui.Page1.Button4.Text = "UNLIMITED THIRST"
  256. ApocGui.Page1.Button5.Text = "MK 17 KIT"
  257. ApocGui.Page1.Button6.Text = "G36K KIT"
  258. ApocGui.Page1.Button7.Text = "FAL KIT"
  259. ApocGui.Page1.Button8.Text = "CAR REPAIR KIT"
  260.  
  261. ApocGui.Page2.Button1.Text = "SEMI-GOD"
  262. ApocGui.Page2.Button2.Text = "N/A"
  263. ApocGui.Page2.Button3.Text = "KILL"
  264. ApocGui.Page2.Button4.Text = "N/A"
  265. ApocGui.Page2.Button5.Text = "GOTO(WIP)"
  266. ApocGui.Page2.Button6.Text = "BRING(WIP)"
  267.  
  268. ApocGui.Page1.Button1.MouseButton1Down:connect(function()
  269. LocalPlayerGod()
  270. print("lp godded")
  271. end)
  272. ApocGui.Page1.Button2.MouseButton1Down:connect(function()
  273. NoLocalPlayerGod()
  274. print("lp ungodded")
  275. end)
  276. ApocGui.Page1.Button3.MouseButton1Down:connect(function()
  277. UnlimitedHunger()
  278. print("unlimited hunger")
  279. end)
  280. ApocGui.Page1.Button4.MouseButton1Down:connect(function()
  281. UnlimitedThirst()
  282. print "unlimited thirst"
  283. end)
  284. ApocGui.Page1.Button5.MouseButton1Down:connect(function()
  285. local function s(n)
  286. local new = game.Lighting.LootDrops[n]:Clone()
  287. new.Parent = workspace
  288. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  289. end
  290. t ={"ACOG","Mk 17","Compass","CBJ-MS","TEC9Ammo32","TEC9Ammo32","Sabre","MilitaryPackBlack","Binoculars","Detonator","Suppressor9","Suppressor762","Grip","Reflex","GPS","Map","C4","C4","Entrencher","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50"}
  291. for i = 1, #t do
  292. s(t[i])
  293. end
  294. print "mk 17 kit"
  295. end)
  296. ApocGui.Page1.Button6.MouseButton1Down:connect(function()
  297. local function AA(BB)
  298. local new = game.Lighting.LootDrops[BB]:Clone()
  299. new.Parent = workspace
  300. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  301. end
  302. CC ={"ACOG","G36K","Compass","CBJ-MS","TEC9Ammo32","TEC9Ammo32","Sabre","MilitaryPackBlack","Binoculars","Detonator","Suppressor9","Suppressor556","Grip","Reflex","GPS","Map","C4","C4","Entrencher","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100",}
  303. for DD = 1, #CC do
  304. AA(CC[DD])
  305. end
  306. end)
  307. ApocGui.Page1.Button7.MouseButton1Down:connect(function()
  308. local function Ab(Ac)
  309. local new = game.Lighting.LootDrops[Ac]:Clone()
  310. new.Parent = workspace
  311. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  312. end
  313. Aa ={"ACOG","FAL","Compass","CBJ-MS","TEC9Ammo32","TEC9Ammo32","Sabre","MilitaryPackBlack","Binoculars","Detonator","Suppressor9","Suppressor762","Grip","Reflex","GPS","Map","C4","C4","Entrencher","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50","M14Ammo50"}
  314. for Ad = 1, #Aa do
  315. Ab(Aa[Ad])
  316. end
  317. end)
  318. ApocGui.Page1.Button8.MouseButton1Down:connect(function()
  319. local function Bc(Bb)
  320. local new = game.Lighting.LootDrops[Bb]:Clone()
  321. new.Parent = workspace
  322. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  323. end
  324. Tt ={"ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","BallisticGlass","ArmorPlates","FuelTank","EngineParts","ScrapMetal","JerryCan","JerryCan"}
  325. for cC = 1, #Tt do
  326. Bc(Tt[cC])
  327. end
  328. end)
  329.  
  330. ApocGui.Page2.Username.Text = "Username (Exact)"
  331.  
  332.  
  333. ApocGui.Page2.Button1.MouseButton1Down:connect(function()
  334. local input = ApocGui.Page2.Username.Text
  335. playr = game.Players:FindFirstChild(input,true)
  336. while wait() do
  337. game.Lighting.Remote.ChangeProperty:FireServer(playr.Character.Humanoid, "Health", 100)
  338. end
  339. end)
  340. ApocGui.Page2.Button2.MouseButton1Down:connect(function()
  341. print("n/a")
  342. end)
  343. ApocGui.Page2.Button3.MouseButton1Down:connect(function()
  344. local input = ApocGui.Page2.Username.Text
  345. playr = game.Players:FindFirstChild(input,true)
  346. game.Lighting.Remote.AddDamage:FireServer(playr.Character.Humanoid,100)
  347. end)
  348. ApocGui.Page2.Button4.MouseButton1Down:connect(function()
  349.  
  350. end)
  351. ApocGui.Page2.Button5.MouseButton1Down:connect(function()
  352.  
  353. end)
  354. ApocGui.Page2.Button6.MouseButton1Down:connect(function()
  355.  
  356. end)
  357.  
  358. end
  359. end
  360. -- [[ RUN ]] --
  361. functionMain_Gui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement